:root {
    /* Light mode colors - Serious Tech Theme */
    --primary-color: #0066CC;
    --secondary-color: #4A5568;
    --accent-color: #F59E0B;
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #2B6CB0 100%);
    --gradient-secondary: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --border-radius: 4px; /* Sharper corners */
    --border-radius-large: 8px;
    --border-radius-full: 9999px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* Faster transition */
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Roboto Mono', 'Menlo', monospace;
}

/* Light mode (default) */
:root,
[data-theme="light"] {
    --section-bg-1: #F4F4F4;
    --section-bg-2: #FFFFFF;
    --section-bg-3: #E8E8E8;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --background-light: #F7FAFC;
    --background-dark: #EDF2F7;
    --card-background: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-colored: 0 4px 14px rgba(0, 102, 204, 0.25);
    --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.1);
    --nav-background: rgba(255, 255, 255, 0.9);
    --hero-background: #F7FAFC;
    --background-surface: #F7FAFC;
}

/* Dark mode - Cyber/Geek Theme */
[data-theme="dark"] {
    --section-bg-1: #000000;
    --section-bg-2: #111111;
    --section-bg-3: #1A1A1A;
    --text-primary: #E2E8F0;
    --text-secondary: #A0AEC0;
    --background-light: #0D1117; /* Very dark blue-gray */
    --background-dark: #1A202C;
    --card-background: #161B22;
    --border-color: #30363D;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 6px 8px rgba(0, 0, 0, 0.4);
    --shadow-colored: 0 4px 14px rgba(0, 102, 204, 0.4);
    --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.5);
    --nav-background: rgba(13, 17, 23, 0.9);
    --hero-background: #0D1117;
    --background-surface: #161B22;
    
    /* Neon accents for dark mode */
    --primary-color: #3182CE;
    --accent-color: #ED8936;
}

/* System preference fallback - only applies when no data-theme is set */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --text-primary: #F2F2F7;
        --text-secondary: #98989D;
        --background-light: #000000;
        --background-dark: #1C1C1E;
        --card-background: #1C1C1E;
        --border-color: #38383A;
        --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.4);
        --nav-background: rgba(28, 28, 30, 0.8);
        --hero-background: #000000;
    }

    /* Canvas network animation adjustments for dark mode */
    :root:not([data-theme]) .network-animation {
        filter: brightness(1.2) contrast(0.9);
    }
}

[data-theme="dark"] .network-animation {
    filter: brightness(1.2) contrast(0.9);
}

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

/* Smooth transitions for dark mode */
*,
*::before,
*::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
    overflow-x: hidden;
    /* Subtle technical grid background */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

[data-theme="dark"] body {
    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);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--nav-background);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo a {
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo a:hover {
    transform: translateY(-1px);
}

.nav-logo .logo {
    height: 32px;
    width: auto;
}

/* Dark mode logo visibility fix */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .nav-logo .logo {
        filter: invert(1) brightness(0.9);
    }
}

[data-theme="dark"] .nav-logo .logo {
    filter: invert(1) brightness(0.9);
}

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

/* Theme toggle button */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Dark mode enhancements for theme toggle */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .theme-toggle {
        background: rgba(56, 56, 58, 0.6);
        border-color: rgba(98, 98, 102, 0.8);
    }

    :root:not([data-theme]) .theme-toggle:hover {
        background: rgba(56, 56, 58, 0.9);
        border-color: var(--primary-color);
    }

    :root:not([data-theme]) .theme-toggle-icon {
        color: rgba(242, 242, 247, 0.9);
    }
}

[data-theme="dark"] .theme-toggle {
    background: rgba(56, 56, 58, 0.6);
    border-color: rgba(98, 98, 102, 0.8);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(56, 56, 58, 0.9);
    border-color: var(--primary-color);
}

[data-theme="dark"] .theme-toggle-icon {
    color: rgba(242, 242, 247, 0.9);
}

/* Light mode enhancements for theme toggle */
[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(210, 210, 215, 0.8);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
}

[data-theme="light"] .theme-toggle-icon {
    color: rgba(29, 29, 31, 0.9);
}

.theme-toggle-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

/* Light mode icon (sun) */
.theme-toggle-icon.sun {
    display: block;
}

.theme-toggle-icon.moon {
    display: none;
}

/* Dark mode icon (moon) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .theme-toggle-icon.sun {
        display: none;
    }

    :root:not([data-theme]) .theme-toggle-icon.moon {
        display: block;
    }
}

[data-theme="dark"] .theme-toggle-icon.sun {
    display: none;
}

[data-theme="dark"] .theme-toggle-icon.moon {
    display: block;
}

[data-theme="light"] .theme-toggle-icon.sun {
    display: block;
}

[data-theme="light"] .theme-toggle-icon.moon {
    display: none;
}

/* Mobile theme toggle */
.mobile-only {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

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

.nav-divider {
    color: var(--text-secondary);
    margin: 0 8px;
    font-weight: 300;
    opacity: 0.6;
}

.lightpaper-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

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

.lightpaper-btn::after {
    display: none;
}

/* Hero Section */
.hero {
    padding: 120px 24px 80px;
    background: transparent; /* Changed from var(--background-light) to transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    gap: 60px;
}

/* Add a gradient overlay to improve text readability against the network */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Stronger fade in center for text readability, transparent at edges for animation visibility */
    background: radial-gradient(circle at center, rgba(251, 251, 253, 0.85) 0%, rgba(251, 251, 253, 0.4) 40%, transparent 90%);
    z-index: -1;
    pointer-events: none;
}

[data-theme="dark"] .hero::after {
    /* Stronger fade in center for dark mode */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 90%);
}

