/* ============================================
   XEND SWITCHWALLET - PREMIUM LANDING PAGE
   ============================================ */


/* ==================== CSS VARIABLES ==================== */

:root {
    /* Primary Colors - SwitchWallet Orange */
    --primary: #FF6600;
    --primary-dark: #E55B00;
    --primary-light: #FF8533;
    /* Accent Colors - SwitchWallet Blue */
    --accent: #2042B8;
    --accent-dark: #1A359A;
    --accent-light: #3358D4;
    /* Background Colors */
    --bg-dark: #0A0A0F;
    --bg-darker: #060609;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    /* Border Colors */
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-bg: radial-gradient(ellipse at top, #0D1117 0%, #0A0A0F 50%, #060609 100%);
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.3);
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}


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

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}


/* ==================== ANIMATED BACKGROUND ==================== */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
}

.bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    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;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 60%;
    right: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 30%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(10px, 10px) scale(1.05);
    }
}


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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.logo-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}


/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}

.btn-gradient {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-xlarge {
    padding: 20px 48px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
}

.btn i {
    font-size: 0.9em;
    transition: transform var(--transition-normal);
}

.btn:hover i {
    transform: translateX(4px);
}


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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    display: inline-block;
    border-right: 3px solid var(--primary);
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%,
    100% {
        border-color: var(--primary);
    }
    50% {
        border-color: transparent;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-description strong {
    color: var(--primary);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-suffix {
    font-size: 0.9em;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}


/* Hero Visual / Ecosystem Animation */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ecosystem-animation {
    position: relative;
    width: 450px;
    height: 450px;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.hub-inner {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hubRotate 30s linear infinite;
}

.hub-inner svg {
    width: 60px;
    height: 60px;
}

@keyframes hubRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hub-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: hubPulse 2s ease-out infinite;
}

@keyframes hubPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.chain-nodes {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.chain-node {
    position: absolute;
    transform: rotate(var(--angle)) translateX(180px) rotate(calc(-1 * var(--angle)));
    animation: nodeAppear 0.5s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes nodeAppear {
    from {
        opacity: 0;
        transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle))) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(var(--angle)) translateX(180px) rotate(calc(-1 * var(--angle))) scale(1);
    }
}

.node-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
}

.node-icon:hover {
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.node-icon.assetchain {
    color: #0463EF;
    font-weight: 700;
    background: linear-gradient(135deg, #54CDEE, #0463EF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.node-icon.ethereum {
    color: #627EEA;
}

.node-icon.bsc {
    color: #F3BA2F;
}

.node-icon.polygon {
    color: #8247E5;
}

.node-icon.bitcoin {
    color: #F7931A;
}

.node-icon.solana {
    color: #00FFA3;
}

.node-icon.tron {
    color: #FF0013;
}

.node-icon.arbitrum {
    color: #28A0F0;
}

.node-icon.base {
    color: #0052FF;
}

.node-connection {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 130px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    transform: translateY(-50%);
}

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stream {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: streamMove 3s linear infinite;
}

.stream-1 {
    animation-delay: 0s;
    --angle: 45deg;
}

.stream-2 {
    animation-delay: 0.75s;
    --angle: 135deg;
}

.stream-3 {
    animation-delay: 1.5s;
    --angle: 225deg;
}

.stream-4 {
    animation-delay: 2.25s;
    --angle: 315deg;
}

@keyframes streamMove {
    0% {
        top: 50%;
        left: 50%;
        transform: rotate(var(--angle)) translateX(180px) rotate(calc(-1 * var(--angle)));
        opacity: 1;
    }
    100% {
        top: 50%;
        left: 50%;
        transform: rotate(var(--angle)) translateX(50px) rotate(calc(-1 * var(--angle)));
        opacity: 0;
    }
}


/* Scroll Indicator */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: wheel 1.5s ease-in-out infinite;
}

@keyframes wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}


/* ==================== SECTION COMMON ==================== */

section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}


/* ==================== FEATURES SECTION ==================== */

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

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

