/* ============================================
   N1CM - Complete Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --white: #FFFFFF;
    --orange: #3B82F6;
    --orange-hover: #1972F5;
    --green: #007BFF;
    --dark-bg: #0F2C7A;
    --dark-bg-alt: #0A1F5C;
    --dark-footer: #212529;
    --gray-100: #F8F9FA;
    --gray-200: #EEF0F2;
    --gray-500: #697077;
    --gray-700: #343A3F;
    --gray-900: #121619;
    --orange-glow: rgba(59, 130, 246, 0.15);
    --green-glow: rgba(0, 123, 255, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --transition: 0.3s ease;
    --transition-fast: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.1);
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    overflow: hidden;
}

.section-dark {
    background: var(--dark-bg);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-alt {
    background: var(--gray-100);
}

/* --- Section Labels & Titles --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--bar-color, var(--orange));
    border-radius: 2px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    text-wrap: balance;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.section-subtitle-2 {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 1040px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--dark-bg-alt);
    color: var(--white);
    border-color: var(--dark-bg-alt);
}

.btn-primary:hover {
    background: var(--dark-bg);
    border-color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10, 31, 92, 0.4);
    color: #FFFFFF;
}

.btn-secondary {
    background: transparent;
    color: var(--dark-bg);
    border-color: var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-glow);
}

.btn-outline {
    background: transparent;
    color: var(--dark-bg-alt);
    border-color: var(--dark-bg-alt);
}

.btn-outline:hover {
    background: var(--dark-bg-alt);
    color: var(--white);
    border-color: var(--dark-bg-alt);
    transform: translateY(-2px);
}

.btn-green {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-green:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.35);
}

.btn-white {
    background: var(--white);
    color: var(--dark-bg);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* --- Persistent Bar: Utility links (scrolls away naturally) --- */
.header-persistent {
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-100);
}

.header-persistent .container {
    max-width: 100%;
    padding-left: 32px;
    padding-right: 32px;
}

.header-persistent-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 40px;
}

.header-omni-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-omni-nav a {
    font-size: 11px;
    font-weight: 600;
    color: #283545;
    padding: 6px 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.header-omni-nav a:hover {
    color: var(--orange);
}

/* --- Floating Language Switcher (Bottom Left) --- */
.lang-float {
    position: fixed;
    bottom: 100px;
    left: 24px;
    z-index: 99990;
    font-family: var(--font-body);
}

.lang-float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    padding: 10px 18px 10px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    font-family: var(--font-body);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-float-btn:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,0.18);
    border-color: var(--orange);
    color: var(--orange);
}

.lang-float-btn .fi {
    font-size: 18px;
    border-radius: 2px;
}

.lang-float-arrow {
    transition: transform 0.25s ease;
    opacity: 0.5;
}

.lang-float.open .lang-float-arrow {
    transform: rotate(180deg);
}

.lang-float-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
    min-width: 190px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-float.open .lang-float-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-float-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    font-family: var(--font-body);
    transition: all 0.15s ease;
    text-align: left;
}

.lang-float-option:hover {
    background: var(--gray-100);
    color: var(--orange);
}

.lang-float-option.active {
    color: var(--orange);
    font-weight: 700;
    background: rgba(59, 130, 246, 0.05);
}

.lang-float-option .fi {
    font-size: 18px;
    border-radius: 2px;
}

/* --- Translation Loading Bar --- */
.lang-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lang-loading.active {
    opacity: 1;
}

.lang-loading-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), #f7a84e, var(--orange));
    background-size: 200% 100%;
    animation: langLoadSlide 1.2s ease infinite;
}

@keyframes langLoadSlide {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- RTL Support for Farsi --- */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .lang-float {
    left: auto;
    right: 24px;
}

body.rtl .lang-float-dropdown {
    left: auto;
    right: 0;
    transform-origin: bottom right;
}

body.rtl .main-nav-list {
    flex-direction: row-reverse;
}

body.rtl .nav-actions {
    flex-direction: row-reverse;
}

body.rtl .mega-panel-grid {
    direction: rtl;
}

/* Mobile lang-float position */
@media (max-width: 768px) {
    .lang-float {
        bottom: 80px;
        left: 16px;
    }
    .lang-float-btn {
        padding: 8px 14px 8px 10px;
        font-size: 12px;
    }
    .lang-float-btn .fi {
        font-size: 16px;
    }
}

.omni-cta {
    display: inline-flex;
    align-items: center;
    background: var(--dark-bg-alt);
    color: var(--white) !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    border-radius: 0;
    border: 2px solid var(--dark-bg-alt);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px !important;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.omni-cta:hover {
    background: var(--dark-bg);
    border-color: var(--dark-bg);
    color: var(--white) !important;
}

.omni-cta-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--dark-bg-alt) !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    border-radius: 0;
    border: 2px solid var(--dark-bg-alt);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px !important;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.omni-cta-outline:hover {
    background: var(--dark-bg-alt);
    border-color: var(--dark-bg-alt);
    color: var(--white) !important;
}

/* --- Main Navbar: Sticky with sliding rows --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

.navbar .container {
    max-width: 100%;
    padding-left: 32px;
    padding-right: 32px;
}

.navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* Hide border when mega menu is open so header looks unified */
.navbar.mega-open {
    border-bottom-color: transparent;
}

/* Clip container - hides the off-screen row */
.navbar-clip {
    overflow: hidden;
    height: 76px;
}

/* Slider: holds both rows stacked, slides up when scrolled */
.navbar-slider {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-slider {
    transform: translateY(-76px);
}

/* Shared row styles */
.navbar-row {
    height: 76px;
}

.navbar-row-inner {
    display: flex;
    align-items: center;
    height: 76px;
    position: relative;
}

/* Logo (shared between both rows) */
.nav-logo {
    margin-right: 12px;
    flex-shrink: 0;
}

.nav-logo img {
    height: 52px;
    width: auto;
    display: block;
}

/* --- Row 2: Utility links row (hidden by default, below main row) --- */
.navbar-utility-links {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 0;
}

.navbar-utility-row .nav-actions {
    margin-left: 12px;
}

.navbar-utility-links a {
    font-size: 11.5px;
    font-weight: 600;
    color: #283545;
    padding: 8px 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.navbar-utility-links a:hover {
    color: var(--orange);
}

.navbar-utility-row .omni-cta,
.navbar-utility-row .omni-cta-outline {
    margin-left: 0;
    flex-shrink: 0;
}

.navbar-utility-row .nav-actions-utility {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Main Nav List */
.main-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0 8px;
    flex: 1;
}

/* Hide mobile-only menu items on desktop */
.mobile-menu-cta,
.mobile-menu-links {
    display: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 26px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #283545;
    transition: color 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .nav-link {
        padding: 26px 16px;
        font-size: 15px;
    }
}

.nav-link:hover,
.nav-item.mega-active .nav-link {
    color: var(--orange);
}

/* Nav Pointer (animated underline like FXCM) */
.nav-pointer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 3px 3px 0 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease;
    opacity: 0;
    width: 0;
}

.nav-pointer.visible {
    opacity: 1;
}

/* Nav Actions (right side) */
.nav-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 8px;
    flex-shrink: 0;
}

/* --- Mega Menu Panels --- */
.mega-menu-panels {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    pointer-events: none;
}

.mega-panel {
    background: var(--white);
    border-top: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    pointer-events: none;
}

.mega-panel.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    border-top: none;
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.mega-panel-grid {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 0;
    padding: 28px 0;
}

.mega-panel-intro {
    padding-right: 28px;
}

.mega-panel-intro h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #283545;
    margin-bottom: 10px;
}

.mega-panel-intro p {
    font-size: 13px;
    color: #6b7c93;
    line-height: 1.6;
}

.mega-panel-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    padding-left: 28px;
    border-left: 1px solid var(--gray-100);
}

.mega-col {
    min-width: 0;
}

.mega-col-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #283545;
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.mega-col a {
    display: block;
    padding: 10px 0;
    font-size: 13px;
    color: #6b7c93;
    border-bottom: 1px solid var(--gray-200);
    transition: color 0.15s ease, padding-left 0.2s ease;
}

.mega-col a:last-child {
    border-bottom: none;
}

.mega-col a:hover {
    color: var(--orange);
    padding-left: 6px;
}

/* Header Overlay - disabled */
.header-overlay {
    display: none;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1003;
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-hamburger.open {
    display: none;
}

/* --- Hero Section --- */
.hero {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    height: calc(100vh - 40px);
    min-height: 620px;
}

/* Background pattern - warm orange theme */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 40%, rgba(59, 130, 246, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black 20%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero-slide {
    display: none;
    padding: 0;
    animation: heroFadeIn 0.6s ease-out;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-slide a,
.hero-slide button {
    pointer-events: auto;
}

.hero-slide.active {
    display: flex;
    align-items: center;
    top: -230px;
}

.hero-slide > .container {
    width: 100%;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 270px;
    left: calc((100% - 1200px) / 2 + 24px);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--orange);
    transform: scale(1.2);
}

.hero-dot:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Slider Arrows */
.hero-arrow {
    position: absolute;
    top: calc(50% - 120px);
    transform: translateY(-50%);
    z-index: 100;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--gray-700);
    pointer-events: auto;
}

.hero-arrow:hover {
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.hero-arrow svg {
    width: 20px;
    height: 20px;
}

.hero-arrow-left {
    left: 20px;
}

.hero-arrow-right {
    right: 20px;
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
    display: none;
}

.hero-scroll-indicator span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-500);
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray-500);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--orange);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.4; transform: translateX(-50%) translateY(10px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.hero .container {
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 900;
    color: var(--dark-bg);
    margin-bottom: 24px;
    line-height: 1.1;
    text-wrap: balance;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #1972F5 0%, #007BFF 40%, #61F7AC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

/* Slide 1 - Gold Standard / in Trading: iki net satir, descender'lar kesilmesin */
.hero-content h1.hero-h1-gold {
    line-height: 1.22;
    padding-bottom: 6px;
}

.hero-content h1.hero-h1-gold span {
    line-height: 1.22;
    padding-bottom: 4px;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), transparent);
    border-radius: 2px;
    opacity: 0.4;
}

.hero-content p {
    font-size: 17px;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    text-align: left;
    padding: 12px 16px;
    border-radius: 0;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: default;
}

.hero-stat:hover {
    transform: translateY(-4px);
    background: var(--orange-glow);
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-bg);
    transition: color 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.hero-stat:hover .hero-stat-value {
    color: var(--orange);
}

.hero-stat-value span {
    color: inherit;
    font-weight: 800;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
    pointer-events: none;
}

.hero-slide-img {
    width: 110%;
    max-width: none;
    height: auto;
    border-radius: 0;
    display: block;
    margin: 0 auto;
    cursor: grab;
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
    background: transparent;
}

.hero-slide-img:active {
    cursor: grabbing;
}

.hero-slide-img.tilt-active {
    /* transparent bg - no shadow */
}

/* --- Globe Orbiting Animation (Slide 1) --- */
.globe-wrapper {
    position: relative;
    width: 480px;
    height: 500px;
    margin: 0 auto;
}

.globe-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    object-fit: contain;
    z-index: 5;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.25));
}

/* Orbit rings */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 229, 204, 0.12);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.orbit-1 {
    width: 520px;
    height: 200px;
    transform: translate(-50%, -50%) rotateX(65deg) rotateZ(-15deg);
    animation: orbitSpin1 25s linear infinite;
    border-color: rgba(59, 130, 246, 0.18);
}

.orbit-2 {
    width: 560px;
    height: 220px;
    transform: translate(-50%, -50%) rotateX(70deg) rotateZ(25deg);
    animation: orbitSpin2 35s linear infinite reverse;
    border-style: dashed;
    border-color: rgba(0, 229, 204, 0.1);
}

.orbit-3 {
    width: 480px;
    height: 180px;
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-40deg);
    animation: orbitSpin3 30s linear infinite;
    border-color: rgba(59, 130, 246, 0.12);
}

@keyframes orbitSpin1 {
    from { transform: translate(-50%, -50%) rotateX(65deg) rotateZ(-15deg) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotateX(65deg) rotateZ(-15deg) rotate(360deg); }
}
@keyframes orbitSpin2 {
    from { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(25deg) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(25deg) rotate(360deg); }
}
@keyframes orbitSpin3 {
    from { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-40deg) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-40deg) rotate(360deg); }
}

/* Orbiting glass spheres */
.sphere-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
}

.sphere {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0.05) 50%, rgba(0,0,0,0.1));
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15), inset 0 0 20px rgba(255,255,255,0.05);
    animation: sphereFloat var(--duration, 20s) linear infinite;
    animation-delay: var(--delay, 0s);
}

/* Sphere icon text (currency symbols) */
.sphere-icon {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.sphere-icon-au {
    font-size: 16px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 1px 6px rgba(255, 215, 0, 0.4);
}

/* Sphere SVG icons (candlestick, line chart) */
.sphere-candle {
    width: 26px;
    height: 20px;
}

.sphere-chart {
    width: 28px;
    height: 18px;
}

.sphere svg path {
    stroke: var(--orange);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
}

.sphere-1 { --duration: 22s; --delay: 0s; }
.sphere-2 { --duration: 22s; --delay: -3.67s; }
.sphere-3 { --duration: 22s; --delay: -7.33s; }
.sphere-4 { --duration: 22s; --delay: -11s; }
.sphere-5 { --duration: 22s; --delay: -14.67s; }
.sphere-6 { --duration: 22s; --delay: -18.33s; }

@keyframes sphereFloat {
    0% {
        transform: rotate(0deg) translateX(230px) rotate(0deg) scale(0.85);
        opacity: 0.5;
    }
    25% {
        transform: rotate(90deg) translateX(230px) rotate(-90deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg) translateX(230px) rotate(-180deg) scale(0.85);
        opacity: 0.5;
    }
    75% {
        transform: rotate(270deg) translateX(230px) rotate(-270deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) translateX(230px) rotate(-360deg) scale(0.85);
        opacity: 0.5;
    }
}

/* Sparkle particles */
.sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--orange);
    animation: sparkleAnim var(--dur, 3s) ease-in-out infinite;
    animation-delay: var(--del, 0s);
}

.sparkle.teal {
    background: #00E5CC;
    box-shadow: 0 0 8px #00E5CC;
}

.sp1 { top: 8%; left: 60%; --dur: 3.5s; --del: 0s; }
.sp2 { top: 22%; right: 5%; --dur: 2.8s; --del: 0.5s; }
.sp3 { bottom: 30%; right: 8%; --dur: 4s; --del: 1s; }
.sp4 { bottom: 12%; left: 55%; --dur: 3.2s; --del: 1.5s; }
.sp5 { top: 40%; left: 3%; --dur: 3.8s; --del: 0.3s; }
.sp6 { top: 15%; left: 25%; --dur: 2.5s; --del: 0.8s; }
.sp7 { bottom: 20%; left: 15%; --dur: 3s; --del: 2s; }
.sp8 { top: 55%; right: 12%; --dur: 4.2s; --del: 0.7s; }

@keyframes sparkleAnim {
    0%, 100% { opacity: 0.2; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(2); }
}

/* --- Platform Showcase (Slide 2) --- */
.platform-wrapper {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 500px;
    margin: 0 auto;
}

