@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700;800&display=swap');

/* =========================================
   1. BASE VARIABLES & THEME SETUP
   ========================================= */
:root {
    --bg-body: #060878;
    --bg-primary: #060878;
    --bg-secondary: #060878;
    --bg-footer: #020220;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-strong: rgba(6, 8, 120, 0.98);
    --bg-dropdown: #0a0c40;
    --text-primary: #FFFFFF;
    --text-secondary: #ced4da;
    --text-muted: #9CA3AF;
    --accent-primary: #2ECC71;
    --accent-primary-dark: #27AE60;
    --accent-primary-glow: rgba(46, 204, 113, 0.3);
    --border-color: rgba(255, 255, 255, 0.15);
    --input-bg: rgba(0, 0, 0, 0.2);
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-soft: 0 4px 6px -1px rgba(0,0,0,0.15), 0 2px 4px -2px rgba(0,0,0,0.15);
    --shadow-medium: 0 10px 15px -3px rgba(0,0,0,0.2), 0 4px 6px -4px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 20px var(--accent-primary-glow);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Albert Sans', sans-serif;
    --overlay-color: rgba(6, 8, 120, 0.9);
    --nav-scrolled-bg: rgba(6, 8, 120, 0.98);
    --calc-bg: #060878;
    --calc-tab-active-bg: #FFFFFF;
    --calc-tab-active-text: #060878;
    --calc-tab-inactive-text: #9CA3AF;
    --bg-cta: rgba(6, 8, 120, 0.98);
}

html[data-theme='light'] {
    --bg-body: #FDFCF8;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F5F0;
    --bg-footer: #EBE9E1;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-glass-strong: rgba(255, 255, 255, 0.98);
    --bg-dropdown: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --accent-primary: #059669;
    --accent-primary-dark: #047857;
    --accent-primary-glow: rgba(5, 150, 105, 0.15);
    --border-color: rgba(0, 0, 0, 0.08);
    --input-bg: #F2F0EA;
    --shadow-soft: 0 4px 10px -1px rgba(0,0,0,0.05);
    --shadow-medium: 0 10px 25px -5px rgba(0,0,0,0.08);
    --shadow-glow: 0 5px 15px rgba(5, 150, 105, 0.2);
    --overlay-color: rgba(255, 255, 255, 0.85);
    --nav-scrolled-bg: rgba(255, 255, 255, 0.98);
    --calc-bg: #FFFFFF;
    --calc-tab-active-bg: #0F172A;
    --calc-tab-active-text: #FFFFFF;
    --calc-tab-inactive-text: #64748B;
    --bg-cta: #F7F5F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { width: 100%; overflow-x: hidden; }

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s, color 0.3s;
}

.container { max-width: 1350px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); }
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
p { font-size: 1.125rem; line-height: 1.6; color: var(--text-secondary); }

/* =========================================
   2. GLOBAL COMPONENTS
   ========================================= */
.preloader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: var(--bg-body); z-index: 9999; display: grid; place-items: center; transition: opacity 0.5s ease-out 0.3s, visibility 0.5s ease-out 0.3s; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader video { width: 100%; height: 100%; object-fit: cover; }

.header-wrapper { position: sticky; top: 20px; z-index: 1001; padding: 0 16px; }

header { 
    height: 72px; 
    background: var(--bg-glass); 
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); 
    border-radius: var(--radius-md); 
    border: 1px solid var(--border-color); 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15); 
    transition: var(--transition-smooth); 
    width: 100%; 
    max-width: 100%; 
}
header.container { max-width: 99% !important; padding: 0 24px; }
header.scrolled { background: var(--nav-scrolled-bg); border-color: var(--border-color); box-shadow: var(--shadow-medium); }

