/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --primary-light: #38BDF8;
    --secondary: #8B5CF6;
    --accent: #F59E0B;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    
    /* Background Colors */
    --bg-primary: #0B1426;
    --bg-secondary: #141B2D;
    --bg-tertiary: #1E293B;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;
    --text-accent: var(--primary);
    
    /* Border Colors */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-secondary: rgba(255, 255, 255, 0.05);
    --border-accent: rgba(14, 165, 233, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-bg: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    --spacing-32: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius-base: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.3s ease-out;
    --transition-slow: 0.6s ease-out;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--gradient-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.6s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.logo-animation {
    margin-bottom: var(--spacing-6);
    animation: logoFloat 2s ease-in-out infinite;
}

.logo-animation img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-glow);
}

.loading-text {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-6);
    animation: pulse 2s ease-in-out infinite;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 0;
    animation: progressFill 3s ease-out forwards;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(11, 20, 38, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(11, 20, 38, 0.95);
    box-shadow: var(--shadow-lg);
}

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

.nav-brand {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-3);
    text-decoration: none;
}

.nav-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-base);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-slogan {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
}

.slogan-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all var(--transition-base);
}

.nav-brand:hover .slogan-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 70%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(-1px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #0284C7 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
}

.discord-link {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    color: white !important;
    font-weight: 600;
}

.discord-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: var(--spacing-1);
    padding: var(--spacing-2);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

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

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--bg-glass);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.btn-hero-primary:link,
.btn-hero-primary:visited,
.btn-hero-primary:hover,
.btn-hero-primary:active {
    color: white;
    text-decoration: none !important;
}

.btn-hero-primary::before {
    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.6s ease;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-primary);
    padding: var(--spacing-4) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.btn-hero-secondary:hover {
    background: var(--bg-glass);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.play-icon {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-24) 0 var(--spacing-20);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: var(--spacing-12);
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-6);
    animation: fadeInUp 0.8s ease-out;
}

.badge-text {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.badge-highlight {
    color: var(--primary);
    font-weight: 700;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-6);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-8);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-10);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary);
    animation: countUp 2s ease-out 1s both;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-10);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    animation: fadeInUp 0.8s ease-out 1s both;
}

.social-proof-text {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.social-proof-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 2px solid var(--bg-primary);
    margin-left: -8px;
    animation: avatarPop 0.6s ease-out;
}

.avatar:nth-child(1) { animation-delay: 1.2s; }
.avatar:nth-child(2) { animation-delay: 1.4s; }
.avatar:nth-child(3) { animation-delay: 1.6s; }
.avatar:nth-child(4) { animation-delay: 1.8s; }

.avatar-more {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-full);
    margin-left: var(--spacing-2);
    animation: fadeIn 0.6s ease-out 2s both;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* ===== CHAT TO APP DEMO ===== */
.chat-to-app-demo {
    display: grid;
    grid-template-columns: 2fr auto 1.2fr;
    gap: var(--spacing-6);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Chat Interface */
.chat-interface {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-2xl);
    width: 280px;
    height: 550px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-primary);
}

.chat-avatar {
    position: relative;
}

.avatar-gradient {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-glow);
    animation: avatarPulse 2s ease-in-out infinite;
}

.chat-info {
    flex: 1;
}

.chat-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

.status-dot.online {
    background: var(--success);
}

.chat-messages {
    flex: 1;
    padding: var(--spacing-4);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.message {
    display: flex;
    animation: messageSlideIn 0.5s ease-out;
}

.ai-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    position: relative;
}

.message-text {
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    line-height: 1.4;
    position: relative;
    font-size: var(--font-size-sm);
}

.ai-message .message-text {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--border-accent);
}

.user-message .message-text {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.chat-input-area {
    padding: var(--spacing-4);
    border-top: 1px solid var(--border-primary);
    background: rgba(0, 0, 0, 0.1);
}

.typing-indicator {
    display: none;
    align-items: center;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-3);
    opacity: 0.7;
}

.typing-indicator.active {
    display: flex;
    animation: fadeIn 0.3s ease-in;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: typingBounce 1.5s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.6s;
}

.chat-input-container {
    display: flex;
    gap: var(--spacing-3);
    align-items: center;
}

.chat-input {
    flex: 1;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-full);
    padding: var(--spacing-3) var(--spacing-4);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.input-placeholder {
    color: var(--text-secondary);
    pointer-events: none;
}