.platform-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    z-index: 5;
    filter: drop-shadow(0 20px 60px rgba(59, 130, 246, 0.15));
}

/* Tech frame corners */
.tech-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    pointer-events: none;
    z-index: 6;
}

.frame-corner {
    position: absolute;
    width: 36px;
    height: 36px;
}

.frame-corner::before,
.frame-corner::after {
    content: '';
    position: absolute;
    background: var(--orange);
}

.frame-corner.tl { top: 0; left: 0; }
.frame-corner.tl::before { top: 0; left: 0; width: 36px; height: 2px; }
.frame-corner.tl::after { top: 0; left: 0; width: 2px; height: 36px; }

.frame-corner.tr { top: 0; right: 0; }
.frame-corner.tr::before { top: 0; right: 0; width: 36px; height: 2px; }
.frame-corner.tr::after { top: 0; right: 0; width: 2px; height: 36px; }

.frame-corner.bl { bottom: 0; left: 0; }
.frame-corner.bl::before { bottom: 0; left: 0; width: 36px; height: 2px; }
.frame-corner.bl::after { bottom: 0; left: 0; width: 2px; height: 36px; }

.frame-corner.br { bottom: 0; right: 0; }
.frame-corner.br::before { bottom: 0; right: 0; width: 36px; height: 2px; }
.frame-corner.br::after { bottom: 0; right: 0; width: 2px; height: 36px; }

.frame-corner-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--orange);
    animation: cornerPulse 2s ease-in-out infinite;
}

.frame-corner.tl .frame-corner-dot { top: -3px; left: -3px; }
.frame-corner.tr .frame-corner-dot { top: -3px; right: -3px; animation-delay: 0.5s; }
.frame-corner.bl .frame-corner-dot { bottom: -3px; left: -3px; animation-delay: 1s; }
.frame-corner.br .frame-corner-dot { bottom: -3px; right: -3px; animation-delay: 1.5s; }

@keyframes cornerPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Floor reflection */
.floor-reflection {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    filter: blur(12px);
    z-index: 1;
    animation: reflectionPulse 4s ease-in-out infinite;
}

@keyframes reflectionPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Floating data cards */
.data-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 10px 14px;
    z-index: 10;
    font-family: 'Plus Jakarta Sans', sans-serif;
    animation: cardFloat var(--float-dur, 4s) ease-in-out infinite;
    animation-delay: var(--float-del, 0s);
    min-width: 110px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.dc-label {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}

.dc-value {
    font-size: 15px;
    font-weight: 700;
}

.dc-value.up { color: #007BFF; }
.dc-value.down { color: #FF4757; }
.dc-value.neutral { color: var(--orange); }

.dc-change {
    font-size: 10px;
    margin-top: 2px;
    font-weight: 600;
}

.dc-change.up { color: #007BFF; }
.dc-change.down { color: #FF4757; }

.card-1 { top: 5%; left: -70px; --float-dur: 4s; --float-del: 0s; }
.card-2 { top: 8%; right: -80px; --float-dur: 4.5s; --float-del: 0.5s; }
.card-3 { bottom: 22%; left: -60px; --float-dur: 3.8s; --float-del: 1s; }
.card-4 { bottom: 18%; right: -75px; --float-dur: 4.2s; --float-del: 1.5s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Data flow dots */
.data-flow-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--orange);
    z-index: 8;
    animation: flowDot var(--flow-dur, 3s) ease-in-out infinite;
    animation-delay: var(--flow-del, 0s);
}

.data-flow-dot.teal {
    background: #00E5CC;
    box-shadow: 0 0 6px #00E5CC;
}

.fd-1 { top: 20%; left: 8%; --flow-dur: 3s; --flow-del: 0s; }
.fd-2 { top: 35%; right: 5%; --flow-dur: 3.5s; --flow-del: 0.5s; }
.fd-3 { top: 55%; left: 5%; --flow-dur: 2.8s; --flow-del: 1s; }
.fd-4 { top: 65%; right: 8%; --flow-dur: 3.2s; --flow-del: 1.5s; }
.fd-5 { top: 80%; left: 12%; --flow-dur: 3.8s; --flow-del: 0.3s; }
.fd-6 { top: 25%; right: 3%; --flow-dur: 2.5s; --flow-del: 0.8s; }

@keyframes flowDot {
    0%, 100% { opacity: 0.2; transform: scale(0.5) translateY(0); }
    50% { opacity: 1; transform: scale(1.5) translateY(-8px); }
}

/* --- Vault / Fund Safety (Slide 3) --- */
.vault-wrapper {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 500px;
    margin: 0 auto;
}

.vault-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: auto;
    object-fit: contain;
    z-index: 5;
    filter: drop-shadow(0 20px 60px rgba(255, 215, 0, 0.15));
}

/* Falling gold coins */
.coin {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    animation: coinDrop var(--drop-dur, 4s) ease-in infinite;
    animation-delay: var(--drop-del, 0s);
}

.coin-inner {
    width: var(--size, 32px);
    height: var(--size, 32px);
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE55C 0%, #FFD700 30%, #DAA520 60%, #B8860B 100%);
    border: 2px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), inset 0 -3px 6px rgba(0,0,0,0.2), inset 0 3px 6px rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: rgba(139, 90, 0, 0.7);
    font-size: calc(var(--size, 32px) * 0.4);
    animation: coinSpin var(--spin-dur, 2s) linear infinite;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

.coin-1 { left: 8%;  top: -5%;  --size: 34px; --drop-dur: 5s;   --drop-del: 0s;   --spin-dur: 1.8s; }
.coin-2 { left: 20%; top: -8%;  --size: 26px; --drop-dur: 5.5s; --drop-del: 0.7s; --spin-dur: 2.2s; }
.coin-3 { left: 35%; top: -3%;  --size: 22px; --drop-dur: 4.5s; --drop-del: 1.4s; --spin-dur: 1.5s; }
.coin-4 { left: 50%; top: -6%;  --size: 30px; --drop-dur: 6s;   --drop-del: 0.3s; --spin-dur: 2s; }
.coin-5 { left: 60%; top: -4%;  --size: 24px; --drop-dur: 5.2s; --drop-del: 2s;   --spin-dur: 1.7s; }
.coin-6 { left: 72%; top: -7%;  --size: 32px; --drop-dur: 5.8s; --drop-del: 0.5s; --spin-dur: 2.5s; }
.coin-7 { left: 82%; top: -5%;  --size: 20px; --drop-dur: 4.8s; --drop-del: 1.8s; --spin-dur: 1.4s; }
.coin-8 { left: 92%; top: -9%;  --size: 28px; --drop-dur: 5.3s; --drop-del: 1.1s; --spin-dur: 2.3s; }

@keyframes coinDrop {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    5% { opacity: 1; }
    70% { opacity: 1; }
    85% { opacity: 0.5; }
    100% { transform: translateY(550px) rotate(180deg); opacity: 0; }
}

@keyframes coinSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Gold sparkles */
.gold-sparkle {
    position: absolute;
    width: var(--sp-size, 4px);
    height: var(--sp-size, 4px);
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    z-index: 8;
    animation: sparkleGold var(--sp-dur, 3s) ease-in-out infinite;
    animation-delay: var(--sp-del, 0s);
}

.gs-1 { top: 15%; left: 20%;  --sp-size: 3px; --sp-dur: 3s;   --sp-del: 0s; }
.gs-2 { top: 25%; right: 15%; --sp-size: 5px; --sp-dur: 3.5s; --sp-del: 0.5s; }
.gs-3 { top: 40%; left: 10%;  --sp-size: 3px; --sp-dur: 2.8s; --sp-del: 1s; }
.gs-4 { top: 55%; right: 10%; --sp-size: 4px; --sp-dur: 3.2s; --sp-del: 1.5s; }
.gs-5 { top: 35%; left: 30%;  --sp-size: 2px; --sp-dur: 4s;   --sp-del: 0.3s; }
.gs-6 { top: 60%; right: 25%; --sp-size: 5px; --sp-dur: 2.5s; --sp-del: 0.8s; }
.gs-7 { top: 20%; left: 70%;  --sp-size: 3px; --sp-dur: 3.8s; --sp-del: 2s; }
.gs-8 { top: 70%; left: 15%;  --sp-size: 4px; --sp-dur: 3.3s; --sp-del: 1.2s; }

@keyframes sparkleGold {
    0%, 100% { opacity: 0; transform: scale(0.5) translateY(0); }
    50% { opacity: 1; transform: scale(2) translateY(-12px); }
}

/* Security badges */
.security-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 10px 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    animation: badgeFloat var(--b-dur, 4s) ease-in-out infinite;
    animation-delay: var(--b-del, 0s);
}

.badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #FFF3ED;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.badge-title {
    font-size: 11px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 1px;
    white-space: nowrap;
}

.badge-desc {
    font-size: 9px;
    color: #888;
    white-space: nowrap;
}

.badge-1 { top: 5%;  left: -80px; --b-dur: 4s;   --b-del: 0s; }
.badge-2 { top: 8%;  right: -90px; --b-dur: 4.5s; --b-del: 0.5s; }
.badge-3 { bottom: 22%; left: -70px; --b-dur: 3.8s; --b-del: 1s; }
.badge-4 { bottom: 18%; right: -80px; --b-dur: 4.2s; --b-del: 1.5s; }

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Phoenix Hero (Slide 5) --- */
.phoenix-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 500px;
    margin: 0 auto;
}

.phoenix-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: auto;
    object-fit: contain;
    z-index: 5;
    filter: drop-shadow(0 0 40px rgba(255, 107, 44, 0.15));
}

.phoenix-canvas {
    width: 550px;
    height: 550px;
    transition: opacity 0.5s ease;
    opacity: 0;
}

/* Phoenix coins (use .ph-coin to avoid conflict with vault .coin) */
.ph-coin {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    animation: phCoinFall var(--fall, 5s) ease-in infinite;
    animation-delay: var(--del, 0s);
}

.ph-coin .coin-body {
    width: var(--c-size, 28px);
    height: var(--c-size, 28px);
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE55C 0%, #FFD700 35%, #DAA520 65%, #B8860B 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3), inset 0 -2px 5px rgba(0,0,0,0.2), inset 0 2px 5px rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: rgba(120, 75, 0, 0.7);
    font-size: calc(var(--c-size, 28px) * 0.4);
    text-shadow: 0 1px 1px rgba(255,255,255,0.2);
    animation: coinSpin var(--spin, 2s) linear infinite;
}

.ph-coin.c1  { left: 5%;  top: -5%;  --c-size: 30px; --fall: 5.5s; --del: 0s;   --spin: 1.8s; --drift: 20px; }
.ph-coin.c2  { left: 15%; top: -8%;  --c-size: 22px; --fall: 4.8s; --del: 1.2s; --spin: 2.2s; --drift: -15px; }
.ph-coin.c3  { left: 28%; top: -3%;  --c-size: 26px; --fall: 6s;   --del: 0.5s; --spin: 1.5s; --drift: 35px; }
.ph-coin.c4  { left: 40%; top: -6%;  --c-size: 18px; --fall: 5.2s; --del: 2s;   --spin: 2.5s; --drift: -25px; }
.ph-coin.c5  { right: 35%; top: -4%; --c-size: 24px; --fall: 4.5s; --del: 0.8s; --spin: 1.7s; --drift: 10px; }
.ph-coin.c6  { right: 22%; top: -7%; --c-size: 32px; --fall: 5.8s; --del: 1.5s; --spin: 2s;   --drift: -30px; }
.ph-coin.c7  { right: 12%; top: -5%; --c-size: 20px; --fall: 5s;   --del: 0.3s; --spin: 1.4s; --drift: 25px; }
.ph-coin.c8  { right: 3%;  top: -9%; --c-size: 28px; --fall: 5.3s; --del: 2.5s; --spin: 2.3s; --drift: -20px; }
.ph-coin.c9  { left: 10%; top: -10%; --c-size: 16px; --fall: 6.5s; --del: 3s;   --spin: 1.6s; --drift: 40px; }
.ph-coin.c10 { right: 8%; top: -6%;  --c-size: 24px; --fall: 4.7s; --del: 1.8s; --spin: 1.9s; --drift: -35px; }

@keyframes phCoinFall {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    5% { opacity: 1; }
    40% { opacity: 1; }
    100% { transform: translateY(600px) translateX(var(--drift, 20px)) rotate(360deg); opacity: 0; }
}

/* Ember particles (rising fire sparks) */
.ember {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 8;
    animation: emberRise var(--e-dur, 4s) ease-out infinite;
    animation-delay: var(--e-del, 0s);
}

