/* ============================================ */
/* PREMIUM 2026 - Enhancements over store.css   */
/* Bento, Glass, Tactile, Micro-interactions    */
/* ============================================ */

/* ── BENTO GRID ────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-grid .bento-featured {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-grid .bento-featured { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 640px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-grid .bento-featured { grid-column: span 1; }
}

/* ── GLASSMORPHISM ─────────────────────────── */
.glass {
    background: rgba(var(--bg-primary-rgb), 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass--light {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── LANDING HERO (editorial) ──────────────── */
.landing-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: calc(var(--header-height) + 34px) 0 54px;
    background: transparent;
}

.landing-hero::before {
    display: none;
}

.landing-hero .container {
    width: 100%;
}

.landing-hero__content {
    max-width: 720px;
    animation: fadeSlideUp 0.8s ease-out both;
}

.landing-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 28px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(var(--color-secondary-rgb),0.08);
    border: 1px solid rgba(var(--color-secondary-rgb),0.2);
    width: fit-content;
    animation: fadeSlideUp 0.6s ease-out 0.2s both;
}

.landing-hero__eyebrow svg {
    width: 16px;
    height: 16px;
}

.landing-hero__title {
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 28px;
    text-shadow: 0 2px 40px rgba(var(--color-primary-rgb),0.15);
    animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

.landing-hero__title .accent {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.landing-hero__desc {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 50ch;
    line-height: 1.8;
    margin-bottom: 44px;
    animation: fadeSlideUp 0.8s ease-out 0.4s both;
}

.hero-commerce {
    width: min(100%, 680px);
    margin-bottom: 20px;
    animation: fadeSlideUp 0.8s ease-out 0.5s both;
}

.hero-commerce__search {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(8, 10, 16, .68);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
    backdrop-filter: blur(18px);
}

.hero-commerce__search svg {
    width: 20px;
    height: 20px;
    color: var(--color-secondary);
}

.hero-commerce__search input {
    min-width: 0;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-primary);
    font-size: .96rem;
}

.hero-commerce__search input::placeholder {
    color: rgba(255, 255, 255, .46);
}

.hero-commerce__search button {
    height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-secondary), #4ff7d4);
    color: var(--text-on-primary);
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(var(--color-secondary-rgb), .24);
}

.hero-commerce__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.hero-commerce__chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    font-size: .82rem;
    font-weight: 700;
}

.hero-commerce__chips a:hover {
    color: var(--text-primary);
    border-color: rgba(var(--color-secondary-rgb), .32);
    background: rgba(var(--color-secondary-rgb), .08);
}

.hero-commerce__chips svg {
    width: 16px;
    height: 16px;
}

.home-shelf {
    width: 100%;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-bento);
    background: rgba(6, 8, 14, .66);
    box-shadow: 0 26px 80px rgba(0,0,0,.34);
    backdrop-filter: blur(22px);
}

.home-shelf__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.home-shelf__head span {
    color: var(--text-primary);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-shelf__head a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-secondary);
    font-size: .82rem;
    font-weight: 800;
}

.home-shelf__head svg {
    width: 15px;
    height: 15px;
}

.product-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-grid--home .product-card {
    padding: 14px;
    border-radius: 14px;
}

.product-grid--home .product-card__media {
    height: 132px;
    margin-bottom: 12px;
    border-radius: 10px;
}

.product-grid--home .product-card h3 {
    font-size: .88rem;
}

.product-grid--home .product-card__specs {
    display: none;
}

.product-grid--home .product-card__price-current {
    font-size: 1rem;
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
    animation: fadeSlideUp 0.8s ease-out 0.5s both;
}

