/* ============================================
   NIYAM — Premium Crypto Exchange Landing Page
   Color Palette:
   - Electric Blue: #00007B
   - Niyam Blue: #2C4F96
   - Sky Blue: #15B9F8
   - White: #FFFFFF
   ============================================ */

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --electric-blue: #00007B;
    --niyam-blue: #2C4F96;
    --sky-blue: #15B9F8;
    --white: #FFFFFF;
    --off-white: #F7F8FC;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --green: #10B981;
    --red: #EF4444;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Animations === */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.01% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 30px) scale(0.95);
    }

    66% {
        transform: translate(20px, -40px) scale(1.05);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, 40px) scale(1.08);
    }

    66% {
        transform: translate(-30px, -20px) scale(0.92);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
}

[data-animate].animated {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 123, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

.nav-logo img {
    height: 32px;
    transition: opacity 0.3s;
}

.logo-blue {
    display: none;
}

.logo-white {
    display: block;
}

.navbar.scrolled .logo-blue {
    display: block;
}

.navbar.scrolled .logo-white {
    display: none;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s;
    letter-spacing: -0.01em;
}

.nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: var(--gray-500);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--niyam-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav-login {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-nav-login:hover {
    color: var(--white);
}

.navbar.scrolled .btn-nav-login {
    color: var(--gray-600);
}

.navbar.scrolled .btn-nav-login:hover {
    color: var(--niyam-blue);
}

.btn-nav-signup {
    font-size: 14px;
    font-weight: 600;
    color: var(--electric-blue);
    background: var(--white);
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-nav-signup:hover {
    background: var(--off-white);
    transform: translateY(-1px);
}

.navbar.scrolled .btn-nav-signup {
    background: var(--niyam-blue);
    color: var(--white);
}

.navbar.scrolled .btn-nav-signup:hover {
    background: var(--electric-blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-800);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 123, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-menu-links a {
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
}

.mobile-menu-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.mobile-menu-actions .btn-nav-login {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.mobile-menu-actions .btn-nav-signup {
    font-size: 16px;
    padding: 12px 28px;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, #000040 0%, var(--electric-blue) 40%, var(--niyam-blue) 80%, #1a3a7a 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(21, 185, 248, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(44, 79, 150, 0.6) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(21, 185, 248, 0.3) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation: orbFloat3 18s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--sky-blue);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--sky-blue) 0%, #6DD5FA 50%, var(--sky-blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero-subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sky-blue);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    background: #0da8e6;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(21, 185, 248, 0.4);
}

.btn-primary.btn-large {
    font-size: 18px;
    padding: 20px 40px;
    border-radius: 14px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}

.hero-stat-suffix {
    font-size: 20px;
    font-weight: 700;
    color: var(--sky-blue);
}

.hero-stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--sky-blue);
    animation: scrollLine 2s ease-in-out infinite;
}

/* === Ticker === */
.ticker-section {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.ticker-wrapper {
    padding: 16px 0;
}

.ticker-track {
    display: flex;
    gap: 48px;
    animation: ticker 30s linear infinite;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.ticker-symbol {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    letter-spacing: -0.01em;
}

.ticker-price {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    font-variant-numeric: tabular-nums;
}

.ticker-change {
    font-size: 13px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
}

.ticker-change.positive {
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
}

.ticker-change.negative {
    color: var(--red);
    background: rgba(239, 68, 68, 0.1);
}

/* === Section Common === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sky-blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* === Features === */
.features {
    padding: 120px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 185, 248, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: rgba(21, 185, 248, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 123, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-large {
    grid-column: span 2;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.feature-metric {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.metric-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--sky-blue);
    letter-spacing: -0.03em;
    display: block;
}

.metric-label {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* === Platform === */
.platform {
    padding: 120px 0;
    background: var(--off-white);
}

.platform-showcase {
    max-width: 1100px;
    margin: 0 auto;
}

.platform-window {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 123, 0.15), 0 0 0 1px rgba(0, 0, 123, 0.08);
    background: #0a0e27;
}

.platform-titlebar {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: #0d1230;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.titlebar-dots {
    display: flex;
    gap: 8px;
}

.titlebar-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.titlebar-dots span:nth-child(1) {
    background: #ff5f57;
}

.titlebar-dots span:nth-child(2) {
    background: #febc2e;
}

.titlebar-dots span:nth-child(3) {
    background: #28c840;
}

.titlebar-text {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.platform-screen {
    padding: 0;
}

/* Trading Interface */
.trading-interface {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    min-height: 480px;
}

.trading-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
}

.trade-pair-header {
    margin-bottom: 24px;
}

.pair-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pair-price {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
}

.pair-change {
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pair-change.positive {
    color: var(--green);
}

.pair-change.negative {
    color: var(--red);
}

.order-book {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.ob-header {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    font-weight: 500;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}

.ob-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    position: relative;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.ob-bar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.1;
}

.ob-row.ask .ob-bar {
    background: var(--red);
}

.ob-row.bid .ob-bar {
    background: var(--green);
}

.ob-row.ask span:first-child {
    color: rgba(239, 68, 68, 0.9);
}

.ob-row.bid span:first-child {
    color: rgba(16, 185, 129, 0.9);
}

.ob-spread {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin: 8px 0;
}

.spread-price {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
}

.spread-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
}

/* Trading Chart */
.trading-chart {
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-tabs,
.chart-indicators {
    display: flex;
    gap: 4px;
}

.chart-tabs span,
.chart-indicators span {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.chart-tabs span.active {
    background: rgba(21, 185, 248, 0.15);
    color: var(--sky-blue);
}

.chart-tabs span:hover:not(.active),
.chart-indicators span:hover {
    color: rgba(255, 255, 255, 0.7);
}

.chart-area {
    flex: 1;
    padding: 20px;
    position: relative;
    min-height: 360px;
}

.chart-area canvas {
    width: 100%;
    height: 100%;
}

/* Trading Panel */
.trading-panel {
    background: rgba(255, 255, 255, 0.03);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
}

.panel-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 3px;
}

.panel-tabs span {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.5);
}

.buy-tab.active {
    background: var(--green);
    color: var(--white);
}

.sell-tab.active {
    background: var(--red);
    color: var(--white);
}

.panel-type {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.panel-type span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}

.panel-type span.active {
    color: var(--white);
}

.panel-field {
    margin-bottom: 16px;
}

.panel-field label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 6px;
    font-weight: 500;
}

.panel-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--white);
    font-family: var(--font);
    font-variant-numeric: tabular-nums;
}

.panel-slider {
    margin-bottom: 20px;
}

.slider-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.slider-fill {
    height: 100%;
    background: var(--green);
    border-radius: 2px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
}

.slider-labels span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.panel-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    letter-spacing: -0.01em;
    transition: all 0.2s;
}

.panel-btn.buy {
    background: var(--green);
    color: var(--white);
}

.panel-btn.buy:hover {
    background: #0ea572;
}

/* === How It Works === */
.how-it-works {
    padding: 120px 0;
    background: var(--white);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    padding: 40px 32px;
    flex: 1;
    max-width: 320px;
}

.step-number {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--sky-blue), var(--niyam-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.step-icon svg {
    width: 100%;
    height: 50px;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.step-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

.step-connector {
    width: 80px;
    flex-shrink: 0;
    padding-top: 100px;
}

.step-connector svg {
    width: 100%;
    height: 2px;
}

/* === Security === */
.security {
    padding: 120px 0;
    background: linear-gradient(165deg, #000040, var(--electric-blue), var(--niyam-blue));
    position: relative;
    overflow: hidden;
}

.security-bg {
    position: absolute;
    inset: 0;
}

.security-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.security .section-label {
    color: var(--sky-blue);
}

.security .section-title {
    color: var(--white);
}

.security .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.security-text {
    text-align: left;
}

.security-text .section-title {
    margin-bottom: 24px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.security-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.security-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(21, 185, 248, 0.3);
    transform: translateX(4px);
}

.sf-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.sf-icon svg {
    width: 100%;
    height: 100%;
}

.sf-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.sf-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* === App Section === */
.app-section {
    padding: 120px 0;
    background: var(--white);
    overflow: hidden;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-text {
    text-align: left;
}

.app-text .section-title {
    margin-bottom: 20px;
}

.app-text .section-desc {
    margin: 0 0 32px;
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-700);
    font-weight: 500;
}

.app-feature-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.app-buttons {
    display: flex;
    gap: 12px;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-900);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s;
}

.app-store-btn:hover {
    background: var(--niyam-blue);
    transform: translateY(-2px);
}

.app-store-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.app-store-btn .small {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.2;
}

.app-store-btn .big {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* Phone Mockup */
.app-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 300px;
    height: 620px;
    background: #0a0e27;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 123, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}

.phone-screen {
    padding: 0 16px 16px;
}

.phone-app-header {
    margin-bottom: 24px;
}

.phone-logo {
    height: 20px;
}

.phone-portfolio {
    margin-bottom: 20px;
}

.portfolio-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
    font-weight: 500;
}

.portfolio-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.portfolio-change {
    font-size: 13px;
    font-weight: 600;
}

.portfolio-change.positive {
    color: var(--green);
}

.phone-chart-mini {
    margin-bottom: 24px;
}

.phone-chart-mini svg {
    width: 100%;
    height: 80px;
}

.phone-coins {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-coin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--white);
}

.coin-icon.btc {
    background: linear-gradient(135deg, #F7931A, #e8820e);
}

.coin-icon.eth {
    background: linear-gradient(135deg, #627EEA, #4a6ad4);
}

.coin-icon.sol {
    background: linear-gradient(135deg, #9945FF, #14F195);
}

.coin-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.coin-sym {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.coin-data {
    text-align: right;
}

.coin-price {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.coin-change {
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.coin-change.positive {
    color: var(--green);
}

.coin-change.negative {
    color: var(--red);
}

.phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(21, 185, 248, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(40px);
    z-index: -1;
}

/* === CTA Section === */
.cta-section {
    padding: 120px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(21, 185, 248, 0.08);
    top: -200px;
    right: -100px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(44, 79, 150, 0.06);
    bottom: -200px;
    left: -100px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-actions {
    margin-bottom: 20px;
}

.cta-note {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

/* === Footer === */
.footer {
    padding: 64px 0 32px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 32px;
}

.footer-logo {
    height: 28px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--niyam-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-400);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--gray-400);
    transition: all 0.2s;
}

.footer-social a:hover {
    color: var(--niyam-blue);
    background: var(--gray-50);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* === Partners Section === */
.partners-section {
    padding: 64px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.partners-header {
    text-align: center;
    margin-bottom: 36px;
}

.partners-tagline {
    font-size: 15px;
    color: var(--gray-500);
    margin-top: 12px;
}

.partners-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: partnerScroll 50s linear infinite;
}

.partner-logo {
    flex-shrink: 0;
}

.partner-logo span {
    display: inline-block;
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--gray-50);
    transition: all 0.3s;
    white-space: nowrap;
}

.partner-logo:hover span {
    color: var(--niyam-blue);
    border-color: var(--sky-blue);
    background: rgba(21, 185, 248, 0.05);
}

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === Live Markets Section === */
.live-markets {
    padding: 120px 0;
    background: var(--off-white);
}

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

.market-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.market-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 123, 0.08);
    border-color: rgba(21, 185, 248, 0.3);
}

.market-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.market-coin-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.market-coin-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
}

.market-coin-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}

.market-coin-symbol {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
}

.market-change {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
}

.market-change.positive {
    color: var(--green);
    background: rgba(16, 185, 129, 0.08);
}

.market-change.negative {
    color: var(--red);
    background: rgba(239, 68, 68, 0.08);
}

.market-sparkline {
    height: 60px;
    margin: 8px 0;
}

.sparkline-canvas {
    width: 100%;
    height: 100%;
}

.market-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.market-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.market-trade-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--sky-blue);
    border: 1px solid var(--sky-blue);
    border-radius: 8px;
    padding: 6px 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.market-trade-btn:hover {
    background: var(--sky-blue);
    color: var(--white);
}

/* === Fee Structure Section === */
.fees-section {
    padding: 120px 0;
    background: var(--white);
}

.fees-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.fees-table-wrapper {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
}

.fees-table thead {
    background: var(--gray-100);
}

.fees-table th {
    text-align: left;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--gray-200);
}

.fees-table td {
    padding: 16px 24px;
    font-size: 15px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.fees-table tr:last-child td {
    border-bottom: none;
}

.fee-value {
    font-weight: 700;
    color: var(--gray-900);
    font-variant-numeric: tabular-nums;
}

.fee-highlight {
    font-weight: 700;
    color: var(--green);
}

.fees-comparison-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 28px;
}

.comparison-item {
    margin-bottom: 20px;
}

.comparison-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comparison-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
}

.comparison-name.niyam-name {
    color: var(--sky-blue);
    font-weight: 700;
}

.comparison-fee {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    font-variant-numeric: tabular-nums;
}

.comparison-bar-track {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
}

.comparison-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-bar-fill.niyam {
    background: linear-gradient(90deg, var(--sky-blue), var(--niyam-blue));
}

.comparison-bar-fill.other {
    background: var(--gray-300);
}

/* === Testimonials Section === */
.testimonials-section {
    padding: 120px 0;
    background: var(--off-white);
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.trust-metric {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.3s;
}

.trust-metric:hover {
    border-color: rgba(21, 185, 248, 0.3);
    transform: translateY(-2px);
}

.trust-metric-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    display: inline;
    font-variant-numeric: tabular-nums;
}

.trust-metric-suffix {
    font-size: 20px;
    font-weight: 700;
    color: var(--sky-blue);
}

.trust-rating-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trust-metric-stars {
    color: #FBBF24;
    font-size: 18px;
    letter-spacing: 2px;
}

.trust-metric-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 123, 0.08);
    border-color: rgba(21, 185, 248, 0.3);
}

.testimonial-stars {
    color: #FBBF24;
    margin-bottom: 16px;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-blue), var(--niyam-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    display: block;
}

.testimonial-role {
    font-size: 13px;
    color: var(--gray-400);
    display: block;
}

/* === Referral Section === */
.referral-section {
    padding: 120px 0;
    /* background: linear-gradient(165deg, #000040, var(--electric-blue), var(--niyam-blue)); */
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.referral-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.referral-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.referral-section .section-label {
    color: var(--sky-blue);
}

.referral-section .section-title {
    color: var(--white);
}

.referral-section .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.referral-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.referral-text h2 {
    background: linear-gradient(135deg, var(--sky-blue), var(--niyam-blue));
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.referral-text .section-desc {
    color: var(--gray-500);
}

.referral-tiers {
    display: flex;
    gap: 16px;
}

.referral-tier {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    flex: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.referral-tier:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(21, 185, 248, 0.3);
    transform: translateY(-4px);
}

.referral-tier.tier-featured {
    border-color: var(--sky-blue);
    background: rgba(21, 185, 248, 0.1);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sky-blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-level {
    font-size: 12px;
    font-weight: 700;
    color: var(--sky-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.tier-reward {
    font-size: 48px;
    font-weight: 900;
    /* color: var(--white); */
    color: var(--gray-900);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    line-height: 1;
}

.tier-desc {
    font-size: 13px;
    /* color: rgba(255, 255, 255, 0.5); */
    color: var(--gray-900);
    margin-bottom: 16px;
    line-height: 1.5;
}

.tier-requirement {
    font-size: 13px;
    font-weight: 600;
    /* color: rgba(255, 255, 255, 0.7); */
    color: var(--gray-900);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === Education Section === */
.education-section {
    padding: 120px 0;
    background: var(--off-white);
}

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

.edu-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
}

.edu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 123, 0.08);
    border-color: rgba(21, 185, 248, 0.3);
}

.edu-card-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--sky-blue);
    background: rgba(21, 185, 248, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    width: fit-content;
}

.edu-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.edu-card-excerpt {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.edu-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
}

.edu-card-arrow svg {
    transition: transform 0.3s;
    color: var(--gray-400);
}

.edu-card:hover .edu-card-arrow svg {
    transform: translateX(4px);
    color: var(--sky-blue);
}

/* === FAQ Section === */
.faq-section {
    padding: 120px 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.active {
    border-color: rgba(21, 185, 248, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--gray-50);
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    transition: background 0.3s;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--sky-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

/* === Community Section === */
.community-section {
    padding: 120px 0;
    background: linear-gradient(165deg, #000040, var(--electric-blue), var(--niyam-blue));
    position: relative;
    overflow: hidden;
}

.community-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.community-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.community-section .section-label {
    color: var(--sky-blue);
}

.community-section .section-title {
    color: var(--white);
}

.community-section .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

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

.community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
}

.community-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(21, 185, 248, 0.3);
    transform: translateY(-4px);
}

.community-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: var(--sky-blue);
}

.community-icon svg {
    width: 100%;
    height: 100%;
}

.community-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.community-stat {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.newsletter-signup {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.newsletter-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--white);
    font-size: 15px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-input:focus {
    border-color: var(--sky-blue);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-btn {
    padding: 14px 28px;
    background: var(--sky-blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #0da8e6;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(21, 185, 248, 0.4);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .trading-interface {
        grid-template-columns: 1fr;
    }

    .trading-sidebar {
        display: none;
    }

    .trading-panel {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .security-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .security-text {
        text-align: center;
    }

    .app-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .app-text {
        text-align: center;
        order: 1;
    }

    .app-text .section-desc {
        margin: 0 auto 32px;
    }

    .app-features-list {
        align-items: center;
    }

    .app-buttons {
        justify-content: center;
    }

    .app-visual {
        order: 2;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card-large {
        grid-column: span 2;
    }

    /* Markets 1024 */
    .markets-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Fees 1024 */
    .fees-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Testimonials 1024 */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Referral 1024 */
    .referral-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .referral-text .btn-primary {
        margin: 32px auto 0;
    }

    /* Education 1024 */
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .features {
        padding: 80px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        padding-top: 0;
    }

    .step-connector svg {
        width: 2px;
        height: 100%;
    }

    .platform,
    .how-it-works,
    .security,
    .app-section,
    .cta-section,
    .fees-section,
    .testimonials-section,
    .education-section,
    .faq-section,
    .live-markets {
        padding: 80px 0;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .phone-frame {
        width: 260px;
        height: 540px;
    }

    .portfolio-value {
        font-size: 26px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Partners 768 */
    .partners-section {
        padding: 48px 0;
    }

    .partner-logo span {
        font-size: 13px;
        padding: 6px 18px;
    }

    .partners-track {
        gap: 32px;
    }

    /* Live Markets 768 */
    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Fees 768 */
    .fees-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Testimonials 768 */
    .trust-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Referral 768 */
    .referral-section {
        padding: 80px 0;
    }

    .referral-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .referral-text .btn-primary {
        margin: 32px auto 0;
    }

    .referral-tiers {
        flex-direction: column;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Education 768 */
    .education-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ 768 */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Community 768 */
    .community-section {
        padding: 80px 0;
    }

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .feature-card {
        padding: 28px;
    }

    /* Markets 480 */
    .markets-grid {
        grid-template-columns: 1fr;
    }

    /* Trust metrics 480 */
    .trust-metric-value {
        font-size: 32px;
    }

    /* Testimonials 480 */
    .testimonial-card {
        padding: 24px;
    }

    /* Community 480 */
    .community-card {
        padding: 28px 16px;
    }

    .newsletter-signup {
        padding: 32px 20px;
    }
}