.feature-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 12px;
    filter: blur(20px);
    opacity: 0.2;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-visual {
    margin-top: 24px;
}

.speed-indicator {
    background: var(--bg-darker);
    border-radius: 8px;
    padding: 16px;
}

.speed-bar {
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    animation: speedFill 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes speedFill {
    to {
        width: var(--width);
    }
}

.speed-indicator span {
    display: block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chain-icons {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.chain-badge {
    padding: 6px 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
}


/* Tech Badges for MPC Features */

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.tech-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(236, 97, 43, 0.15), rgba(245, 155, 16, 0.15));
    border: 1px solid rgba(236, 97, 43, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: linear-gradient(135deg, rgba(236, 97, 43, 0.25), rgba(245, 155, 16, 0.25));
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 97, 43, 0.2);
}

.chain-badge.ac {
    color: #0463EF;
    background: linear-gradient(135deg, #54CDEE, #0463EF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chain-badge.eth {
    color: #627EEA;
}

.chain-badge.bsc {
    color: #F3BA2F;
}

.chain-badge.btc {
    color: #F7931A;
}

.chain-badge.sol {
    color: #00FFA3;
}

.chain-badge.more {
    color: var(--text-muted);
}


/* ==================== SECURITY SECTION ==================== */

.security {
    background: var(--bg-darker);
}

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

.security-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.security-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.security-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-darker);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.security-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.security-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* Auth Flow Animation */

.auth-flow-animation {
    position: relative;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.auth-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.auth-step .step-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-darker);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    animation: stepPulse 3s ease-in-out infinite;
}

.step-1 .step-icon {
    animation-delay: 0s;
}

.step-2 .step-icon {
    animation-delay: 1s;
}

.step-3 .step-icon {
    animation-delay: 2s;
}

@keyframes stepPulse {
    0%,
    100% {
        transform: scale(1);
        border-color: var(--border);
    }
    50% {
        transform: scale(1.05);
        border-color: var(--primary);
    }
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.auth-flow-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.auth-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.auth-arrow svg {
    width: 80px;
    height: 20px;
    transform: rotate(90deg);
}

.arrow-label {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-flow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    pointer-events: none;
}

.flow-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation: flowDown 2s linear infinite;
}

.flow-particle:nth-child(1) {
    animation-delay: 0s;
}

.flow-particle:nth-child(2) {
    animation-delay: 0.66s;
}

.flow-particle:nth-child(3) {
    animation-delay: 1.33s;
}

@keyframes flowDown {
    0% {
        top: 15%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 85%;
        opacity: 0;
    }
}


/* ==================== ECOSYSTEM SECTION ==================== */

.ecosystem-diagram {
    max-width: 800px;
    margin: 0 auto;
}

.layer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.layer-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.layer-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.layer-item {
    padding: 10px 18px;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.layer-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.layer-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.connector-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    position: relative;
}

.connector-line::before,
.connector-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.connector-line::before {
    top: -4px;
}

.connector-line::after {
    bottom: -4px;
    background: var(--accent);
}