/* MOBILE HEADER TRANSPARENCY & SPACING */
@media (max-width: 768px) {
    .header-wrapper { top: 10px; padding: 0 10px; }
    header {
        background: transparent !important; 
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    header.scrolled {
        background: var(--nav-scrolled-bg) !important;
        border: 1px solid var(--border-color) !important;
        backdrop-filter: blur(16px) !important;
        box-shadow: var(--shadow-medium) !important;
    }
}

nav { display: flex; justify-content: space-between; align-items: center; height: 100%; width: 100%; }
.logo { font-size: 1.75rem; font-weight: 800; text-decoration: none; color: var(--text-primary); transition: color 0.3s; margin-right: auto; }
.logo span { color: var(--accent-primary); }

.nav-links { display: flex; list-style: none; gap: 12px; margin: 0 auto; }
.nav-links a { display: flex; align-items: center; gap: 8px; position: relative; color: var(--text-secondary); font-weight: 500; font-size: 0.9rem; text-decoration: none; transition: var(--transition-smooth); padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--text-primary); background: var(--bg-glass); }
.nav-links svg { width: 16px; height: 16px; }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-actions .btn { padding: 10px 24px; min-width: auto; white-space: nowrap; flex-shrink: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 500; border-radius: 10px; padding: 12px 24px; transition: var(--transition-smooth); gap: 8px; font-size: 1rem; cursor: pointer; }
.btn-secondary { background: var(--bg-glass); color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: rgba(128,128,128,0.1); transform: translateY(-1px); }
.btn-primary { background: var(--accent-primary); color: #fff !important; border: none; box-shadow: 0 4px 20px var(--accent-primary-glow); }
.btn-primary:hover { background: var(--accent-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-primary-glow); }
.btn svg { width: 18px; height: 18px; }

.theme-toggle { background: var(--bg-glass); border: 1px solid var(--border-color); border-radius: 10px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition-smooth); color: var(--text-primary); padding: 0; }
.theme-toggle:hover { background: rgba(128,128,128,0.1); }
.theme-toggle svg { width: 20px; height: 20px; stroke-width: 2; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
html[data-theme='light'] .theme-toggle .sun { display: block; }
html[data-theme='light'] .theme-toggle .moon { display: none; }

.language-switcher { position: relative; }
.language-switcher-button { display: flex; align-items: center; gap: 8px; background: var(--bg-glass); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 10px; padding: 10px 12px; cursor: pointer; transition: var(--transition-smooth); font-family: var(--font-family); font-size: 1rem; font-weight: 500; }
.language-switcher-menu { position: absolute; top: calc(100% + 14px); right: 0; background: var(--bg-dropdown); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 8px; list-style: none; width: 220px; z-index: 1050; box-shadow: 0 10px 40px rgba(0,0,0,0.3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; }
.language-switcher.active .language-switcher-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.language-switcher-menu li { display: block; margin-bottom: 2px; }
.language-switcher-menu .language-option { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--text-secondary); text-decoration: none; border-radius: 8px; transition: var(--transition-smooth); font-size: 0.95rem; }
.language-switcher-menu .language-option:hover { background-color: var(--bg-glass); color: var(--text-primary); padding-left: 16px; }
.language-switcher-menu .language-option img { width: 20px; height: auto; border-radius: 2px; }

.mobile-menu-toggle { display: none; flex-direction: column; justify-content: space-around; width: 28px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1002; margin-left: auto; }
.mobile-menu-toggle .bar { background-color: var(--text-primary); display: block; width: 100%; height: 3px; border-radius: 2px; transition: all 0.3s ease-in-out; }

.mobile-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-glass-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; display: flex; flex-direction: column; }
.mobile-nav.active { opacity: 1; visibility: visible; }
.mobile-nav-header { height: 112px; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; padding: 0 24px; border-bottom: 1px solid var(--border-color); }
.mobile-nav-close { background: transparent; border: none; cursor: pointer; padding: 8px; color: var(--text-primary); transition: color 0.3s; z-index: 1005; }
.mobile-nav-body { flex-grow: 1; padding: 24px; overflow-y: auto; }
.mobile-nav-links { list-style: none; }
.mobile-nav-links a { display: flex; align-items: center; gap: 16px; color: var(--text-secondary); text-decoration: none; font-size: 1.25rem; font-weight: 700; padding: 12px; border-radius: var(--radius-md); transition: var(--transition-smooth); }
.mobile-nav-footer { flex-shrink: 0; padding: 32px 24px; display: flex; flex-direction: column; gap: 16px; margin-top: auto; border-top: 1px solid var(--border-color); }
.btn-mobile-secondary, .btn-mobile-primary { display: inline-flex; align-items: center; justify-content: center; padding: 16px; border-radius: var(--radius-md); font-weight: 500; gap: 8px; text-decoration: none; width: 100%; }
.btn-mobile-secondary { background: var(--bg-glass); border: 1px solid var(--border-color); color: var(--text-primary); }
.btn-mobile-primary { background: var(--accent-primary); color: #fff; border: none; box-shadow: 0 4px 20px var(--accent-primary-glow); }

.mobile-language-switcher-wrapper { padding: 0; margin-top: 10px; }
.language-switcher.mobile { width: 100%; }
.language-switcher.mobile .language-switcher-button { width: 100%; justify-content: flex-start; gap: 16px; background: var(--bg-glass); border: 1px solid var(--border-color); color: var(--text-secondary); font-size: 1.1rem; font-weight: 600; padding: 14px; border-radius: 12px; }
.language-switcher.mobile .language-switcher-button .chevron-down { margin-left: auto; }
.language-switcher.mobile .language-switcher-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; backdrop-filter: none; border: none; width: 100%; padding: 10px 0 0 10px; display: none; }
.language-switcher.mobile.active .language-switcher-menu { display: block; }
.language-switcher.mobile .language-option { padding: 12px; color: var(--text-muted); font-size: 1rem; display: flex; align-items: center; gap: 12px; border-radius: 8px; transition: background 0.2s; }
.language-switcher.mobile .language-option:hover { color: var(--accent-primary); background: var(--bg-glass); }
.mobile-nav-footer .theme-toggle { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-nav-footer .theme-toggle span { display: none !important; }

@media (max-width: 1023px) {
    .header-wrapper { padding: 0 20px; top: 15px; }
    .nav-actions, .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
}

footer { background: var(--bg-footer); color: var(--text-primary); padding-top: 80px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-links h4 { font-size: 1.1rem; margin-bottom: 16px; color: var(--text-primary); }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-primary); }
.footer-bottom { margin-top: 60px; padding: 32px 0; border-top: 1px solid var(--border-color); text-align: center; }
.footer-bottom p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 8px; }

