/* ===== CSS Variables ===== */

/* 添加自定义光�?*/
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

/* 粒子背景 */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* 闪烁效果 */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* 打字机效�?*/
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 1.5s steps(20, end);
}

.typewriter + br + .typewriter {
    animation-delay: 1.5s;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* 脉冲动画 */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

/* 浮动动画变体 */
.float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

.float-medium {
    animation: floatMedium 5s ease-in-out infinite;
}

.float-fast {
    animation: floatFast 3s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes floatMedium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes floatFast {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

/* 扫描线效�?*/
.scanline {
    position: relative;
    overflow: hidden;
}

.scanline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanline 3s linear infinite;
    opacity: 0.5;
}

@keyframes scanline {
    0% { top: 0; }
    100% { top: 100%; }
}

/* 光晕边框效果 */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    border-radius: inherit;
    z-index: -1;
    animation: glowRotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.glow-border:hover::before {
    opacity: 1;
}

@keyframes glowRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* 3D卡片效果 */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.tilt-card .tilt-content {
    transform: translateZ(20px);
}

/* 数字计数动画 */
.count-up {
    display: inline-block;
}

/* 渐入动画变体 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 0.8s ease forwards;
}

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

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

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 延迟�?*/
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* 旋转动画 */
.spin-slow {
    animation: spin 20s linear infinite;
}

.spin-medium {
    animation: spin 10s linear infinite;
}

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

/* 弹跳动画 */
.bounce-in {
    animation: bounceIn 0.8s ease forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 摇晃动画 */
.shake:hover {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* 呼吸灯效�?*/
.breathe {
    animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { box-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary); }
    50% { box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary); }
}

/* 图标弹跳 */
.icon-bounce:hover svg,
.icon-bounce:hover .feature-icon {
    animation: iconBounce 0.6s ease;
}

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

/* 文字渐变动画 */
.text-gradient-animate {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 霓虹灯效�?*/
.neon {
    text-shadow:
        0 0 5px var(--primary),
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 40px var(--primary);
    animation: neonFlicker 2s ease-in-out infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* 波浪动画 */
.wave {
    position: relative;
}

.wave::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* 彩虹边框 */
.rainbow-border {
    position: relative;
}

.rainbow-border::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: conic-gradient(from 0deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
    border-radius: inherit;
    z-index: -1;
    animation: rainbowRotate 3s linear infinite;
}

@keyframes rainbowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 模糊淡入 */
.blur-in {
    filter: blur(10px);
    opacity: 0;
    animation: blurIn 1s ease forwards;
}

@keyframes blurIn {
    to {
        filter: blur(0);
        opacity: 1;
    }
}

/* 翻转卡片效果 */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* 数据流动�?*/
.data-flow {
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    background-size: 200% 100%;
    animation: dataFlow 2s linear infinite;
}

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

/* 鼠标悬停光效 */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4), 0 0 60px rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
}

/* 玻璃拟态效果增�?*/
.glass {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 星星闪烁 */
.twinkle {
    animation: twinkle 1.5s ease-in-out infinite;
}

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

/* 弹性悬�?*/
.elastic-hover {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.elastic-hover:hover {
    transform: scale(1.1);
}

/* 滑动进入 */
.slide-in-bottom {
    animation: slideInBottom 0.8s ease forwards;
}

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

/* 磁性按钮效�?*/
.magnetic-btn {
    transition: transform 0.2s ease;
}

/* 故障效果 */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch1 0.3s infinite linear alternate-reverse;
    color: #ff0080;
    z-index: -1;
}

.glitch::after {
    animation: glitch2 0.3s infinite linear alternate-reverse;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch1 {
    0% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 0); }
    100% { clip-path: inset(50% 0 20% 0); transform: translate(2px, 0); }
}

@keyframes glitch2 {
    0% { clip-path: inset(40% 0 40% 0); transform: translate(2px, 0); }
    100% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 0); }
}