.landing-hero__trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease-out 0.6s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--color-secondary-rgb), 0.08);
    border: 1px solid rgba(var(--color-secondary-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.trust-item:hover .trust-item__icon {
    background: rgba(var(--color-secondary-rgb), 0.15);
    border-color: rgba(var(--color-secondary-rgb), 0.35);
    transform: scale(1.08);
}

.trust-item__text b {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.trust-item__text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── FEATURED BENTO ────────────────────────── */
.category-showcase {
    padding: 108px 0 92px;
    background:
        linear-gradient(180deg, rgba(var(--bg-dark-rgb), .98), rgba(12, 14, 22, .94)),
        radial-gradient(ellipse at 80% 20%, rgba(var(--color-secondary-rgb), .08), transparent 42%);
}

.category-showcase .container {
    display: grid;
    grid-template-columns: minmax(280px, .48fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: stretch;
}

.category-showcase__intro {
    position: sticky;
    top: calc(var(--header-height) + 28px);
    align-self: start;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 8px;
}

.category-showcase__intro h2 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: .96;
    letter-spacing: -0.045em;
    margin-bottom: 20px;
}

.category-showcase__intro p {
    max-width: 44ch;
    color: var(--text-secondary);
    font-size: clamp(.98rem, 1.4vw, 1.08rem);
    line-height: 1.75;
}

.category-showcase__proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.category-showcase__proof span {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text-muted);
    font-size: .72rem;
    line-height: 1.35;
}

.category-showcase__proof b {
    display: block;
    color: var(--text-primary);
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 6px;
}

.featured-bento {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 20px;
}

.category-showcase .featured-bento {
    grid-template-columns: 1.55fr 1fr 1fr;
    grid-template-rows: 290px 290px;
    gap: 18px;
}

.featured-bento .bento-card:first-child {
    grid-row: span 2;
}

.bento-card {
    position: relative;
    border-radius: var(--radius-bento);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-smooth);
    min-height: 0;
}

.bento-card:hover {
    transform: translateY(-6px);
}

.bento-card__bg {
    position: absolute;
    inset: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-bento);
    transition: all var(--transition-normal);
}

.bento-card__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 7, 12, .05) 0%, rgba(5, 7, 12, .18) 42%, rgba(5, 7, 12, .72) 100%),
        linear-gradient(90deg, rgba(5, 7, 12, .35), transparent 62%);
    z-index: 1;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-bento);
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb),0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.bento-card:hover::after {
    opacity: 1;
}

.bento-card:hover .bento-card__bg {
    border-color: rgba(var(--color-primary-rgb), 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(var(--color-primary-rgb), 0.08);
}

.bento-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(20px, 2.5vw, 32px);
}

.bento-card__content > * {
    position: relative;
    z-index: 2;
}

.bento-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(5, 8, 14, .62);
    border: 1px solid rgba(255,255,255,.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    margin-bottom: 14px;
    transition: all var(--transition-normal);
}

.bento-card:hover .bento-card__icon {
    background: rgba(var(--color-secondary-rgb), 0.18);
    border-color: rgba(var(--color-secondary-rgb), 0.35);
    transform: scale(1.05);
}

.bento-card__icon svg,
.bento-card__icon i[data-lucide] {
    width: 23px;
    height: 23px;
}

.bento-card__label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.bento-card h3 {
    max-width: 11ch;
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
    margin-bottom: 10px;
}

.bento-card p {
    max-width: 34ch;
    font-size: 0.86rem;
    color: rgba(255,255,255,.72);
    line-height: 1.58;
}

.bento-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.bento-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 9px;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text-primary);
    font-size: .74rem;
    font-weight: 800;
}

.bento-card__arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.bento-card:hover .bento-card__arrow {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--text-primary);
    transform: translate(2px, -2px);
}

.bento-card__arrow svg,
.bento-card__arrow i[data-lucide] {
    width: 18px;
    height: 18px;
}