body > .skiptranslate, #goog-te-banner-frame, .goog-te-gadget-simple { display: none !important; }
#google_translate_element { visibility: hidden; position: absolute; top: -1000px; }

/* =========================================
   3. REVAMPED SECTIONS
   ========================================= */

/* --- 3a. Immersive Hero --- */
.hero-immersive {
    position: relative;
    padding-top: 180px;
    padding-bottom: 80px;
    margin-top: -112px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-body);
}

.hero-bg-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; }
.hero-bg-video { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-overlay-gradient {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, var(--bg-body) 0%, rgba(6, 8, 120, 0.4) 100%);
}
html[data-theme='light'] .hero-overlay-gradient {
    background: linear-gradient(to top, var(--bg-body) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.hero-container-relative { position: relative; z-index: 2; width: 100%; display: flex; justify-content: center; }

.hero-glass-content {
    background: rgba(6, 8, 120, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 32px; padding: 60px 40px;
    max-width: 900px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
html[data-theme='light'] .hero-glass-content { background: rgba(255, 255, 255, 0.7); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }

/* --- MOBILE HERO FIXED & STYLED --- */
@media (max-width: 768px) {
    .hero-immersive {
        height: auto; 
        min-height: 100dvh;
        margin-top: 0;
        
        /* Reduced padding to move elements up */
        padding-top: 110px; 
        padding-bottom: 60px;
        
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .hero-bg-layer { position: absolute; width: 100%; height: 100%; left: 0; top: 0; z-index: 0; }
    
    .hero-overlay-gradient {
        z-index: 1;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.85) 0%,      
            rgba(6, 8, 120, 0.2) 40%,   
            rgba(0, 0, 0, 0.95) 100%    
        ) !important;
    }
    
    html[data-theme='light'] .hero-overlay-gradient {
         background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.2) 40%,
            rgba(255, 255, 255, 0.95) 100%
        ) !important;
    }

    .hero-glass-content {
        background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
        border: none; box-shadow: none; padding: 0 10px;
        text-align: left; width: 100%;
        margin-top: 0; 
    }

    .hero-top-tag {
        margin-bottom: 12px;
        background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.2);
    }
    
    /* Reduced margin */
    .hero-title-large {
        font-size: 2.8rem; line-height: 1.1;
        text-shadow: 0 4px 20px rgba(0,0,0,0.9);
        margin-bottom: 10px;
    }
    
    .hero-desc-large {
        display: block !important;
        font-size: 1.05rem;
        text-shadow: 0 2px 8px rgba(0,0,0,0.9);
        opacity: 1; color: #fff; margin-bottom: 24px;
        font-weight: 500;
        line-height: 1.5;
    }

    /* Stacked, Slimmer Buttons */
    .hero-actions-expanded { 
        flex-direction: column; 
        width: 100%; 
        gap: 10px; 
        margin-bottom: 16px;
        padding: 0 10%; /* Makes buttons narrower than screen */
    }
    
    .btn-xl { 
        width: 100%; 
        text-align: center; 
        padding: 12px 20px;
        border-radius: 12px;
        font-size: 1rem;
        backdrop-filter: blur(12px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    .btn-glass {
        border: 1px solid rgba(255,255,255,0.6);
        background: rgba(255,255,255,0.15);
        color: #fff;
    }

    .hero-trust-row { 
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding-top: 16px;
        border-top: 1px solid rgba(255,255,255,0.2);
        margin-top: 10px;
    }
    .trust-text { color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
}

/* Reduced Spacing for Desktop */
.hero-top-tag {
    display: inline-flex; align-items: center; gap: 8px; background: var(--bg-primary);
    border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 100px;
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
    margin-bottom: 16px; /* Reduced from 32 */
    color: var(--accent-primary);
}
.live-indicator { width: 8px; height: 8px; background: red; border-radius: 50%; box-shadow: 0 0 10px red; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: 0.5; } }
.hero-title-large { font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 16px; /* Reduced from 24 */ line-height: 1.05; }
.hero-desc-large { font-size: 1.25rem; max-width: 700px; margin: 0 auto 48px; opacity: 0.9; }
.hero-actions-expanded { display: flex; justify-content: center; gap: 20px; margin-bottom: 24px; /* Reduced from 48 */ flex-wrap: wrap; }
.btn-xl { padding: 16px 36px; font-size: 1.125rem; font-weight: 700; }
.btn-glass { background: rgba(255,255,255,0.1); color: var(--text-primary); border: 1px solid var(--border-color); backdrop-filter: blur(5px); }
html[data-theme='light'] .btn-glass { background: rgba(0,0,0,0.05); }
.hero-trust-row { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 32px; border-top: 1px solid var(--border-color); }
.avatars-overlap { display: flex; }
.avatars-overlap img { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--bg-body); margin-left: -15px; }
.avatars-overlap img:first-child { margin-left: 0; }
.trust-text { text-align: left; font-size: 0.9rem; line-height: 1.2; }

/* --- 3b. Background Video Layers (Generic) --- */
.section-bg-video-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.section-bg-video-layer video { width: 100%; height: 100%; object-fit: cover; }
.section-overlay { position: absolute; inset: 0; background: var(--bg-body); opacity: 0.8; }

.why-choose-us-revamp { padding-top: 100px; background-color: var(--bg-body); position: relative; overflow: hidden; }
.section-header-left { text-align: left; margin-bottom: 48px; max-width: 600px; position: relative; z-index: 1; }
.bento-grid { display: grid; grid-template-columns: 1fr; gap: 24px; position: relative; z-index: 1; }
@media (min-width: 768px) {
    .bento-grid { grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; }
    .bento-card.large { grid-row: span 2; }
}
.bento-card {
    background: rgba(6, 8, 120, 0.6); 
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color); border-radius: 24px;
    padding: 40px; position: relative; overflow: hidden; transition: transform 0.3s ease;
    display: flex; flex-direction: column; justify-content: flex-end;
}
html[data-theme='light'] .bento-card { background: rgba(255, 255, 255, 0.6); }
.bento-card:hover { transform: translateY(-5px); border-color: var(--accent-primary); }
.bento-card.large { min-height: 400px; background: rgba(0,0,0,0.3); }
.bento-content { position: relative; z-index: 1; }
.quality-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-glass); color: var(--accent-primary); margin-bottom: 24px; }

