/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
   :root {
    --bg-dark: #f6f8fb;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-color: #e3e8ef;
    
    --primary: #0a4f86;
    --primary-hover: #073b65;
    --accent: #0f9d9a;
    --accent-orange: #f47b20;
    --success: #16a34a;
    --warning: #f59e0b;
    --text-main: #172033;
    --text-muted: #667085;
    --shadow-soft: 0 22px 55px rgba(23, 32, 51, 0.1);
    --shadow-card: 0 8px 26px rgba(23, 32, 51, 0.07);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --glass-blur: blur(16px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.6);
    --bg-card-hover: rgba(30, 30, 45, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --primary: #0070f3;
    --primary-hover: #0051b3;
    --accent: #00e5ff;
    --accent-orange: #ff5722;
    --text-main: #ffffff;
    --text-muted: #888899;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    background-image: linear-gradient(180deg, #f5f8fb 0, #ffffff 520px);
    background-repeat: no-repeat;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    font-family: var(--font-sans);
    border: none;
    background: none;
    outline: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Background Effects
   ========================================================================== */
.glow-bg {
    display: none;
}

.glow-bg-secondary {
    display: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 18px rgba(23, 32, 51, 0.045);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.desktop-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.desktop-nav a {
    padding: 9px 11px;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--primary);
    background: #eef5fb;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.icon-btn {
    color: var(--text-main);
    font-size: 1.4rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.icon-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-nav {
    gap: 22px;
}

.site-menu {
    flex: 1;
    justify-content: center;
}

.logo-dot {
    color: var(--accent);
}

.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search {
    width: min(270px, 22vw);
    height: 42px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #f8fafc;
    transition: var(--transition);
}

.header-search:focus-within {
    background: white;
    border-color: rgba(10, 79, 134, 0.45);
    box-shadow: 0 0 0 3px rgba(10, 79, 134, 0.08);
}

.header-search i {
    text-align: center;
    color: var(--text-muted);
}

.header-search input {
    width: 100%;
    height: 100%;
    padding-right: 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-main);
    font: inherit;
    font-size: 0.86rem;
}

.nav-icon-button,
.mobile-menu-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-main);
    font-size: 1.18rem;
}

.nav-icon-button:hover,
.mobile-menu-button:hover {
    color: var(--primary);
    border-color: rgba(10, 79, 134, 0.3);
    background: #f5f9fc;
}

.mobile-menu-button {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    margin-top: 104px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: 60px;
    align-items: center;
    min-height: 620px;
    position: relative;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #eaf5f4;
    border: 1px solid #cae8e6;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.35rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: 0;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), #1475a9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 24px rgba(11, 92, 173, 0.22);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(11, 92, 173, 0.28);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-card);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.hero-proof i {
    color: var(--success);
}

.hero-product-board {
    min-height: 430px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    background: #0f172a;
}

.board-image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.72)),
        url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&q=80&w=1200");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.board-overlay {
    position: absolute;
    inset: auto 18px 18px 18px;
    display: grid;
    gap: 14px;
    color: white;
}

.board-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    line-height: 1.2;
    max-width: 520px;
}

.eyebrow,
.stock-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 700;
}

.stock-chip {
    background: rgba(22, 163, 74, 0.92);
    border-color: rgba(255,255,255,0.3);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-metrics div,
.category-rail a {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}

.hero-metrics div {
    padding: 16px;
}

.hero-metrics strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--primary);
}

.hero-metrics span {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.category-rail {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.category-rail a {
    min-height: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
}

.category-rail i {
    font-size: 1.75rem;
    color: var(--primary);
}

.category-rail a:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 92, 173, 0.32);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.text-orange { color: var(--accent-orange); }
.text-blue { color: var(--accent); }

.status-bar {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
}

.w-80 { width: 80%; }

.status-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pulse-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.1);
    margin: 0 auto;
    position: relative;
    animation: pulse 2s infinite;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(2, 132, 199, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.float-anim { animation: float 6s ease-in-out infinite; }
.float-anim-delayed { animation: float 6s ease-in-out infinite; animation-delay: 3s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.section-header {
    margin-top: 100px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: rgba(255,255,255,0.62);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.filter-tabs {
    display: flex;
    gap: 12px;
}

.tab {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.tab.active, .tab:hover {
    background: var(--primary);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 20px;
    margin-bottom: 100px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
}

.product-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: var(--shadow-card);
}

.product-image {
    width: 100%;
    height: 200px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-source {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 6px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    flex-grow: 1;
}

.product-summary {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.45;
    height: 3.7em;
    overflow: hidden;
    margin-bottom: 10px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
}

.product-price small {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-quick-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    gap: 7px;
}

.product-quick-actions button {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.94);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.1);
}

.product-quick-actions button:hover,
.product-quick-actions button.active {
    background: var(--primary);
    color: white;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}

.product-meta-grid div {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0,0,0,0.025);
}

.product-meta-grid span,
.product-meta-grid strong {
    display: block;
}

.product-meta-grid span {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.product-meta-grid strong {
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.product-action-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

#spImageContainer {
    background: rgba(11, 92, 173, 0.045) !important;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ==========================================================================
   Utilities & Footer
   ========================================================================== */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.hidden { display: none !important; }

.alert {
    padding: 16px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.3);
    color: var(--accent);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
}

.sales-section {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 28px;
}

.section-title-row h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 8px;
}

.section-title-row p,
.sales-panel p,
.trust-grid p,
details p {
    color: var(--text-muted);
}

.sales-grid,
.tool-grid,
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.sales-panel,
.trust-grid article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 22px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-card);
}