.ember-dot {
    width: var(--e-size, 4px);
    height: var(--e-size, 4px);
    background: var(--e-color, #3B82F6);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--e-color, #3B82F6), 0 0 12px rgba(255, 107, 44, 0.3);
}

.e1  { bottom: 25%; left: 35%; --e-size: 4px; --e-dur: 3.5s; --e-del: 0s;   --e-color: #3B82F6; --e-drift: -15px; }
.e2  { bottom: 28%; left: 40%; --e-size: 3px; --e-dur: 4s;   --e-del: 0.3s; --e-color: #007BFF; --e-drift: 20px; }
.e3  { bottom: 22%; left: 45%; --e-size: 5px; --e-dur: 3s;   --e-del: 0.7s; --e-color: #FFD700; --e-drift: -30px; }
.e4  { bottom: 30%; left: 50%; --e-size: 3px; --e-dur: 3.8s; --e-del: 1s;   --e-color: #FF4500; --e-drift: 10px; }
.e5  { bottom: 25%; left: 55%; --e-size: 4px; --e-dur: 4.5s; --e-del: 0.5s; --e-color: #3B82F6; --e-drift: -25px; }
.e6  { bottom: 27%; left: 60%; --e-size: 2px; --e-dur: 3.2s; --e-del: 1.5s; --e-color: #007BFF; --e-drift: 35px; }
.e7  { bottom: 20%; left: 48%; --e-size: 5px; --e-dur: 3.6s; --e-del: 0.2s; --e-color: #FFD700; --e-drift: -10px; }
.e8  { bottom: 32%; left: 42%; --e-size: 3px; --e-dur: 4.2s; --e-del: 0.8s; --e-color: #FF6347; --e-drift: 25px; }
.e9  { bottom: 24%; left: 53%; --e-size: 4px; --e-dur: 3.4s; --e-del: 1.2s; --e-color: #1972F5; --e-drift: -20px; }
.e10 { bottom: 29%; left: 38%; --e-size: 2px; --e-dur: 5s;   --e-del: 0.6s; --e-color: #FFD700; --e-drift: 15px; }

@keyframes emberRise {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    60% { opacity: 0.8; }
    100% { transform: translateY(-250px) translateX(var(--e-drift, 20px)) scale(0); opacity: 0; }
}

/* Gold star sparkles */
.gold-spark {
    position: absolute;
    z-index: 9;
    pointer-events: none;
}

.gold-spark-inner {
    width: var(--gs-size, 6px);
    height: var(--gs-size, 6px);
    background: #FFD700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: starTwinkle var(--gs-dur, 2s) ease-in-out infinite;
    animation-delay: var(--gs-del, 0s);
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

.star1 { top: 5%;  left: 15%;  --gs-size: 8px;  --gs-dur: 2.5s; --gs-del: 0s; }
.star2 { top: 10%; right: 12%; --gs-size: 10px; --gs-dur: 3s;   --gs-del: 0.5s; }
.star3 { top: 22%; left: 8%;   --gs-size: 6px;  --gs-dur: 2s;   --gs-del: 1s; }
.star4 { top: 15%; right: 6%;  --gs-size: 12px; --gs-dur: 3.5s; --gs-del: 0.3s; }
.star5 { top: 32%; left: 5%;   --gs-size: 7px;  --gs-dur: 2.8s; --gs-del: 0.8s; }
.star6 { top: 28%; right: 5%;  --gs-size: 9px;  --gs-dur: 2.2s; --gs-del: 1.5s; }
.star7 { top: 3%;  left: 40%;  --gs-size: 6px;  --gs-dur: 3.2s; --gs-del: 2s; }
.star8 { top: 42%; right: 3%;  --gs-size: 8px;  --gs-dur: 2.6s; --gs-del: 0.6s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

/* --- Mobile Security Hero (Slide 3) --- */
.mobile-wrapper {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 500px;
    margin: 0 auto;
}

.mobile-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: auto;
    object-fit: contain;
    z-index: 5;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.08));
}

/* Background effects */
.ms-bg-glow {
    position: absolute;
    top: 45%;
    left: 35%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 44, 0.06) 0%, transparent 60%);
    pointer-events: none;
    animation: msSoftPulse 5s ease-in-out infinite;
}

.ms-bg-glow-2 {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 201, 183, 0.04) 0%, transparent 60%);
    pointer-events: none;
    animation: msSoftPulse 5s ease-in-out infinite 2.5s;
}

.ms-dot-pattern {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 107, 44, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
}

@keyframes msSoftPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Floating currency symbols */
.currency {
    position: absolute;
    font-weight: 800;
    z-index: 8;
    animation: msCurrFloat var(--cf-dur, 4s) ease-in-out infinite;
    animation-delay: var(--cf-del, 0s);
    pointer-events: none;
}

.currency span {
    display: block;
    font-size: var(--cf-size, 28px);
    color: var(--cf-color, var(--orange));
    opacity: 0.15;
    text-shadow: 0 2px 10px currentColor;
}

.cur-1  { top: 5%;  left: 5%;   --cf-size: 36px; --cf-dur: 4.5s; --cf-del: 0s;   --cf-color: #3B82F6; }
.cur-2  { top: 15%; right: 8%;  --cf-size: 28px; --cf-dur: 3.8s; --cf-del: 0.5s; --cf-color: #00C9B7; }
.cur-3  { top: 35%; left: 2%;   --cf-size: 32px; --cf-dur: 5s;   --cf-del: 1s;   --cf-color: #007BFF; }
.cur-4  { top: 60%; right: 3%;  --cf-size: 40px; --cf-dur: 4.2s; --cf-del: 0.3s; --cf-color: #3B82F6; }
.cur-5  { bottom: 15%; left: 8%;  --cf-size: 26px; --cf-dur: 3.5s; --cf-del: 1.5s; --cf-color: #00C9B7; }
.cur-6  { bottom: 25%; right: 10%; --cf-size: 34px; --cf-dur: 4.8s; --cf-del: 0.8s; --cf-color: #3B82F6; }
.cur-7  { top: 8%;  left: 40%;  --cf-size: 24px; --cf-dur: 4s;   --cf-del: 2s;   --cf-color: #007BFF; }
.cur-8  { bottom: 5%; left: 35%; --cf-size: 30px; --cf-dur: 5.5s; --cf-del: 1.2s; --cf-color: #3B82F6; }
.cur-9  { top: 50%; left: 0;    --cf-size: 22px; --cf-dur: 3.2s; --cf-del: 0.6s; --cf-color: #00C9B7; }
.cur-10 { top: 75%; right: 0;   --cf-size: 28px; --cf-dur: 4.6s; --cf-del: 1.8s; --cf-color: #007BFF; }

@keyframes msCurrFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-18px) scale(1.1); }
}

/* Soft glow dots */
.soft-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 7;
    pointer-events: none;
    animation: msDotSoft var(--sd-dur, 3s) ease-in-out infinite;
    animation-delay: var(--sd-del, 0s);
}

.soft-dot-inner {
    width: var(--sd-size, 8px);
    height: var(--sd-size, 8px);
    border-radius: 50%;
    background: var(--sd-color, #3B82F6);
    opacity: 0.25;
    box-shadow: 0 0 15px currentColor;
}

.sd-1  { top: 12%; left: 18%;  --sd-size: 8px;  --sd-dur: 3.5s; --sd-del: 0s;   --sd-color: #3B82F6; }
.sd-2  { top: 25%; right: 20%; --sd-size: 10px; --sd-dur: 4s;   --sd-del: 0.5s; --sd-color: #00C9B7; }
.sd-3  { top: 45%; left: 10%;  --sd-size: 6px;  --sd-dur: 2.8s; --sd-del: 1s;   --sd-color: #3B82F6; }
.sd-4  { top: 55%; right: 12%; --sd-size: 12px; --sd-dur: 3.2s; --sd-del: 0.3s; --sd-color: #007BFF; }
.sd-5  { bottom: 20%; left: 22%; --sd-size: 7px;  --sd-dur: 4.5s; --sd-del: 0.8s; --sd-color: #00C9B7; }
.sd-6  { bottom: 30%; right: 18%; --sd-size: 9px;  --sd-dur: 3.8s; --sd-del: 1.5s; --sd-color: #3B82F6; }
.sd-7  { top: 70%; left: 5%;   --sd-size: 5px;  --sd-dur: 3s;   --sd-del: 2s;   --sd-color: #007BFF; }
.sd-8  { top: 8%;  right: 35%; --sd-size: 11px; --sd-dur: 4.2s; --sd-del: 0.6s; --sd-color: #3B82F6; }

@keyframes msDotSoft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.8); }
}

/* Connection arcs */
.connect-arc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 400px;
    z-index: 3;
    pointer-events: none;
}

.connect-arc svg {
    width: 100%;
    height: 100%;
}

.connect-arc svg path {
    fill: none;
    stroke-width: 1;
    stroke-dasharray: 6 6;
    animation: msDashAnim 3s linear infinite;
}

@keyframes msDashAnim {
    to { stroke-dashoffset: -24; }
}

/* Security badge cards */
.sec-badge {
    position: absolute;
    background: var(--white);
    border: 1px solid rgba(255, 107, 44, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: msBadgeFloat var(--bf-dur, 4s) ease-in-out infinite;
    animation-delay: var(--bf-del, 0s);
}

.sec-badge .b-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sec-badge .b-icon.orange { background: #FFF3ED; }
.sec-badge .b-icon.teal { background: #E0FBF7; }
.sec-badge .b-icon.green { background: rgba(0, 123, 255, 0.1); }

.sec-badge .b-text .b-title {
    font-size: 12px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 2px;
}

.sec-badge .b-text .b-desc {
    font-size: 10px;
    color: #888;
}

.badge-tl { top: 8%;    left: 2%;  --bf-dur: 4s;   --bf-del: 0s; }
.badge-tr { top: 5%;    right: 2%; --bf-dur: 4.5s; --bf-del: 0.5s; }
.badge-bl { bottom: 12%; left: 3%;  --bf-dur: 3.8s; --bf-del: 1s; }
.badge-br { bottom: 8%;  right: 2%; --bf-dur: 4.2s; --bf-del: 1.5s; }

@keyframes msBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Orbit rings around phone */
.ms-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 1px dashed rgba(255, 107, 44, 0.12);
    border-radius: 50%;
    animation: msOrbitSpin 25s linear infinite;
    z-index: 2;
    pointer-events: none;
}

.ms-orbit-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px dashed rgba(0, 201, 183, 0.08);
    border-radius: 50%;
    animation: msOrbitSpin 35s linear infinite reverse;
    z-index: 2;
    pointer-events: none;
}

.ms-orbit-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #3B82F6;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 107, 44, 0.4);
}

.ms-orbit-ring-2::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #00C9B7;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 201, 183, 0.4);
}

@keyframes msOrbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Shield glow */
.shield-glow {
    position: absolute;
    top: 45%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 250px;
    background: radial-gradient(ellipse, rgba(255, 107, 44, 0.08) 0%, rgba(0, 201, 183, 0.04) 40%, transparent 65%);
    border-radius: 50%;
    animation: msShieldGlow 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes msShieldGlow {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.15); }
}

/* --- Stats Ring Gauges --- */
/* Stats Band */
.stats-band {
    background: #FFFFFF;
    padding: 0;
    position: relative;
    margin-top: -1px;
    border-top: 1px solid var(--gray-200);
}

.stats-band-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 28px 32px;
}

.stats-band-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 6px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-separator {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
    flex-shrink: 0;
}

/* --- About Intro (What We Do) Section --- */
#about-intro {
    position: relative;
    overflow: hidden;
}
#about-intro > .container {
    position: relative;
    z-index: 1;
}
.about-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-intro-content .section-title {
    text-align: left;
}
.about-intro-content .section-label {
    text-align: left;
}
.about-intro-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.about-intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-intro-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.about-intro-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 0;
    background: rgba(0, 123, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-intro-icon svg {
    width: 24px;
    height: 24px;
    stroke: #007BFF;
}
.about-intro-item div strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-900);
    margin-bottom: 2px;
}
.about-intro-item div span {
    font-size: 14px;
    color: var(--gray-500);
}
.about-intro-visual {
    display: flex;
    justify-content: center;
}
.about-intro-card {
    background: var(--white);
    border-radius: 0;
    padding: 36px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 420px;
}
.about-card-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.about-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-card-icon svg {
    width: 26px;
    height: 26px;
}
.about-card-icon.orange {
    background: rgba(0, 123, 255, 0.1);
}
.about-card-icon.orange svg {
    stroke: #007BFF;
}
.about-card-icon.green {
    background: rgba(0, 123, 255, 0.1);
}
.about-card-icon.green svg {
    stroke: #007BFF;
}
.about-card-icon.teal {
    background: rgba(0, 123, 255, 0.1);
}
.about-card-icon.teal svg {
    stroke: #007BFF;
}
.about-card-row div strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 3px;
}
.about-card-row div span {
    font-size: 14px;
    color: var(--gray-500);
}

/* --- Instrument Cards --- */
.instruments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.instrument-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.instrument-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.instrument-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}

.instrument-card:hover::before {
    transform: scaleX(1);
}

.instrument-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(0, 123, 255, 0.12);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.instrument-card-icon svg {
    width: 28px;
    height: 28px;
}

.instrument-card:hover .instrument-card-icon {
    background: var(--green);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.instrument-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.instrument-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.instrument-card .card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.instrument-card .card-link:hover {
    gap: 10px;
}

/* --- Why Cards --- */
/* Why Section - Dark bg with image */
.why-section {
    background: #0a0a0a url('../img/bg1.png') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.why-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.why-section .container {
    position: relative;
    z-index: 1;
}

.why-rows {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.why-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.why-row:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.why-row:nth-last-child(-n+2) {
    border-bottom: none;
}

.why-row:hover {
    background: rgba(59, 130, 246, 0.08);
}

.why-row-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: rgba(97, 247, 172, 0.55);
    line-height: 1;
    flex-shrink: 0;
    min-width: 44px;
    transition: color 0.3s ease;
}

.why-row:hover .why-row-num {
    color: #61F7AC;
}

.why-row-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(97, 247, 172, 0.3);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #61F7AC;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.why-row-icon svg {
    width: 20px;
    height: 20px;
}

.why-row:hover .why-row-icon {
    background: #61F7AC;
    border-color: #61F7AC;
    color: #0a0a0a;
}

.why-row-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.why-row-content p {
    font-size: 13px;
    color: #fff;
    line-height: 1.6;
}

/* --- Account Cards --- */
#accounts .container {
    max-width: 1600px;
    padding-left: 32px;
    padding-right: 32px;
}

.accounts-grid {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.account-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 0;
    padding: 30px 16px 22px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 0;
    overflow: hidden;
}

.account-card.featured {
    border-color: var(--orange);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.account-card-ribbon {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    padding: 6px 28px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
}

.account-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.account-card .account-price {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: var(--orange);
    margin: 8px 0 4px;
}

.account-card .account-price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-500);
}

.account-card .account-spread {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.account-card ul {
    text-align: left;
    margin-bottom: 16px;
    flex: 1;
}

.account-card ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 12px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.account-card ul li:last-child {
    border-bottom: none;
}

.account-card ul li svg {
    width: 14px;
    height: 14px;
    fill: var(--green);
    flex-shrink: 0;
}

.account-card .btn {
    margin-top: auto;
}

.account-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    border-color: var(--orange);
}

.account-card.featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(59, 130, 246, 0.2);
}

/* Account Details Toggle */
.account-details-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 0;
    margin: 0 0 12px;
    background: none;
    border: 1px solid var(--gray-200);
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.account-details-toggle:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--orange);
}

.account-details-toggle svg {
    transition: transform 0.3s ease;
}

.account-card.details-open .account-details-toggle svg {
    transform: rotate(180deg);
}

.account-card.details-open .account-details-toggle .toggle-text::after {
    content: '';
}

.account-card.details-open .toggle-text {
    font-size: 0;
}

.account-card.details-open .toggle-text::after {
    content: 'Hide Details';
    font-size: 13px;
}

/* Account Details Panel */
.account-details-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.account-card.details-open .account-details-panel {
    max-height: 500px;
    padding-bottom: 16px;
}

.account-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.account-specs-table tr {
    border-bottom: 1px solid var(--gray-100);
}

.account-specs-table tr:last-child {
    border-bottom: none;
}

.account-specs-table td {
    padding: 8px 0;
    font-size: 12.5px;
    color: var(--gray-600);
    vertical-align: top;
    line-height: 1.5;
}

.account-specs-table td:first-child {
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    padding-right: 12px;
    width: 40%;
}

.account-specs-table td:last-child {
    text-align: right;
}

.account-specs-table strong {
    color: var(--orange);
}

/* Account Comparison Table */
.account-compare-section {
    margin-top: 56px;
}

.account-compare-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.account-compare-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.account-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.account-compare-table th,
.account-compare-table td {
    padding: 14px 20px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.account-compare-table th {
    background: var(--gray-900);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-compare-table th:first-child {
    text-align: left;
}

.account-compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
}

.account-compare-table td {
    color: var(--gray-700);
}

.account-compare-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.03);
}

.account-compare-table th.compare-featured {
    background: var(--orange);
    color: var(--white);
}

.account-compare-table td.compare-featured {
    background: rgba(59, 130, 246, 0.06);
    font-weight: 600;
    color: var(--gray-900);
}

/* --- Platform Section --- */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.platform-mockup {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 20px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    cursor: grab;
    perspective: 800px;
    transform-style: preserve-3d;
}

.platform-mockup:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.platform-mockup:active {
    cursor: grabbing;
}

.platform-mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.platform-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.platform-mockup-dot:nth-child(1) { background: #e74c3c; }
.platform-mockup-dot:nth-child(2) { background: #1972F5; }
.platform-mockup-dot:nth-child(3) { background: var(--green); }

.platform-mockup-chart {
    width: 100%;
    padding: 30px 30px 20px;
    background: linear-gradient(180deg, #F0F9FF 0%, #E6F3FF 100%);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.platform-mockup-chart svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

/* Chart line — hidden by default */
.chart-line {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}

/* Chart fill — hidden by default */
.chart-fill {
    opacity: 0;
}

/* Data point — hidden by default */
.point-group {
    opacity: 0;
}

/* Animate when scrolled into view (.visible added by IntersectionObserver) */
.platform-mockup.visible .chart-line {
    animation: chartDraw 2.5s ease-out forwards;
}

.platform-mockup.visible .chart-fill {
    animation: chartFadeIn 0.8s ease-out 1.8s forwards;
}

.platform-mockup.visible .point-group {
    animation: chartFadeIn 0.5s ease-out 2.2s forwards;
}

@keyframes chartDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes chartFadeIn {
    to { opacity: 1; }
}


.platform-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.platform-feature {
    display: flex;
    gap: 16px;
}

.platform-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--orange-glow);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--orange);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.platform-feature-icon svg {
    width: 22px;
    height: 22px;
}

.platform-feature:hover .platform-feature-icon {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.1);
}

.platform-feature h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.platform-feature p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Funding Section --- */
.funding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.funding-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.funding-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.funding-check svg {
    width: 20px;
    height: 20px;
    fill: var(--green);
    flex-shrink: 0;
}

.funding-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.funding-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.funding-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.funding-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: var(--orange-glow);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    transition: background 0.3s ease, color 0.3s ease;
}

.funding-card-icon svg {
    width: 24px;
    height: 24px;
}

.funding-card:hover .funding-card-icon {
    background: var(--orange);
    color: var(--white);
}

.funding-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.funding-card p {
    font-size: 12px;
    color: var(--gray-500);
}

/* --- Trusted By Reviews (inside Slide 4) --- */
.trusted-reviews {
    margin-top: 28px;
}

.trusted-reviews-label {
    display: block;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.topReviews {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.topReviews a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 4px 14px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease;
}

.topReviews a:hover {
    transform: translateY(-2px);
}

.topReviews img {
    height: 34px;
    display: block;
}

@media (max-width: 600px) {
    .trusted-reviews {
        margin-top: 20px;
    }
    .topReviews {
        gap: 8px;
        justify-content: center;
    }
    .topReviews img {
        height: 28px;
    }
}

/* --- Market Ticker Widget (overlap hero) --- */
.market-ticker-widget {
    position: relative;
    z-index: 10;
    margin-top: -235px;
}

/* Tab box - inside .container, aligned with hero content */
.market-ticker-card {
    padding: 20px 0 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.market-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.market-tab {
    background: none;
    border: 1.5px solid var(--gray-200);
    border-radius: 0;
    padding: 5px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.25s ease;
}

.market-tab:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.market-tab.active {
    color: var(--orange);
    border-color: var(--orange);
    background: rgba(59, 130, 246, 0.06);
}

/* Ticker - full width, flush with card */
.market-ticker-overflow {
    overflow: hidden;
    position: relative;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 1px 0 0 var(--gray-200);
    margin-top: -1px;
}

.market-ticker-overflow::before,
.market-ticker-overflow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.market-ticker-overflow::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.market-ticker-overflow::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.market-ticker-track {
    display: flex;
    gap: 10px;
    animation: tickerScroll 35s linear infinite;
    width: max-content;
    padding: 14px 0;
}

.market-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.market-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 10px 14px;
    min-width: 195px;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.market-item:hover {
    border-color: var(--orange);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.market-item-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.market-item-arrow svg {
    width: 14px;
    height: 14px;
}

.market-item-arrow.up {
    background: rgba(0, 123, 255, 0.12);
    color: #007BFF;
}

.market-item-arrow.down {
    background: rgba(231, 76, 60, 0.12);
    color: #E74C3C;
}

.market-item-logo {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0f0f0;
}

.market-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.market-item-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-bg);
}

.market-item-price {
    font-size: 12px;
    color: var(--gray-500);
    font-family: var(--font-body);
}

/* Up/Down color states */
.market-item--up .market-item-price {
    color: #00C853;
}

.market-item--up .market-item-arrow {
    color: #00C853;
}

.market-item--down .market-item-price {
    color: #FF3D3D;
}

.market-item--down .market-item-arrow {
    color: #FF3D3D;
}

/* --- Promo Banner --- */
.promo-banner {
    background: linear-gradient(135deg, var(--orange) 0%, #E85A1E 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle geometric pattern */
.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, rgba(255,255,255,0.04) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.04) 87.5%),
        linear-gradient(150deg, rgba(255,255,255,0.04) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.04) 87.5%),
        linear-gradient(30deg, rgba(255,255,255,0.04) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.04) 87.5%),
        linear-gradient(150deg, rgba(255,255,255,0.04) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.04) 87.5%);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    pointer-events: none;
}