.typing-cursor {
    color: var(--primary);
    animation: blink 1s infinite;
    display: none;
}

.send-button {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Transform Arrow */
.transform-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-2);
    position: relative;
}

.magic-particles {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleMagic 2s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    bottom: 25%;
    left: 10%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    bottom: 10%;
    right: 30%;
    animation-delay: 1.5s;
}

.transform-arrow svg {
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
    animation: arrowPulse 2s ease-in-out infinite;
}

.ai-magic-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 2s ease-in-out infinite;
}

/* App Generation Container */
.app-generation-container {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.generation-process {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-4);
    backdrop-filter: blur(10px);
}

.process-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    opacity: 0.3;
}

.process-step.active {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--border-accent);
    opacity: 1;
    animation: processGlow 2s ease-in-out infinite;
}

.process-step.completed {
    opacity: 0.7;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.step-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: iconSpin 3s linear infinite;
}

.process-step.completed .step-icon {
    background: var(--success);
    animation: none;
}

.step-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Generated Apps */
.generated-apps {
    display: grid;
    grid-template-columns: auto auto;
    gap: var(--spacing-4);
    justify-content: center;
    align-items: start;
}

.right-devices-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    align-items: center;
}

.app-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-3);
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-slow);
}

.app-device.show {
    opacity: 1;
    transform: scale(1);
}

.mobile-device .device-frame {
    width: 100px;
    height: 200px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-2);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
}

.desktop-device .device-frame {
    width: 140px;
    height: 90px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
}

.web-linux-device .device-frame {
    width: 140px;
    height: 90px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    position: relative;
}

.device-button {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-primary);
    height: 24px;
}

.browser-dots {
    display: flex;
    gap: 2px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.url-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    padding: 1px 4px;
    font-size: 8px;
    color: var(--text-secondary);
    text-align: center;
}


.app-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2);
}

.app-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-3);
    text-align: center;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(14, 165, 233, 0.2);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

.device-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

/* Success Celebration */
.success-celebration {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.success-celebration.show {
    opacity: 1;
    transform: translateY(0);
}

.celebration-text {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--success);
    margin-bottom: var(--spacing-4);
    animation: celebrationBounce 0.8s ease-out;
}

.stats-popup {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-4);
    backdrop-filter: blur(10px);
}

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

.stat-value {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--success);
    display: block;
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

.code-editor-mockup {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    margin-bottom: var(--spacing-6);
    backdrop-filter: blur(10px);
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-4);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-primary);
}

.editor-tabs {
    display: flex;
    gap: var(--spacing-2);
}