/* Page Hero Section */
.page-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #8b9cf5 0%, #a586c4 100%);
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Page hero background pattern */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 300px 300px, 200px 200px, 50px 50px;
    background-position: 0 0, 150px 100px, 0 0;
    pointer-events: none;
}

/* Dark mode page hero */
[data-theme="dark"] .page-hero {
    background: linear-gradient(135deg, #2D3748 0%, #4A5568 50%, #2B6CB0 100%);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .page-hero {
        background: linear-gradient(135deg, #2D3748 0%, #4A5568 50%, #2B6CB0 100%);
    }
}

/* Dark mode pattern adjustment */
[data-theme="dark"] .page-hero::before {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.01) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.01) 75%);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .page-hero::before {
        background-image:
            radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
            linear-gradient(45deg, rgba(255, 255, 255, 0.01) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.01) 75%);
    }
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(88, 86, 214, 0.1) 0%, transparent 50%);
    z-index: -1;
}

/* Background Canvas */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Updated Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    z-index: 1;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-subtitle h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero-subtitle p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--background-surface);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Floating Stats */
.network-stats-floating {
    display: inline-flex;
    gap: 40px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 20px 40px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    animation: float 6s ease-in-out infinite;
}

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

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat span:first-child {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono); /* Use monospace for stats */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark mode adjustments */
[data-theme="dark"] .network-stats-floating {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.node::after {
    content: attr(data-label);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    font-weight: 900;
    color: #ffffff;
    font-size: 12px;
}

/* Complex Network Topology - 12 Nodes */
.node:nth-child(2) { top: 100px; left: 120px; background: var(--gradient-primary); animation-delay: 0s; }
.node:nth-child(3) { top: 80px; left: 300px; background: var(--gradient-secondary); animation-delay: 0.3s; }
.node:nth-child(4) { top: 60px; right: 150px; background: var(--gradient-primary); animation-delay: 0.6s; }
.node:nth-child(5) { top: 180px; left: 80px; background: var(--gradient-secondary); animation-delay: 0.9s; }
.node:nth-child(6) { top: 200px; left: 350px; background: var(--gradient-primary); animation-delay: 1.2s; }
.node:nth-child(7) { top: 160px; right: 120px; background: var(--gradient-secondary); animation-delay: 1.5s; }
.node:nth-child(8) { top: 320px; left: 150px; background: var(--gradient-primary); animation-delay: 1.8s; }
.node:nth-child(9) { top: 300px; left: 400px; background: var(--gradient-secondary); animation-delay: 2.1s; }
.node:nth-child(10) { bottom: 120px; left: 280px; background: var(--gradient-primary); animation-delay: 2.4s; }
.node:nth-child(11) { bottom: 140px; right: 180px; background: var(--gradient-secondary); animation-delay: 2.7s; }
.node:nth-child(12) { bottom: 80px; left: 480px; background: var(--gradient-primary); animation-delay: 3s; }
.node:nth-child(13) { top: 260px; right: 250px; background: var(--gradient-secondary); animation-delay: 3.3s; }

/* Enhanced Lightning Connections - Complex Network */
.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(0, 255, 255, 0.8),
        rgba(0, 200, 255, 1),
        rgba(255, 255, 255, 1),
        rgba(0, 200, 255, 1),
        rgba(0, 255, 255, 0.8));
    border-radius: 1px;
    z-index: 5;
    opacity: 1;
    overflow: hidden;
    box-shadow:
        0 0 8px rgba(0, 255, 255, 0.8),
        0 0 16px rgba(0, 200, 255, 0.6),
        0 0 3px rgba(255, 255, 255, 0.9);
    transform-origin: left center;
    border: 0.5px solid rgba(0, 255, 255, 0.6);
}

.connection::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.4),
        transparent);
    border-radius: 2px;
    animation: lightning 3s infinite ease-in-out;
}

.connection::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    top: -1.5px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 122, 255, 0.15),
        rgba(0, 122, 255, 0.3),
        rgba(88, 86, 214, 0.3),
        rgba(88, 86, 214, 0.15),
        transparent);
    border-radius: 3px;
    animation: energyPulse 2.5s infinite ease-in-out;
    filter: blur(1px);
}

/* Complex Network Connections - 18 Edges */
.connection:nth-child(14) { top: 115px; left: 152px; width: 148px; transform: rotate(0deg); animation-delay: 0s; }
.connection:nth-child(15) { top: 95px; left: 332px; width: 218px; transform: rotate(12deg); animation-delay: 0.2s; }
.connection:nth-child(16) { top: 95px; left: 152px; width: 398px; transform: rotate(-5deg); animation-delay: 0.4s; }
.connection:nth-child(17) { top: 195px; left: 112px; width: 238px; transform: rotate(-8deg); animation-delay: 0.6s; }
.connection:nth-child(18) { top: 200px; left: 382px; width: 168px; transform: rotate(22deg); animation-delay: 0.8s; }
.connection:nth-child(19) { top: 175px; left: 382px; width: 168px; transform: rotate(-25deg); animation-delay: 1s; }
.connection:nth-child(20) { top: 335px; left: 182px; width: 218px; transform: rotate(-8deg); animation-delay: 1.2s; }
.connection:nth-child(21) { top: 315px; left: 432px; width: 128px; transform: rotate(35deg); animation-delay: 1.4s; }
.connection:nth-child(22) { top: 275px; left: 280px; width: 220px; transform: rotate(15deg); animation-delay: 1.6s; }
.connection:nth-child(23) { top: 460px; left: 312px; width: 168px; transform: rotate(-18deg); animation-delay: 1.8s; }
.connection:nth-child(24) { top: 480px; left: 512px; width: 108px; transform: rotate(-45deg); animation-delay: 2s; }
.connection:nth-child(25) { top: 140px; left: 112px; width: 108px; transform: rotate(68deg); animation-delay: 2.2s; }
.connection:nth-child(26) { top: 380px; left: 112px; width: 168px; transform: rotate(-52deg); animation-delay: 2.4s; }
.connection:nth-child(27) { top: 280px; left: 152px; width: 248px; transform: rotate(42deg); animation-delay: 2.6s; }
.connection:nth-child(28) { top: 240px; left: 480px; width: 128px; transform: rotate(75deg); animation-delay: 2.8s; }
.connection:nth-child(29) { top: 420px; left: 400px; width: 180px; transform: rotate(-35deg); animation-delay: 3s; }
.connection:nth-child(30) { top: 160px; left: 300px; width: 128px; transform: rotate(85deg); animation-delay: 3.2s; }
.connection:nth-child(31) { top: 380px; left: 280px; width: 200px; transform: rotate(-65deg); animation-delay: 3.4s; }/* Enhanced Payment Animation - Following Exact Edge Paths */
.payment {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    z-index: 15;
    box-shadow:
        0 0 15px rgba(255, 149, 0, 0.9),
        0 0 30px rgba(255, 149, 0, 0.5),
        0 0 45px rgba(255, 149, 0, 0.2);
    animation: paymentFlow 8s infinite linear;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
}

