/* ═══════════════════════════════════════════
   FASHLAB — MAIN CSS
   Tüm bileşen stilleri
═══════════════════════════════════════════ */

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar {
    width: 100%;
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--nav-height);
}

/* Scrolled state — JS adds .nav-scrolled */
.site-header.nav-scrolled {
    background: rgba(7, 16, 31, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(56, 130, 246, 0.18);
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.navbar-logo .custom-logo {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Nav List */
.navbar-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    display: block;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.nav-list li a:hover,
.nav-list li.current-menu-item a,
.nav-list li.current-menu-ancestor a {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    transition: color 0.2s ease, background 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

.btn-search:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

.btn-cta {
    padding: 10px 22px;
    font-size: 14px;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.nav-open .menu-toggle .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .menu-toggle .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search Bar */
.search-bar {
    background: rgba(7, 16, 31, 0.95);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.search-bar.open {
    max-height: 80px;
}

.search-bar form {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0 16px;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text);
    font-size: 15px;
    padding: 14px 0;
}

.search-bar input::placeholder { color: var(--color-text-muted); }

.search-bar button {
    color: var(--color-text-muted);
    transition: color 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-bar button:hover { color: var(--color-primary); }

/* ─────────────────────────────────────────
   HERO — FULL SCREEN SEARCH PAGE
───────────────────────────────────────── */

/* Navbar transparent over gradient hero */
.home .site-header {
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.home .site-header.nav-scrolled {
    background: rgba(7, 16, 31, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--color-border) !important;
}

/* Navbar text white on gradient */
.home .site-header:not(.nav-scrolled) .nav-list li a,
.home .site-header:not(.nav-scrolled) .logo-text,
.home .site-header:not(.nav-scrolled) .btn-search {
    color: rgba(255, 255, 255, 0.85);
}

.home .site-header:not(.nav-scrolled) .btn-cta {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.home .site-header:not(.nav-scrolled) .hamburger-line {
    background: #fff;
}

/* Hero wrapper */
.hero-min {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1b3e 0%, #0f2a5c 25%, #0a3d7a 50%, #0f2a5c 75%, #0d1b3e 100%);
    padding: 0 24px;
}

/* Centered block */
.hero-min-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

/* Brand name */
.hero-min-logo {
    font-family: var(--font-display);
    font-size: clamp(52px, 10vw, 96px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    margin: 0;
    color: #fff;
    /* override gradient text from style.css */
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #fff;
}

/* Slogan */
.hero-min-slogan {
    font-family: var(--font-heading);
    font-size: clamp(13px, 1.8vw, 16px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.06em;
    margin: -6px 0 6px;
}

/* Search bar — white pill */
.hero-min-form {
    width: 100%;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-pill);
    padding: 6px 6px 6px 22px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    transition: box-shadow 0.25s;
}

.hero-min-form:focus-within {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
}

.hero-min-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 16px;
    color: #1a1a2e;
    padding: 14px 12px 14px 10px;
    min-width: 0;
}

.hero-min-form input::placeholder {
    color: #94a3b8;
}

/* No submit button — Enter to search */

/* Quick tags below bar */
.hero-min-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 2px;
    justify-content: center;
}

.hero-min-tag {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 2px 4px;
    transition: color 0.15s;
}

.hero-min-tag:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-min-dot {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    user-select: none;
}

/* Mobile */
@media (max-width: 480px) {
    .hero-min-logo  { letter-spacing: -1px; }
    .hero-min-form  { padding: 4px 4px 4px 18px; }
    .hero-min-form input { font-size: 15px; padding: 12px 8px; }
}

/* ─────────────────────────────────────────
   HERO SECTION (legacy)
───────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: calc(var(--nav-height) + 40px) 0 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Background Orbs */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.2), transparent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96,165,250,0.13), transparent);
    bottom: -50px;
    left: 10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(147,197,253,0.1), transparent);
    top: 30%;
    left: 30%;
    animation-delay: -5s;
    animation-duration: 10s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59,130,246,0.1), transparent);
    top: 60%;
    right: 20%;
    animation-delay: -1.5s;
    animation-duration: 7s;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    width: fit-content;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
    letter-spacing: -1px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 480px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 8px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat strong {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat span {
    font-size: 13px;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Hero Visual — Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.7s ease 0.3s both;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: #091428;
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
    padding: 20px 16px;
}

.phone-notch {
    width: 100px;
    height: 28px;
    background: #091428;
    border-radius: 0 0 20px 20px;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}

.phone-notch::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #0f2040;
    border-radius: 3px;
}

/* Price Cards inside phone */
.price-card-mock {
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInLeft 0.5s ease both;
}

.price-card-mock:nth-child(2) { animation-delay: 0.8s; opacity: 0; animation-fill-mode: forwards; }
.price-card-mock:nth-child(3) { animation-delay: 1.1s; opacity: 0; animation-fill-mode: forwards; }
.price-card-mock:nth-child(4) { animation-delay: 1.4s; opacity: 0; animation-fill-mode: forwards; }

.price-card-mock.best {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.mock-brand-dot {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.mock-brand-dot.trendyol { background: rgba(245, 98, 52, 0.2); color: #F56234; }
.mock-brand-dot.zara     { background: rgba(255, 255, 255, 0.1); color: var(--color-text); }
.mock-brand-dot.lcw      { background: rgba(56, 189, 248, 0.2); color: #38BDF8; }

.mock-info { flex: 1; min-width: 0; }

.mock-brand-name {
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-muted);
    display: block;
}

.mock-price {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.mock-badge {
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 3px 8px;
    background: var(--gradient-primary);
    border-radius: var(--radius-pill);
    color: #fff;
    white-space: nowrap;
}

.phone-search-bar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─────────────────────────────────────────
   BRANDS CAROUSEL
───────────────────────────────────────── */
.brands-section {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.brands-label {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.brands-track-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 100px, black calc(100% - 100px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 100px, black calc(100% - 100px), transparent);
}

.brands-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    gap: 16px;
}

.brands-track:hover { animation-play-state: paused; }

.brand-item {
    flex-shrink: 0;
    padding: 16px 28px;
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
}

.brand-item:hover {
    color: var(--color-primary);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

/* ─────────────────────────────────────────
   FEATURES GRID
───────────────────────────────────────── */
.features-section {
    padding: var(--section-gap) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-icon {
    font-size: 36px;
    line-height: 1;
    display: block;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
}

.feature-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.feature-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.feature-link:hover {
    color: var(--color-primary);
    gap: 10px;
}

/* ─────────────────────────────────────────
   PRICE COMPARISON DEMO
───────────────────────────────────────── */
.price-compare-section {
    padding: var(--section-gap) 0;
    background: radial-gradient(ellipse at center, rgba(10, 20, 60, 0.5) 0%, transparent 70%);
}

.price-demo {
    max-width: 900px;
    margin: 0 auto;
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.price-demo-search {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 4px 4px 4px 20px;
    margin-bottom: 32px;
    transition: border-color 0.2s ease;
}

.price-demo-search:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.price-demo-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--color-text);
    padding: 14px 0;
}

.price-demo-search input::placeholder { color: var(--color-text-muted); }

.price-demo-search-btn {
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.price-demo-search-btn:hover { opacity: 0.9; }

.price-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    min-height: 180px;
}

.price-result-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.price-result-card.best-price {
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(192, 132, 252, 0.2);
}

.price-result-card.loading {
    animation: pulse-glow 1.5s ease infinite;
}

.best-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.result-brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.result-brand-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
}

.result-product-name {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.result-price {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: auto;
}

.result-old-price {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.result-discount {
    font-size: 12px;
    font-weight: 700;
    color: #4ADE80;
    background: rgba(74, 222, 128, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    display: inline-block;
}

.result-cta {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
}

.result-cta:hover {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-primary);
}

.price-result-card.best-price .result-cta {
    background: var(--gradient-primary);
    color: #fff;
}

/* ─────────────────────────────────────────
   AI STYLIST
───────────────────────────────────────── */
.ai-stylist-section {
    padding: var(--section-gap) 0;
}

.ai-stylist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
}

.ai-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}

.ai-feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.ai-chat-preview {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-card);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.chat-header-info {
    flex: 1;
}

.chat-header-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    display: block;
}

.chat-header-status {
    font-size: 12px;
    color: #4ADE80;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-header-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ADE80;
    display: inline-block;
    animation: pulse-glow 2s ease infinite;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-bubble.user {
    background: var(--color-surface);
    color: var(--color-text);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.2);
    color: var(--color-text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.ai strong {
    color: var(--color-primary);
}

.chat-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 18px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: typing 1.2s ease infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* ─────────────────────────────────────────
   TRENDING PRODUCTS
───────────────────────────────────────── */
.trending-section {
    padding: var(--section-gap) 0;
    background: radial-gradient(ellipse at bottom, rgba(10, 20, 60, 0.4) 0%, transparent 70%);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.trending-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.trending-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-6px);
}

.trending-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--color-surface);
}

.trending-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trending-card:hover .trending-card-image img { transform: scale(1.05); }

.trending-card-image .no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--color-text-muted);
}

.trending-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--gradient-primary);
    color: #fff;
}