/* 按钮波纹效果 */
@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* 粒子爆发效果 */
@keyframes particleBurst {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* 火花效果 */
@keyframes sparkle {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    100% { transform: scale(1.5) rotate(180deg); opacity: 0; }
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;

    --bg-dark: #0f172a;
    --bg-dark-light: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: #334155;
    --border-light: #475569;

    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;

    --container-max: 1200px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

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

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

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-white {
    background: white;
    color: var(--primary);
    font-weight: 600;
}

.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
}

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

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

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

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

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100); /* Mobile viewport fix */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 40px) 0 80px;
    overflow: hidden;
}

/* Mobile background fallback */
@media (max-width: 768px) {
    .hero {
        background: radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                    radial-gradient(ellipse at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 30%;
    animation: float 18s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 32px;
}

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

@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 24px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 20px;
    }
    
    .hero-stats .stat-number {
        font-size: 24px;
    }
    
    .hero-stats .stat-label {
        font-size: 12px;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

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

/* Hero Dashboard Preview */
.hero-image {
    perspective: 1000px;
}

.dashboard-preview {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(99, 102, 241, 0.2);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
    animation: dashboardFloat 6s ease-in-out infinite;
}

.dashboard-preview:hover {
    transform: rotateY(0) rotateX(0);
}

@keyframes dashboardFloat {
    0%, 100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(5deg) translateY(-10px); }
}

/* Mobile dashboard preview - simplified */
@media (max-width: 768px) {
    .dashboard-preview {
        transform: none;
        animation: none;
        box-shadow: var(--shadow-lg);
    }

    .dashboard-preview:hover {
        transform: none;
    }

    .dashboard-content {
        min-height: 300px;
    }
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
}

.window-dots span:nth-child(1) { background: #f43f5e; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.dashboard-title {
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 160px 1fr;
    min-height: 400px;
}

.sidebar {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 12px;
    border-right: 1px solid var(--border);
}

.sidebar-item {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.sidebar-item.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

.main-panel {
    padding: 16px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.panel-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-tag {
    padding: 4px 10px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-secondary);
}

.token-list {
    margin-bottom: 16px;
}

.token-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    animation: tokenSlide 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.token-item:nth-child(1) { animation-delay: 0.2s; }
.token-item:nth-child(2) { animation-delay: 0.4s; }
.token-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes tokenSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.token-status.active {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 5px var(--success); }
    50% { box-shadow: 0 0 15px var(--success), 0 0 25px var(--success); }
}

.token-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.token-status.active { background: var(--success); box-shadow: 0 0 8px var(--success); }
.token-status.inactive { background: var(--text-muted); }

.token-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.token-name {
    font-size: 13px;
    font-weight: 500;
}

.token-status-text {
    font-size: 11px;
    color: var(--text-muted);
}

.token-stats {
    font-size: 11px;
    color: var(--text-secondary);
}

.log-panel {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius);
    overflow: hidden;
}

.log-header {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.log-content {
    padding: 8px;
}

.log-item {
    display: flex;
    gap: 10px;
    padding: 6px 8px;
    font-size: 11px;
    border-radius: var(--radius-sm);
    animation: logSlide 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-10px);
}

.log-item:nth-child(1) { animation-delay: 0.1s; }
.log-item:nth-child(2) { animation-delay: 0.3s; }
.log-item:nth-child(3) { animation-delay: 0.5s; }

@keyframes logSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.log-time {
    color: var(--text-muted);
    font-family: monospace;
}