/* BENTO TOP IMAGE */
.bento-img-wrapper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}
.bento-top-img {
    width: 100%; height: 100%; object-fit: cover;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.cinematic-break { width: 100%; position: relative; overflow: hidden; line-height: 0; background-color: #000; margin: 0; padding: 0; }
.cinematic-break video { width: 100%; height: auto; display: block; object-fit: cover; max-width: 100vw; }
@media (max-width: 768px) { .cinematic-break video { min-height: 250px; object-fit: cover; } }

.calculator-section-wide { padding-bottom: 80px; background-color: var(--bg-body); }
.calculator-wrapper-wide {
    background: var(--bg-glass); border: 1px solid var(--border-color); border-radius: 32px;
    display: grid; grid-template-columns: 1fr; overflow: hidden;
}
@media (min-width: 900px) { .calculator-wrapper-wide { grid-template-columns: 40% 60%; } }
.calc-sidebar { padding: 40px; background: var(--bg-secondary); border-right: 1px solid var(--border-color); }
.calc-sidebar h2 { font-size: 1.8rem; margin-bottom: 12px; }
.input-modern-group {
    background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px;
    padding: 12px 16px; display: flex; align-items: center; margin: 16px 0;
}
.modern-input { background: transparent; border: none; font-size: 1.5rem; color: var(--text-primary); font-weight: 700; width: 100%; outline: none; }
.modern-slider { width: 100%; accent-color: var(--accent-primary); -webkit-appearance: none; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.calc-main { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.plan-selector-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.pill-btn {
    background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary);
    padding: 8px 16px; border-radius: 100px; cursor: pointer; transition: all 0.2s;
}
.pill-btn.active { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }
.result-box-glass { background: var(--bg-glass-strong); border-radius: 20px; padding: 24px; border: 1px solid var(--border-color); }
.result-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; color: var(--text-muted); }
.result-row strong { color: var(--text-primary); font-size: 1.1rem; }
.accent-text { color: var(--accent-primary) !important; }
.total-return-area { text-align: right; margin-top: 20px; border-top: 1px solid var(--border-color); padding-top: 16px; }
.huge-number { font-size: 3rem; font-weight: 800; color: var(--text-primary); line-height: 1; }

.plans-carousel-section { position: relative; background-color: var(--bg-body); }
.video-bg-layer { position: absolute; inset: 0; z-index: -1; opacity: 0.1; }
.video-bg-layer video { width: 100%; height: 100%; object-fit: cover; max-width: 100vw; }
.layer-overlay { position: absolute; inset: 0; background: var(--bg-body); opacity: 0.9; }
.scrolling-wrapper-flexbox {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 24px; padding-bottom: 40px;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
}
.scrolling-wrapper-flexbox::-webkit-scrollbar { height: 6px; }
.scrolling-wrapper-flexbox::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
.plan-ticket-card {
    flex: 0 0 85%; max-width: 320px; background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: 20px; scroll-snap-align: center; display: flex; flex-direction: column;
    position: relative; transition: transform 0.3s;
}
@media (min-width: 768px) { .plan-ticket-card { flex: 0 0 300px; } }
.plan-ticket-card:hover { transform: translateY(-10px); }
.ticket-top { background: var(--accent-primary); color: #fff; padding: 24px; border-radius: 20px 20px 0 0; }
.plan-badge { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.roi-big { font-size: 2.2rem; font-weight: 800; margin-top: 8px; }
.roi-big small { font-size: 1rem; font-weight: 400; }
.ticket-body { padding: 24px; flex-grow: 1; }
.desc { font-size: 0.9rem; margin-bottom: 20px; color: var(--text-muted); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 20px; text-align: center; }
.spec-item { background: var(--bg-body); padding: 8px 4px; border-radius: 8px; display: flex; flex-direction: column; }
.spec-item .label { font-size: 0.7rem; color: var(--text-muted); }
.spec-item .val { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.micro-features { list-style: none; font-size: 0.85rem; color: var(--text-secondary); }
.micro-features li { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.micro-features .dot { width: 6px; height: 6px; background: var(--accent-primary); border-radius: 50%; }
.ticket-action { padding: 16px 24px 24px; }
.btn-block { width: 100%; }

.referral-compact-section { background-color: var(--bg-body); position: relative; overflow: hidden; }
.referral-grid-layout { display: grid; grid-template-columns: 1fr; gap: 32px; position: relative; z-index: 1; }
@media (min-width: 992px) { .referral-grid-layout { grid-template-columns: 1.2fr 0.8fr; } }
.ref-header-group { margin-bottom: 32px; }
.ref-main-desc { font-size: 1.1rem; color: var(--text-secondary); }
.ref-image-banner {
    position: relative; border-radius: 24px; overflow: hidden;
    height: 300px; margin-bottom: 24px; border: 1px solid var(--border-color);
}
@media (min-width: 992px) { .ref-image-banner { height: 600px; } }
.ref-image-banner img { width: 100%; height: 100%; object-fit: cover; }
.ref-banner-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: #fff;
}
.ref-col-levels { display: flex; flex-direction: column; gap: 16px; }
.level-box {
    display: flex; align-items: center; gap: 20px; padding: 20px;
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    border-radius: 16px; transition: transform 0.2s;
}
.level-box:hover { transform: translateX(10px); border-color: var(--accent-primary); }
.lvl-percent { font-size: 1.8rem; font-weight: 800; color: var(--accent-primary); min-width: 60px; }
.lvl-info { flex-grow: 1; }
.lvl-info h4 { font-size: 1.1rem; margin-bottom: 4px; }
.lvl-info p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.lvl-icon { color: var(--accent-primary); opacity: 0.5; }

.security-list-section { background-color: var(--bg-body); }
.security-list-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .security-list-grid { grid-template-columns: 1fr 1fr; } }
.sec-item { display: flex; align-items: flex-start; gap: 16px; background: var(--bg-glass); padding: 24px; border-radius: 16px; border: 1px solid transparent; transition: all 0.3s; }
.sec-item:hover { background: var(--bg-secondary); border-color: var(--border-color); }
.sec-icon-box { min-width: 40px; height: 40px; background: var(--accent-primary-glow); color: var(--accent-primary); border-radius: 8px; display: grid; place-items: center; }

.cta-stylish-section { padding: 80px 0; background: var(--bg-body); }
.cta-modern-card {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-glass-strong));
    border: 1px solid var(--border-color); border-radius: 32px;
    padding: 60px 24px; text-align: center;
}
.cta-glow-effect {
    position: absolute; top: 0; right: 0; width: 300px; height: 300px;
    background: var(--accent-primary); opacity: 0.1; filter: blur(80px); border-radius: 50%;
}
.cta-content-wrapper { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-title-modern { font-size: 2.5rem; margin-bottom: 16px; }
.cta-subtitle-modern { margin-bottom: 40px; opacity: 0.9; }
.cta-steps-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.badge {
    background: var(--bg-body); border: 1px solid var(--border-color);
    padding: 8px 16px; border-radius: 100px; font-size: 0.9rem; color: var(--text-secondary);
}
.btn-neon-primary {
    background: var(--text-primary); color: var(--bg-body);
    padding: 18px 40px; font-size: 1.125rem; font-weight: 700; border-radius: 100px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
html[data-theme='light'] .btn-neon-primary { background: var(--accent-primary); color: #fff; box-shadow: 0 0 20px var(--accent-primary-glow); }
.full-width-video-section { padding: 0; background-color: var(--bg-primary); line-height: 0; }
.full-width-video-section video { width: 100%; height: auto; display: block; max-width: 100vw; }