.payment::before {
    content: 'CKB';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 5px;
    font-weight: 900;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.5px;
}

.payment::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 149, 0, 0.9),
        rgba(255, 149, 0, 0.6),
        rgba(255, 149, 0, 0.3),
        transparent);
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-radius: 1px;
    animation: trailEffect 1.5s infinite ease-out;
    box-shadow: 0 0 8px rgba(255, 149, 0, 0.6);
}

/* Payment Flows Following Specific Connection Edges */
.payment:nth-child(32) {
    /* Following edge A to B */
    top: 108px; left: 166px;
    animation: paymentFlowAB 8s infinite linear;
    animation-delay: 0s;
}

.payment:nth-child(33) {
    /* Following edge A to C */
    top: 140px; left: 130px;
    animation: paymentFlowAC 8s infinite linear;
    animation-delay: 1.5s;
}

.payment:nth-child(34) {
    /* Following edge B to D */
    top: 135px; left: 366px;
    animation: paymentFlowBD 8s infinite linear;
    animation-delay: 3s;
}

.payment:nth-child(35) {
    /* Following edge C to E */
    top: 250px; left: 145px;
    animation: paymentFlowCE 8s infinite linear;
    animation-delay: 4.5s;
}

.payment:nth-child(36) {
    /* Following edge D to F */
    top: 230px; left: 365px;
    animation: paymentFlowDF 8s infinite linear;
    animation-delay: 6s;
}

.payment:nth-child(37) {
    /* Following edge E to F */
    top: 295px; left: 195px;
    animation: paymentFlowEF 8s infinite linear;
    animation-delay: 1s;
}

.payment:nth-child(38) {
    /* Following edge B to G */
    top: 115px; left: 325px;
    animation: paymentFlowBG 8s infinite linear;
    animation-delay: 2.5s;
}

.payment:nth-child(39) {
    /* Following edge A to G */
    top: 125px; left: 166px;
    animation: paymentFlowAG 8s infinite linear;
    animation-delay: 4s;
}

.payment:nth-child(40) {
    /* Following edge G to D */
    top: 170px; left: 316px;
    animation: paymentFlowGD 8s infinite linear;
    animation-delay: 5.5s;
}

.payment:nth-child(41) {
    /* Following edge C to H */
    top: 275px; left: 118px;
    animation: paymentFlowCH 8s infinite linear;
    animation-delay: 7s;
}

.payment:nth-child(16) {
    top: 210px;
    left: 160px;
    animation-delay: 4s;
    --path-length: 280px;
    --path-angle: -25deg;
}

/* Enhanced Connection Animation */
.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #007AFF, #5856D6, transparent);
    border-radius: 2px;
    z-index: 5;
    opacity: 0.6;
    overflow: hidden;
}

.connection::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    border-radius: 2px;
    animation: lightning 3s infinite ease-in-out;
}

.connection::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    top: -1px;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.3), transparent);
    border-radius: 2px;
    animation: energyPulse 2s infinite ease-in-out;
}

/* Network Health Indicators */
.node {
    position: relative;
}

.node.active {
    animation: activeNode 1.5s infinite ease-in-out;
}

.node.processing {
    animation: processingNode 0.8s infinite ease-in-out;
}

/* Enhanced Animations */
@keyframes trailEffect {
    0% {
        opacity: 1;
        width: 30px;
    }
    100% {
        opacity: 0;
        width: 10px;
    }
}

@keyframes energyPulse {
    0%, 100% {
        opacity: 0;
        transform: scaleY(0.5);
    }
    50% {
        opacity: 0.6;
        transform: scaleY(1.5);
    }
}

@keyframes activeNode {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 122, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 122, 255, 0.8), 0 0 60px rgba(88, 86, 214, 0.4);
    }
}

@keyframes processingNode {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.15);
        filter: brightness(1.3);
    }
}

@keyframes lightning {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Animations */
@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 122, 255, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(0, 122, 255, 0.6);
    }
}

@keyframes nodeGlow {
    0% {
        filter: brightness(1) saturate(1);
        transform: scale(1);
    }
    100% {
        filter: brightness(1.2) saturate(1.3);
        transform: scale(1.05);
    }
}

/* Add floating particles effect */
.network-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(3px 3px at 20% 30%, rgba(0, 122, 255, 0.4), transparent),
        radial-gradient(3px 3px at 40% 70%, rgba(88, 86, 214, 0.4), transparent),
        radial-gradient(2px 2px at 90% 40%, rgba(255, 149, 0, 0.4), transparent),
        radial-gradient(2px 2px at 60% 90%, rgba(0, 122, 255, 0.4), transparent),
        radial-gradient(1px 1px at 15% 80%, rgba(88, 86, 214, 0.3), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(255, 149, 0, 0.3), transparent);
    animation: floatParticles 8s infinite ease-in-out;
    pointer-events: none;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-8px) rotate(180deg) scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.2);
        opacity: 0.6;
    }
}

