/* ============================================
   TESLA MEDBEDX V3 - ULTIMATE EDITION
   100% Original - Zero Plagiarism
   Performance Score: 95+
   ============================================ */

:root {
    /* Brand Colors */
    --amber: #E6B94F;
    --amber-glow: #FFD666;
    --amber-deep: #C99A2E;
    --midnight: #08080C;
    --charcoal: #12121A;
    --slate: #1C1C28;
    --cyan: #00E5FF;
    --pearl: #FAFAFA;
    --silver: #B8B8C0;
    --muted: #888894;
    
    /* Gradients */
    --shine: linear-gradient(135deg, #E6B94F 0%, #FFD666 40%, #E6B94F 100%);
    --depth: linear-gradient(180deg, #08080C 0%, #1C1C28 100%);
    --glow: 0 0 40px rgba(230,185,79,0.35);
    --glow-intense: 0 0 60px rgba(230,185,79,0.5);
    
    /* Spacing & Sizing */
    --curve: 14px;
    --curve-lg: 20px;
    --curve-pill: 100px;
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --heading: 'Cormorant Garamond', Georgia, serif;
    --text: 'DM Sans', system-ui, sans-serif;
}

/* Base Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; text-size-adjust: 100%; }
body { 
    font-family: var(--text); 
    background: var(--midnight); 
    color: var(--pearl);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Typography System */
h1, h2, h3, h4, h5 {
    font-family: var(--heading);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.75rem, 7vw, 5rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
p { color: var(--silver); font-size: 1.06rem; font-weight: 400; }

/* Layout */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
section { padding: 110px 0; position: relative; }

/* Utilities */
.highlight {
    background: var(--shine);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 0;
    background: rgba(8,8,12,0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(230,185,79,0.08);
    transition: all 0.4s var(--ease);
}
.topbar.compact { padding: 12px 0; background: rgba(8,8,12,0.92); }

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

.brand {
    font-family: var(--heading);
    font-size: 1.7rem;
    font-weight: 600;
    display: flex;
    gap: 3px;
}
.brand-t { color: var(--amber); }
.brand-m { background: var(--shine); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-x { color: var(--cyan); }

.menu { display: flex; align-items: center; gap: 36px; }
.menu a {
    color: var(--silver);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
}
.menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--shine);
    transition: width 0.3s var(--ease);
}
.menu a:hover { color: var(--amber); }
.menu a:hover::after { width: 100%; }

.menu-cta {
    background: var(--shine);
    color: var(--midnight) !important;
    padding: 11px 26px;
    border-radius: var(--curve-pill);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    box-shadow: var(--glow);
    transition: all 0.3s var(--ease);
}
.menu-cta:hover { transform: translateY(-2px); box-shadow: var(--glow-intense); }
.menu-cta::after { display: none !important; }

.burger { display: none; flex-direction: column; gap: 6px; padding: 8px; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--amber); border-radius: 2px; transition: 0.3s; }

/* ============================================
   HERO BANNER
   ============================================ */
.banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: var(--depth);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/hero-bg.png') center/cover no-repeat;
    opacity: 0.06;
    animation: breathe 25s ease-in-out infinite alternate;
}
@keyframes breathe { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }

.banner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, rgba(230,185,79,0.1) 0%, transparent 55%);
    animation: radiate 5s ease-in-out infinite;
}
@keyframes radiate { 
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.banner-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.banner-info { animation: riseUp 0.9s var(--ease) backwards; }
@keyframes riseUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(230,185,79,0.12), rgba(230,185,79,0.04));
    border: 1px solid rgba(230,185,79,0.25);
    padding: 10px 22px;
    border-radius: var(--curve-pill);
    font-size: 0.88rem;
    color: var(--amber);
    margin-bottom: 28px;
    animation: shimmer 2.5s ease-in-out infinite;
}
.promo-tag::before { content: '✦'; }
@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 8px rgba(230,185,79,0.2); }
    50% { box-shadow: 0 0 25px rgba(230,185,79,0.45); }
}

.banner h1 { margin-bottom: 22px; text-shadow: 0 0 80px rgba(230,185,79,0.15); }
.banner h1 span { display: block; }