.connector-label {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.layer-blockchain {
    border-color: rgba(0, 212, 170, 0.3);
}

.layer-infrastructure {
    border-color: rgba(123, 97, 255, 0.3);
}

.layer-api {
    border-color: rgba(0, 212, 170, 0.3);
}

.layer-application {
    border-color: rgba(123, 97, 255, 0.3);
}


/* ==================== COMPARISON SECTION ==================== */

.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-cell {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.comparison-cell.feature-name {
    justify-content: flex-start;
    font-weight: 500;
}

.comparison-header {
    background: var(--bg-darker);
}

.comparison-header .comparison-cell {
    font-weight: 600;
    font-size: 0.85rem;
}

.comparison-cell.us {
    background: rgba(0, 212, 170, 0.1);
}

.comparison-cell.us i {
    color: var(--primary);
    font-size: 1.1rem;
}

.comparison-cell.competitor i {
    color: var(--text-muted);
}

.comparison-cell.competitor i.fa-check {
    color: var(--text-secondary);
}

.comparison-cell.competitor i.fa-times {
    color: #FF6B6B;
}

.comparison-cell.competitor i.fa-minus {
    color: var(--text-muted);
}

.logo-mini {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}


/* ==================== PRICING SECTION ==================== */

.pricing {
    background: var(--bg-darker);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}


/* Pricing Loading State */

.pricing-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.pricing-loading .loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.pricing-loading p {
    font-size: 1rem;
    color: var(--text-muted);
}


/* Pricing Chains Tags */

.pricing-chains {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    justify-content: center;
}

.chain-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chain-icon {
    width: 10px;
    height: 10px;
    object-fit: contain;
    flex-shrink: 0;
}

.chain-tag i.chain-icon {
    font-size: 9px;
    width: auto;
    height: auto;
}

.chain-tag.more {
    background: rgba(123, 97, 255, 0.1);
    border-color: rgba(123, 97, 255, 0.2);
    color: #7B61FF;
}


/* Fallback pricing grid */

.pricing-fallback {
    display: none;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.1) 0%, var(--bg-card) 100%);
}

.pricing-card.enterprise {
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.1) 0%, var(--bg-card) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.pricing-feature i {
    width: 20px;
    color: var(--primary);
}

.pricing-feature i.fa-infinity {
    color: var(--accent);
}

.pricing-feature.disabled {
    opacity: 0.5;
}

.pricing-feature.disabled i {
    color: var(--text-muted);
}

.pricing-feature strong {
    color: var(--text-primary);
}


/* ==================== CTA SECTION ==================== */

.cta {
    padding: 100px 0;
}

.cta-content {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

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

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -200px;
    left: -100px;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -150px;
    right: -50px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}

.cta-form {
    position: relative;
    z-index: 1;
}

.cta-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cta-trust {
    margin-top: 48px;
    position: relative;
    z-index: 1;
}

.cta-trust>span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    padding: 12px 24px;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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


/* ==================== FOOTER ==================== */

.footer {
    background: var(--bg-darker);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

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

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--primary);
}


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

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 1;
    }
    .hero-visual {
        order: 0;
        margin-bottom: 40px;
    }
    .hero-description {
        margin: 0 auto 40px;
    }
    .hero-stats {
        max-width: 600px;
        margin: 0 auto 40px;
    }
    .hero-cta {
        justify-content: center;
    }
    .ecosystem-animation {
        width: 350px;
        height: 350px;
    }
    .chain-node {
        transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle)));
    }
    .node-connection {
        width: 100px;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card.feature-large {
        grid-column: span 2;
    }
    .security-content {
        grid-template-columns: 1fr;
    }
    .security-visual {
        order: -1;
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .comparison-table {
        overflow-x: auto;
    }
    .comparison-header,
    .comparison-row {
        min-width: 700px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
     :root {
        --section-padding: 80px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    .ecosystem-animation {
        width: 280px;
        height: 280px;
    }
    .chain-node {
        transform: rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle)));
    }
    .node-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .node-connection {
        width: 70px;
    }
    .central-hub {
        width: 70px;
        height: 70px;
    }
    .hub-pulse {
        width: 70px;
        height: 70px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card.feature-large {
        grid-column: span 1;
    }
    .section-title {
        font-size: 2rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        order: -1;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .cta-title {
        font-size: 2rem;
    }
    .cta-content {
        padding: 60px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .stat-item {
        padding: 16px;
    }
    .ecosystem-animation {
        width: 240px;
        height: 240px;
    }
    .chain-node {
        transform: rotate(var(--angle)) translateX(90px) rotate(calc(-1 * var(--angle)));
    }
    .node-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .node-connection {
        width: 50px;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    .cta-title {
        font-size: 1.5rem;
    }
}


/* ==================== ANIMATIONS (AOS Override) ==================== */

[data-aos] {
    pointer-events: auto !important;
}


/* ==================== SCROLLBAR ==================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}


/* ==================== SELECTION ==================== */

::selection {
    background: var(--primary);
    color: var(--bg-dark);
}