/* Staggered entrance for bento cards */
.featured-bento .bento-card {
    opacity: 0;
    transform: translateY(24px);
    animation: cardReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.featured-bento .bento-card:nth-child(1) { animation-delay: 0.1s; }
.featured-bento .bento-card:nth-child(2) { animation-delay: 0.2s; }
.featured-bento .bento-card:nth-child(3) { animation-delay: 0.3s; }
.featured-bento .bento-card:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 900px) {
    .landing-hero .container {
        grid-template-columns: 1fr;
    }

    .home-shelf {
        max-width: 680px;
    }

    .category-showcase .container {
        grid-template-columns: 1fr;
    }

    .category-showcase__intro {
        position: static;
        min-height: auto;
    }

    .category-showcase__intro h2 {
        max-width: 12ch;
    }

    .featured-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 240px 240px;
    }
    .category-showcase .featured-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 260px 260px;
    }
    .featured-bento .bento-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .landing-hero {
        padding-top: calc(var(--header-height) + 22px);
    }

    .landing-hero__title {
        font-size: clamp(2.25rem, 13vw, 3.4rem);
    }

    .hero-commerce__search {
        grid-template-columns: 22px 1fr;
    }

    .hero-commerce__search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .product-grid--home {
        grid-template-columns: 1fr;
    }

    .product-grid--home .product-card:nth-child(n+4) {
        display: none;
    }

    .category-showcase {
        padding: 76px 0 68px;
    }

    .category-showcase__proof {
        grid-template-columns: 1fr;
    }

    .featured-bento {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 260px);
    }
    .category-showcase .featured-bento {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 260px);
    }
    .featured-bento .bento-card:first-child {
        grid-column: span 1;
    }
}

/* ── PRODUCT CARD PREMIUM ──────────────────── */
.product-card--premium {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.product-card--premium:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--color-primary-rgb), 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(var(--color-primary-rgb), 0.1);
}

.product-card--premium .card-media {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card--premium .card-media i {
    font-size: 3.5rem;
    color: var(--color-primary-light);
    opacity: 0.6;
    transition: all var(--transition-smooth);
}

.product-card--premium:hover .card-media i {
    opacity: 1;
    transform: scale(1.15) rotate(-3deg);
}

.product-card--premium .card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-card--premium .card-badge--new {
    background: var(--color-secondary);
    color: var(--text-on-primary);
}

.product-card--premium .card-badge--sale {
    background: var(--color-accent);
    color: var(--text-primary);
}

.product-card--premium .card-body {
    padding: 20px;
}

.product-card--premium .card-cat {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.product-card--premium h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-card--premium .card-specs {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.product-card--premium .card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-card--premium .card-rating .stars {
    color: var(--color-warning);
    letter-spacing: 1px;
}

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

.product-card--premium .card-price {
    display: flex;
    flex-direction: column;
}

.product-card--premium .card-price .current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.product-card--premium .card-price .old {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card--premium .card-add {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 16px var(--color-primary-glow);
}

.product-card--premium .card-add:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px var(--color-primary-glow);
}

.product-card--premium .card-add.bumped {
    animation: bump 0.35s ease;
}

/* ── SECTION CLEAN ─────────────────────────── */
.section-clean {
    padding: 100px 0;
}

.section-clean__head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
}

.section-clean__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(var(--color-secondary-rgb),0.06);
    border: 1px solid rgba(var(--color-secondary-rgb),0.12);
}

.section-clean__head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-clean__head p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ── CTA BANNER ────────────────────────────── */
.cta-banner {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 64px 52px;
    background: linear-gradient(135deg, var(--color-primary-dark), #1a1040);
    border: 1px solid rgba(var(--color-primary-rgb), 0.3);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--color-secondary);
    opacity: 0.1;
    filter: blur(80px);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.06;
    filter: blur(60px);
}

.cta-banner__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-banner h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.cta-banner p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── LOGIN CENTERED ────────────────────────── */
.auth-centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(var(--color-primary-rgb), .16), transparent 55%),
        radial-gradient(ellipse at 85% 80%, rgba(var(--color-secondary-rgb), .12), transparent 50%),
        var(--gradient-page);
}

.auth-centered__bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(var(--bg-dark-rgb), .2), rgba(var(--bg-dark-rgb), .72));
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(var(--bg-primary-rgb), 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
}

.auth-card__logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card__logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.auth-card__logo a i {
    color: var(--color-secondary);
}

.auth-card__tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-input);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 32px;
}