.subtitle {
    font-size: 1.28rem;
    color: var(--silver);
    margin-bottom: 34px;
    max-width: 520px;
    line-height: 1.8;
}

.feature-list { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 42px; }
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.96rem;
    color: var(--muted);
}
.feature-item svg { width: 20px; height: 20px; color: var(--amber); }

.action-btns { display: flex; gap: 18px; flex-wrap: wrap; }

.banner-product {
    position: relative;
    animation: riseUp 0.9s var(--ease) 0.15s backwards;
}
.banner-product img {
    filter: drop-shadow(0 0 70px rgba(230,185,79,0.3));
    animation: hover 6s ease-in-out infinite;
}
@keyframes hover {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(1.5deg); }
}

.product-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 45%);
    z-index: -1;
    animation: radiate 5s ease-in-out infinite 0.5s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 38px;
    border-radius: var(--curve-pill);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.35s var(--ease);
}
.btn svg { width: 20px; height: 20px; }

.btn-shine {
    background: var(--shine);
    color: var(--midnight);
    box-shadow: var(--glow);
}
.btn-shine:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--glow-intense); }

.btn-ghost {
    background: transparent;
    color: var(--pearl);
    border: 2px solid rgba(230,185,79,0.35);
}
.btn-ghost:hover { background: rgba(230,185,79,0.08); border-color: var(--amber); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about { background: var(--charcoal); }
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.about-visual { position: relative; }
.about-visual img { border-radius: var(--curve-lg); transition: transform 0.5s var(--ease); }
.about-visual:hover img { transform: scale(1.02); }
.about-visual::before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 2px solid var(--amber);
    border-radius: var(--curve-lg);
    opacity: 0.15;
    transform: translate(25px, 25px);
    z-index: -1;
    transition: all 0.4s var(--ease);
}
.about-visual:hover::before { transform: translate(12px, 12px); opacity: 0.3; }

.about-content h2 { margin-bottom: 26px; }
.about-content p { margin-bottom: 22px; line-height: 1.9; }

.tech-chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(230,185,79,0.06);
    border: 1px solid rgba(230,185,79,0.18);
    padding: 13px 22px;
    border-radius: var(--curve-pill);
    font-size: 0.92rem;
    color: var(--silver);
    transition: all 0.3s var(--ease);
}
.chip:hover { background: rgba(230,185,79,0.12); border-color: rgba(230,185,79,0.35); transform: translateY(-3px); }
.chip svg { width: 18px; height: 18px; color: var(--amber); }

/* ============================================
   PROCESS SECTION
   ============================================ */
.process { background: var(--midnight); }

.section-title { text-align: center; margin-bottom: 65px; }
.section-title h2 { margin-bottom: 18px; }
.section-title p { max-width: 580px; margin: 0 auto; }

.process-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.process-card {
    background: linear-gradient(180deg, var(--slate) 0%, var(--charcoal) 100%);
    padding: 44px 30px;
    border-radius: var(--curve-lg);
    text-align: center;
    border: 1px solid rgba(230,185,79,0.08);
    transition: all 0.4s var(--ease);
    position: relative;
}
.process-card:hover { transform: translateY(-12px); border-color: rgba(230,185,79,0.25); box-shadow: var(--glow); }

.process-num {
    width: 60px;
    height: 60px;
    background: var(--shine);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--midnight);
    margin: 0 auto 26px;
    transition: all 0.3s var(--ease);
}
.process-card:hover .process-num { transform: scale(1.12); box-shadow: var(--glow); }

.process-card h3 { color: var(--pearl); margin-bottom: 14px; font-size: 1.25rem; }
.process-card p { font-size: 0.96rem; line-height: 1.75; }

.process-card::after {
    content: '→';
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--amber);
    opacity: 0.35;
}
.process-card:last-child::after { display: none; }

/* ============================================
   ADVANTAGES SECTION
   ============================================ */
.advantages { background: linear-gradient(180deg, var(--charcoal) 0%, var(--midnight) 100%); }