/* Enhanced Lightning Grid Background */
.network-animation::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0, 122, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 122, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 20s infinite linear;
    opacity: 0.3;
}

/* Network Stats Overlay */
.network-stats {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    font-size: 12px;
    color: var(--primary-color);
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.network-stats .stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-weight: 500;
}

.network-stats .stat:last-child {
    margin-bottom: 0;
}

.stat-value {
    color: var(--accent-color);
    font-weight: 600;
}

/* Node Labels */
.node-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Enhanced payment animation with trail effect */
.payment {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    z-index: 15;
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.8);
    animation: paymentFlow 4s infinite linear;
}

.payment::before {
    content: '₿';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8px;
    font-weight: bold;
}

.payment::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 149, 0, 0.6), transparent);
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-radius: 1px;
}

/* Hub Nodes (Large) */
.hub-node {
    width: 48px !important;
    height: 48px !important;
    font-size: 14px !important;
    background: radial-gradient(circle,
        rgba(0, 200, 255, 0.9) 0%,
        rgba(0, 150, 255, 0.7) 70%,
        rgba(0, 100, 255, 0.5) 100%) !important;
    box-shadow:
        0 0 30px rgba(0, 200, 255, 0.8),
        0 0 60px rgba(0, 200, 255, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.3) !important;
    animation-delay: 0s;
}

/* Secondary Nodes (Medium) */
.secondary-node {
    width: 28px !important;
    height: 28px !important;
    font-size: 10px !important;
    background: radial-gradient(circle,
        rgba(100, 200, 255, 0.8) 0%,
        rgba(50, 150, 255, 0.6) 70%,
        rgba(0, 100, 255, 0.4) 100%) !important;
    box-shadow:
        0 0 20px rgba(100, 200, 255, 0.6),
        0 0 40px rgba(100, 200, 255, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.2) !important;
    animation-delay: 0.5s;
}

/* Edge Nodes (Small) */
.edge-node {
    width: 16px !important;
    height: 16px !important;
    font-size: 0px !important;
    background: radial-gradient(circle,
        rgba(150, 220, 255, 0.7) 0%,
        rgba(100, 180, 255, 0.5) 70%,
        rgba(50, 140, 255, 0.3) 100%) !important;
    box-shadow:
        0 0 12px rgba(150, 220, 255, 0.5),
        0 0 24px rgba(150, 220, 255, 0.2),
        inset 0 0 8px rgba(255, 255, 255, 0.3) !important;
    animation-delay: 1s;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* Micro Nodes (Very Small) */
.micro-node {
    width: 10px !important;
    height: 10px !important;
    font-size: 0px !important;
    background: radial-gradient(circle,
        rgba(200, 240, 255, 0.6) 0%,
        rgba(150, 200, 255, 0.4) 70%,
        rgba(100, 160, 255, 0.2) 100%) !important;
    box-shadow:
        0 0 8px rgba(200, 240, 255, 0.4),
        0 0 16px rgba(200, 240, 255, 0.2) !important;
    animation-delay: 1.5s;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* Connection Web System */
.connection-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* Major Connections (Hub to Hub) */
.major-connection {
    height: 3px !important;
    background: linear-gradient(90deg,
        rgba(0, 255, 255, 0.9),
        rgba(255, 255, 255, 1),
        rgba(0, 255, 255, 0.9)) !important;
    box-shadow:
        0 0 12px rgba(0, 255, 255, 0.8),
        0 0 24px rgba(0, 255, 255, 0.4),
        0 0 3px rgba(255, 255, 255, 0.9) !important;
    animation: lightningFlow 1.5s infinite ease-in-out;
}

/* Minor Connections */
.minor-connection {
    height: 1.5px !important;
    background: linear-gradient(90deg,
        rgba(100, 255, 255, 0.6),
        rgba(200, 255, 255, 0.8),
        rgba(100, 255, 255, 0.6)) !important;
    box-shadow:
        0 0 8px rgba(100, 255, 255, 0.5),
        0 0 16px rgba(100, 255, 255, 0.2) !important;
    animation: lightningFlow 2s infinite ease-in-out;
    animation-delay: 0.5s;
}

/* Micro Connections */
.micro-connection {
    height: 1px !important;
    background: linear-gradient(90deg,
        rgba(150, 255, 255, 0.4),
        rgba(220, 255, 255, 0.6),
        rgba(150, 255, 255, 0.4)) !important;
    box-shadow:
        0 0 4px rgba(150, 255, 255, 0.3) !important;
    animation: lightningFlow 2.5s infinite ease-in-out;
    animation-delay: 1s;
}

/* Particle System */
.particle-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(0, 255, 255, 0.8) 100%);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.particle:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { top: 30%; left: 15%; animation-delay: 2s; animation-duration: 10s; }
.particle:nth-child(3) { top: 50%; left: 25%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(4) { top: 70%; left: 35%; animation-delay: 6s; animation-duration: 11s; }
.particle:nth-child(5) { top: 20%; left: 85%; animation-delay: 1s; animation-duration: 13s; }
.particle:nth-child(6) { top: 40%; left: 75%; animation-delay: 3s; animation-duration: 9s; }
.particle:nth-child(7) { top: 60%; left: 65%; animation-delay: 5s; animation-duration: 15s; }
.particle:nth-child(8) { top: 80%; left: 55%; animation-delay: 7s; animation-duration: 8s; }
.particle:nth-child(9) { top: 90%; left: 45%; animation-delay: 8s; animation-duration: 16s; }
.particle:nth-child(10) { top: 10%; left: 95%; animation-delay: 9s; animation-duration: 7s; }

/* Payment Flow Container */
.payment-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
}

/* Particle Animation */
@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translate(20px, -10px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(350px, -50px) scale(1.2);
    }
    90% {
        opacity: 0.6;
        transform: translate(650px, -80px) scale(0.8);
    }
}