.sales-panel h3,
.trust-grid h3,
.info-columns h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.panel-icon,
.trust-grid i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.stack-form input,
.stack-form textarea,
.calc-row input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(0,0,0,0.03);
    color: var(--text-main);
    font-family: var(--font-sans);
    outline: none;
}

.stack-form textarea {
    min-height: 72px;
    resize: vertical;
}

.mini-result {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.18);
    color: var(--text-main);
    font-size: 0.92rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0 0;
}

.choice-grid button {
    padding: 12px;
    border-radius: 8px;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 600;
}

.choice-grid button:hover {
    background: var(--primary);
    color: white;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 14px;
}

.compare-table {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 16px;
}

.compare-table div {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.compare-table div:nth-child(-n+3) {
    background: rgba(0,0,0,0.04);
    color: var(--text-main);
    font-weight: 700;
}

.brand-strip,
.document-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.brand-strip a,
.document-list a {
    border: 1px solid var(--border-color);
    background: rgba(0,0,0,0.03);
    color: var(--text-main);
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
}

.document-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

main aside,
#singleProductView,
#cartView,
#loginModal > div,
#quoteModal > div,
[style*="border-radius: 16px"],
[style*="border-radius: 12px"] {
    border-radius: 8px !important;
}

main aside {
    box-shadow: var(--shadow-card);
}

main aside h4 {
    color: var(--text-main);
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(11, 92, 173, 0.42) !important;
    box-shadow: 0 0 0 3px rgba(11, 92, 173, 0.1);
}

select {
    color: var(--text-main);
}

#kampanyalar .hero-card {
    background:
        linear-gradient(135deg, rgba(11, 92, 173, 0.12), rgba(0, 167, 200, 0.08) 54%, rgba(249, 115, 22, 0.11)) !important;
    overflow: hidden;
    position: relative;
}

#kampanyalar .hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px);
    background-size: 26px 100%;
    pointer-events: none;
}

#kategoriler .hero-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

#kategoriler .hero-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 92, 173, 0.28);
}

.sales-panel:hover,
.trust-grid article:hover,
.document-list a:hover,
.brand-strip a:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 92, 173, 0.28);
}

.sales-panel,
.trust-grid article,
.document-list a,
.brand-strip a {
    transition: var(--transition);
}

.info-columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    margin-top: 24px;
}

details {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 10px;
    background: rgba(0,0,0,0.02);
}

summary {
    cursor: pointer;
    font-weight: 700;
}

.clean-list {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--text-muted);
}

.clean-list li {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0,0,0,0.02);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.feature-item {
    min-height: 112px;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 5px 10px;
    padding: 14px;
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-main);
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.feature-item i {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(11, 92, 173, 0.1);
    color: var(--primary);
    font-size: 1.25rem;
}

.feature-item span {
    font-weight: 700;
    line-height: 1.25;
}

.feature-item small {
    color: var(--success);
    font-weight: 700;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 92, 173, 0.3);
}

.login-field {
    min-height: 48px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255,255,255,0.72);
    overflow: hidden;
}

.login-field i {
    color: var(--primary);
    font-size: 1.1rem;
    text-align: center;
}

.login-field input {
    width: 100%;
    height: 100%;
    border: 0;
    border-left: 1px solid var(--border-color);
    padding: 0 12px;
    background: transparent;
    color: var(--text-main);
    outline: 0;
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: auto;
    background: #f1f5f9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1120px) {
    .site-nav {
        gap: 12px;
    }
    .site-menu {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 20px 18px;
        background: white;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 14px 28px rgba(23, 32, 51, 0.08);
        flex-direction: column;
        align-items: stretch;
    }
    .site-menu.open {
        display: flex;
    }
    .site-menu a {
        padding: 11px 12px;
    }
    .mobile-menu-button {
        display: inline-flex;
    }
    .header-search {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 110px;
    }
    .hero h1 { font-size: 2.5rem; }
    .desktop-nav:not(.site-menu) { display: none; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .section-title-row,
    .info-columns {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
    .calc-row {
        grid-template-columns: 1fr;
    }
    .product-meta-grid {
        grid-template-columns: 1fr;
    }
    .hero-product-board {
        min-height: 320px;
    }
    .hero-metrics,
    .category-rail {
        grid-template-columns: repeat(2, 1fr);
    }
    .filter-tabs,
    .hero-buttons {
        flex-wrap: wrap;
    }
    main > div[style*="display: flex"] {
        flex-direction: column;
    }
    main aside {
        width: 100% !important;
        position: static !important;
    }
    .header-search {
        width: 180px;
    }
}

@media (max-width: 520px) {
    .container {
        padding: 0 16px;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .hero p {
        max-width: 100%;
    }
    .hero-metrics,
    .category-rail,
    .choice-grid {
        grid-template-columns: 1fr;
    }
    .nav-actions {
        gap: 8px;
    }
    .search-bar,
    .header-search {
        display: none !important;
    }
    .site-nav-actions {
        margin-left: auto;
    }
    .nav-icon-button:nth-of-type(2) {
        display: none;
    }
}