.log-msg {
    color: var(--text-secondary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-muted);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

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

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

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

/* ===== Trusted By ===== */
.trusted-by {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
}

.trusted-title {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.logo-item {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.9;
    transition: var(--transition);
    animation: logoFloat 4s ease-in-out infinite;
    padding: 12px 24px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius);
    min-width: 120px;
    text-align: center;
}

.logo-item:nth-child(1) { animation-delay: 0s; }
.logo-item:nth-child(2) { animation-delay: 0.5s; }
.logo-item:nth-child(3) { animation-delay: 1s; }
.logo-item:nth-child(4) { animation-delay: 1.5s; }
.logo-item:nth-child(5) { animation-delay: 2s; }
.logo-item:nth-child(6) { animation-delay: 2.5s; }
.logo-item:nth-child(7) { animation-delay: 3s; }

.logo-item:hover {
    opacity: 1;
    color: var(--primary-light);
    transform: translateY(-5px);
    animation: none;
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

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

@media (max-width: 768px) {
    .trusted-by {
        padding: 60px 0;
    }
    
    .trusted-logos {
        gap: 16px;
    }
    
    .logo-item {
        font-size: 16px;
        padding: 10px 18px;
        min-width: 100px;
    }
}

/* ===== Section Common ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.feature-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2), 0 0 60px rgba(99, 102, 241, 0.1);
}

.feature-card:hover .feature-icon {
    animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.feature-icon {
    margin-bottom: 20px;
}

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

.feature-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.feature-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.step-card:hover::before {
    left: 100%;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.step-card:hover .step-number {
    animation: numberPulse 0.6s ease;
}

.step-card:hover .step-image {
    animation: iconBounce 0.6s ease;
}

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

.step-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

.step-image {
    font-size: 48px;
    margin-top: 20px;
}

.step-arrow {
    color: var(--border-light);
    animation: arrowFlow 2s ease-in-out infinite;
}

@keyframes arrowFlow {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(10px); opacity: 1; }
}

@media (max-width: 1024px) {
    .step-arrow {
        transform: rotate(90deg);
        animation: arrowFlowVertical 2s ease-in-out infinite;
    }

    @keyframes arrowFlowVertical {
        0%, 100% { transform: rotate(90deg) translateX(0); opacity: 0.5; }
        50% { transform: rotate(90deg) translateX(10px); opacity: 1; }
    }
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 0;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.stat-card:hover::after {
    width: 200%;
    height: 200%;
}

.stat-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.stat-card:hover .stat-icon {
    animation: iconSpin 0.6s ease;
}

.stat-card:hover .stat-value {
    animation: valueGlow 0.6s ease;
}

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

@keyframes valueGlow {
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 20px rgba(99, 102, 241, 0.8); }
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(244, 63, 94, 0.03) 50%, transparent 100%);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--border-light);
}

.testimonial-card:hover .author-avatar {
    animation: avatarPulse 0.6s ease;
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px var(--primary); }
}

.testimonial-stars {
    font-size: 16px;
    margin-bottom: 16px;
}

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

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Pricing ===== */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.15);
}

.pricing-card:hover .price {
    animation: pricePulse 0.5s ease;
}

@keyframes pricePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
    animation: popularPulse 3s ease-in-out infinite;
    padding-top: 44px;
}

@keyframes popularPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 60px rgba(99, 102, 241, 0.5); }
}

.popular-badge {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-8px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing-header p {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-price {
    text-align: center;
    margin-bottom: 24px;
}

.price {
    font-size: 48px;
    font-weight: 700;
}

.period {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.03) 50%, transparent 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-light);
}

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

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

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
}

.cta-content {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

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

.cta-content h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
}

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    margin: 0;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 20px 0;
    font-size: 14px;
}

.footer-social h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-social ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.social-link::before {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234ade80'%3E%3Cpath d='M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 01.213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 00.167-.054l1.903-1.114a.864.864 0 01.717-.098 10.16 10.16 0 002.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 01-1.162 1.178A1.17 1.17 0 014.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 01-1.162 1.178 1.17 1.17 0 01-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 01.598.082l1.584.926a.272.272 0 00.14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 01-.023-.156.49.49 0 01.201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.032zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 01-.969.983.976.976 0 01-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 01-.969.983.976.976 0 01-.969-.983c0-.542.434-.982.969-.982z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

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

/* ===== Touch Device Optimizations ===== */
@media (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .cursor-glow,
    .cursor-dot {
        display: none !important;
    }

    .feature-card:hover,
    .step-card:hover,
    .pricing-card:hover,
    .stat-card:hover,
    .testimonial-card:hover {
        transform: none !important;
    }

    /* Increase touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-links a {
        padding: 12px 16px;
    }

    .faq-item h3 {
        padding: 12px 0;
    }

    /* Disable particle canvas */
    #particle-canvas {
        display: none;
    }
}