/* Soft glow accents */
.promo-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 300px at 10% 50%, rgba(255,255,255,0.08), transparent),
        radial-gradient(ellipse 500px 300px at 90% 50%, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

.promo-arrows {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.promo-arrow {
    position: absolute;
    width: 20px;
    height: 70px;
    opacity: 0;
    animation: promoArrowRise 3.5s ease-in-out infinite;
}

.promo-arrow-1 { left: 8%; bottom: -70px; animation-delay: 0s; }
.promo-arrow-2 { left: 25%; bottom: -70px; animation-delay: 0.7s; }
.promo-arrow-3 { left: 50%; bottom: -70px; animation-delay: 1.4s; }
.promo-arrow-4 { left: 72%; bottom: -70px; animation-delay: 0.4s; }
.promo-arrow-5 { left: 90%; bottom: -70px; animation-delay: 1.1s; }

@keyframes promoArrowRise {
    0% { transform: translateY(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-180px); opacity: 0; }
}

.promo-banner .container {
    position: relative;
    z-index: 2;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.promo-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 32px 24px;
    text-align: center;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.promo-card-value {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.promo-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.promo-card p {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* --- Testimonial Slider --- */
.testimonials-slider {
    overflow: hidden;
    margin: 0 -24px;
    padding: 0 24px;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: testimonialsScroll 200s linear infinite;
}

.testimonials-slider:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes testimonialsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Progress bar under the testimonials */
.testimonials-progress {
    margin: 20px auto 0;
    width: 220px;
    height: 4px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.testimonials-progress-fill {
    width: 100%;
    height: 100%;
    background: var(--orange);
    border-radius: 4px;
    transform-origin: left center;
    animation: testimonialsProgress 200s linear infinite;
}

.testimonials-slider:hover ~ .testimonials-progress .testimonials-progress-fill {
    animation-play-state: paused;
}

@keyframes testimonialsProgress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 32px;
    transition: var(--transition);
    flex: 0 0 360px;
    min-width: 360px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: #1972F5;
}

.testimonial-card blockquote {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-bg);
}

.testimonial-role {
    font-size: 12px;
    color: var(--gray-500);
}

/* --- Step Cards --- */
/* Steps Section - Dark bg */
.steps-section {
    background: #0a0a0a url('../img/bg3.png') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.steps-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.steps-section .container {
    position: relative;
    z-index: 1;
}

.steps-section .step-card h3 {
    color: #fff;
}

.steps-section .step-card p {
    color: rgba(255, 255, 255, 0.55);
}

.steps-section .steps-grid::before {
    background: rgba(255, 255, 255, 0.12);
}

.steps-section .step-number {
    background: rgba(255, 255, 255, 0.15);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

/* Background line (gray track) */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.67%;
    right: 16.67%;
    height: 3px;
    background: var(--gray-200);
    z-index: 0;
}

/* Animated progress line (fills on scroll) */
.steps-grid::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.67%;
    right: 16.67%;
    height: 3px;
    background: linear-gradient(90deg, #61F7AC, #1972F5, #0F2C7A);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.steps-grid.steps-animate::after {
    transform: scaleX(1);
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    box-shadow: none;
    transition: background 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
    transform: scale(0.85);
}

/* Step 1 lights up */
.steps-grid.steps-animate .step-card:nth-child(1) .step-number {
    background: #61F7AC;
    box-shadow: 0 8px 24px rgba(97, 247, 172, 0.3);
    transform: scale(1);
    transition-delay: 0s;
}

/* Step 2 lights up */
.steps-grid.steps-animate .step-card:nth-child(2) .step-number {
    background: linear-gradient(135deg, #61F7AC, #1972F5);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    transform: scale(1);
    transition-delay: 0.6s;
}

/* Step 3 lights up */
.steps-grid.steps-animate .step-card:nth-child(3) .step-number {
    background: #0F2C7A;
    box-shadow: 0 8px 24px rgba(15, 44, 122, 0.3);
    transform: scale(1);
    transition-delay: 1.2s;
}

/* Text also fades in with delay */
.step-card h3,
.step-card p {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.steps-grid.steps-animate .step-card:nth-child(1) h3,
.steps-grid.steps-animate .step-card:nth-child(1) p {
    opacity: 1; transform: translateY(0); transition-delay: 0.2s;
}

.steps-grid.steps-animate .step-card:nth-child(2) h3,
.steps-grid.steps-animate .step-card:nth-child(2) p {
    opacity: 1; transform: translateY(0); transition-delay: 0.8s;
}

.steps-grid.steps-animate .step-card:nth-child(3) h3,
.steps-grid.steps-animate .step-card:nth-child(3) p {
    opacity: 1; transform: translateY(0); transition-delay: 1.4s;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Trading Insights Section --- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.insight-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 36px 28px 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.insight-icon {
    width: 52px;
    height: 52px;
    background: var(--orange-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.insight-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--orange);
}

.insight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.insight-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.insight-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.insight-card:hover .insight-link {
    gap: 10px;
}

@media (max-width: 1024px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Awards Section (Dual Marquee) --- */
.awards-section {
    background: var(--white);
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
}

.awards-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.awards-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 760px;
    height: 420px;
    background: radial-gradient(ellipse, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.awards-section .container,
.awards-section .awards-marquee {
    position: relative;
    z-index: 1;
}

.awards-marquee {
    cursor: grab;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    padding: 8px 0;
}

.awards-marquee::-webkit-scrollbar {
    display: none;
}

.awards-marquee.dragging {
    cursor: grabbing;
}

.awards-marquee.dragging .awards-marquee-track {
    animation-play-state: paused;
}

.awards-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.awards-row-1 {
    animation: awardsScrollLeft 180s linear infinite;
}

.awards-row-2 {
    animation: awardsScrollRight 200s linear infinite;
}

@keyframes awardsScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes awardsScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.award-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Hover sparkle burst */
.award-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    will-change: transform, opacity;
    animation: awardSparkleBurst 0.7s ease-out forwards;
}

@keyframes awardSparkleBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) scale(0.2);
    }
}

.award-card:hover {
    border-color: rgba(0, 123, 255, 0.45);
    box-shadow: 0 10px 28px rgba(0, 123, 255, 0.12);
    transform: translateY(-4px);
}

.award-card-trophy {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.10), rgba(97, 247, 172, 0.10));
    border: 1px solid rgba(0, 123, 255, 0.20);
    border-radius: 12px;
    flex-shrink: 0;
}

.award-card-trophy svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary, #007BFF);
}

.award-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.award-card-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
}

.award-card-org {
    font-size: 13px;
    color: var(--gray-500);
}

.award-card-org em {
    font-style: normal;
    color: var(--orange);
    font-weight: 600;
}

/* --- Page Header (Inner Pages) --- */
.page-header {
    background: linear-gradient(135deg, #0B0F14 0%, #141A22 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(97,247,172,0.08), transparent 70%);
}

.page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.page-header p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.page-header .breadcrumb a:hover {
    text-decoration: underline;
}

/* --- Contact Section Nav --- */
.contact-nav {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 64px;
    z-index: 50;
    padding: 0;
}

.contact-nav-inner {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.contact-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    background: #f5f5f5;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-nav-btn:hover {
    color: var(--orange);
    background: rgba(97,247,172,0.06);
}

.contact-nav-btn.active {
    color: var(--orange);
    background: rgba(97,247,172,0.08);
    border-color: var(--orange);
}

.contact-nav-btn svg {
    flex-shrink: 0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .contact-nav {
        top: 60px;
    }
    .contact-nav-inner {
        gap: 6px;
    }
    .contact-nav-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Accounts Banner --- */
.accounts-header {
    background: none;
}

.accounts-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/accounts-banner.png') center center / cover no-repeat;
    z-index: 0;
}

.accounts-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.accounts-header .container {
    position: relative;
    z-index: 2;
}

/* --- Tools Banner --- */
.tools-header {
    background: none;
}

.tools-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/tools-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

.tools-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.tools-header .container {
    position: relative;
    z-index: 2;
}

/* --- Market Hours Banner --- */
.market-hours-header {
    background: none;
}

.market-hours-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/market-hours-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

.market-hours-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.market-hours-header .container {
    position: relative;
    z-index: 2;
}

/* --- Market Analysis Banner --- */
.market-analysis-header {
    background: none;
}

.market-analysis-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/market-analysis-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

.market-analysis-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.market-analysis-header .container {
    position: relative;
    z-index: 2;
}

/* --- Economic Calendar Banner --- */
.economic-calendar-header {
    background: none;
}

.economic-calendar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/calender-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

.economic-calendar-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.economic-calendar-header .container {
    position: relative;
    z-index: 2;
}

/* --- About Us Banner --- */
.about-header {
    background: none;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/aboutus-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

.about-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.about-header .container {
    position: relative;
    z-index: 2;
}

/* --- Trading Banner (conditions, mt4 pages) --- */
.trading-header {
    background: none;
}

.trading-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/trading-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

/* --- Market Banner (trading/market subpages) --- */
.market-header {
    background: none;
}

.market-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/markets-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

.market-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.market-header .container {
    position: relative;
    z-index: 2;
}

.trading-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.trading-header .container {
    position: relative;
    z-index: 2;
}

/* --- Legal Banner --- */
.legal-header {
    background: none;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/legal-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

.legal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.legal-header .container {
    position: relative;
    z-index: 2;
}

/* --- Partner Banner --- */
.partner-header {
    background: none;
}

.partner-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/partner-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

.partner-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.partner-header .container {
    position: relative;
    z-index: 2;
}

/* --- Education Banner --- */
.education-header {
    background: none;
}

.education-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/education-banner.png') center 58% / cover no-repeat;
    z-index: 0;
}

.education-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.education-header .container {
    position: relative;
    z-index: 2;
}

/* --- Demo Steps (demo-account page) --- */
.demo-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.demo-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange) 0%, #1972F5 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 4px 16px rgba(97,247,172,0.3);
}

.demo-step-num {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.demo-step h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.demo-step p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 200px;
}

.demo-step-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), rgba(97,247,172,0.3));
    border-radius: 2px;
    margin-top: 32px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .demo-steps {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .demo-step-line {
        width: 3px;
        height: 32px;
        margin-top: 0;
    }

    .demo-step p {
        max-width: 300px;
    }
}

/* --- Content Sections for Inner Pages --- */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 16px;
}

.content-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 32px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--gray-700);
}

.content-section ul {
    margin-bottom: 16px;
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
}

.content-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
}