/* Specific Payment Path Animations Following Exact Edges */
@keyframes paymentFlowAB {
    /* A (150,100) to B (350,80) - horizontal with slight upward */
    0% { transform: translate(0px, 0px) rotate(-5deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(-5deg) scale(1); }
    95% { opacity: 1; transform: translate(200px, 0px) rotate(-5deg) scale(1); }
    100% { transform: translate(200px, 0px) rotate(-5deg) scale(0.3); opacity: 0; }
}

@keyframes paymentFlowAC {
    /* A (150,100) to C (110,180) - diagonal down-left */
    0% { transform: translate(0px, 0px) rotate(64deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(64deg) scale(1); }
    95% { opacity: 1; transform: translate(89px, 0px) rotate(64deg) scale(1); }
    100% { transform: translate(89px, 0px) rotate(64deg) scale(0.3); opacity: 0; }
}

@keyframes paymentFlowBD {
    /* B (350,80) to D (380,190) - diagonal down-right */
    0% { transform: translate(0px, 0px) rotate(72deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(72deg) scale(1); }
    95% { opacity: 1; transform: translate(110px, 0px) rotate(72deg) scale(1); }
    100% { transform: translate(110px, 0px) rotate(72deg) scale(0.3); opacity: 0; }
}

@keyframes paymentFlowCE {
    /* C (110,180) to E (180,320) - diagonal down-right */
    0% { transform: translate(0px, 0px) rotate(45deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(45deg) scale(1); }
    95% { opacity: 1; transform: translate(158px, 0px) rotate(45deg) scale(1); }
    100% { transform: translate(158px, 0px) rotate(45deg) scale(0.3); opacity: 0; }
}

@keyframes paymentFlowDF {
    /* D (380,190) to F (350,270) - down-left */
    0% { transform: translate(0px, 0px) rotate(111deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(111deg) scale(1); }
    95% { opacity: 1; transform: translate(85px, 0px) rotate(111deg) scale(1); }
    100% { transform: translate(85px, 0px) rotate(111deg) scale(0.3); opacity: 0; }
}

@keyframes paymentFlowEF {
    /* E (180,320) to F (350,270) - horizontal with slight up */
    0% { transform: translate(0px, 0px) rotate(-17deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(-17deg) scale(1); }
    95% { opacity: 1; transform: translate(180px, 0px) rotate(-17deg) scale(1); }
    100% { transform: translate(180px, 0px) rotate(-17deg) scale(0.3); opacity: 0; }
}

@keyframes paymentFlowBG {
    /* B (350,80) to G (300,150) - down-left */
    0% { transform: translate(0px, 0px) rotate(125deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(125deg) scale(1); }
    95% { opacity: 1; transform: translate(78px, 0px) rotate(125deg) scale(1); }
    100% { transform: translate(78px, 0px) rotate(125deg) scale(0.3); opacity: 0; }
}

@keyframes paymentFlowAG {
    /* A (150,100) to G (300,150) - diagonal down-right */
    0% { transform: translate(0px, 0px) rotate(18deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(18deg) scale(1); }
    95% { opacity: 1; transform: translate(158px, 0px) rotate(18deg) scale(1); }
    100% { transform: translate(158px, 0px) rotate(18deg) scale(0.3); opacity: 0; }
}

@keyframes paymentFlowGD {
    /* G (300,150) to D (380,190) - diagonal down-right */
    0% { transform: translate(0px, 0px) rotate(27deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(27deg) scale(1); }
    95% { opacity: 1; transform: translate(89px, 0px) rotate(27deg) scale(1); }
    100% { transform: translate(89px, 0px) rotate(27deg) scale(0.3); opacity: 0; }
}

@keyframes paymentFlowCH {
    /* C (110,180) to H (110,370) - vertical down */
    0% { transform: translate(0px, 0px) rotate(90deg) scale(0.3); opacity: 0; }
    5% { opacity: 1; transform: translate(0px, 0px) rotate(90deg) scale(1); }
    95% { opacity: 1; transform: translate(190px, 0px) rotate(90deg) scale(1); }
    100% { transform: translate(190px, 0px) rotate(90deg) scale(0.3); opacity: 0; }
}

/* Complex Multi-Hop Payment Flow Animations */
@keyframes hubToHubFlow1 {
    0% {
        transform: translate(0px, 0px) scale(0.8);
        opacity: 0;
        box-shadow: 0 0 20px rgba(255, 200, 0, 0.5);
    }
    5% {
        opacity: 1;
        transform: translate(0px, 0px) scale(1);
        box-shadow: 0 0 30px rgba(255, 200, 0, 0.8);
    }
    25% {
        transform: translate(75px, -25px) scale(1.1);
        box-shadow: 0 0 40px rgba(255, 200, 0, 1);
    }
    50% {
        transform: translate(150px, -50px) scale(1.2);
        box-shadow: 0 0 50px rgba(255, 200, 0, 1);
    }
    75% {
        transform: translate(225px, -75px) scale(1.1);
        box-shadow: 0 0 35px rgba(255, 200, 0, 0.8);
    }
    95% {
        opacity: 1;
        transform: translate(300px, -100px) scale(1);
        box-shadow: 0 0 25px rgba(255, 200, 0, 0.6);
    }
    100% {
        transform: translate(300px, -100px) scale(0.3);
        opacity: 0;
        box-shadow: 0 0 10px rgba(255, 200, 0, 0.2);
    }
}

@keyframes hubToHubFlow2 {
    0% {
        transform: translate(0px, 0px) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translate(0px, 0px) scale(1);
    }
    20% {
        transform: translate(-50px, 20px) scale(1.1);
    }
    40% {
        transform: translate(-100px, 40px) scale(1.2);
    }
    60% {
        transform: translate(-150px, 60px) scale(1.2);
    }
    80% {
        transform: translate(-200px, 80px) scale(1.1);
    }
    95% {
        opacity: 1;
        transform: translate(-250px, 100px) scale(1);
    }
    100% {
        transform: translate(-250px, 100px) scale(0.3);
        opacity: 0;
    }
}

@keyframes hubToSecondaryFlow {
    0% {
        transform: translate(0px, 0px) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translate(0px, 0px) scale(1);
    }
    30% {
        transform: translate(25px, -40px) scale(1.1);
    }
    60% {
        transform: translate(50px, -80px) scale(1.2);
    }
    90% {
        opacity: 1;
        transform: translate(75px, -120px) scale(1);
    }
    100% {
        transform: translate(75px, -120px) scale(0.3);
        opacity: 0;
    }
}

@keyframes secondaryToEdgeFlow {
    0% {
        transform: translate(0px, 0px) scale(0.8) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translate(0px, 0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(40px, 10px) scale(1.1) rotate(15deg);
    }
    50% {
        transform: translate(80px, 20px) scale(1.2) rotate(30deg);
    }
    75% {
        transform: translate(120px, 30px) scale(1.1) rotate(45deg);
    }
    95% {
        opacity: 1;
        transform: translate(160px, 40px) scale(1) rotate(60deg);
    }
    100% {
        transform: translate(180px, 50px) scale(0.3) rotate(70deg);
        opacity: 0;
    }
}

@keyframes complexMultiHopFlow {
    0% {
        transform: translate(0px, 0px) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translate(0px, 0px) scale(1);
    }
    15% {
        transform: translate(-30px, -20px) scale(1.05);
    }
    30% {
        transform: translate(-60px, -40px) scale(1.1);
    }
    45% {
        transform: translate(-90px, -30px) scale(1.15);
    }
    60% {
        transform: translate(-120px, -20px) scale(1.2);
    }
    75% {
        transform: translate(-150px, -10px) scale(1.15);
    }
    90% {
        opacity: 1;
        transform: translate(-180px, 0px) scale(1.05);
    }
    100% {
        transform: translate(-200px, 10px) scale(0.3);
        opacity: 0;
    }
}

@keyframes enhancedTrailEffect {
    0% {
        opacity: 1;
        width: 20px;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 200, 0, 0.5),
            transparent);
    }
    30% {
        opacity: 1;
        width: 40px;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 200, 0, 1),
            rgba(255, 150, 0, 0.8),
            rgba(255, 100, 0, 0.4),
            transparent);
    }
    70% {
        opacity: 0.8;
        width: 60px;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 200, 0, 0.8),
            rgba(255, 150, 0, 0.6),
            rgba(255, 100, 0, 0.3),
            transparent);
    }
    100% {
        opacity: 0;
        width: 80px;
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 200, 0, 0.3),
            transparent);
    }
}

@keyframes complexPaymentFlow {
    0% {
        transform: scale(0.5);
        opacity: 0;
        filter: brightness(0.5) blur(2px);
    }
    5% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1.2) blur(0px);
    }
    50% {
        filter: brightness(1.5) blur(0px);
    }
    95% {
        opacity: 1;
        filter: brightness(1.2) blur(0px);
    }
    100% {
        transform: scale(0.3);
        opacity: 0;
        filter: brightness(0.5) blur(2px);
    }
}