.tab {
    padding: var(--spacing-2) var(--spacing-4);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

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

.editor-actions {
    display: flex;
    gap: var(--spacing-2);
}

.action-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.action-dot.red { background: #ff5f56; }
.action-dot.yellow { background: #ffbd2e; }
.action-dot.green { background: #27ca3f; }

.editor-content {
    padding: var(--spacing-4);
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--font-size-sm);
}

.code-line {
    display: flex;
    margin-bottom: var(--spacing-2);
    min-height: 20px;
}

.line-number {
    color: var(--text-tertiary);
    width: 30px;
    text-align: right;
    margin-right: var(--spacing-4);
}

.keyword { color: #ff6b9d; }
.string { color: #c3e88d; }
.class { color: #82aaff; }
.function { color: #82aaff; }
.parameter { color: #f78c6c; }
.annotation { color: #c792ea; }

.typing-animation .cursor {
    animation: blink 1s infinite;
}

.ai-suggestion {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3) var(--spacing-4);
    background: rgba(14, 165, 233, 0.1);
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    font-size: var(--font-size-sm);
    color: var(--primary);
    animation: slideUp 0.8s ease-out 2s both;
}

.ai-icon {
    font-size: var(--font-size-lg);
}

.preview-devices {
    display: flex;
    gap: var(--spacing-4);
    animation: deviceFloat 4s ease-in-out infinite;
}

.device {
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
}

.device.mobile {
    width: 120px;
    height: 240px;
    transform: rotate(-5deg);
}

.device.desktop {
    width: 200px;
    height: 140px;
    transform: rotate(2deg);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.app-preview {
    width: 100%;
    height: 100%;
    padding: var(--spacing-2);
}

.mobile-app .app-bar {
    height: 20px;
    background: var(--primary);
    border-radius: var(--radius-base);
    margin-bottom: var(--spacing-2);
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.content-block {
    height: 30px;
    background: var(--bg-glass);
    border-radius: var(--radius-base);
    animation: contentPulse 2s ease-in-out infinite;
}

.content-block.small {
    height: 20px;
    width: 60%;
}

.desktop-app {
    display: flex;
    height: 100%;
}

.app-sidebar {
    width: 40px;
    background: var(--bg-tertiary);
    padding: var(--spacing-2);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.sidebar-item {
    height: 8px;
    background: var(--bg-glass);
    border-radius: var(--radius-sm);
}

.app-main {
    flex: 1;
    padding: var(--spacing-2);
}

.main-content {
    height: 100%;
    background: var(--bg-glass);
    border-radius: var(--radius-base);
    animation: contentPulse 2s ease-in-out infinite 0.5s;
}

/* ===== SECTIONS ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-6);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary);
}

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-4);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--spacing-24) 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    z-index: -1;
}

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

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-8);
    transition: all var(--transition-slow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.try-it-btn {
    position: absolute;
    top: var(--spacing-4);
    right: var(--spacing-4);
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    z-index: 10;
    transform: translateY(-10px);
}

.feature-card:hover .try-it-btn,
.showcase-item:hover .try-it-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1.05);
}

.try-it-btn:hover {
    background: linear-gradient(135deg, #0284C7 0%, #7c3aed 100%);
    transform: translateY(0) scale(1.1);
    box-shadow: 0 12px 25px rgba(14, 165, 233, 0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    border-radius: var(--radius-3xl);
}

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

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-2xl);
}

.feature-card.spotlight {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--border-accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-glow);
    animation: iconFloat 3s ease-in-out infinite;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    fill: none;
}

.feature-content {
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--text-primary);
}

.feature-description {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-4);
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
}

.highlight {
    background: var(--bg-glass);
    color: var(--primary);
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border: 1px solid var(--border-accent);
}

/* ===== SHOWCASE SECTION ===== */
.showcase {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-3xl);
    transition: all var(--transition-slow);
    cursor: pointer;
}

.showcase-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.showcase-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-3xl);
}

.showcase-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: end;
    padding: var(--spacing-6);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-2);
}

.showcase-info p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2);
}

.build-time {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: var(--spacing-24) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-12);
}

.blog-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    transition: all var(--transition-slow);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--border-accent);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: var(--spacing-4);
    left: var(--spacing-4);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.blog-content {
    padding: var(--spacing-6);
}

.blog-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    line-height: 1.4;
    color: var(--text-primary);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-4);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.blog-cta {
    text-align: center;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-primary);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
}

.btn-secondary:hover {
    background: var(--bg-glass);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

/* ===== COMPARISON SECTION ===== */
.comparison-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.comparison-table-wrapper {
    margin-top: var(--spacing-16);
}

.comparison-table {
    background: var(--gradient-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr repeat(6, 1fr);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-bottom: 1px solid var(--border-primary);
}

.comparison-body {
    display: flex;
    flex-direction: column;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr repeat(6, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all var(--transition-base);
    position: relative;
}

.comparison-row:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    transform: scale(1.001);
}

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

.feature-column, .platform-column {
    padding: var(--spacing-6);
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.platform-column:hover {
    background: rgba(255, 255, 255, 0.02);
}

.feature-column {
    text-align: left;
    background: rgba(255, 255, 255, 0.01);
}

.feature-column h3 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.platform-column h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-2);
}

.couldai-column {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    position: relative;
}

.couldai-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(139, 92, 246, 0.8) 100%);
    opacity: 0.05;
    border-radius: 0;
}

.platform-logo {
    width: 32px;
    height: 32px;
    margin: 0 auto var(--spacing-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.winner-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    display: inline-block;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3), 0 2px 4px rgba(255, 215, 0, 0.2);
    animation: pulse 2s infinite;
}

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

.feature-cell, .platform-cell {
    padding: var(--spacing-5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.platform-cell:hover {
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-1px);
}

.feature-cell {
    align-items: flex-start;
    text-align: left;
}

.feature-cell strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-1);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.couldai-cell {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    position: relative;
}

.couldai-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(139, 92, 246, 0.8) 100%);
    opacity: 0.03;
    border-radius: 0;
}

.support-badge {
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-align: center;
    min-width: 90px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}