/* ===== Mobile Specific ===== */
@media (max-width: 768px) {
    /* Reduce container padding */
    .container {
        padding: 0 12px;
    }

    /* Reduce section padding */
    .hero {
        padding: calc(var(--header-height) + 16px) 0 32px;
    }

    .features,
    .how-it-works,
    .testimonials,
    .pricing,
    .faq {
        padding: 40px 0;
    }

    .stats {
        padding: 32px 0;
    }

    .trusted-by {
        padding: 32px 0;
    }

    /* Reduce animation complexity */
    .gradient-orb {
        display: none;
    }

    .hero-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                    radial-gradient(ellipse at bottom left, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }

    /* Simplify dashboard preview */
    .dashboard-preview {
        transform: none !important;
        animation: none !important;
        margin: 0 -8px;
        border-radius: var(--radius);
    }

    /* Ensure proper spacing for touch */
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-text {
        padding: 0;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
    }

    .btn-large {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    /* Stats cards - Mobile redesign */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 20px 12px;
        margin: 0;
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
        border: 1px solid rgba(99, 102, 241, 0.15);
        border-radius: var(--radius-lg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: relative;
        overflow: hidden;
    }

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary), transparent);
        opacity: 0.6;
    }

    .stat-card:nth-child(1)::before { background: linear-gradient(90deg, transparent, #6366f1, transparent); }
    .stat-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, #06b6d4, transparent); }
    .stat-card:nth-child(3)::before { background: linear-gradient(90deg, transparent, #f43f5e, transparent); }
    .stat-card:nth-child(4)::before { background: linear-gradient(90deg, transparent, #10b981, transparent); }

    .stat-icon {
        font-size: 28px;
        margin-bottom: 4px;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }

    .stat-value {
        font-size: 22px;
        font-weight: 700;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.2;
    }

    .stat-card:nth-child(2) .stat-value {
        background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .stat-card:nth-child(3) .stat-value {
        background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .stat-card:nth-child(4) .stat-value {
        background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .stat-card .stat-label {
        font-size: 12px;
        color: var(--text-muted);
        font-weight: 500;
        line-height: 1.3;
    }

    /* Steps section */
    .steps-container {
        gap: 12px;
    }

    .step-card {
        padding: 20px 16px;
    }

    /* FAQ section */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .faq-item {
        padding: 12px;
        margin: 0;
    }

    .faq-item h3 {
        font-size: 15px;
        padding-right: 30px;
        position: relative;
    }

    .faq-item p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* CTA section */
    .cta-content {
        padding: 32px 16px;
    }

    .cta-content h2 {
        font-size: 22px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    /* Footer - Mobile */
    .footer {
        padding: 32px 12px 20px;
        background: var(--bg-dark);
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }

    /* Brand Section - Centered */
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .footer-brand .logo-icon {
        font-size: 28px;
    }

    .footer-brand .logo-text {
        font-size: 20px;
        font-weight: 700;
    }

    .footer-brand p {
        font-size: 13px;
        color: var(--text-muted);
        margin: 0 0 16px;
    }

    /* Social Section - Modern Card Style */
    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
        border-radius: var(--radius-lg);
        padding: 24px 20px;
        border: 1px solid rgba(99, 102, 241, 0.2);
        position: relative;
        overflow: hidden;
    }

    .footer-social::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    }

    .footer-social h4 {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 16px;
        letter-spacing: 0.5px;
        text-transform: none;
    }

    .footer-social ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
    }

    .footer-social li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 32px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-primary);
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
        border: 1px solid rgba(99, 102, 241, 0.3);
        border-radius: var(--radius);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
        min-width: 160px;
    }

    .social-link::before {
        content: '';
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234ade80'%3E%3Cpath d='M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 01.213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 00.167-.054l1.903-1.114a.864.864 0 01.717-.098 10.16 10.16 0 002.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 01-1.162 1.178A1.17 1.17 0 014.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 01-1.162 1.178 1.17 1.17 0 01-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 01.598.082l1.584.926a.272.272 0 00.14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 01-.023-.156.49.49 0 01.201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.032zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 01-.969.983.976.976 0 01-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 01-.969.983.976.976 0 01-.969-.983c0-.542.434-.982.969-.982z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        flex-shrink: 0;
    }

    .social-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .social-link:hover,
    .social-link:active {
        color: var(--text-primary);
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
        border-color: rgba(99, 102, 241, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
    }

    .social-link:hover::after {
        left: 100%;
    }

    .social-link span {
        position: relative;
        z-index: 1;
    }


    /* Links Section - Redesigned Modern Style */
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: rgba(30, 41, 59, 0.3);
        border-radius: var(--radius-lg);
        padding: 20px;
        border: 1px solid rgba(99, 102, 241, 0.1);
    }

    .footer-links h4 {
        font-size: 13px;
        font-weight: 500;
        color: var(--text-primary);
        margin-bottom: 16px;
        letter-spacing: 0;
        text-transform: none;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
    }

    .footer-links li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-links li:last-child {
        border-bottom: none;
    }

    .footer-links a {
        display: block;
        padding: 12px 16px;
        font-size: 14px;
        color: var(--text-secondary);
        background: transparent;
        border: none;
        border-radius: 0;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .footer-links a:hover,
    .footer-links a:active {
        color: var(--primary-light);
        background: rgba(99, 102, 241, 0.1);
    }

    /* Bottom */
    .footer-bottom {
        padding-top: 24px;
        border-top: 1px solid var(--border);
        text-align: center;
    }

    .footer-bottom p {
        font-size: 11px;
        color: var(--text-muted);
    }
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    /* Smooth scrolling for iOS */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Disable hover animations */
    .feature-card::before,
    .pricing-card::before,
    .stat-card::after {
        display: none;
    }

    /* Simplify card animations */
    .feature-card,
    .step-card,
    .pricing-card,
    .stat-card,
    .testimonial-card {
        transform: none !important;
        transition: box-shadow 0.3s ease, border-color 0.3s ease;
    }

    /* Ensure tap targets are large enough */
    .social-link {
        width: 44px;
        height: 44px;
    }

    .footer-links a {
        padding: 8px 0;
        display: inline-block;
    }

    /* FAQ toggle button sizing */
    .faq-toggle {
        min-width: 30px;
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Section headers */
    .section-header {
        padding: 0 4px;
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header p {
        font-size: 14px;
    }

    /* Pricing cards */
    .pricing-card.popular {
        transform: none !important;
    }

    /* Trusted logos */
    .trusted-logos {
        gap: 20px;
    }

    .logo-item {
        font-size: 14px;
    }
}

/* ===== Reduced Motion Preference ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .gradient-orb,
    #particle-canvas {
        display: none !important;
    }
}

/* ===== Modal Form Styles ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(99, 102, 241, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    padding-bottom: 16px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.modal-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--accent);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-actions {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal-content {
        max-height: 85vh;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        transform: translateY(100%);
    }

    .modal-overlay.active .modal-content {
        transform: translateY(0);
    }

    .modal-header {
        padding: 20px 20px 0;
    }

    .modal-body {
        padding: 20px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-image {
        order: -1;
    }

    .dashboard-preview {
        max-width: 600px;
        margin: 0 auto;
        transform: none;
        animation: none;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

    .features,
    .how-it-works,
    .testimonials,
    .pricing,
    .faq {
        padding: 48px 0;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px 24px;
        justify-content: center;
    }

    .stat-item {
        min-width: 100px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

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

    .pricing-card.popular {
        transform: none;
    }

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

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

    .cta-buttons {
        flex-direction: column;
    }
}