/* Responsive network animation */
@media (max-width: 768px) {
    .network-animation {
        width: 100%;
        max-width: 500px;
        height: 400px;
    }

    .node {
        width: 35px;
        height: 35px;
        font-size: 9px;
    }

    .payment {
        width: 20px;
        height: 20px;
    }

    .payment::before {
        font-size: 6px;
    }

    .network-stats {
        font-size: 10px;
        padding: 8px;
    }

    .connection {
        height: 3px;
    }

    /* Responsive hybrid feature icons */
    .hybrid-feature-icon {
        max-width: 90%;
        padding: 10px;
        margin: 0 auto 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .hero {
        padding: 80px 16px 40px;
    }

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

    .hero-subtitle h2 {
        font-size: 24px;
    }

    .hero-subtitle p {
        font-size: 16px;
    }

    .features h2,
    .comparison h2,
    .hybrid-network h2,
    .community h2,
    .how-it-works h2 {
        font-size: 32px;
    }

    .feature-card {
        padding: 24px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px;
        font-size: 14px;
    }

    /* 小屏幕步骤图片优化 */
    .step-image {
        max-width: 100% !important;
        height: auto !important;
        max-height: 250px !important;
        margin-bottom: 24px !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 12px !important;
    }

    .step h3 {
        font-size: 20px !important;
        margin-bottom: 24px !important;
    }

    .step p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .steps-container {
        padding: 0 8px !important;
        min-height: 450px !important;
    }

    .milestones h2,
    .faq h2 {
        font-size: 32px !important;
        margin-bottom: 40px !important;
    }

    .milestones-timeline::before {
        left: 10px !important;
    }

    .milestone {
        padding-left: 40px !important;
        margin-bottom: 32px !important;
    }

    .milestone-content {
        padding: 20px !important;
    }

    .milestone-content h3 {
        font-size: 18px !important;
    }

    .faq-item {
        padding: 20px 0 !important;
    }

    /* Responsive hybrid feature icons */
    .hybrid-feature-icon {
        max-width: 90%;
        padding: 8px;
        margin: 0 auto 12px;
    }
}

@media (min-width: 1200px) {
    .hybrid-feature-icon {
        max-width: 90%;
        padding: 16px;
        margin: 0 auto 24px;
    }
}

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--section-bg-2);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="dark"] .how-it-works {
    background: var(--section-bg-2);
}