.trending-card-body {
    padding: 16px;
}

.trending-card-brand {
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    display: block;
}

.trending-card-title {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-card-price {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.trending-card-old-price {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

.trending-center {
    display: flex;
    justify-content: center;
}

/* ─────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────── */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.15;
}

.cta-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cta-note span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
    background: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
    text-decoration: none;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 15px;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--color-primary);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.08);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-links a:hover { color: var(--color-text); }

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-bottom-links a:hover { color: var(--color-text); }
.footer-bottom-links span { color: var(--color-text-muted); opacity: 0.4; }

.footer-social-mini {
    display: flex;
    gap: 8px;
}

.social-mini {
    color: var(--color-text-muted);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.social-mini:hover { color: var(--color-primary); }

/* ─────────────────────────────────────────
   BLOG / ARCHIVE LAYOUT
───────────────────────────────────────── */
.archive-section,
.page-section,
.single-section {
    padding: calc(var(--nav-height) + 60px) 0 80px;
}

.archive-layout,
.page-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: start;
}

.archive-layout.no-sidebar,
.page-layout.no-sidebar {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.archive-header {
    margin-bottom: 48px;
}

.archive-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
}

.archive-desc,
.page-title {
    font-size: 17px;
    color: var(--color-text-muted);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
}

.post-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    display: block;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-date {
    font-size: 12px;
    color: var(--color-text-muted);
}