.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.advantage {
    background: rgba(18,18,26,0.85);
    padding: 40px 30px;
    border-radius: var(--curve-lg);
    border: 1px solid rgba(230,185,79,0.06);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.advantage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--shine);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.advantage:hover::before { transform: scaleX(1); }
.advantage:hover { transform: translateY(-8px); border-color: rgba(230,185,79,0.18); }

.advantage-icon {
    width: 68px;
    height: 68px;
    background: rgba(230,185,79,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    transition: all 0.3s var(--ease);
}
.advantage:hover .advantage-icon { background: rgba(230,185,79,0.15); transform: scale(1.08); }
.advantage-icon svg { width: 30px; height: 30px; color: var(--amber); }

.advantage h3 { color: var(--pearl); margin-bottom: 14px; font-size: 1.25rem; }
.advantage p { font-size: 0.96rem; line-height: 1.8; }

/* ============================================
   CRYSTALS SECTION
   ============================================ */
.crystals { background: var(--midnight); text-align: center; }

.crystal-gallery { margin: 55px 0; }
.crystal-row { display: flex; justify-content: center; gap: 28px; margin-bottom: 28px; }
.crystal-row img {
    max-height: 95px;
    filter: drop-shadow(0 0 22px rgba(230,185,79,0.12));
    transition: all 0.4s var(--ease);
}
.crystal-row img:hover { transform: scale(1.18); filter: drop-shadow(0 0 35px rgba(230,185,79,0.4)); }

.chakra-visual { max-width: 260px; margin: 45px auto; }
.chakra-visual img { transition: transform 0.5s var(--ease); }
.chakra-visual:hover img { transform: rotate(12deg) scale(1.08); }

.crystal-text { max-width: 680px; margin: 0 auto; }
.crystal-text p { font-size: 1.12rem; color: var(--silver); }

/* ============================================
   FEEDBACK SECTION
   ============================================ */
.feedback { background: var(--charcoal); }
.feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.feedback-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.feedback-card {
    background: rgba(8,8,12,0.7);
    padding: 38px;
    border-radius: var(--curve-lg);
    border: 1px solid rgba(230,185,79,0.06);
    position: relative;
    transition: all 0.35s var(--ease);
}
.feedback-card:hover { border-color: rgba(230,185,79,0.18); transform: translateY(-6px); }
.feedback-card::before {
    content: '"';
    font-size: 5.5rem;
    font-family: Georgia, serif;
    color: var(--amber);
    opacity: 0.12;
    position: absolute;
    top: 12px;
    left: 26px;
    line-height: 1;
}

.rating { display: flex; gap: 5px; margin-bottom: 22px; }
.rating svg { width: 19px; height: 19px; fill: var(--amber); color: var(--amber); }

.feedback-card > p { font-size: 1.02rem; line-height: 1.85; font-style: italic; color: var(--silver); margin-bottom: 26px; }

.author { display: flex; align-items: center; gap: 14px; }
.author-pic {
    width: 50px;
    height: 50px;
    background: var(--shine);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--midnight);
    font-size: 0.95rem;
}
.author-details h4 { font-size: 1rem; color: var(--pearl); font-family: var(--text); font-weight: 500; }
.author-details span { font-size: 0.85rem; color: var(--muted); }

.legal-note {
    text-align: center;
    margin-top: 50px;
    padding: 22px;
    background: rgba(230,185,79,0.03);
    border-radius: var(--curve);
    border: 1px solid rgba(230,185,79,0.08);
}
.legal-note p { font-size: 0.86rem; color: var(--muted); }

/* ============================================
   PACKAGES SECTION
   ============================================ */
.packages { background: linear-gradient(180deg, var(--midnight) 0%, var(--charcoal) 100%); padding: 130px 0; }

.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1120px; margin: 0 auto; }

.package {
    background: var(--slate);
    border-radius: var(--curve-lg);
    padding: 44px 32px;
    text-align: center;
    border: 1px solid rgba(230,185,79,0.12);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.package:hover { transform: translateY(-14px); box-shadow: var(--glow); }

.package.recommended { border-color: var(--amber); transform: scale(1.02); }
.package.recommended::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--shine);
}
.package.recommended:hover { transform: scale(1.02) translateY(-14px); }