.how-it-works h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 80px;
    color: var(--text-primary);
}

.steps-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.step {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
}

.step.active {
    display: flex;
}

.step h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--primary-color);
}

.step-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--border-radius-large);
    margin-bottom: 32px;
    box-shadow: var(--shadow-light);
    display: block;
}

.step p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.step-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: auto;
    padding-top: 48px;
}

.prev-btn, .next-btn {
    background: var(--card-background);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Dark mode enhancements for prev/next buttons */
@media (prefers-color-scheme: dark) {
    .prev-btn, .next-btn {
        background: rgba(56, 56, 58, 0.8);
        border-color: rgba(98, 98, 102, 0.6);
    }

    .prev-btn:hover, .next-btn:hover {
        background: rgba(56, 56, 58, 1);
        border-color: var(--primary-color);
    }

    .prev-btn img, .next-btn img {
        filter: invert(1) brightness(0.9);
    }
}

[data-theme="dark"] .prev-btn,
[data-theme="dark"] .next-btn {
    background: rgba(56, 56, 58, 0.8);
    border-color: rgba(98, 98, 102, 0.6);
}

[data-theme="dark"] .prev-btn:hover,
[data-theme="dark"] .next-btn:hover {
    background: rgba(56, 56, 58, 1);
    border-color: var(--primary-color);
}

[data-theme="dark"] .prev-btn img,
[data-theme="dark"] .next-btn img {
    filter: invert(1) brightness(0.9);
}

.prev-btn img, .next-btn img {
    width: 20px;
    height: 20px;
}

.step-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--section-bg-1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .features {
    background: var(--section-bg-1);
}

.features h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 80px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color); /* Added border */
}

