/* =========================
   DESIGN TOKENS / VARIABLES
========================= */

:root {
            --bg-deep: #000000;
            --text-white: #ffffff;
            --text-grey: #98989d;
            --accent-glow: #2997ff; /* Electric Blue */
            --accent-purple: #bf5af2;
            --success: #2997ff; 
            --danger: #ff453a;
            --border-dim: rgba(255, 255, 255, 0.08);
            --border-highlight: rgba(255, 255, 255, 0.15);
        }

/* =========================
   GLOBAL RESET & BASE
========================= */

        * { box-sizing: border-box; margin: 0; padding: 0; }
        
        html { 
            scroll-behavior: auto;
            overflow-x: hidden;
            width: 100%;
            overscroll-behavior-x: none; 
        }
        
        body {
            background-color: var(--bg-deep);
            color: var(--text-white);
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
            overflow-x: hidden;
            width: 100%;
            position: relative;
            -webkit-font-smoothing: antialiased;
            overscroll-behavior-y: none; 
        }
        
/* =========================
   GLOBAL UTILITIES
========================= */

html.scroll-locked,
body.scroll-locked {
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100%;
    overscroll-behavior: none;
    touch-action: none;
}

/* =========================
   HEADER & NAVIGATION
========================= */

        header {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 60px;
            z-index: 1000;
            background: rgba(10, 10, 10, 0.85); 
            backdrop-filter: blur(30px) saturate(180%);
            -webkit-backdrop-filter: blur(30px) saturate(180%);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 40px; 
        }

        /* CENTERED LOGO GROUP */
        .logo-group {
            position: absolute;
            left: 49%; 
            top: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 1005;
            cursor: pointer; 
            width: max-content; 
        }

        .logo-img { height: 24px; width: auto; }

        .logo-text {
            font-size: 1.4rem;
            font-weight: 800;
            letter-spacing: 0.05em;
            color: #fff;
            text-transform: uppercase;
            user-select: none;
            text-shadow: 0 0 20px rgba(255,255,255,0.1);
            white-space: nowrap;
        }

        /* --- DESKTOP NAV --- */
        .nav-products {
            position: absolute;
            left: 40px; 
            top: 50%;
            transform: translateY(-50%);
            z-index: 1002;
        }

        /* --- RIGHT NAVIGATION (LANG) --- */
        .lang-wrapper { 
            position: absolute; 
            right: 40px; 
            top: 50%; 
            transform: translateY(-50%); 
        }

        /* --- MOBILE TOGGLE --- */
        .mobile-toggle {
            display: none; 
            position: absolute;
            left: 20px; 
            top: 50%;
            transform: translateY(-50%);
            width: 24px;
            height: 24px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 1100;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px; 
            padding: 0;
        }

        .line {
            width: 20px; 
            height: 2px;
            background-color: #fff;
            border-radius: 4px;
            transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
            transform-origin: center;
        }

        .mobile-toggle.active .line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .mobile-toggle.active .line:nth-child(2) { opacity: 0; transform: scale(0); }
        .mobile-toggle.active .line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================
   MOBILE NAVIGATION