.post-cat {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.post-card-title a {
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.2s ease;
}

.post-card-title a:hover { color: var(--color-primary); }

.post-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: auto;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.post-read-more:hover { gap: 10px; color: var(--color-primary); }

/* Pagination */
.pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination a,
.pagination .current {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.pagination a {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}

/* ─────────────────────────────────────────
   SINGLE POST
───────────────────────────────────────── */
.single-article {
    max-width: 780px;
    margin: 0 auto;
}

.single-cats {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.cat-badge {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(192, 132, 252, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.single-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.meta-author,
.meta-date,
.meta-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.single-thumbnail {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
}

.single-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* Content styles */
.entry-content > * { margin-bottom: 1.5em; }
.entry-content h2 { font-size: 28px; margin-top: 2.5em; color: var(--color-text); }
.entry-content h3 { font-size: 22px; margin-top: 2em; color: var(--color-text); }
.entry-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content li { margin-bottom: 0.5em; color: var(--color-text-muted); }
.entry-content blockquote { border-left: 3px solid var(--color-primary); padding: 16px 24px; background: rgba(192,132,252,0.05); border-radius: 0 8px 8px 0; }
.entry-content code { font-family: var(--font-mono); background: var(--color-surface); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; color: var(--color-accent); }
.entry-content pre { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px; overflow-x: auto; }
.entry-content pre code { background: none; padding: 0; }
.entry-content img { border-radius: var(--radius-md); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px 16px; border: 1px solid var(--color-border); text-align: left; font-size: 14px; }
.entry-content th { background: var(--color-surface); font-family: var(--font-heading); }

.single-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tags-label {
    font-size: 14px;
    color: var(--color-text-muted);
}

.post-tags a {
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 4px 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
}

.post-tags a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-right: 4px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
}

.share-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 28px;
    margin: 40px auto;
    max-width: 780px;
}

.author-avatar {
    border-radius: 50%;
    flex-shrink: 0;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.author-bio {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
    max-width: 780px;
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: border-color 0.2s ease;
}

.post-navigation a {
    text-decoration: none;
    display: block;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.nav-subtitle {
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}

.nav-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related Posts */
.related-posts {
    max-width: 780px;
    margin: 0 auto;
}

.related-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
}

.posts-grid--small .post-card-title { font-size: 15px; }

/* Comments */
.comments-section {
    max-width: 780px;
    margin: 0 auto;
    padding-top: 48px;
}

/* ─────────────────────────────────────────
   404
───────────────────────────────────────── */
.error-404-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 0 80px;
}

.error-404-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.error-404-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-404-number {
    font-family: var(--font-display);
    font-size: clamp(100px, 15vw, 180px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -8px;
    position: relative;
    z-index: 2;
}

.error-404-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
    filter: blur(40px);
    animation: floatOrb 6s ease-in-out infinite;
}

.error-404-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 16px;
}

.error-404-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.error-404-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.error-404-links p {
    font-size: 14px;
    margin-bottom: 12px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-link {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
}

.quick-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.error-404-search { margin-top: 24px; }

/* ─────────────────────────────────────────
   SEARCH FORM (Global)
───────────────────────────────────────── */
.fashlab-search-form,
.search-form {
    display: flex;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.fashlab-search-form:focus-within,
.search-form:focus-within {
    border-color: var(--color-primary);
}

.fashlab-search-form .search-field,
.search-form .search-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--color-text);
}

.fashlab-search-form .search-field::placeholder,
.search-form .search-field::placeholder { color: var(--color-text-muted); }

.fashlab-search-form .search-submit,
.search-form .search-submit {
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.fashlab-search-form .search-submit:hover,
.search-form .search-submit:hover { color: var(--color-primary); }

/* ─────────────────────────────────────────
   SIDEBAR WIDGETS
───────────────────────────────────────── */
.archive-sidebar,
.page-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.widget {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

/* ─────────────────────────────────────────
   NO RESULTS
───────────────────────────────────────── */
.no-posts,
.no-results {
    text-align: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.no-results-icon {
    font-size: 48px;
}

.no-results h2 {
    font-size: 24px;
}

.no-results p {
    color: var(--color-text-muted);
}

/* ─────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
───────────────────────────────────────── */

/* 1280px — max-width container (set in CSS vars) */

/* 1024px */
@media (max-width: 1024px) {
    .features-grid    { grid-template-columns: repeat(2, 1fr); }
    .trending-grid    { grid-template-columns: repeat(2, 1fr); }
    .footer-grid      { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
    .footer-col:nth-child(4),
    .footer-col:nth-child(5) {
        grid-column: span 1;
    }
    .hero .container  { gap: 40px; }
    .ai-stylist-grid  { gap: 40px; }
    .archive-layout,
    .page-layout      { grid-template-columns: 1fr 300px; }
    .price-results    { grid-template-columns: repeat(3, 1fr); }
}

/* 768px */
@media (max-width: 768px) {
    :root { --section-gap: 70px; }

    /* Navbar */
    .navbar-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(7, 16, 31, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 32px 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        display: flex;
    }

    .nav-open .navbar-menu {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }

    .nav-list li a {
        font-size: 18px;
        padding: 14px 16px;
    }

    .menu-toggle { display: flex; }

    .btn-cta { display: none; }

    /* Hero */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual { display: none; }
    .hero-actions { justify-content: center; }
    .hero-stats   { justify-content: center; }
    .hero-badge   { margin: 0 auto; }
    .hero-desc    { margin: 0 auto; }

    /* AI Stylist */
    .ai-stylist-grid {
        grid-template-columns: 1fr;
    }

    /* Features */
    .features-grid  { grid-template-columns: 1fr 1fr; }

    /* Trending */
    .trending-grid  { grid-template-columns: repeat(2, 1fr); }

    /* Price compare */
    .price-results  { grid-template-columns: 1fr; gap: 16px; }

    /* Archive layout */
    .archive-layout,
    .page-layout {
        grid-template-columns: 1fr;
    }

    .archive-sidebar,
    .page-sidebar { position: static; }

    /* Posts grid */
    .posts-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand { grid-column: 1 / -1; }

    /* Post Navigation */
    .post-navigation { grid-template-columns: 1fr; }

    /* 404 */
    .error-404-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .error-404-visual { order: -1; }
    .error-404-actions { justify-content: center; }
}

/* 480px */
@media (max-width: 480px) {
    :root {
        --section-gap: 56px;
        --nav-height: 60px;
    }

    .hero h1 { letter-spacing: -0.5px; }

    .hero-stats {
        gap: 24px;
    }

    .features-grid { grid-template-columns: 1fr; }
    .trending-grid { grid-template-columns: 1fr 1fr; }

    .price-demo    { padding: 24px 20px; }

    .footer-grid   { grid-template-columns: 1fr; }
    .footer-brand  { grid-column: auto; }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .posts-grid--small { grid-template-columns: 1fr; }

    .post-navigation { grid-template-columns: 1fr; }

    .single-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons { flex-wrap: wrap; }
}