.support-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.support-badge.native {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.support-badge.no-support {
    background: rgba(107, 114, 128, 0.1);
    color: #9CA3AF;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.support-badge.limited {
    background: rgba(245, 158, 11, 0.1);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.support-badge.partial {
    background: rgba(99, 102, 241, 0.1);
    color: #A78BFA;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.support-badge.dev-tool {
    background: rgba(139, 92, 246, 0.1);
    color: #C4B5FD;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.price-row {
    background: rgba(255, 255, 255, 0.01);
}

.price-badge {
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-align: center;
}

.price-badge.best {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.price-badge.expensive {
    background: rgba(251, 146, 60, 0.1);
    color: #FB923C;
    border: 1px solid rgba(251, 146, 60, 0.2);
}

.price-label {
    font-size: var(--font-size-xs);
    color: #10B981;
    font-weight: 600;
    margin-top: var(--spacing-1);
}

.comparison-summary {
    margin-top: var(--spacing-12);
    display: flex;
    justify-content: center;
}

.summary-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-8);
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.summary-card h3 {
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    text-align: center;
}

.summary-card ul {
    list-style: none;
    padding: 0;
}

.summary-card li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-3);
    padding-left: var(--spacing-6);
    position: relative;
}

.summary-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.summary-card strong {
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr repeat(6, 1fr);
    }
    
    .platform-column h4,
    .support-badge,
    .price-badge {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 968px) {
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-header,
    .comparison-row {
        min-width: 800px;
    }
}

@media (max-width: 768px) {
    .comparison-section {
        padding: var(--spacing-16) 0;
    }
    
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
        margin: 0 -var(--spacing-4);
        padding: 0 var(--spacing-4);
        scrollbar-width: thin;
        scrollbar-color: var(--primary) transparent;
    }
    
    .comparison-table-wrapper::-webkit-scrollbar {
        height: 4px;
    }
    
    .comparison-table-wrapper::-webkit-scrollbar-track {
        background: var(--bg-glass);
        border-radius: var(--radius-full);
    }
    
    .comparison-table-wrapper::-webkit-scrollbar-thumb {
        background: var(--gradient-primary);
        border-radius: var(--radius-full);
    }
    
    .comparison-table {
        min-width: 800px;
    }
    
    .comparison-header,
    .comparison-row {
        min-width: 800px;
    }
    
    /* Fixed first column for feature names */
    .feature-column {
        position: sticky;
        left: 0;
        z-index: 2;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
        backdrop-filter: blur(10px);
        border-right: 1px solid var(--border-primary);
    }
    
    /* Highlight CouldAI column on mobile */
    .couldai-column {
        position: relative;
    }
    
    .couldai-column::before {
        content: "";
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: var(--gradient-primary);
        border-radius: var(--radius-lg);
        opacity: 0.3;
        z-index: -1;
        animation: glow 3s ease-in-out infinite;
    }
    
    .winner-badge {
        font-size: var(--font-size-xs) !important;
        padding: 2px 6px !important;
        white-space: nowrap !important;
    }
    
    /* Scroll indicator */
    .comparison-table-wrapper::after {
        content: "👆 滑动查看更多";
        position: absolute;
        top: -30px;
        right: var(--spacing-4);
        font-size: var(--font-size-sm);
        color: var(--text-secondary);
        font-weight: 500;
        background: var(--bg-glass);
        padding: var(--spacing-2) var(--spacing-3);
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-primary);
        z-index: 3;
        animation: fadeInPulse 2s ease-in-out infinite;
    }
    
    .summary-card {
        padding: var(--spacing-6);
        margin: 0 var(--spacing-4);
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    text-align: center;
    position: relative;
}

.cta-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-cta-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    text-decoration: none !important;
}

.btn-cta-primary:link,
.btn-cta-primary:visited,
.btn-cta-primary:hover,
.btn-cta-primary:active {
    color: white;
    text-decoration: none !important;
}

.btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
}



/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, rgba(11, 20, 38, 0.95) 0%, rgba(20, 27, 45, 0.95) 100%);
    border-top: 1px solid var(--border-primary);
    padding: var(--spacing-12) 0 var(--spacing-6);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-8);
    gap: var(--spacing-8);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}


.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
    line-height: 1.4;
}

.footer-email {
    color: var(--primary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: color var(--transition-base);
}

.footer-email:hover {
    color: var(--primary-light);
}

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

.footer-social {
    display: flex;
    gap: var(--spacing-3);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.footer-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.footer-email {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition-base);
}

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

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: var(--font-size-sm);
}


.footer-links {
    display: flex;
    gap: var(--spacing-6);
}

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

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