/* Prevent content-section generic ::before from appearing in special containers */
.content-section .highlight-box ul li {
    padding: 8px 0 8px 24px;
}
.content-section .green-highlight-box ul li {
    padding: 8px 0 8px 24px;
}
.content-section .info-box ul li {
    padding: 8px 0 8px 24px;
}
.content-section .benefits-list ul li {
    padding: 10px 0;
    padding-left: 0;
}
.content-section .benefits-list ul li::before {
    display: none;
}

/* --- Benefits List (SVG checkmarks) --- */
.benefits-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list ul li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
}

.benefits-list ul li svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    fill: #22c55e;
    margin-top: 3px;
    flex-shrink: 0;
}

.benefits-list ul li span {
    flex: 1;
}

/* --- Tables --- */
.table-responsive {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border-radius: 0;
    border: 1px solid var(--gray-200);
    max-width: 100%;
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead {
    background: var(--dark-bg);
}

.data-table thead th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--white);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.data-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.04);
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody td {
    padding: 14px 20px;
    color: var(--gray-700);
}

.data-table tbody tr:nth-child(even) {
    background: var(--gray-100);
}

.data-table tbody tr:nth-child(even):hover {
    background: rgba(59, 130, 246, 0.06);
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 32px;
}

.faq-category-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-bg);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 0;
    margin-bottom: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--orange);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-bg);
    background: var(--white);
    transition: var(--transition-fast);
    user-select: none;
}

.faq-question:hover {
    color: var(--orange);
}

.faq-question svg {
    width: 16px;
    height: 16px;
    fill: var(--gray-500);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    fill: var(--orange);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-bg);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-700);
    transition: var(--transition-fast);
    outline: none;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--orange-glow);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Footer CTA Band --- */
/* --- Footer CTA - Phoenix Theme --- */
.footer-cta {
    background: #000000;
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

/* Top fire line */
.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, #3B82F6 20%, #3B82F6 35%, #1972F5 50%, #3B82F6 65%, #3B82F6 80%, transparent 95%);
    animation: cta-fireline 3s ease-in-out infinite;
}

@keyframes cta-fireline {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Particle canvas container */
.footer-cta .cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-cta .cta-particles canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Phoenix - centered background */
.cta-phoenix-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    animation: cta-phoenixfloat 6s ease-in-out infinite;
}

@keyframes cta-phoenixfloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -52%) scale(1.03); }
}

.cta-phoenix-wrap img,
.cta-phoenix-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Inner layout - centered */
.footer-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    position: relative;
    z-index: 2;
}

/* Badge */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(97,247,172,0.1);
    border: 1px solid rgba(97,247,172,0.25);
    color: #3B82F6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 0;
}

.cta-badge svg {
    width: 14px;
    height: 14px;
    fill: #3B82F6;
}

/* Text */
.footer-cta-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-cta-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.15;
}

.footer-cta-text h2 .cta-highlight {
    background: linear-gradient(135deg, #1972F5 0%, #3B82F6 50%, #61F7AC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-cta-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

/* Stats row */
.cta-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 8px;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-stat-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--orange);
}

.cta-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Actions */
.footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.footer-cta-actions .btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #3B82F6 0%, #1972F5 100%);
    color: #0F2C7A;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 44px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(97,247,172,0.3);
}

.footer-cta-actions .btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(97,247,172,0.45), 0 0 60px rgba(97,247,172,0.12);
}

.footer-cta-actions .btn-cta-primary svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s;
}

.footer-cta-actions .btn-cta-primary:hover svg {
    transform: translateX(3px);
}

.footer-cta-actions .btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.45);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 2px;
}

.footer-cta-actions .btn-cta-secondary:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.footer-cta-actions .btn-cta-secondary svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0;
    background: transparent;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-outline-light:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(97,247,172,0.06);
}

/* --- Footer --- */
.footer {
    background: #000;
    padding: 0;
    color: rgba(255,255,255,0.5);
    position: relative;
}

.footer-accent {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(97,247,172,0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand img {
    height: 48px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.4);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 15px;
    height: 15px;
    fill: rgba(255,255,255,0.55);
}

.footer-social a:hover svg {
    fill: var(--white);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--orange);
    border-radius: 1px;
}

.footer-column a {
    display: block;
    padding: 6px 0;
    font-size: 13.5px;
    color: rgba(255,255,255,0.4);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--orange);
    padding-left: 6px;
}

/* --- Footer Payment Methods --- */
.footer-payments {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-payments-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-payments-icons {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    align-items: center;
}

.payment-icon {
    width: 46px;
    height: 28px;
    overflow: visible;
    opacity: 0.85;
    transition: var(--transition-fast);
    cursor: pointer;
}

.payment-icon:hover {
    opacity: 1;
}

.payment-icon svg,
.payment-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.footer-legal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-legal-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 8px;
}

.footer-legal-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.footer-legal-col p {
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
}

.footer-legal-col p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .footer-legal {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 26px 0;
    }
}

.footer-disclaimer {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-disclaimer p {
    font-size: 11.5px;
    line-height: 1.9;
    color: rgba(255,255,255,0.25);
}

.footer-disclaimer strong {
    color: rgba(255,255,255,0.4);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--orange);
}

/* --- Live Chat Button --- */
/* --- Scroll to Top (bottom left) --- */
.live-chat-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: none;
    opacity: 0;
    pointer-events: none;
}

.live-chat-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.live-chat-btn:hover {
    background: var(--orange);
    box-shadow: 0 6px 28px rgba(59, 130, 246, 0.5);
}

.live-chat-btn svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

/* --- FAB Quick Menu (bottom right) --- */
@keyframes fabGlow {
    0%   { box-shadow: 0 2px 16px rgba(59, 130, 246, 0.25); }
    50%  { box-shadow: 0 2px 24px rgba(59, 130, 246, 0.55), 0 0 40px rgba(59, 130, 246, 0.15); }
    100% { box-shadow: 0 2px 16px rgba(59, 130, 246, 0.25); }
}

@keyframes fabBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.fab-main {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    animation: fabGlow 3s ease-in-out infinite, fabBounce 3s ease-in-out infinite;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.fab-main.visible {
    opacity: 1;
    pointer-events: auto;
}

.fab-main:hover {
    transform: scale(1.12) !important;
    animation: none;
    box-shadow: 0 4px 28px rgba(59, 130, 246, 0.6);
}

.fab-main svg {
    width: 22px;
    height: 22px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fab-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.fab-main.active .fab-icon-menu {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.fab-main.active .fab-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.fab-main.active {
    animation: none;
    background: var(--gray-700);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Overlay — transparent click-catcher */
.fab-overlay {
    position: fixed;
    inset: 0;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
}

.fab-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Panel — flush to right edge */
.fab-drawer {
    position: fixed;
    right: 0;
    bottom: 92px;
    z-index: 1003;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px 0;
    pointer-events: none;
}

.fab-drawer.open {
    pointer-events: auto;
}

.fab-drawer-header {
    display: none;
}

/* Navigation */
.fab-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fab-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 14px;
    border-radius: 14px 0 0 14px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-right: none;
    text-decoration: none;
    white-space: nowrap;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.4);
}

.fab-drawer.open .fab-drawer-item {
    transform: translateX(0);
}

.fab-drawer.open .fab-drawer-item:nth-child(1) { transition-delay: 0.03s; }
.fab-drawer.open .fab-drawer-item:nth-child(2) { transition-delay: 0.07s; }
.fab-drawer.open .fab-drawer-item:nth-child(3) { transition-delay: 0.11s; }
.fab-drawer.open .fab-drawer-item:nth-child(4) { transition-delay: 0.15s; }
.fab-drawer.open .fab-drawer-item:nth-child(5) { transition-delay: 0.19s; }

.fab-drawer-item:hover {
    background: #1a1a1a;
    border-color: var(--orange);
    box-shadow: -2px 2px 16px rgba(59, 130, 246, 0.15);
}

.fab-drawer-item:hover .fab-drawer-icon {
    transform: scale(1.08);
}

.fab-drawer-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.fab-drawer-icon svg {
    width: 18px;
    height: 18px;
    color: var(--white);
}

.fab-drawer-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-100);
    letter-spacing: 0.2px;
}

.fab-drawer-item:hover .fab-drawer-label {
    color: var(--white);
}

/* CTA — Open Account */
.fab-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
    padding: 12px 20px 12px 14px;
    border-radius: 14px 0 0 14px;
    border-right: none;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.2s ease;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.25);
}

.fab-drawer.open .fab-drawer-cta {
    transform: translateX(0);
    transition-delay: 0.23s;
}

.fab-drawer-cta:hover {
    box-shadow: -2px 2px 20px rgba(59, 130, 246, 0.4);
}

.fab-drawer-cta svg {
    width: 18px;
    height: 18px;
}

/* --- Fade In Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Slide from Left --- */
.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Slide from Right --- */
.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Scale Up (zoom in from small) --- */
.scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Blur In (blurry to sharp) --- */
.blur-in {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(15px);
    transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s ease;
}

.blur-in.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* --- Reveal Wipe (colored bar slides across to reveal text) --- */
.reveal-wipe {
    position: relative;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.01s;
}

.reveal-wipe.visible {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
}

/* --- Flip Up (3D rotate in) --- */
.flip-up {
    opacity: 0;
    transform: perspective(800px) rotateX(25deg) translateY(40px);
    transform-origin: bottom center;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.flip-up.visible {
    opacity: 1;
    transform: perspective(800px) rotateX(0) translateY(0);
}

/* --- Stagger children (add to parent, animated children get delays) --- */
.stagger-children > :nth-child(1) { transition-delay: 0s; }
.stagger-children > :nth-child(2) { transition-delay: 0.1s; }
.stagger-children > :nth-child(3) { transition-delay: 0.15s; }
.stagger-children > :nth-child(4) { transition-delay: 0.2s; }
.stagger-children > :nth-child(5) { transition-delay: 0.25s; }
.stagger-children > :nth-child(6) { transition-delay: 0.3s; }

/* --- Counter animation glow --- */
.counter-value {
    display: inline-block;
    transition: color 0.3s ease;
}

.counter-value.counting {
    color: var(--orange);
}

/* Section label reveal animation */
.section-label {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-label.label-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Section title - words reveal */
.section-title {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section subtitle - blur in with delay */
.section-subtitle {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(10px);
    transition: opacity 0.8s ease 0.3s, filter 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.section-subtitle.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .slide-left, .slide-right, .scale-up, .blur-in, .reveal-wipe, .flip-up,
    .section-title, .section-subtitle {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
        transition: none !important;
    }
}

/* Smooth cursor glow on cards */
.instrument-card {
    transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.instrument-card:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.12);
}

/* Hero visual parallax transition */
.hero-visual {
    transition: transform 0.1s linear;
}

/* Animated gradient border on active slide dot */
.hero-dot.active {
    background: var(--orange);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

/* Promo card glow pulse */
.promo-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Why card hover shine effect */

/* Funding card hover */
.funding-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funding-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-alt) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 24px 0;
}

.comparison-table thead th {
    background: var(--dark-bg);
    color: var(--white);
    padding: 14px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--dark-bg);
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--gray-100);
}

.comparison-table .highlight-col {
    background: rgba(59, 130, 246, 0.06);
}

/* Specs Table (Account Pages) */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--gray-200);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--gray-700);
    vertical-align: top;
    line-height: 1.5;
}

.specs-table td:first-child {
    font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap;
    width: 200px;
}

.specs-table tr:nth-child(even) {
    background: var(--gray-100);
}

/* --- Download Buttons --- */
/* --- Education Cards --- */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.education-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 32px;
    transition: var(--transition);
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange);
}

.education-card-level {
    display: inline-block;
    padding: 4px 12px;
    background: var(--orange-glow);
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    border-radius: 0;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.education-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.education-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* --- Support Grid --- */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.support-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.support-card:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.support-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.support-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.support-card p {
    font-size: 14px;
    color: var(--gray-500);
}

/* --- Legal Content --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-content h3 {
    font-size: 18px;
    margin-top: 28px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--gray-700);
}

.legal-content ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--gray-700);
}

.legal-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

/* --- IB Section --- */
.ib-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.ib-benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.ib-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange);
}

.ib-benefit-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.ib-benefit-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.ib-benefit-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Promo Detail Page --- */
.promo-detail-hero {
    background: linear-gradient(135deg, var(--orange) 0%, #1972F5 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.promo-detail-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
}

.promo-detail-value {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 8px;
}

.promo-detail-hero h2 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 16px;
}

.promo-detail-hero p {
    font-size: 17px;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto;
}

/* --- Misc Helpers --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.text-orange { color: var(--orange); }
.text-green { color: var(--green); }

.highlight-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--orange);
    padding: 24px 28px;
    border-radius: 0;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.highlight-box:hover {
    border-color: var(--orange);
    box-shadow: 0 4px 16px rgba(97,247,172,0.1);
}

/* When highlight-boxes are used inside features-grid, display as 2-col grid */
.features-grid .highlight-box {
    flex: 0 1 calc(50% - 12px);
    min-width: 280px;
    margin: 0;
}

.highlight-box p {
    color: var(--gray-700);
    font-size: 15px;
    margin: 0;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.highlight-box ul li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
}

.highlight-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 17px;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
}

/* When li has SVG, use flex layout instead of ::before bullet */
.highlight-box ul li:has(svg) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
}

.highlight-box ul li:has(svg)::before {
    display: none;
}

.highlight-box ul li svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    fill: var(--orange);
    margin-top: 2px;
}

.highlight-box svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    fill: var(--orange);
}

/* Global SVG safety: constrain unsized SVGs in content areas */
.content-section li > svg,
.content-section td > svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
}

.content-section li > svg {
    fill: #22c55e;
}

.content-section td > svg {
    fill: #22c55e;
}

.green-highlight-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--green);
    padding: 24px 28px;
    border-radius: 0;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.green-highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.green-highlight-box ul li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
}

.green-highlight-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 17px;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.info-box ul li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
}

.info-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 17px;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
}

.highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.highlight-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.highlight-content p {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* --- Text Gradient --- */
.text-gradient {
    background: linear-gradient(135deg, #3B82F6 0%, #61F7AC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-header h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.7;
}

/* --- Feature Cards (Platforms, etc.) --- */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.features-grid .feature-card {
    flex: 0 1 calc(25% - 18px);
    min-width: 260px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 28px;
    transition: var(--transition-fast);
}

.feature-card:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(97,247,172,0.08);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--orange-glow);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--orange);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.feature-list li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--gray-700);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* --- Info Cards --- */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 28px;
    text-align: center;
}

.info-card-icon {
    width: 56px;
    height: 56px;
    background: var(--orange-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.info-card-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--orange);
}

.info-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

.info-box {
    background: var(--gray-100);
    border-radius: 0;
    padding: 24px;
    margin: 16px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.info-grid .info-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* --- Policy Cards / Two Column Grid --- */
.two-col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.policy-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 24px;
}

.policy-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-bg);
}

.policy-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* --- Content Block --- */
.content-block {
    margin-bottom: 32px;
}

.content-block h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.content-block p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-700);
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 0;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--orange);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    padding: 18px 24px 8px;
    margin: 0;
}