========================= */

        .mobile-glass-panel {
            position: fixed;
            top: 60px; 
            left: 0;
            width: 100%;
            height: calc(100vh - 60px); 
            background: rgba(5, 5, 5, 0.92); 
            backdrop-filter: blur(35px) saturate(180%);
            -webkit-backdrop-filter: blur(35px) saturate(180%);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            display: flex;
            flex-direction: column;
            padding: 20px 24px;
            transform: translateY(-150%);
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 999;
            visibility: hidden;
            overflow-y: auto; 
        }

        .mobile-glass-panel.active {
            transform: translateY(0);
            visibility: visible;
        }

        /* --- CUSTOM GLOBE LANGUAGE BUTTON (MOBILE ONLY) --- */
        .globe-btn {
            display: none; /* Mobile only */
            width: 26px;  /* 26px Size */
            height: 26px; /* 26px Size */
            background: transparent;
            border: none;
            cursor: pointer;
            position: relative;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        /* SVG Styling for Globe */
        .globe-svg {
            width: 100%;
            height: 100%;
            fill: none;
            stroke: #fff;
            stroke-width: 1.5; /* Thicker Lines */
            opacity: 0.9;
        }

/* =========================
   LANGUAGE SELECTOR
========================= */

        .lang-btn-desktop {
            background: rgba(255,255,255,0.05); border: 1px solid var(--border-dim);
            padding: 8px 16px; border-radius: 50px; color: #bbb; font-size: 0.85rem; cursor: pointer; transition: 0.3s;
        }
        .lang-btn-desktop:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }

        .lang-menu {
            position: absolute; top: 140%; right: 0; width: 160px; background: #080808; border: 1px solid var(--border-dim);
            border-radius: 12px; padding: 5px; opacity: 0; transform: translateY(-10px); pointer-events: none;
            transition: 0.2s; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 1003;
        }
        .lang-menu.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
        .lang-opt { padding: 10px; border-radius: 8px; font-size: 0.9rem; color: #888; cursor: pointer; }
        .lang-opt:hover { background: rgba(255,255,255,0.1); color: #fff; }

        /* Mobile Accordion Logic */
        .mob-acc-btn {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid var(--border-dim);
            padding: 20px;
            border-radius: 16px;
            color: #fff;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .mob-arrow {
            font-size: 0.8rem; transition: transform 0.4s ease; color: var(--text-grey); display: inline-block;
            transform: rotate(180deg); 
        }
        .mob-acc-btn.open .mob-arrow { transform: rotate(0deg); color: #fff; }

        .mob-acc-content {
            max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            margin-top: 0; opacity: 0; display: flex; flex-direction: column; gap: 12px;
        }
        .mob-acc-content.open { max-height: 800px; margin-top: 20px; opacity: 1; }

        /* Mobile Items */
        .mob-link {
            display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 18px; border-radius: 16px;
            background: #050505; border: 1px solid rgba(255, 255, 255, 0.08); transition: 0.2s; position: relative;
        }
        .mob-link:active { transform: scale(0.98); border-color: var(--accent-glow); background: #000; }
        .mob-icon {
            width: 44px; height: 44px; background: #000; border: 1px solid rgba(255,255,255,0.15);
            border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-glow); flex-shrink: 0;
        }
        .mob-info h4 { font-size: 1.05rem; color: #fff; margin-bottom: 4px; font-weight: 700; letter-spacing: 0.02em; }
        .mob-info p { font-size: 0.85rem; color: #888; line-height: 1.3; margin: 0; }

        /* --- DESKTOP STYLES --- */
        .site-selector {
            position: relative; background: transparent; border: none; padding: 8px 12px; color: #fff; 
            font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
            cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; border-radius: 8px;
        }
        .site-selector:hover { background: rgba(255,255,255,0.08); text-shadow: 0 0 10px rgba(255,255,255,0.4); }
        .site-selector.active { background: rgba(255,255,255,0.06); }
        .arrow-icon { font-size: 0.6rem; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); opacity: 0.8; color: var(--accent-glow); }
        .site-selector.active .arrow-icon { transform: rotate(180deg); color: #fff; }

        .cat-menu {
            position: absolute; top: 150%; left: -20px; width: 315px;
            background: #080808; border: 1px solid var(--border-highlight); /* Darker BG */
            border-radius: 20px; padding: 10px; opacity: 0; visibility: hidden;
            transform: translateY(-10px) scale(0.98); transform-origin: top left;
            transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.25s;
            box-shadow: 0 40px 80px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.05);
        }
        .cat-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

        .cat-opt {
            display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 14px;
            text-decoration: none; transition: background 0.2s ease; position: relative;
        }
        .cat-opt:hover { background: rgba(255,255,255,0.04); }

        .cat-icon-wrap {
            width: 48px; height: 48px; border-radius: 50%; background: #111; border: 1px solid rgba(255,255,255,0.08);
            display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-grey); transition: all 0.3s ease;
        }
        .cat-opt:hover .cat-icon-wrap {
            background: rgba(41, 151, 255, 0.1); border-color: var(--accent-glow); color: var(--text-white);
            transform: scale(1.05); box-shadow: 0 0 20px rgba(41, 151, 255, 0.15);
        }
        .cat-icon-svg { width: 22px; height: 22px; stroke-width: 1.5; }
        .cat-text-col { display: flex; flex-direction: column; gap: 4px; }
        .cat-title { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; }
        .cat-desc { color: var(--text-grey); font-size: 0.8rem; font-weight: 500; line-height: 1.4; transition: color 0.2s; }
        .cat-opt:hover .cat-desc { color: #ccc; }

/* =========================
   LAYOUT
========================= */

        .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; text-align: center; position: relative; z-index: 2; }
        section { padding: 140px 0; position: relative; }

/* =========================
   HERO
========================= */

        .hero {
            min-height: 100vh; display: flex; align-items: center; justify-content: center;
            background: radial-gradient(circle at center, #111 0%, #000 80%); padding-top: 80px;
        }
        .glow-bg {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px;
            background: radial-gradient(circle, rgba(41, 151, 255, 0.25) 0%, transparent 60%); z-index: 1; pointer-events: none;
        }
        h1 {
            font-size: clamp(3.5rem, 8vw, 6.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
            background: linear-gradient(180deg, #fff 0%, #999 100%); -webkit-background-clip: text;
            -webkit-text-fill-color: transparent; margin-bottom: 24px;
        }
        h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 20px; }
        p { font-size: 1.2rem; line-height: 1.6; color: var(--text-grey); max-width: 640px; margin: 0 auto; }
        
        .input-group { position: relative; max-width: 480px; margin: 50px auto 0; }
        input {
            width: 100%; padding: 24px 32px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
            border-radius: 50px; color: white; font-size: 1.1rem; outline: none; transition: 0.3s; text-align: center;
        }
        input:focus { border-color: var(--accent-glow); background: rgba(255,255,255,0.12); }
        .btn-main {
            width: 100%; margin-top: 16px; padding: 24px 32px; background: #fff; color: #000; border: none; border-radius: 50px;
            font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s;
        }
        .btn-main:hover { transform: scale(1.02); box-shadow: 0 0 50px rgba(255,255,255,0.4); }

/* =========================
   VALUE TICKER
========================= */

        .ticker-wrap { width: 100%; background: #000; padding: 15px 0; border-top: 1px solid #222; border-bottom: 1px solid #222; overflow: hidden; white-space: nowrap; }
        .ticker { display: inline-block; animation: ticker 40s linear infinite; }
        .ticker-item { display: inline-block; padding: 0 40px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; color: #444; }
        @keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================
   LEGACY SYSTEM / PROBLEM
========================= */

        .fear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 80px; }
        .fear-card {
            background: linear-gradient(145deg, #0f0f0f, #050505); border: 1px solid rgba(255,255,255,0.05);
            padding: 40px 30px; border-radius: 24px; text-align: left; transition: 0.3s;
        }
        .fear-card:hover { transform: translateY(-10px); border-color: var(--danger); }
        .fear-stat { font-size: 3.5rem; font-weight: 800; color: var(--danger); margin-bottom: 10px; line-height: 1; text-shadow: 0 0 30px rgba(255, 69, 58, 0.3); }
        .fear-title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 8px; }

/* =========================
   FEE COMPARISON
========================= */

        .comparison-wrapper { background: #080808; border-top: 1px solid var(--border-dim); border-bottom: 1px solid var(--border-dim); padding: 120px 0; }
        .classic-grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; margin-top: 60px; align-items: center; }
        .comp-col { padding: 20px; opacity: 0.7; transition: 0.3s; }
        .comp-col.winner { opacity: 1; }
        .divider { height: 250px; background: linear-gradient(180deg, transparent, #333, transparent); }
        .big-percent { font-size: 5.5rem; font-weight: 800; display: block; margin-bottom: 10px; line-height: 1; }
        .text-red { color: var(--danger); text-shadow: 0 0 30px rgba(255, 69, 58, 0.3); }
        .text-green { background: linear-gradient(135deg, #fff, var(--success)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 20px rgba(41, 151, 255, 0.4)); }
        .cap-pill {
            display: inline-block; margin-top: 20px; background: rgba(42, 150, 219, 0.1); color: var(--success);
            border: 1px solid rgba(42, 151, 255, 0.3); padding: 8px 16px; border-radius: 12px; font-weight: 700;
        }



/* =========================
   TRANSACTION FLOW (VERTICAL)
========================= */

.tx-flow-vertical {
    background: radial-gradient(circle at center, #0b0b0b 0%, #000 75%);
    padding: 140px 0;
}

/* Container for steps */
.tx-vertical {
    position: relative;
    margin: 100px auto 0;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* =========================
   PROGRESS RAIL
========================= */

.tx-progress-rail {
    position: absolute;
    left: 48px;          /* center of 96px node */
    top: 96px;           /* below first node */
    bottom: 96px;        /* above last node */
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.tx-progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(
        180deg,
        var(--accent-glow),
        rgba(41,151,255,0.25),
        transparent
    );
    box-shadow: 0 0 25px rgba(41,151,255,0.4);
    transition: height 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

/* =========================
   STEPS
========================= */

.tx-v-step {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 32px;
    align-items: center;
    width: 100%;

    opacity: 0.35;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tx-v-step.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =========================
   NODE (CIRCLE)
========================= */

.tx-v-node {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #050505;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(41,151,255,0.15);
}

.tx-v-step.active .tx-v-node {
    box-shadow:
        0 0 50px rgba(41,151,255,0.35),
        0 0 0 1px rgba(41,151,255,0.4);
}

/* =========================
   TEXT
========================= */

.tx-v-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.tx-v-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.tx-v-text span {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}

/* =========================
   ICONS
========================= */

.tx-icon {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.95;
    transition: transform 0.4s ease, stroke 0.4s ease;
}

.tx-v-step.active .tx-icon {
    stroke: var(--accent-glow);
    transform: scale(1.08);
}

/* =========================
   DEVICE ECOSYSTEM
========================= */

        .device-stage { padding: 120px 0; background: radial-gradient(circle at center, #111 0%, #000 80%); perspective: 2000px; overflow: hidden; }
        
        .device-wrap { 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            margin-top: 80px; 
            transform-style: preserve-3d;
            perspective: 1500px;
        }

        /* NEW IMAGE STYLE */
        .hero-phone-img {
            width: 100%;
            max-width: 400px; /* Adjust size */
            height: auto;
            border-radius: 56px; /* High radius for iPhone screen shape */
            box-shadow: 0 25px 80px -20px rgba(0,0,0,0.8), 
                        0 0 0 2px rgba(255,255,255,0.05); /* Subtle bezel stroke */
            transition: transform 0.1s ease-out; /* Smooth JS tilt */
            filter: drop-shadow(0 0 40px rgba(41, 151, 255, 0.15)); /* Blue glow */
            position: relative;
            z-index: 2;
        }

        /* --- FEATURES --- */
        .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 80px; }
        .feature-card { background: #0a0a0a; border: 1px solid var(--border-dim); padding: 40px; border-radius: 24px; transition: 0.3s; }
        .feature-card:hover { border-color: var(--accent-glow); transform: translateY(-5px); }
        .icon-svg { width: 64px; height: 64px; margin: 0 auto 25px; display: block; }
        
        /* --- NEW STYLES FOR INFO BUCKETS --- */
        .list-feature {
            text-align: left; margin-top: 20px; list-style: none; color: #888;
        }
        .list-feature li {
            margin-bottom: 12px; padding-left: 20px; position: relative;
        }
        .list-feature li::before {
            content: "•"; position: absolute; left: 0; color: var(--accent-glow);
        }

        .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 80px; text-align: left; }
        .info-card {
            background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
            border: 1px solid var(--border-dim);
            padding: 40px; border-radius: 24px;
        }
        .info-head { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 15px; }
        .info-sub { color: #888; line-height: 1.6; margin-bottom: 20px; }

/* =========================
   ANIMATIONS & EFFECTS
========================= */

        .reveal { opacity: 0; transform: translateY(30px); transition: 1s cubic-bezier(0.2, 1, 0.3, 1); }
        .reveal.active { opacity: 1; transform: translateY(0); }
        .gradient-text { background: linear-gradient(90deg, var(--accent-glow), var(--accent-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }


/* =========================
   RESPONSIVE ADJUSTMENTS
========================= */

        @media (max-width: 900px) {
            .classic-grid, .fear-grid, .info-grid { grid-template-columns: 1fr; gap: 50px; }
            .device-wrap { flex-direction: column; gap: 100px; }
            .divider { display: none; }
            
            /* Hide Desktop Nav */
            .nav-products { display: none; }
            /* Hide Desktop Lang Button */
            .lang-btn-desktop { display: none; }
            /* Show Mobile Globe */
            .globe-btn { display: flex; }
            
            /* Show Mobile Toggle */
            .mobile-toggle { display: flex; }
            
            /* Symmetry: Right 20px */
            .lang-wrapper { right: 20px; }
            
            header { padding: 0; } 
            
            .hero-phone-img { max-width: 85%; }
				}
				
				


/* =========================
   INTRO POPUP (CLEAN + iOS SAFE)
========================= */

.intro-popup {
    position: fixed;
    inset: 0;

    /* Light dim + blur so site is visible but unreadable */
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

/* Popup card */
.intro-popup-card {
    position: relative;
    max-width: 560px;
    padding: 52px 46px;

    background: linear-gradient(180deg, #0c0c0c, #050505);
    border-radius: 28px;
    border: 1px solid rgba(255, 69, 58, 0.35);

    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255, 69, 58, 0.15),
        0 40px 120px rgba(0, 0, 0, 0.95);

    overflow: hidden;
}

/* Red glow accent */
.intro-popup-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(
        circle at center,
        rgba(255, 69, 58, 0.22),
        transparent 60%
    );
    pointer-events: none;
}

/* Headline */
.intro-popup-card h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;

    background: linear-gradient(180deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 35px rgba(255, 69, 58, 0.45);
}

/* Text */
.intro-popup-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #9a9a9a;
    margin-bottom: 34px;
}

/* Button */
.intro-popup-card button {
    width: 100%;
    padding: 20px 32px;
    border-radius: 50px;
    border: none;

    background: #ffffff;
    color: #000;
    font-size: 1.05rem;
    font-weight: 700;

    cursor: pointer;
    transition: 0.3s;

    box-shadow: 0 0 45px rgba(255, 69, 58, 0.35);
}

.intro-popup-card button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 55px rgba(255, 69, 58, 0.5);
}