.auth-card__tab {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.auth-card__tab.active {
    background: var(--color-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 16px var(--color-primary-glow);
}

.auth-card__form {
    display: none;
}

.auth-card__form.active {
    display: block;
}

.auth-card__input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 14px;
    transition: all var(--transition-normal);
    outline: none;
}

.auth-card__input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.auth-field {
    min-width: 0;
}

.auth-field__message {
    display: block;
    min-height: 0;
    margin: -9px 0 10px;
    color: #ff6570;
    font-size: .75rem;
    line-height: 1.35;
}

.auth-field__message:empty {
    display: none;
}

.auth-field__message--terms {
    margin: -14px 0 14px;
}

.auth-card__input.is-valid {
    border-color: #21c779;
    box-shadow: 0 0 0 2px rgba(33, 199, 121, .14);
}

.auth-card__input.is-invalid {
    border-color: #ff5361;
    box-shadow: 0 0 0 2px rgba(255, 83, 97, .12);
}

.auth-card__input.is-valid:focus {
    border-color: #21c779;
    box-shadow: 0 0 0 3px rgba(33, 199, 121, .2);
}

.auth-card__input.is-invalid:focus {
    border-color: #ff5361;
    box-shadow: 0 0 0 3px rgba(255, 83, 97, .18);
}

.auth-card__check.is-invalid {
    color: #ff6570;
}

.auth-card__input::placeholder {
    color: var(--text-muted);
}

.auth-card__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-card__check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
}

.auth-card__check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.auth-card__submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), #7c6cf0);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px var(--color-primary-glow);
    margin-bottom: 20px;
}

.auth-card__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-primary-glow);
}

.auth-card__submit:active {
    transform: translateY(1px);
}

.auth-card__divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.auth-card__divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-card__divider span {
    position: relative;
    background: rgba(var(--bg-primary-rgb), 0.8);
    padding: 0 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.auth-card__social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.auth-card__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.auth-card__social-btn:hover {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.08);
}

.auth-card__footer {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.auth-card__footer a {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
}

/* ── PAGE HEADER ───────────────────────────── */
.page-header {
    padding: calc(var(--header-height) + 60px) 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(8,10,16,.94), rgba(12,18,30,.9) 52%, rgba(4,33,35,.78)),
        url("https://images.unsplash.com/photo-1550009158-9ebf69173e03?w=1800&h=900&fit=crop") center/cover;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--bg-dark-rgb), .28), rgba(var(--bg-dark-rgb), .82));
    pointer-events: none;
}

.page-header::after {
    display: none;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 48ch;
    margin: 0 auto;
    position: relative;
}

.page-header--offers {
    background:
        linear-gradient(120deg, rgba(8,10,16,.94), rgba(34,14,25,.86) 48%, rgba(37,28,8,.78)),
        url("https://images.unsplash.com/photo-1607082350899-7e105aa886ae?w=1800&h=900&fit=crop") center/cover;
}

/* ── SCROLL ANIMATIONS ─────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── LANDING SECTION FLOW ───────────────────── */
.section-clean + .section--alt,
.section--alt + .section {
    margin-top: 0;
}

/* Staggered card entrance */
.product-grid .product-card {
    opacity: 0;
    transform: translateY(24px);
    animation: cardReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.product-grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.product-grid .product-card:nth-child(2) { animation-delay: 0.12s; }
.product-grid .product-card:nth-child(3) { animation-delay: 0.19s; }
.product-grid .product-card:nth-child(4) { animation-delay: 0.26s; }
.product-grid .product-card:nth-child(5) { animation-delay: 0.33s; }
.product-grid .product-card:nth-child(6) { animation-delay: 0.40s; }
.product-grid .product-card:nth-child(7) { animation-delay: 0.47s; }
.product-grid .product-card:nth-child(8) { animation-delay: 0.54s; }

/* Testimonial stagger */
.testi-grid .testi-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.testi-grid .testi-card:nth-child(1) { animation-delay: 0.1s; }
.testi-grid .testi-card:nth-child(2) { animation-delay: 0.2s; }
.testi-grid .testi-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes cardReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* ── SMOOTH SECTION TRANSITIONS ──────────────── */
.section {
    position: relative;
}

.section::before {
    display: none;
}

.section--alt::before {
    display: none;
}

.section-clean::before,
.landing-hero::before {
    display: none;
}

/* ── PAGE LOAD ANIMATION ─────────────────────── */
@keyframes pageIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── GRADIENT SHIFT ───────────────────────── */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ── FADE SLIDE UP ────────────────────────── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── TRUST ITEMS ENHANCED ─────────────────── */
.trust-item__icon svg {
    width: 20px;
    height: 20px;
}