.faq-item p {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

.faq-category {
    margin-bottom: 32px;
}

.faq-category-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

/* --- Account Cards (Sub-page) --- */
/* accounts-grid defined in main section above */

.accounts-wide-container {
    max-width: 95% !important;
}

.account-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.account-card:hover {
    border-color: var(--orange);
    box-shadow: 0 16px 40px rgba(97,247,172,0.1);
    transform: translateY(-6px);
}

/* Featured / Popular card */
.account-card.featured {
    border: 2px solid var(--orange);
    box-shadow: 0 8px 32px rgba(97,247,172,0.12);
    z-index: 2;
}

.account-card.featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(97,247,172,0.18);
}

/* Ribbon */
.account-card-ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3B82F6, #1972F5);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 24px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

/* Header */
.account-card-header {
    background: none;
    padding: 36px 32px 28px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--gray-200);
}

.account-card.featured .account-card-header {
    border-bottom-color: var(--orange);
}

.account-card-header::after {
    display: none;
}

.account-card-header h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-bottom: 14px;
}

.account-card.featured .account-card-header h3 {
    color: var(--orange);
}

.account-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.price-currency {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-400);
    align-self: flex-start;
    margin-top: 6px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
}

.price-label {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Body */
.account-card-body {
    padding: 24px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.account-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.account-card-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-card-features li:last-child {
    border-bottom: none;
}

.account-card-features li svg {
    width: 15px;
    height: 15px;
    fill: var(--green);
    flex-shrink: 0;
}

/* Footer */
.account-card-footer {
    padding: 0 24px 24px;
    text-align: center;
    margin-top: auto;
}

.account-card-footer .btn {
    width: 100%;
    justify-content: center;
}

.account-card.featured .account-card-footer .btn {
    background: linear-gradient(135deg, #3B82F6, #1972F5);
    color: #fff;
    border-color: transparent;
}

.account-card.featured .account-card-footer .btn:hover {
    box-shadow: 0 4px 20px rgba(97,247,172,0.35);
}

/* --- Comparison Table --- */
table.comparison-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 14px;
}

table.comparison-table th,
table.comparison-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

table.comparison-table th:first-child,
table.comparison-table td:first-child {
    text-align: left;
}

table.comparison-table thead th {
    background: var(--dark-bg);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 16px 20px;
}

table.comparison-table tbody tr:hover {
    background: var(--gray-50);
}

table.comparison-table td svg {
    width: 22px;
    height: 22px;
    fill: #22c55e;
    vertical-align: middle;
}

/* Featured column highlight */
table.comparison-table .featured-col {
    background: rgba(97,247,172,0.04);
    font-weight: 600;
}

table.comparison-table thead .featured-col {
    background: linear-gradient(135deg, #3B82F6, #1972F5);
    color: #fff;
}

table.comparison-table .badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.25);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

/* --- Download Cards --- */
.download-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.download-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 32px 20px 28px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), #1972F5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
}

.download-card:hover::before {
    opacity: 1;
}

.download-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(97,247,172,0.08), rgba(97,247,172,0.02));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.download-card:hover .download-card-icon {
    background: linear-gradient(135deg, rgba(97,247,172,0.15), rgba(97,247,172,0.05));
    transform: scale(1.05);
}

.download-card-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--orange);
}

.download-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.download-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-500);
    margin-bottom: 20px;
    flex: 1;
}

.download-card .btn {
    width: 100%;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 0;
    font-weight: 600;
    margin-top: auto;
}

/* --- Education Cards --- */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.education-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 24px;
    transition: var(--transition-fast);
}

.education-card:hover {
    border-color: var(--orange);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.education-card-level {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    background: var(--gray-100);
    color: var(--gray-600);
}

.education-card-level.beginner { background: #E8F5E9; color: #2E7D32; }
.education-card-level.intermediate { background: #FFF3E0; color: #E65100; }
.education-card-level.advanced { background: #FCE4EC; color: #C62828; }

/* --- Analysis Cards --- */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.analysis-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition-fast);
}

.analysis-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.analysis-card-image {
    position: relative;
    height: 180px;
    background: var(--gray-100);
    overflow: hidden;
}

.analysis-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.analysis-card-image .analysis-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

/* --- Analysis Article (detail page) --- */
.article-container {
    max-width: 820px;
}

.article-cover {
    width: 100%;
    height: 360px;
    overflow: hidden;
    margin-bottom: 36px;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600, #4a5568);
}

.article-lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-bg);
    margin-bottom: 8px;
}

.article-body h2 {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 28px 0 10px;
}

.article-body p {
    margin-bottom: 14px;
}

.article-disclaimer {
    margin-top: 32px;
    padding: 18px 22px;
    background: var(--gray-100, #f1f3f6);
    border-left: 3px solid var(--orange);
}

.article-disclaimer p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-500, #6b7280);
    margin: 0;
}

.article-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .article-cover {
        height: 200px;
        margin-bottom: 22px;
    }
    .article-body {
        font-size: 14.5px;
        line-height: 1.75;
    }
    .article-lead {
        font-size: 16px;
    }
    .article-body h2 {
        font-size: 18px;
        margin: 22px 0 8px;
    }
    .article-body p {
        margin-bottom: 12px;
    }
    .article-disclaimer {
        margin-top: 26px;
        padding: 14px 16px;
    }
    .article-disclaimer p {
        font-size: 12px;
    }
    .article-cta {
        gap: 10px;
        margin-top: 26px;
    }
    .article-cta .btn {
        flex: 1 1 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .article-cover {
        height: 160px;
        margin-bottom: 18px;
    }
    .article-body {
        font-size: 14px;
    }
    .article-lead {
        font-size: 15px;
    }
    .article-body h2 {
        font-size: 17px;
    }
}

.analysis-card-content {
    padding: 20px;
}

.analysis-badge,
.analysis-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--orange-glow);
    color: var(--orange);
    margin-bottom: 8px;
}

.analysis-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.analysis-date {
    font-size: 12px;
    color: var(--gray-500);
}

.analysis-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    margin-top: 8px;
}

.analysis-read-more:hover {
    text-decoration: underline;
}

/* --- Support Cards --- */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.support-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 28px;
    text-align: center;
    transition: var(--transition-fast);
}

.support-card:hover {
    border-color: var(--orange);
}

.support-card-icon {
    width: 56px;
    height: 56px;
    background: var(--orange-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.support-card-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--orange);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 0;
}

.contact-info-item svg {
    width: 24px;
    height: 24px;
    fill: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(97,247,172,0.1);
}

/* --- Calendar --- */
.calendar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.calendar-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-table-wrapper {
    overflow-x: auto;
    border-radius: 0;
    border: 1px solid var(--gray-200);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.calendar-table th,
.calendar-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.calendar-table thead th {
    background: var(--gray-50);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
}

.calendar-note {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 16px;
    font-style: italic;
}

.calendar-placeholder {
    text-align: center;
    padding: 60px 24px;
    color: var(--gray-500);
}

/* --- Impact Dots --- */
.impact-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.impact-dot { background: #4CAF50; }
.impact-medium, .impact-dot-medium { background: #1972F5; }
.impact-high, .impact-dot-high { background: #F44336; }

/* Calendar filter buttons with impact colors */
.btn.impact-high.active { background: #F44336; color: #fff; border-color: #F44336; }
.btn.impact-medium.active { background: #1972F5; color: #fff; border-color: #1972F5; }
.btn.impact-low.active { background: #4CAF50; color: #fff; border-color: #4CAF50; }
.btn.impact-high:not(.active) { color: #F44336; border-color: #F44336; }
.btn.impact-medium:not(.active) { color: #1972F5; border-color: #1972F5; }
.btn.impact-low:not(.active) { color: #4CAF50; border-color: #4CAF50; }

/* --- Check List --- */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--gray-700);
}

.check-list li svg {
    width: 20px;
    height: 20px;
    fill: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Legal Content --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 12px;
}

/* --- IB Benefits --- */
.ib-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.ib-benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    padding: 24px;
    text-align: center;
    transition: var(--transition-fast);
}

.ib-benefit-card:hover {
    border-color: var(--orange);
}

/* --- Promo Detail --- */
.promo-detail-hero {
    text-align: center;
    padding: 20px 0;
}

.promo-detail-value {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    background: linear-gradient(135deg, #3B82F6 0%, #61F7AC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* --- Mobile-only nav elements (hidden on desktop) --- */
.mobile-sub { display: none; }
.mobile-arrow { display: none; }
.mobile-menu-close { display: none; }

/* ========================================================================
   PLATFORM PAGES – Premium Components v2
   ======================================================================== */

/* --- Platform Hero (enhanced page-header) --- */
.platform-hero {
    background: linear-gradient(160deg, #0a1628 0%, #132238 40%, #0d1a2d 100%);
    padding: 110px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.platform-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/trading-banner.png') center center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

.platform-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
}

.platform-hero .container {
    position: relative;
    z-index: 2;
}

.platform-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(97,247,172,0.3), transparent);
    z-index: 2;
}

.platform-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(97,247,172,0.08);
    border: 1px solid rgba(97,247,172,0.2);
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.platform-hero .hero-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.platform-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.platform-hero .hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 28px;
}

.platform-hero .hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.platform-hero .hero-actions .btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
}

/* Hero & page-header button overrides — no dark buttons on dark backgrounds */
.platform-hero .btn-primary,
.page-header .btn-primary {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.platform-hero .btn-primary:hover,
.page-header .btn-primary:hover {
    background: #e5621e;
    border-color: #e5621e;
}

.platform-hero .btn-outline,
.page-header .btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.platform-hero .btn-outline:hover,
.page-header .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: #fff;
}

/* Hero Stats Band */
.hero-stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-stat-item {
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.hero-stat-item:last-child {
    border-right: none;
}

.hero-stat-item .stat-value,
.hero-stat-item strong {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--orange);
    display: block;
    margin-bottom: 4px;
}

.hero-stat-item .stat-label,
.hero-stat-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

/* --- Split Feature Section --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-section.reverse {
    direction: rtl;
}

.split-section.reverse > * {
    direction: ltr;
}

.split-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.split-text p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.split-text .btn {
    margin-top: 8px;
}

/* --- Numbered Feature List (vertical) --- */
.numbered-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: feature-counter;
}

.numbered-list li {
    counter-increment: feature-counter;
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

.numbered-list li:last-child {
    border-bottom: none;
}

.numbered-list li::before {
    content: counter(feature-counter, decimal-leading-zero);
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--orange);
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.numbered-list li strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.numbered-list li span {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Gradient Border Cards --- */
.glow-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--orange), var(--green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.glow-card:hover::before {
    opacity: 1;
}

.glow-card .glow-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(97,247,172,0.1), rgba(0,123,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.glow-card .glow-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--orange);
}

.glow-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.glow-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.glow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.glow-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* --- Dark Sections (used for comparison table etc.) --- */
.dark-section {
    background: linear-gradient(160deg, #0a1628 0%, #111d30 50%, #0d1a2d 100%);
    position: relative;
    overflow: hidden;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(97,247,172,0.04), transparent);
    pointer-events: none;
}

.dark-section .section-header h2 {
    color: #fff;
}

.dark-section .section-header p {
    color: rgba(255,255,255,0.5);
}

/* --- Accordion Section (split: title left, items right) --- */
.accordion-section {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

/* Reversed: items left, title right */
.accordion-section.acc-reversed {
    grid-template-columns: 1.4fr 1fr;
}
.accordion-section.acc-reversed .acc-left {
    order: 2;
}
.accordion-section.acc-reversed .acc-list {
    order: 1;
}

.accordion-section .acc-left h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.accordion-section .acc-left p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.accordion-section .acc-left .btn {
    margin-top: 8px;
}

/* --- Accordion Items (light theme, single column) --- */
.acc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acc-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.acc-item:hover,
.acc-item.active {
    border-color: var(--orange);
    box-shadow: 0 4px 16px rgba(97,247,172,0.08);
}

.acc-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
}

.acc-item-header .acc-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(97,247,172,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.acc-item-header .acc-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--orange);
}

.acc-item-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    flex: 1;
}

.acc-item-header .acc-arrow {
    width: 18px;
    height: 18px;
    fill: var(--gray-400);
    transition: transform 0.3s ease, fill 0.3s ease;
    flex-shrink: 0;
}

.acc-item.active .acc-arrow {
    transform: rotate(180deg);
    fill: var(--orange);
}

.acc-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.acc-item-body-inner {
    padding: 0 24px 20px 80px;
}

.acc-item-body p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Dark accordion variant (for dark-section usage) */
.dark-section .acc-list .acc-item {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.07);
}

.dark-section .acc-list .acc-item:hover,
.dark-section .acc-list .acc-item.active {
    border-color: rgba(97,247,172,0.3);
    box-shadow: none;
}

.dark-section .acc-item-header .acc-icon {
    background: rgba(97,247,172,0.1);
}

.dark-section .acc-item-header h3 {
    color: #fff;
}

.dark-section .acc-item-header .acc-arrow {
    fill: rgba(255,255,255,0.3);
}

.dark-section .acc-item.active .acc-arrow {
    fill: var(--orange);
}

.dark-section .acc-item-body p {
    color: rgba(255,255,255,0.5);
}

/* Legacy dark-card (still used in some sections) */
.dark-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 28px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.dark-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(97,247,172,0.25);
}

.dark-card .dark-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(97,247,172,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.dark-card .dark-card-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--orange);
}

.dark-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.dark-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.dark-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.dark-card ul li {
    padding: 5px 0 5px 16px;
    position: relative;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

.dark-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 4px;
    height: 4px;
    background: var(--orange);
}

.dark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Dark section table overrides */
.dark-section .comparison-enhanced thead th {
    color: rgba(255,255,255,0.4);
    border-bottom-color: rgba(255,255,255,0.1);
}

.dark-section .comparison-enhanced thead th:not(:first-child) {
    color: #fff;
}

.dark-section .comparison-enhanced thead .featured-th {
    color: var(--orange);
}

.dark-section .comparison-enhanced tbody td {
    color: rgba(255,255,255,0.5);
    border-bottom-color: rgba(255,255,255,0.06);
}

.dark-section .comparison-enhanced tbody td:first-child {
    color: #fff;
}

.dark-section .comparison-enhanced tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

/* --- Timeline Steps (vertical) --- */
.v-timeline {
    position: relative;
    padding-left: 48px;
}

.v-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--orange), var(--green));
}

.v-timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.v-timeline-item:last-child {
    padding-bottom: 0;
}

.v-timeline-item::before {
    content: attr(data-step);
    position: absolute;
    left: -48px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--orange);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.v-timeline-item:last-child::before {
    background: var(--green);
}

.v-timeline-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.v-timeline-item p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* --- Comparison Table Enhanced --- */
.comparison-enhanced {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--gray-200);
}

.comparison-enhanced table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.comparison-enhanced thead th {
    padding: 20px 24px;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 2px solid var(--gray-200);
}

.comparison-enhanced thead th:first-child {
    color: var(--gray-600);
}

.comparison-enhanced thead th:not(:first-child) {
    color: var(--gray-900);
}

.comparison-enhanced thead .featured-th {
    color: var(--orange);
    position: relative;
}

.comparison-enhanced thead .featured-th::after {
    content: 'RECOMMENDED';
    display: inline-block;
    margin-left: 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--orange);
    color: #fff;
    padding: 3px 10px;
    font-weight: 700;
    vertical-align: middle;
    white-space: nowrap;
}