.feature-card:hover {
    transform: translateY(-4px); /* Reduced movement */
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color); /* Highlight border on hover */
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.highlight {
    background: var(--gradient-secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Comparison Section */
.comparison {
    padding: 100px 0;
    background: var(--section-bg-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .comparison {
    background: var(--section-bg-2);
}

.comparison h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 80px;
    color: var(--text-primary);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
       background: var(--card-background);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.comparison-table td {
    font-size: 16px;
    color: var(--text-primary);
}

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

.comparison-table td:first-child {
    font-weight: 600;
    text-align: left;
    background: var(--background-light);
}

/* Hybrid Network Section */
.hybrid-network {
    padding: 100px 0;
    background: var(--section-bg-3);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .hybrid-network {
    background: var(--section-bg-3);
    color: var(--text-primary);
}

.hybrid-network h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hybrid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.hybrid-feature {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .hybrid-feature {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

[data-theme="light"] .hybrid-feature:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.hybrid-feature h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hybrid-feature p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hybrid-feature a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.hybrid-feature a:hover {
    text-decoration: underline;
}

/* Hybrid feature icons */
.hybrid-feature-icon {
    max-width: 95%;
    margin: 0 auto 20px;
    display: block;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    object-fit: contain;
}

[data-theme="light"] .hybrid-feature-icon {
    background-color: rgba(0, 0, 0, 0.05);
}

.hybrid-feature-icon:hover {
    transform: translateY(-5px);
}

/* Dark mode icon adjustments */
[data-theme="dark"] .hybrid-feature-icon {
    background-color: rgba(255, 255, 255, 0.05);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .hybrid-feature-icon {
        background-color: rgba(255, 255, 255, 0.05);
    }
}

/* Community Section */
.community {
    padding: 100px 0;
    background: var(--section-bg-1);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="dark"] .community {
    background: var(--section-bg-1);
}

.community h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--card-background);
    border-radius: 50%;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.social-link img {
    width: 32px;
    height: 32px;
}

/* GitHub icon theming */
.social-link img[alt="GitHub"] {
    filter: invert(1); /* White in light mode */
}

/* Dark mode fix for social icons */
@media (prefers-color-scheme: dark) {
    .social-link img[alt="GitHub"] {
        filter: invert(0); /* Black in dark mode */
    }
}

[data-theme="dark"] .social-link img[alt="GitHub"] {
    filter: invert(0); /* Black in dark mode */
}

[data-theme="light"] .social-link img[alt="GitHub"] {
    filter: invert(1); /* White in light mode */
}

/* Twitter icon theming */
.social-link img[alt="Twitter"] {
    filter: none; /* Default Twitter blue color */
}

/* Dark mode fix for Twitter icon */
@media (prefers-color-scheme: dark) {
    .social-link img[alt="Twitter"] {
        filter: invert(1) brightness(0.9); /* White in dark mode */
    }
}

[data-theme="dark"] .social-link img[alt="Twitter"] {
    filter: invert(1) brightness(0.9); /* White in dark mode */
}

[data-theme="light"] .social-link img[alt="Twitter"] {
    filter: none; /* Default color in light mode */
}

/* Milestones Section */
.milestones {
    padding: 100px 0;
    background: var(--section-bg-2);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
}

[data-theme="dark"] .milestones {
    background: var(--section-bg-2);
}

/* Milestones background pattern for light mode */
.milestones::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, rgba(99, 102, 241, 0.02) 25%, transparent 25%, transparent 75%, rgba(99, 102, 241, 0.02) 75%);
    background-size: 200px 200px, 180px 180px, 40px 40px;
    background-position: 0 0, 100px 100px, 0 0;
    pointer-events: none;
    z-index: 0;
}

/* Dark mode background pattern for milestones */
[data-theme="dark"] .milestones::before {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(99, 102, 241, 0.05) 25%, transparent 25%, transparent 75%, rgba(99, 102, 241, 0.05) 75%);
}

@media (prefers-color-scheme: dark) {
    .milestones::before {
        background-image:
            radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
            linear-gradient(45deg, rgba(99, 102, 241, 0.05) 25%, transparent 25%, transparent 75%, rgba(99, 102, 241, 0.05) 75%);
    }
}

.milestones .container {
    position: relative;
    z-index: 1;
}

.milestones h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 80px;
    color: var(--text-primary);
}

.milestones-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.milestones-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.milestone {
    position: relative;
    margin-bottom: 60px;
    padding-left: 80px;
}

.milestone-marker {
    position: absolute;
    left: -8px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    background: var(--card-background);
}

.milestone.completed .milestone-marker {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.milestone.in-progress .milestone-marker {
    background: var(--accent-color);
    border-color: var(--accent-color);
    animation: pulse 2s infinite;
}

.milestone.upcoming .milestone-marker {
    background: var(--card-background);
    border-color: var(--border-color);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.milestone-content {
    background: var(--card-background);
    padding: 32px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.milestone-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.milestone-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.milestone-status {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    display: inline-block;
}

.milestone.completed .milestone-status {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.milestone.in-progress .milestone-status {
    background: rgba(255, 149, 0, 0.1);
    color: var(--accent-color);
}

.milestone.upcoming .milestone-status {
    background: rgba(156, 163, 175, 0.1);
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--section-bg-1);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
}

[data-theme="dark"] .faq {
    background: var(--section-bg-1);
}

/* FAQ background pattern for light mode */
.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 75% 25%, rgba(168, 85, 247, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(168, 85, 247, 0.02) 0px, rgba(168, 85, 247, 0.02) 1px, transparent 1px, transparent 20px);
    background-size: 220px 220px, 200px 200px, 30px 30px;
    background-position: 0 0, 110px 110px, 0 0;
    pointer-events: none;
    z-index: 0;
}

/* Dark mode background pattern for FAQ */
[data-theme="dark"] .faq::before {
    background-image:
        radial-gradient(circle at 75% 25%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(168, 85, 247, 0.04) 0px, rgba(168, 85, 247, 0.04) 1px, transparent 1px, transparent 20px);
}

@media (prefers-color-scheme: dark) {
    .faq::before {
        background-image:
            radial-gradient(circle at 75% 25%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 25% 75%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
            repeating-linear-gradient(45deg, rgba(168, 85, 247, 0.04) 0px, rgba(168, 85, 247, 0.04) 1px, transparent 1px, transparent 20px);
    }
}

.faq .container {
    position: relative;
    z-index: 1;
}

.faq h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 80px;
    color: var(--text-primary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    opacity: 0.8;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--section-bg-3);
    color: var(--text-primary);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo img {
    height: 32px;
}

/* Footer logo theme adaptation */
@media (prefers-color-scheme: dark) {
    .footer-logo img {
        filter: brightness(0) invert(1);
    }
}

[data-theme="dark"] .footer-logo img {
    filter: brightness(0) invert(1);
}

[data-theme="light"] .footer-logo img {
    filter: none;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Show mobile theme toggle */
    .mobile-only {
        display: flex;
    }

    /* Adjust theme toggle size on mobile */
    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .theme-toggle-icon {
        width: 18px;
        height: 18px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 24px 60px;
        gap: 40px;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
    }

    .hero-visual {
        margin-top: 0;
        margin-right: 0;
    }

    .network-animation {
        width: 300px;
        height: 300px;
    }

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

    .milestones-timeline::before {
        left: 15px;
    }

    .milestone {
        padding-left: 50px;
        margin-bottom: 40px;
    }

    .milestone-marker {
        left: -8px;
    }

    .milestone-content {
        padding: 24px;
    }

    .milestone-content h3 {
        font-size: 20px;
    }

    .faq-item {
        padding: 24px 0;
    }

    .faq-item h3 {
        font-size: 18px;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .hero-cta {
        justify-content: center;
    }

    .step-controls {
        flex-wrap: wrap;
    }

    .steps-container {
        max-width: 100%;
        padding: 0 16px;
        min-height: 500px;
    }

    .step-image {
        max-width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .hero {
        padding: 80px 16px 40px;
    }

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

    .hero-subtitle h2 {
        font-size: 24px;
    }

    .hero-subtitle p {
        font-size: 16px;
    }

    .features h2,
    .comparison h2,
    .hybrid-network h2,
    .community h2,
    .how-it-works h2 {
        font-size: 32px;
    }

    .feature-card {
        padding: 24px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px;
        font-size: 14px;
    }

    /* 小屏幕步骤图片优化 */
    .step-image {
        max-width: 100% !important;
        height: auto !important;
        max-height: 250px !important;
        margin-bottom: 24px !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 12px !important;
    }

    .step h3 {
        font-size: 20px !important;
        margin-bottom: 24px !important;
    }

    .step p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .steps-container {
        padding: 0 8px !important;
        min-height: 450px !important;
    }

    .milestones h2,
    .faq h2 {
        font-size: 32px !important;
        margin-bottom: 40px !important;
    }

    .milestones-timeline::before {
        left: 10px !important;
    }

    .milestone {
        padding-left: 40px !important;
        margin-bottom: 32px !important;
    }

    .milestone-content {
        padding: 20px !important;
    }

    .milestone-content h3 {
        font-size: 18px !important;
    }

    .faq-item {
        padding: 20px 0 !important;
    }

    /* Responsive hybrid feature icons */
    .hybrid-feature-icon {
        max-width: 80%;
        padding: 8px;
        margin: 0 auto 12px;
    }
}