.footer-copyright {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-12);
}

.contact-info {
    max-width: 600px;
    width: 100%;
}

.contact-card {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-10);
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: white;
}

.contact-details h3 {
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-2);
}

.contact-details p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-4);
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: 600;
    transition: color var(--transition-base);
}

.contact-link:hover {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-8);
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: absolute;
    bottom: var(--spacing-8);
    right: var(--spacing-8);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ===== ANIMATIONS ===== */

/* Animation states for elements waiting to animate */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s ease-out !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

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

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

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

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

@keyframes avatarPop {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-100px);
    }
}

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

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

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

@keyframes contentPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes avatarPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
    }
}

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

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

@keyframes particleMagic {
    0%, 100% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1) translateY(-20px);
    }
}

@keyframes arrowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.8));
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
    }
}

@keyframes processGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    }
}

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

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

@keyframes celebrationBounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    80% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInPulse {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(0px);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.02);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-12);
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--spacing-6);
    }
    
    .chat-to-app-demo {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
        text-align: center;
    }
    
    .chat-interface {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        height: 560px;
    }
    
    .app-generation-container {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .mobile-device .device-frame {
        width: 120px;
        height: 240px;
    }
    
    .desktop-device .device-frame {
        width: 160px;
        height: 100px;
    }
    
    .web-linux-device .device-frame {
        width: 160px;
        height: 100px;
    }
    
    .generated-apps {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-4);
        align-items: center;
    }
    
    .right-devices-group {
        flex-direction: row;
        gap: var(--spacing-6);
    }
    
    .transform-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 968px) {
    .nav-brand {
        gap: var(--spacing-2);
    }
    
    .nav-logo {
        height: 40px;
    }
    
    .nav-slogan {
        margin-bottom: 0;
    }
    
    .slogan-text {
        font-size: var(--font-size-xs);
        letter-spacing: 0.3px;
    }
    
    .nav-right {
        flex-direction: column;
        gap: var(--spacing-4);
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(11, 20, 38, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-primary);
        padding: var(--spacing-6);
        transform: translateY(-100vh);
        transition: transform var(--transition-base);
        z-index: var(--z-dropdown);
        flex-direction: column;
        gap: var(--spacing-4);
    }
    
    .nav-menu .nav-link {
        padding: var(--spacing-3) 0;
        font-size: var(--font-size-lg);
        font-weight: 600;
        text-align: center;
        border-bottom: 1px solid var(--border-secondary);
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    
}

@media (max-width: 768px) {
    :root {
        --spacing-6: 1rem;
        --spacing-8: 1.5rem;
        --spacing-12: 2rem;
        --spacing-16: 3rem;
        --spacing-24: 4rem;
    }
    
    .container {
        padding: 0 var(--spacing-4);
    }
    
    .hero {
        padding: var(--spacing-24) 0 var(--spacing-12);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--spacing-2);
    }
    
    .stat-item {
        flex: 1;
        text-align: center;
    }
    
    .stat-number {
        font-size: var(--font-size-xl);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .showcase-gallery {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: var(--font-size-3xl);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-6);
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-4);
    }
}

@media (max-width: 480px) {
    .nav-slogan {
        display: none;
    }
    
    .nav-logo {
        height: 36px;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .feature-card {
        padding: var(--spacing-6);
    }
    
    .back-to-top {
        bottom: var(--spacing-4);
        right: var(--spacing-4);
        width: 45px;
        height: 45px;
    }
    
    /* Optimize comparison table for very small screens */
    .comparison-table {
        min-width: 720px;
    }
    
    .comparison-header,
    .comparison-row {
        min-width: 720px;
    }
    
    .platform-column,
    .platform-cell {
        min-width: 90px;
        font-size: var(--font-size-xs);
    }
    
    .feature-cell {
        min-width: 120px;
        font-size: var(--font-size-xs);
    }
    
    .comparison-table-wrapper::after {
        content: "👈 滑动查看";
        font-size: var(--font-size-xs);
        padding: var(--spacing-1) var(--spacing-2);
        top: -25px;
    }
}

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

@media (prefers-contrast: high) {
    :root {
        --border-primary: rgba(255, 255, 255, 0.3);
        --border-secondary: rgba(255, 255, 255, 0.2);
        --bg-glass: rgba(255, 255, 255, 0.1);
    }
}

/* ===== FOCUS STATES ===== */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .back-to-top,
    .hero-visual {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}