.comparison-enhanced tbody td {
    padding: 14px 24px;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.comparison-enhanced tbody td:first-child {
    font-weight: 600;
    color: var(--gray-900);
}

.comparison-enhanced tbody tr:hover {
    background: rgba(97,247,172,0.03);
}

.comparison-enhanced .check-icon {
    width: 20px;
    height: 20px;
    fill: var(--green);
}

.comparison-enhanced .cross-icon {
    width: 20px;
    height: 20px;
    fill: var(--gray-400);
}

/* --- App Download Section --- */
.app-download-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.app-download-card {
    background: linear-gradient(135deg, #0B0F14 0%, #1a222e 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.app-download-card:hover {
    border-color: rgba(97,247,172,0.3);
    transform: translateY(-4px);
}

.app-download-card .app-icon {
    width: 64px;
    height: 64px;
    background: rgba(97,247,172,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.app-download-card .app-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--orange);
}

.app-download-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.app-download-card p {
    font-size: 14px;
    color: #9BA3AE;
    line-height: 1.7;
    margin-bottom: 24px;
}

.app-download-card .btn {
    width: 100%;
    max-width: 240px;
}

/* --- Browser Bar (horizontal) --- */
.browser-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.browser-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.browser-item .browser-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.browser-item .browser-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.browser-item:hover .browser-icon {
    transform: translateY(-4px) scale(1.1);
}

.browser-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

/* --- Big Number Cards --- */
.big-number-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.big-number-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.big-number-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.big-number-card .big-num {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #3B82F6, #61F7AC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.big-number-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.big-number-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Platform Page Responsive --- */
@media (max-width: 768px) {
    .platform-hero {
        padding: 90px 0 0;
    }
    .platform-hero h1 {
        font-size: 28px;
    }
    .platform-hero .hero-desc {
        font-size: 14px;
    }
    .hero-stats-band {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-stat-item {
        padding: 16px 12px;
    }
    .hero-stat-item .stat-value,
    .hero-stat-item strong {
        font-size: 20px;
    }
    .split-section,
    .split-section.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
    }
    .glow-grid,
    .dark-grid {
        grid-template-columns: 1fr;
    }
    .glow-grid-2 {
        grid-template-columns: 1fr;
    }
    .accordion-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .accordion-section.acc-reversed .acc-left {
        order: -1;
    }
    .accordion-section.acc-reversed .acc-list {
        order: 1;
    }
    .acc-item-body-inner {
        padding-left: 24px;
    }
    .big-number-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-download-row {
        grid-template-columns: 1fr;
    }
    .browser-bar {
        gap: 24px;
    }
    .comparison-enhanced thead .featured-th::after {
        font-size: 8px;
        padding: 2px 6px;
        margin-left: 8px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .glow-grid,
    .dark-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .big-number-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Responsive for sub-page components --- */
@media (max-width: 1200px) {
    .accounts-grid { flex-wrap: wrap; }
    .account-card { flex: 1 1 calc(33.333% - 10px); min-width: 220px; }
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .green-highlight-box { flex-direction: column; }
    .two-col-grid { grid-template-columns: 1fr; }
    .accounts-grid { flex-wrap: wrap; }
    .account-card { flex: 1 1 calc(50% - 10px); min-width: 200px; }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
    .download-card p { font-size: 12px; }
    .calendar-filters { flex-direction: column; }
    .account-compare-table th,
    .account-compare-table td { padding: 10px 12px; font-size: 12px; }
    .account-compare-section { margin-top: 40px; }
}

@media (max-width: 480px) {
    .account-card { flex: 1 1 100%; }
    .account-compare-table th,
    .account-compare-table td { padding: 8px 8px; font-size: 11px; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .download-grid { grid-template-columns: repeat(3, 1fr); }
    .market-ticker-widget { margin-top: 0px; overflow-x: hidden; }
    .market-ticker-card { padding: 14px 16px; }
    .market-tabs { gap: 4px; }
    .market-tab { font-size: 11px; padding: 4px 10px; }
    .market-item { min-width: 165px; padding: 8px 10px; gap: 8px; }
    .market-item-arrow { width: 26px; height: 26px; }
    .market-item-name { font-size: 13px; }
    .market-item-price { font-size: 10px; }

    .header-persistent {
        display: none;
    }

    .navbar-clip {
        height: 60px;
    }

    .navbar-row,
    .navbar-row-inner {
        height: 60px;
    }

    .navbar.scrolled .navbar-slider {
        transform: none;
    }

    .navbar-utility-row {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        margin-left: auto;
    }

    .navbar-main .nav-logo {
        margin-right: 16px;
    }

    .nav-logo img {
        height: 40px;
    }

    .main-nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 72px 24px 100px;
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav-list.open {
        display: flex;
    }

    /* Hide the old pseudo-element close */
    .main-nav-list::before {
        display: none;
    }

    /* Mobile close button (X) */
    .mobile-menu-close {
        position: absolute;
        top: 16px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        font-size: 32px;
        color: var(--gray-700);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .nav-item {
        width: 100%;
        position: static;
    }

    .nav-link {
        padding: 14px 0;
        font-size: 16px;
        font-weight: 600;
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-link:focus,
    .nav-link:focus-visible {
        outline: none;
        box-shadow: none;
    }

    .nav-item.sub-open > .nav-link {
        color: var(--orange);
        border-bottom-color: var(--orange);
    }

    /* Mobile arrow icon */
    .mobile-arrow {
        transition: transform 0.3s;
        opacity: 0.4;
        pointer-events: none;
    }

    .nav-item.sub-open .mobile-arrow {
        transform: rotate(180deg);
        opacity: 1;
        color: var(--orange);
    }

    /* Mobile sub-menu accordion */
    .mobile-sub {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        display: flex;
        flex-direction: column;
    }

    .nav-item.sub-open .mobile-sub {
        max-height: 600px;
    }

    .mobile-sub a {
        display: block;
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 500;
        color: var(--gray-600);
        text-decoration: none;
        border-bottom: 1px solid var(--gray-100);
        transition: color 0.2s;
    }

    .mobile-sub a:last-child {
        border-bottom: none;
    }

    .mobile-sub a:hover,
    .mobile-sub a:active {
        color: var(--orange);
    }

    .mobile-sub-divider {
        display: block;
        height: 1px;
        background: var(--gray-200);
        margin: 6px 0 6px 16px;
    }

    .nav-pointer {
        display: none;
    }

    /* Hide nav-actions in navbar on mobile */
    .nav-actions {
        display: none;
    }

    /* Show mobile-only elements */
    .mobile-sub { display: flex; }
    .mobile-arrow { display: inline-block; }
    .mobile-menu-close { display: flex; }

    /* Mobile menu extras */
    .mobile-menu-cta {
        display: block;
        margin-top: 24px;
    }

    .mobile-menu-cta .btn-orange {
        display: block;
        width: 100%;
        text-align: center;
        background: var(--orange);
        color: var(--white);
        font-family: var(--font-heading);
        font-size: 16px;
        font-weight: 700;
        padding: 14px 24px;
        border-radius: 0;
        text-decoration: none;
        transition: background 0.2s;
    }

    .mobile-menu-cta .btn-orange:hover {
        background: var(--orange-hover);
        color: var(--white);
    }

    .mobile-menu-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--gray-200);
    }

    .mobile-menu-links a {
        display: block;
        width: 50%;
        padding: 10px 0;
        font-size: 14px;
        font-weight: 500;
        color: var(--gray-600);
        text-decoration: none;
        transition: color 0.2s;
    }

    .mobile-menu-links a:hover {
        color: var(--orange);
    }

    .mega-menu-panels {
        display: none;
    }

    /* Hero: fixed height slider on mobile */
    .hero {
        height: auto;
        min-height: auto;
    }

    .hero-slider {
        height: 760px;
    }

    .hero-slide.active {
        display: flex;
        align-items: flex-start;
        top: 0;
        padding: 0;
        overflow: hidden;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-content h1 span::after {
        display: none;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 10px;
        margin-bottom: 24px;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .trusted-reviews {
        margin-top: 0;
        margin-bottom: 24px;
        text-align: center;
    }

    .trusted-reviews-label {
        font-size: 10px;
        letter-spacing: 0.4px;
        margin-bottom: 8px;
    }

    .topReviews {
        justify-content: center;
        gap: 6px;
    }

    .topReviews a {
        padding: 3px 8px;
    }

    .topReviews img {
        height: 20px;
    }

    .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }

    .hero-stat {
        padding: 8px 14px;
        text-align: center;
        border-right: 1px solid var(--gray-200);
    }

    .hero-stat:last-child {
        border-right: none;
    }

    .hero-stat-value {
        font-size: 22px;
    }

    .hero-stat-label {
        font-size: 11px;
    }

    .hero-visual {
        order: -1;
        overflow: hidden;
        height: 300px;
    }

    .hero-slide-img {
        width: 65%;
        max-width: 260px;
    }

    /* Globe wrapper responsive */
    .globe-wrapper {
        width: 320px;
        max-width: 100%;
        height: 100%;
    }

    .globe-img { width: 220px; height: 220px; }
    .orbit-1 { width: 360px; height: 140px; }
    .orbit-2 { width: 380px; height: 150px; }
    .orbit-3 { width: 340px; height: 130px; }
    .sphere { width: 42px; height: 42px; }
    .sphere-icon { font-size: 14px; }

    @keyframes sphereFloat {
        0%   { transform: rotate(0deg) translateX(170px) rotate(0deg) scale(0.85); opacity: 0.6; z-index: 3; }
        25%  { transform: rotate(90deg) translateX(170px) rotate(-90deg) scale(1); opacity: 1; z-index: 8; }
        50%  { transform: rotate(180deg) translateX(170px) rotate(-180deg) scale(0.85); opacity: 0.6; z-index: 3; }
        75%  { transform: rotate(270deg) translateX(170px) rotate(-270deg) scale(1); opacity: 1; z-index: 8; }
        100% { transform: rotate(360deg) translateX(170px) rotate(-360deg) scale(0.85); opacity: 0.6; z-index: 3; }
    }

    /* Platform wrapper responsive */
    .platform-wrapper {
        max-width: 100%;
        height: 100%;
    }

    .platform-img { max-width: 380px; }
    .data-card { padding: 8px 10px; min-width: 90px; }
    .dc-label { font-size: 8px; }
    .dc-value { font-size: 13px; }
    .dc-change { font-size: 9px; }
    .card-1 { left: 0; }
    .card-2 { right: 0; }
    .card-3 { left: 0; }
    .card-4 { right: 0; }
    .tech-frame { top: 10px; left: 10px; right: 10px; bottom: 10px; }
    .frame-corner { width: 24px; height: 24px; }
    .frame-corner::before { width: 24px !important; }
    .frame-corner::after { height: 24px !important; }

    /* Vault wrapper responsive */
    .vault-wrapper {
        max-width: 100%;
        height: 100%;
    }

    .vault-img { width: 280px; height: 280px; max-width: 80%; }
    .security-badge { padding: 8px 10px; }
    .badge-icon svg { width: 16px; height: 16px; }
    .badge-title { font-size: 10px; }
    .badge-desc { font-size: 8px; }
    .badge-1 { left: 0; }
    .badge-2 { right: 0; }
    .badge-3 { left: 0; }
    .badge-4 { right: 0; }

    /* Phoenix wrapper responsive */
    .phoenix-wrapper {
        max-width: 100%;
        height: 100%;
    }

    .phoenix-img { width: 300px; max-width: 90%; height: auto; }
    .phoenix-canvas { width: 300px; height: 300px; max-width: 90%; }
    .ph-coin .coin-body { width: var(--c-size, 20px); height: var(--c-size, 20px); font-size: 10px; }

    .hero-slide.active .phoenix-img,
    .hero-slide.active .phoenix-canvas {
        animation: phoenixSlideDown 1s ease-out both;
    }

    @keyframes phoenixSlideDown {
        from { opacity: 0; transform: translate(-50%, -65%); }
        to   { opacity: 1; transform: translate(-50%, -50%); }
    }

    /* Mobile security wrapper responsive */
    .mobile-wrapper {
        max-width: 100%;
        height: 100%;
    }

    .mobile-img { width: 400px; max-width: 90%; }
    .ms-orbit-ring { width: 240px; height: 240px; }
    .ms-orbit-ring-2 { width: 300px; height: 300px; }
    .sec-badge { padding: 8px 12px; }
    .sec-badge .b-icon { width: 32px; height: 32px; }
    .sec-badge .b-icon svg { width: 18px; height: 18px; }
    .sec-badge .b-text .b-title { font-size: 11px; }
    .sec-badge .b-text .b-desc { font-size: 9px; }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-slider-dots {
        position: absolute;
        bottom: 100px;
        left: 0;
        right: 0;
        transform: none;
        justify-content: center;
        padding: 0;
        margin: 0;
        z-index: 15;
    }

    .hero-arrow {
        display: none;
    }

    /* Stats band responsive */
    .stats-band-card {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-separator {
        height: 32px;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-intro-content .section-title,
    .about-intro-content .section-label {
        text-align: center;
    }
    .about-intro-content p {
        text-align: center;
    }
    .about-intro-content > div:last-child {
        text-align: center;
    }

    .instruments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-rows {
        grid-template-columns: 1fr;
    }

    .why-row:nth-child(odd) {
        border-right: none;
    }

    .accounts-grid {
        flex-wrap: wrap;
    }

    .account-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 200px;
    }

    .accounts-wide-container {
        max-width: 100% !important;
        padding: 0 20px;
    }

    .account-card.featured {
        transform: none;
        border-width: 2px;
    }

    .account-card.featured:hover {
        transform: translateY(-4px);
    }

    .platform-grid,
    .funding-grid,
    .contact-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .cta-phoenix-wrap {
        width: 360px;
        height: 360px;
        opacity: 0.15;
    }

    .cta-stats {
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-payments {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-card {
        flex: 0 0 320px;
        min-width: 320px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .education-grid,
    .ib-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-persistent {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .hero-slider {
        height: 760px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 0;
    }

    .hero-stat-value {
        font-size: 24px;
    }

    .hero-visual {
        height: 240px;
    }

    .hero-slider-dots {
        bottom: 160px;
    }

    .market-ticker-widget {
        margin-top: -80px;
    }

    /* Globe wrapper 768 */
    .globe-wrapper {
        width: 260px;
        max-width: 100%;
        height: 100%;
    }

    .globe-img { width: 180px; height: 180px; }
    .orbit-1 { width: 300px; height: 120px; }
    .orbit-2 { width: 320px; height: 130px; }
    .orbit-3 { width: 280px; height: 110px; }
    .sphere { width: 36px; height: 36px; }
    .sphere-icon { font-size: 12px; }
    .sphere svg { width: 18px; height: 14px; }

    @keyframes sphereFloat {
        0%   { transform: rotate(0deg) translateX(140px) rotate(0deg) scale(0.85); opacity: 0.6; z-index: 3; }
        25%  { transform: rotate(90deg) translateX(140px) rotate(-90deg) scale(1); opacity: 1; z-index: 8; }
        50%  { transform: rotate(180deg) translateX(140px) rotate(-180deg) scale(0.85); opacity: 0.6; z-index: 3; }
        75%  { transform: rotate(270deg) translateX(140px) rotate(-270deg) scale(1); opacity: 1; z-index: 8; }
        100% { transform: rotate(360deg) translateX(140px) rotate(-360deg) scale(0.85); opacity: 0.6; z-index: 3; }
    }

    /* Platform wrapper 768 */
    .platform-wrapper { max-width: 100%; height: 100%; }
    .platform-img { max-width: 320px; }
    .data-card { padding: 6px 8px; min-width: 80px; }
    .dc-label { font-size: 7px; letter-spacing: 0.5px; }
    .dc-value { font-size: 12px; }
    .dc-change { font-size: 8px; }
    .card-1 { left: 0; }
    .card-2 { right: 0; }
    .card-3 { left: 0; }
    .card-4 { right: 0; }

    /* Vault wrapper 768 */
    .vault-wrapper { max-width: 100%; height: 100%; }
    .vault-img { width: 220px; height: 220px; max-width: 70%; }
    .coin-inner { width: var(--c-size, 22px); height: var(--c-size, 22px); font-size: 10px; }
    .security-badge { padding: 6px 8px; gap: 6px; }
    .badge-icon svg { width: 14px; height: 14px; }
    .badge-title { font-size: 9px; }
    .badge-desc { font-size: 7px; }
    .badge-1 { left: 0; }
    .badge-2 { right: 0; }
    .badge-3 { left: 0; }
    .badge-4 { right: 0; }

    /* Phoenix wrapper 768 */
    .phoenix-wrapper { max-width: 100%; height: 100%; }
    .phoenix-img { width: 250px; max-width: 85%; }
    .phoenix-canvas { width: 250px; height: 250px; max-width: 85%; }
    .ph-coin { display: none; }

    /* Mobile security wrapper 768 */
    .mobile-wrapper { max-width: 100%; height: 100%; }
    .mobile-img { width: 320px; max-width: 85%; }
    .ms-orbit-ring { width: 200px; height: 200px; }
    .ms-orbit-ring-2 { width: 260px; height: 260px; }
    .connect-arc { width: 100%; max-width: 350px; height: 280px; }
    .currency span { font-size: calc(var(--cf-size, 28px) * 0.75); }
    .sec-badge { padding: 6px 10px; gap: 8px; }
    .sec-badge .b-icon { width: 28px; height: 28px; }
    .sec-badge .b-icon svg { width: 16px; height: 16px; }
    .sec-badge .b-text .b-title { font-size: 10px; }
    .sec-badge .b-text .b-desc { font-size: 8px; }

    /* Stats band mobile */
    .stats-band {
        overflow: hidden;
    }

    .stats-band-card {
        padding: 16px 8px;
        overflow: hidden;
    }

    .stats-band-grid {
        flex-wrap: wrap;
        gap: 14px 0;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 33.33%;
        min-width: 0;
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .stat-separator {
        display: none;
    }

    .instruments-grid {
        grid-template-columns: 1fr;
    }

    .why-row {
        padding: 20px 16px;
        gap: 14px;
    }

    .why-row-num {
        font-size: 24px;
        min-width: 32px;
    }

    .why-row-icon {
        width: 38px;
        height: 38px;
    }

    .why-row-icon svg {
        width: 18px;
        height: 18px;
    }

    .why-row-content h3 {
        font-size: 14px;
    }

    .why-row-content p {
        font-size: 12px;
    }

    /* Platform mockup smaller */
    .platform-mockup::after {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 50px;
    }

    /* Vertical track line — centered on step numbers */
    .steps-grid::before {
        display: block;
        top: 30px;
        bottom: 30px;
        left: 27px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .steps-grid::after {
        top: 30px;
        bottom: 30px;
        left: 27px;
        right: auto;
        width: 3px;
        height: auto;
        transform: scaleY(0);
        transform-origin: top;
    }

    .steps-grid.steps-animate::after {
        transform: scaleY(1);
    }

    .step-card {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 0;
    }

    .step-number {
        width: 56px;
        height: 56px;
        min-width: 56px;
        font-size: 22px;
        margin: 0;
        position: relative;
        left: -50px;
    }

    .step-card h3 {
        font-size: 18px;
        margin-top: 4px;
    }

    .step-card p {
        font-size: 13px;
    }

    .footer-cta {
        padding: 48px 0 40px;
    }

    .cta-stats {
        gap: 24px;
    }

    .cta-stat-value {
        font-size: 20px;
    }

    .footer-cta-actions {
        flex-direction: column;
        gap: 12px;
    }

    .footer-cta-actions .btn-cta-primary {
        width: 100%;
        padding: 14px 32px;
    }

    .cta-phoenix-wrap {
        width: 300px;
        height: 300px;
        opacity: 0.15;
    }

    /* Sub-page responsive - 768px */
    .content-section {
        padding: 40px 0;
    }

    .table-responsive {
        margin: 0 -16px;
        padding: 0 16px;
    }

    .data-table {
        font-size: 13px;
    }

    .data-table thead th,
    .data-table tbody td {
        padding: 10px 12px;
        white-space: nowrap;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .calendar-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-filter-group {
        flex-wrap: wrap;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        align-items: center;
        gap: 18px;
        padding-bottom: 90px;
    }

    .footer-bottom p {
        justify-content: center;
        flex-wrap: wrap;
        font-size: 11px;
    }

    .footer-bottom p img {
        height: 64px !important;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .awards-section {
        padding: 56px 0 40px;
    }

    .education-grid,
    .ib-benefits-grid {
        grid-template-columns: 1fr;
    }

    .promo-detail-value {
        font-size: 52px;
    }

    table.comparison-table {
        font-size: 12px;
        min-width: 600px;
    }

    table.comparison-table thead th,
    table.comparison-table tbody td {
        padding: 10px 12px;
    }

    /* Promo grid */
    .promo-grid {
        gap: 16px;
    }

    /* Section label animation - just show it */
    .section-label {
        opacity: 1;
        transform: none;
    }

    /* Testimonials: narrower cards on small screens, still autoplay marquee */
    .testimonial-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 24px;
    }

    .testimonials-track {
        gap: 16px;
    }

    .testimonials-progress {
        width: 160px;
    }

    /* --- FAB Panel Tablet (768px) --- */
    .fab-main {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .fab-main svg {
        width: 20px;
        height: 20px;
    }

    .fab-drawer {
        bottom: 76px;
    }

    .live-chat-btn {
        bottom: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content h1 span::after {
        display: none;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-slider {
        height: 780px;
    }

    .hero-visual {
        height: 220px;
    }

    .hero-slide-img {
        width: 90%;
        max-width: 280px;
    }

    .hero-slider-dots {
        bottom: 140px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 4px;
    }

    .hero-stat {
        padding: 6px 10px;
    }

    .hero-stat-value {
        font-size: 20px;
    }

    .hero-stat-label {
        font-size: 10px;
    }

    .market-ticker-widget {
        margin-top: -100px;
    }

    .hero-content h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    /* Globe wrapper 480 */
    .globe-wrapper {
        width: 220px;
        max-width: 100%;
        height: 100%;
    }

    .globe-img { width: 150px; height: 150px; }
    .orbit-1 { width: 250px; height: 100px; }
    .orbit-2 { width: 260px; height: 105px; }
    .orbit-3 { width: 235px; height: 90px; }
    .sphere { width: 30px; height: 30px; }
    .sphere-icon { font-size: 10px; }
    .sphere svg { width: 14px; height: 10px; }
    .sparkle { display: none; }

    @keyframes sphereFloat {
        0%   { transform: rotate(0deg) translateX(115px) rotate(0deg) scale(0.85); opacity: 0.6; z-index: 3; }
        25%  { transform: rotate(90deg) translateX(115px) rotate(-90deg) scale(1); opacity: 1; z-index: 8; }
        50%  { transform: rotate(180deg) translateX(115px) rotate(-180deg) scale(0.85); opacity: 0.6; z-index: 3; }
        75%  { transform: rotate(270deg) translateX(115px) rotate(-270deg) scale(1); opacity: 1; z-index: 8; }
        100% { transform: rotate(360deg) translateX(115px) rotate(-360deg) scale(0.85); opacity: 0.6; z-index: 3; }
    }

    /* Platform wrapper 480 */
    .platform-wrapper { max-width: 100%; height: 100%; }
    .platform-img { max-width: 100%; }
    .data-card { padding: 5px 7px; min-width: 70px; border-radius: 6px; }
    .dc-label { font-size: 6px; }
    .dc-value { font-size: 11px; }
    .dc-change { font-size: 7px; }
    .card-1 { left: 0; top: 2%; }
    .card-2 { right: 0; top: 5%; }
    .card-3 { left: 0; bottom: 18%; }
    .card-4 { right: 0; bottom: 15%; }
    .tech-frame { display: none; }
    .data-flow-dot { display: none; }
    .floor-reflection { display: none; }

    /* Vault wrapper 480 */
    .vault-wrapper { max-width: 100%; height: 100%; }
    .vault-img { width: 180px; height: 180px; max-width: 65%; }
    .gold-sparkle { display: none; }
    .security-badge { padding: 5px 6px; gap: 5px; border-radius: 6px; }
    .badge-icon svg { width: 12px; height: 12px; }
    .badge-title { font-size: 8px; }
    .badge-desc { display: none; }
    .badge-1 { left: 0; }
    .badge-2 { right: 0; }
    .badge-3 { left: 0; }
    .badge-4 { right: 0; }

    /* Phoenix wrapper 480 */
    .phoenix-wrapper { max-width: 100%; height: 100%; }
    .phoenix-img { width: 220px; max-width: 90%; }
    .phoenix-canvas { width: 220px; height: 220px; max-width: 90%; }
    .ember { display: none; }
    .gold-spark { display: none; }
    .ph-coin { display: none; }

    /* Mobile security wrapper 480 */
    .mobile-wrapper { max-width: 100%; height: 100%; }
    .mobile-img { width: 260px; max-width: 80%; }
    .ms-orbit-ring { width: 160px; height: 160px; }
    .ms-orbit-ring-2 { width: 210px; height: 210px; }
    .connect-arc { display: none; }
    .ms-dot-pattern { display: none; }
    .currency span { font-size: calc(var(--cf-size, 28px) * 0.6); }
    .soft-dot { display: none; }
    .sec-badge { padding: 5px 8px; gap: 6px; border-radius: 8px; }
    .sec-badge .b-icon { width: 24px; height: 24px; border-radius: 6px; }
    .sec-badge .b-icon svg { width: 14px; height: 14px; }
    .sec-badge .b-text .b-title { font-size: 9px; }
    .sec-badge .b-text .b-desc { display: none; }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* Instrument cards */
    .instrument-card {
        padding: 24px 20px;
    }

    .instrument-card-icon {
        width: 52px;
        height: 52px;
    }

    .instrument-card-icon svg {
        width: 24px;
        height: 24px;
    }

    .awards-section {
        padding: 48px 0 36px;
    }

    .award-card {
        padding: 14px 20px;
        gap: 12px;
    }

    .award-card-trophy {
        width: 34px;
        height: 34px;
    }

    .award-card-trophy svg {
        width: 18px;
        height: 18px;
    }

    .award-card-name {
        font-size: 13px;
    }

    /* Funding cards */
    .funding-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .funding-card {
        padding: 16px;
    }

    /* Platform mockup */
    .platform-mockup {
        padding: 12px;
    }

    .platform-mockup-chart {
        height: 140px;
    }

    .page-header {
        padding: 80px 0 32px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .page-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    .page-header .breadcrumb {
        font-size: 12px;
        margin-bottom: 12px;
    }

    /* Sub-page content sections - 480px */
    .content-section {
        padding: 32px 0;
    }

    .content-section h2 {
        font-size: 22px;
    }

    .content-section h3 {
        font-size: 17px;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header p {
        font-size: 13px;
    }

    /* Tables mobile */
    .table-responsive {
        margin: 0 -16px;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        font-size: 12px;
        min-width: 560px;
    }

    .data-table thead th {
        padding: 10px 10px;
        font-size: 11px;
    }

    .data-table tbody td {
        padding: 10px 10px;
    }

    /* Calendar mobile */
    .calendar-table-wrapper {
        margin: 0 -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .calendar-table {
        font-size: 12px;
        min-width: 480px;
    }

    .calendar-filters {
        gap: 8px;
    }

    /* Comparison table mobile */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 16px 0;
    }

    .comparison-table,
    table.comparison-table {
        min-width: 900px;
        font-size: 12px;
    }

    .comparison-table thead th,
    .comparison-table tbody td,
    table.comparison-table th,
    table.comparison-table td {
        padding: 10px 12px;
        white-space: nowrap;
    }

    /* Cards mobile */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 20px;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .download-card {
        padding: 24px 20px;
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }

    .download-card-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        margin: 0;
    }

    .download-card-icon svg {
        width: 26px;
        height: 26px;
    }

    .download-card h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .download-card p {
        font-size: 12px;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .download-card .btn {
        width: auto;
        padding: 8px 16px;
        font-size: 12px;
        align-self: flex-start;
    }

    .two-col-grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-card {
        padding: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Account cards mobile */
    .accounts-grid {
        flex-wrap: wrap;
    }

    .accounts-grid .account-card {
        flex: 1 1 100%;
    }

    .accounts-wide-container {
        max-width: 100% !important;
        padding: 0 16px;
    }

    .account-card-header {
        padding: 20px 16px;
    }

    .account-card-body {
        padding: 16px;
    }

    .price-amount {
        font-size: 28px;
    }

    /* Highlight box mobile */
    .green-highlight-box {
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }

    .highlight-icon {
        width: 40px;
        height: 40px;
    }

    .highlight-icon svg {
        width: 20px;
        height: 20px;
    }

    /* FAQ mobile */
    .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }

    .faq-answer-inner {
        padding: 0 16px 14px;
        font-size: 13px;
    }

    /* Legal content mobile */
    .legal-content {
        max-width: 100%;
    }

    .legal-content h2 {
        font-size: 18px;
    }

    .legal-content p {
        font-size: 14px;
    }

    /* Education cards mobile */
    .education-grid {
        grid-template-columns: 1fr;
    }

    .analysis-grid {
        grid-template-columns: 1fr;
    }

    /* IB grid mobile */
    .ib-benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Footer CTA mobile */
    .footer-cta {
        padding: 40px 0 32px;
    }

    .footer-cta-text h2 {
        font-size: 24px;
    }

    .cta-stats {
        gap: 20px;
    }

    .cta-stat-value {
        font-size: 18px;
    }

    .cta-stat-label {
        font-size: 10px;
    }

    .cta-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    .cta-phoenix-wrap {
        width: 280px;
        height: 280px;
        opacity: 0.15;
    }

    .footer-cta-actions .btn-cta-primary {
        font-size: 14px;
        padding: 13px 28px;
    }

    /* Promo cards */
    .promo-card {
        padding: 28px 20px;
    }

    .promo-card-value {
        font-size: 48px;
    }

    /* --- FAB Panel Mobile (480px) --- */
    .fab-drawer {
        bottom: 76px;
    }

    .fab-main {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .fab-main svg {
        width: 20px;
        height: 20px;
    }

    /* Live chat button mobile */
    .live-chat-btn {
        bottom: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
    }

    .live-chat-btn svg {
        width: 20px;
        height: 20px;
    }
}
