/* ============================================
   Upgrade Hub — Cosmic Edition
   ============================================ */

:root {
    --bg: #02030a;
    --bg-deep: #000004;
    --surface: rgba(13, 14, 30, 0.72);
    --surface-strong: rgba(20, 22, 44, 0.85);
    --card: rgba(15, 17, 38, 0.55);
    --card-hover: rgba(22, 25, 52, 0.75);
    --border: rgba(148, 163, 224, 0.12);
    --border-strong: rgba(148, 163, 224, 0.28);
    --text: #f4f6ff;
    --text-soft: #c8cce8;
    --text-muted: #8a90b6;
    --primary: #a78bfa;
    --primary-strong: #7c3aed;
    --accent: #38bdf8;
    --accent-strong: #06b6d4;
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f43f5e;
    --gradient-primary: linear-gradient(135deg, #a78bfa 0%, #38bdf8 50%, #34d399 100%);
    --gradient-card: linear-gradient(145deg, rgba(167, 139, 250, 0.04) 0%, rgba(56, 189, 248, 0.04) 100%);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 30px 80px rgba(124, 58, 237, 0.25);
    --shadow-cyan: 0 30px 80px rgba(56, 189, 248, 0.2);
    --transition: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg-deep);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== COSMIC BACKGROUND LAYERS ===== */
.cosmos {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(124, 58, 237, 0.18) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 0%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(167, 139, 250, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(52, 211, 153, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #02030a 0%, #050514 35%, #02030a 100%);
}

.cosmos::before,
.cosmos::after {
    content: '';
    position: absolute;
    inset: -50%;
    background-image:
        radial-gradient(1px 1px at 23% 17%, #fff, transparent 60%),
        radial-gradient(1px 1px at 67% 42%, #fff, transparent 60%),
        radial-gradient(1.5px 1.5px at 12% 78%, #fff, transparent 60%),
        radial-gradient(1px 1px at 88% 23%, rgba(255, 255, 255, 0.85), transparent 60%),
        radial-gradient(1px 1px at 45% 65%, #fff, transparent 60%),
        radial-gradient(2px 2px at 33% 33%, rgba(167, 139, 250, 0.9), transparent 60%),
        radial-gradient(1px 1px at 76% 86%, #fff, transparent 60%),
        radial-gradient(1px 1px at 5% 50%, rgba(56, 189, 248, 0.8), transparent 60%),
        radial-gradient(1.5px 1.5px at 92% 60%, #fff, transparent 60%),
        radial-gradient(1px 1px at 55% 8%, #fff, transparent 60%),
        radial-gradient(2px 2px at 28% 92%, rgba(255, 255, 255, 0.9), transparent 60%);
    background-size: 600px 600px;
    background-repeat: repeat;
    animation: drift 200s linear infinite;
    opacity: 0.85;
}

.cosmos::after {
    background-size: 350px 350px;
    animation: drift 120s linear infinite reverse;
    opacity: 0.5;
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-600px, -600px, 0); }
}

#starfield {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* ===== TYPOGRAPHY ===== */
img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

::selection {
    background: rgba(167, 139, 250, 0.4);
    color: #fff;
}

/* ===== HEADER & NAV ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    background: rgba(2, 3, 10, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1.1rem;
    color: var(--text);
}

.nav__brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: grid;
    place-items: center;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.4);
    color: #fff;
}

.nav__links {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    margin: 0 auto;
}

.nav__links a {
    color: var(--text-muted);
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.2s ease;
    font-weight: 500;
}

.nav__links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1.5px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out);
}

.nav__links a:hover,
.nav__links a.active {
    color: var(--text);
}

.nav__links a:hover::after,
.nav__links a.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    cursor: pointer;
    font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    background: linear-gradient(120deg, #7c3aed 0%, #38bdf8 100%);
    color: #fff;
    box-shadow: 0 14px 40px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 55px rgba(124, 58, 237, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn:active {
    transform: translateY(0);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.2);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 14px;
}

.btn--text {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0;
    font-size: 0.95rem;
    box-shadow: none;
}

.btn--text:hover {
    color: var(--text);
    transform: none;
    box-shadow: none;
}

/* ===== HERO ===== */
.hero {
    max-width: 1240px;
    margin: 0 auto;
    padding: 5rem 1.5rem 3rem;
    position: relative;
}

.hero__inner {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.25);
    color: var(--primary);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero__eyebrow .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.02;
    margin: 0 0 1.4rem;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.hero__title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.hero__text {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-soft);
    max-width: 640px;
    margin: 0 auto 2.4rem;
    line-height: 1.7;
}

.hero__text strong {
    color: var(--text);
    font-weight: 600;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

.hero__strip {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
}

.hero__strip-item {
    text-align: center;
    padding: 0.4rem 0.6rem;
    border-right: 1px solid rgba(148, 163, 224, 0.08);
}

.hero__strip-item:last-child {
    border-right: none;
}

.hero__strip-item strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.15rem;
}

.hero__strip-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 1.5rem;
    position: relative;
}

.section-shell {
    max-width: 1240px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-header small {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.section-header h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.4rem;
}

.product-card {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), rgba(56, 189, 248, 0.3), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.product-card:hover::before {
    opacity: 1;
}

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

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card__media {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 175px;
    background-size: cover;
    background-position: center;
    background-color: #0a0c1c;
    transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-card__media {
    transform: scale(1.03);
}

.product-card__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(2, 3, 10, 0.85) 100%);
    z-index: 1;
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    background: rgba(2, 3, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 2;
}

.product-card__badge--accent {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(56, 189, 248, 0.95));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.product-card__body h3 {
    margin: 0.1rem 0 0.15rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.product-card__body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.18);
    width: fit-content;
}

.pill--success {
    background: rgba(52, 211, 153, 0.12);
    color: var(--success);
    border-color: rgba(52, 211, 153, 0.25);
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.7rem 0 0.3rem;
}

.product-price__promo {
    font-size: 1.85rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1;
}

.product-price__retail {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.92rem;
    text-decoration-color: rgba(244, 63, 94, 0.55);
}

.product-price__period {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.6rem;
}

.product-card__footer .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* ===== SHOW MORE BANNER ===== */
.show-more {
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 20% 0%, rgba(167, 139, 250, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        rgba(13, 14, 30, 0.7);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.show-more::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.show-more > * {
    position: relative;
    z-index: 1;
}

.show-more h3 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.show-more p {
    margin: 0 0 1.6rem;
    color: var(--text-soft);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.show-more__chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.show-more__chip {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-soft);
    backdrop-filter: blur(10px);
}

/* ===== HOW IT WORKS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.step-card {
    padding: 1.8rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-align: center;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-glow);
}

.step-card__num {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: grid;
    place-items: center;
    margin: 0 auto 1.1rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.step-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.testimonial-card {
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: all 0.3s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}

.testimonial-card__stars {
    color: var(--warning);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.testimonial-card__text {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 0.95rem;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 224, 0.08);
}

.testimonial-card__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-card__author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

.testimonial-card__author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq-list {
    display: grid;
    gap: 0.7rem;
    max-width: 820px;
    margin: 0 auto;
}

.faq-card {
    border-radius: var(--radius-md);
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: border-color 0.2s ease, background 0.2s ease;
    overflow: hidden;
}

.faq-card:hover {
    border-color: var(--border-strong);
}

.faq-card__q {
    padding: 1.15rem 1.4rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    user-select: none;
}

.faq-card__q i {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: transform 0.3s var(--ease-out);
    flex-shrink: 0;
}

.faq-card.open .faq-card__q i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-card__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s var(--ease-out);
    padding: 0 1.4rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-card.open .faq-card__a {
    max-height: 320px;
    padding: 0 1.4rem 1.3rem;
}

/* ===== CTA ===== */
.cta {
    text-align: center;
}

.cta-card {
    padding: 3.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        rgba(13, 14, 30, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.cta-card p {
    color: var(--text-soft);
    margin: 0 auto 2rem;
    max-width: 560px;
    line-height: 1.7;
}

.cta-card .hero__actions {
    justify-content: center;
}

/* ===== FOOTER ===== */
footer {
    padding: 3rem 1.5rem 4rem;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid rgba(148, 163, 224, 0.06);
    margin-top: 2rem;
    background: rgba(2, 3, 10, 0.4);
    backdrop-filter: blur(10px);
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}

footer .footer-links a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

footer .socials {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.2rem 0;
}

footer .socials a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 224, 0.15);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

footer .socials a:hover {
    border-color: var(--primary);
    color: var(--text);
    background: rgba(167, 139, 250, 0.1);
    transform: translateY(-3px);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 1, 6, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal__panel {
    width: min(960px, 100%);
    max-height: min(90vh, 920px);
    background: linear-gradient(160deg, rgba(20, 22, 44, 0.95), rgba(10, 12, 28, 0.95));
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-strong);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(167, 139, 250, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s var(--ease-out);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.modal.active .modal__panel {
    transform: translateY(0) scale(1);
}

.modal__head {
    padding: 1.3rem 1.8rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(167, 139, 250, 0.04);
}

.modal__head h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.modal__body {
    overflow-y: auto;
    padding: 1.8rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(167, 139, 250, 0.4) transparent;
}

.modal__body::-webkit-scrollbar {
    width: 8px;
}

.modal__body::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.3);
    border-radius: 4px;
}

.modal__close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    color: var(--text);
    transition: all 0.2s ease;
    display: grid;
    place-items: center;
}

.modal__close:hover {
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.35);
    color: var(--danger);
    transform: rotate(90deg);
}

.modal-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.6rem;
}

.modal-product__media {
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    background-color: #0a0c1c;
    min-height: 240px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.modal-product__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(2, 3, 10, 0.5));
}

.modal-product__content > h3 {
    margin: 0.4rem 0 0.6rem;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.modal-product__content > p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.modal-features {
    margin: 1.3rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.modal-features li {
    color: var(--text-soft);
    line-height: 1.5;
    font-size: 0.92rem;
    padding-left: 1.5rem;
    position: relative;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 700;
}

.modal-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.plan-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.25s var(--ease-out);
}

.plan-card:hover {
    border-color: var(--border-strong);
    background: rgba(167, 139, 250, 0.04);
}

.plan-card strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.plan-card span.plan-card__desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    display: block;
}

.plan-card .product-price {
    margin-top: 0.7rem;
}

.plan-card .product-price__promo {
    font-size: 1.5rem;
}

.modal-actions {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.modal-note {
    margin-top: 1.2rem;
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(251, 191, 36, 0.07);
    border: 1px solid rgba(251, 191, 36, 0.18);
    color: #fde68a;
    font-size: 0.88rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.modal-note i {
    color: var(--warning);
    margin-top: 0.15rem;
}

/* ===== COMPARISON ===== */
.comparison {
    margin-top: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.comparison__header {
    padding: 0.8rem 1.1rem;
    background: rgba(167, 139, 250, 0.08);
    border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
}

.comparison__row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: 1rem 1.1rem;
    border-top: 1px solid var(--border);
    align-items: center;
    gap: 0.8rem;
}

.comparison__row:first-of-type {
    border-top: none;
}

.comparison__row > div small {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.comparison__row > div strong {
    font-size: 1.15rem;
    font-weight: 700;
}

.comparison__row .retail-price {
    color: var(--text-soft);
    text-decoration: line-through;
    text-decoration-color: rgba(244, 63, 94, 0.6);
}

.comparison__row .ours-price {
    color: var(--success);
}

/* ===== PRICING PAGE FILTERS ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    padding: 0.6rem;
    border-radius: 999px;
    background: rgba(13, 14, 30, 0.6);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.filter-chip {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    white-space: nowrap;
}

.filter-chip:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.filter-chip.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.pricing-hero {
    padding: 5rem 1.5rem 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
    .nav__toggle {
        display: inline-flex;
    }

    .nav__links {
        position: fixed;
        top: 70px;
        right: 14px;
        width: min(280px, calc(100vw - 28px));
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        background: rgba(8, 10, 24, 0.96);
        border: 1px solid var(--border);
        backdrop-filter: blur(24px);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
        transform: translateX(120%);
        opacity: 0;
        transition: transform 0.35s var(--ease-out), opacity 0.3s ease;
        pointer-events: none;
        margin: 0;
    }

    .nav__links.nav__links--open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

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

    .hero__strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__strip-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    section {
        padding: 3rem 1rem;
    }

    .hero {
        padding: 3rem 1rem 2rem;
    }

    body.nav-open {
        overflow: hidden;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .product-card__media {
        height: 155px;
    }

    .modal__panel {
        border-radius: var(--radius-lg);
        max-height: 92vh;
    }

    .modal__body {
        padding: 1.3rem;
    }

    .modal__head {
        padding: 1rem 1.3rem;
    }

    .show-more {
        padding: 2rem 1.3rem;
    }

    .cta-card {
        padding: 2.5rem 1.4rem;
    }

    .filter-bar {
        padding: 0.4rem;
        gap: 0.3rem;
    }

    .filter-chip {
        padding: 0.5rem 0.9rem;
        font-size: 0.82rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-reveal] {
    opacity: 0;
}

[data-reveal].is-visible {
    animation: fadeUp 0.7s var(--ease-out) forwards;
}

[data-reveal-delay="1"].is-visible { animation-delay: 0.05s; }
[data-reveal-delay="2"].is-visible { animation-delay: 0.1s; }
[data-reveal-delay="3"].is-visible { animation-delay: 0.15s; }
[data-reveal-delay="4"].is-visible { animation-delay: 0.2s; }
[data-reveal-delay="5"].is-visible { animation-delay: 0.25s; }
