/* ===== CSS Variables & Reset ===== */
:root {
    --primary: #1a56db;
    --primary-dark: #1240a8;
    --primary-light: #3b82f6;
    --accent: #06b6d4;
    --gold: #f59e0b;
    --bg-dark: #0b1120;
    --bg-section: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text-primary); line-height: 1.6; background: var(--white); overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== Utilities ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); border: 1px solid var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { display: block; width: 100%; }
/* ===== Header ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo img { height: 32px; width: auto; }
.logo { font-size: 22px; font-weight: 700; color: var(--white); }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item > a {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.nav-item > a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-item .arrow { font-size: 10px; margin-left: 3px; opacity: 0.5; }

.nav-item.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 170px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}
.nav-item.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 9px 18px; color: var(--text-primary); font-size: 13px; }
.dropdown-menu li a:hover { background: var(--bg-section); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 7px 18px; font-size: 13px; }
.header-actions .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.3); }
.header-actions .btn-outline:hover { background: var(--white); color: var(--bg-dark); border-color: var(--white); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 1px; transition: var(--transition); }
/* ===== Hero Slider ===== */
.hero {
    position: relative;
    padding-top: 64px;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-slider {
    position: relative;
    width: 100%;
    line-height: 0;
    font-size: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    display: block;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
}

/* ===== Sections ===== */
.section { padding: 80px 0; }

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}
.section-title.center { text-align: center; }

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}
.section-subtitle.center { text-align: center; }

.section-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.section-grid.reverse { direction: rtl; }
.section-grid.reverse > * { direction: ltr; }
/* ===== Trust Section ===== */
.trust-section { background: var(--bg-section); }

.trust-icons { display: flex; gap: 32px; justify-content: center; }
.trust-icon-item { text-align: center; }
.icon-circle {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 10px;
    box-shadow: var(--shadow);
}
.trust-icon-item > span { font-size: 13px; color: var(--text-secondary); }

/* ===== Mobile Section ===== */
.mobile-section { background: var(--white); }
.phone-mockup { max-width: 280px; margin: 0 auto; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.app-buttons { display: flex; gap: 12px; }
.app-btn img { height: 40px; }

/* ===== Accounts Section ===== */
.accounts-section { background: var(--bg-section); }

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.account-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}
.account-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.account-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }

.account-badge {
    display: inline-block;
    padding: 3px 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 20px;
    font-size: 11px; font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.account-card h3 { font-size: 16px; margin-bottom: 20px; font-weight: 600; }

.account-features { margin-bottom: 20px; }
.account-features li {
    display: flex; justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}
.account-features li span { color: var(--text-secondary); }
.account-features li strong { color: var(--text-primary); font-weight: 500; }
/* ===== Markets Section ===== */
.markets-section { background: var(--white); }

.markets-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 28px; }
.tab-btn {
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 13px; font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.markets-table { overflow-x: auto; margin-bottom: 28px; }
.markets-table table { width: 100%; border-collapse: collapse; }
.markets-table th, .markets-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; }
.markets-table th { color: var(--text-secondary); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.markets-table td small { color: var(--text-light); font-size: 11px; }

/* ===== Awards Section ===== */
.awards-section {
    background: linear-gradient(135deg, #0b1120 0%, #1a1f3a 100%);
    color: var(--white);
    overflow: hidden;
}
.awards-section .section-title { color: var(--white); }

.awards-slider {
    display: flex; gap: 20px;
    overflow-x: auto;
    padding: 28px 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.awards-slider::-webkit-scrollbar { display: none; }

.award-item {
    min-width: 180px; flex-shrink: 0;
    text-align: center;
    padding: 28px 20px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    scroll-snap-align: start;
    transition: var(--transition);
}
.award-item:hover { background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.award-icon { font-size: 36px; margin-bottom: 10px; }
.award-year { font-size: 13px; color: var(--gold); margin-bottom: 6px; font-weight: 600; }
.award-name { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.4; }
/* ===== Why Section ===== */
.why-section { background: var(--bg-section); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.why-card {
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon { font-size: 32px; margin-bottom: 14px; }
.why-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.why-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Testimonials ===== */
.testimonials-section { background: var(--white); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }

.testimonial-card {
    background: var(--bg-section);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }

.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: 20px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.testimonial-card h4 { font-size: 15px; margin-bottom: 4px; }
.testimonial-role { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }
.testimonial-text { font-size: 13px; color: var(--text-secondary); line-height: 1.7; font-style: italic; }

/* ===== CTA Section ===== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); }
.cta-section .section-title { color: var(--white); }
.cta-section .section-subtitle { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 36px; }
.cta-section .btn-primary { background: var(--white); color: var(--primary); border-color: var(--white); }
.cta-section .btn-primary:hover { background: rgba(255,255,255,0.9); }
.cta-section .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.cta-section .btn-outline:hover { background: var(--white); color: var(--primary); }

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* ===== Footer ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 56px 0 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo { height: 28px; margin-bottom: 14px; }
.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 16px; color: rgba(255,255,255,0.45); }

.social-links { display: flex; gap: 10px; }
.social-links a { font-size: 18px; opacity: 0.5; transition: var(--transition); }
.social-links a:hover { opacity: 1; }

.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 12px; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-disclaimer { margin-top: 10px; font-size: 11px; line-height: 1.6; max-width: 860px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.25); }

/* Sticky Footer */
.section, .page-hero {
    flex-shrink: 0;
}
.footer {
    margin-top: auto;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .accounts-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--bg-dark);
        padding: 16px;
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    .main-nav.active .nav-list { flex-direction: column; align-items: stretch; }
    .main-nav.active .dropdown-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; background: rgba(255,255,255,0.04); border-radius: var(--radius); margin-top: 4px;
    }
    .main-nav.active .dropdown-menu li a { color: rgba(255,255,255,0.6); }

    .header-actions .btn { display: none; }
    .section { padding: 56px 0; }
    .section-title { font-size: 24px; }
    .section-grid { grid-template-columns: 1fr; gap: 32px; }
    .section-grid.reverse { direction: ltr; }

    .accounts-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .markets-tabs { flex-wrap: wrap; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-grid .footer-col:first-child { grid-column: span 2; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid .footer-col:first-child { grid-column: span 1; }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}