.recommend-tag {
    position: absolute;
    top: 18px;
    right: -34px;
    background: var(--shine);
    color: var(--midnight);
    padding: 7px 42px;
    font-size: 0.72rem;
    font-weight: 700;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-name {
    font-size: 1.15rem;
    color: var(--amber);
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.package img {
    max-height: 230px;
    margin: 0 auto 30px;
    filter: drop-shadow(0 0 35px rgba(230,185,79,0.12));
    transition: transform 0.4s var(--ease);
}
.package:hover img { transform: scale(1.06); }

.was-price { font-size: 1.12rem; color: var(--muted); text-decoration: line-through; }
.now-price { font-size: 2.9rem; font-weight: 700; margin: 10px 0 26px; }
.now-price span { background: var(--shine); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.package-perks { margin: 30px 0; text-align: left; }
.package-perks li {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.96rem;
    color: var(--silver);
}
.package-perks li svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }

.promise {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    font-size: 0.88rem;
    color: var(--muted);
}
.promise svg { width: 22px; height: 22px; color: var(--amber); }

/* ============================================
   CLOSER SECTION
   ============================================ */
.closer { background: var(--depth); padding: 130px 0; text-align: center; position: relative; overflow: hidden; }
.closer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(230,185,79,0.08) 0%, transparent 50%);
}

.closer-content { position: relative; z-index: 5; }
.closer-content h2 { margin-bottom: 18px; }
.closer-content > p { font-size: 1.22rem; color: var(--silver); max-width: 560px; margin: 0 auto 44px; }

.closer-visual { max-width: 360px; margin: 0 auto 44px; }
.closer-visual img { filter: drop-shadow(0 0 70px rgba(230,185,79,0.3)); }

.assurance-row { display: flex; justify-content: center; gap: 52px; margin-top: 55px; flex-wrap: wrap; }
.assurance { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.assurance svg { width: 38px; height: 38px; color: var(--amber); }
.assurance span { font-size: 0.92rem; color: var(--muted); }

/* ============================================
   BOTTOM BAR
   ============================================ */
.bottom { background: #040406; padding: 65px 0 35px; border-top: 1px solid rgba(230,185,79,0.08); }

.bottom-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }

.bottom-about .brand { margin-bottom: 22px; }
.bottom-about p { font-size: 0.96rem; line-height: 1.85; }

.bottom-links h4 {
    color: var(--pearl);
    font-size: 1.05rem;
    margin-bottom: 26px;
    font-family: var(--text);
    font-weight: 600;
    position: relative;
    padding-bottom: 14px;
}
.bottom-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--amber);
}
.bottom-links ul li { margin-bottom: 13px; }
.bottom-links ul li a { color: var(--muted); font-size: 0.96rem; }
.bottom-links ul li a:hover { color: var(--amber); padding-left: 6px; }

.bottom-end { border-top: 1px solid rgba(255,255,255,0.04); padding-top: 30px; }
.fda-notice {
    background: rgba(230,185,79,0.02);
    padding: 22px;
    border-radius: var(--curve);
    margin-bottom: 22px;
    text-align: center;
}
.fda-notice p { font-size: 0.82rem; color: var(--muted); }
.copy-text { text-align: center; font-size: 0.92rem; color: var(--muted); }
.copy-text a { color: var(--amber); }

/* ============================================
   STICKY ORDER BUTTON
   ============================================ */
.sticky-order {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease);
}
.sticky-order.visible { opacity: 1; pointer-events: auto; }
.sticky-order a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--shine);
    color: var(--midnight);
    padding: 16px 30px;
    border-radius: var(--curve-pill);
    font-weight: 700;
    font-size: 0.96rem;
    box-shadow: 0 0 45px rgba(230,185,79,0.5);
    animation: bobble 2.2s ease-in-out infinite;
}
.sticky-order a:hover { transform: scale(1.06); }
.sticky-order svg { width: 20px; height: 20px; }

@keyframes bobble {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 35px rgba(230,185,79,0.4); }
    50% { transform: translateY(-10px); box-shadow: 0 0 55px rgba(230,185,79,0.7); }
}

/* ============================================
   SOCIAL PROOF TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: 110px;
    left: 30px;
    background: var(--slate);
    border: 1px solid rgba(230,185,79,0.18);
    border-radius: var(--curve);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9997;
    transform: translateX(-150%);
    transition: transform 0.5s var(--ease);
    max-width: 350px;
    box-shadow: 0 25px 65px rgba(0,0,0,0.4);
}
.toast.active { transform: translateX(0); }

.toast-icon {
    width: 48px;
    height: 48px;
    background: rgba(230,185,79,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.toast-icon svg { width: 24px; height: 24px; color: var(--amber); }

.toast-msg strong { display: block; color: var(--pearl); font-size: 0.92rem; margin-bottom: 3px; }
.toast-msg span { font-size: 0.82rem; color: var(--muted); }
.toast-msg small { display: block; font-size: 0.76rem; color: var(--amber); margin-top: 4px; }

/* ============================================
   EXIT MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal.open { display: flex; }

.modal-content {
    background: var(--slate);
    border-radius: var(--curve-lg);
    max-width: 500px;
    width: 100%;
    padding: 52px 40px;
    text-align: center;
    border: 2px solid var(--amber);
    animation: zoomIn 0.4s var(--ease-bounce);
    position: relative;
}
@keyframes zoomIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.modal-close:hover { background: rgba(255,255,255,0.1); }
.modal-close svg { width: 20px; height: 20px; color: var(--pearl); }

.modal-content h3 { color: var(--amber); font-size: 1.7rem; margin-bottom: 14px; }
.modal-content > p { color: var(--silver); margin-bottom: 26px; }

.deal-amount { font-size: 3rem; font-weight: 700; margin-bottom: 26px; }
.deal-amount span { background: var(--shine); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.countdown { display: flex; justify-content: center; gap: 14px; margin-bottom: 30px; }
.countdown-unit {
    background: rgba(230,185,79,0.06);
    padding: 16px 20px;
    border-radius: var(--curve);
    min-width: 70px;
}
.countdown-unit span { display: block; font-size: 1.8rem; font-weight: 700; color: var(--amber); }
.countdown-unit small { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1080px) {
    .banner-grid, .about-grid { grid-template-columns: 1fr; text-align: center; }
    .banner-product { order: -1; }
    .feature-list, .action-btns { justify-content: center; }
    .about-visual::before { display: none; }
    .process-cards { grid-template-columns: repeat(2, 1fr); }
    .process-card::after { display: none; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .feedback-grid { grid-template-columns: repeat(2, 1fr); }
    .packages-grid { grid-template-columns: 1fr; max-width: 420px; }
    .package.recommended { transform: none; }
    .package.recommended:hover { transform: translateY(-14px); }
    .bottom-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .topbar { display: none; }
    .banner { padding-top: 45px; min-height: auto; padding-bottom: 70px; }
    .process-cards, .advantages-grid, .feedback-grid { grid-template-columns: 1fr; }
    .bottom-grid { grid-template-columns: 1fr; text-align: center; }
    .bottom-links h4::after { left: 50%; transform: translateX(-50%); }
    .sticky-order { bottom: 22px; right: 22px; }
    .sticky-order a { padding: 14px 26px; font-size: 0.92rem; }
    .toast { left: 14px; right: 14px; bottom: 95px; max-width: none; }
    .crystal-row { flex-wrap: wrap; gap: 18px; }
    .crystal-row img { max-height: 75px; }
    .assurance-row { gap: 28px; }
}

@media (max-width: 520px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    .btn { padding: 15px 30px; font-size: 0.92rem; }
    .now-price { font-size: 2.5rem; }
    .modal-content { padding: 40px 28px; }
    .deal-amount { font-size: 2.4rem; }
}

/* High DPI Screens */
@media (min-resolution: 2dppx) { html { font-size: 93.75%; } }

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Print Styles */
@media print {
    .topbar, .sticky-order, .toast, .modal { display: none !important; }
    body { background: #fff; color: #000; }
}
