/* ============================================
   VSMONSTER - Landing Page Styles
   Google Gemini 3 Hackathon 2026
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #f472b6;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #f472b6 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    
    /* Backgrounds */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Borders */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(99, 102, 241, 0.5);
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-normal);
    background: transparent;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

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

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: white;
    border: 1px solid var(--border-color);
}

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

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

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

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--bg-dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(10, 10, 15, 0.3) 0%,
        rgba(10, 10, 15, 0.8) 100%
    );
}

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

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

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.title-line {
    display: block;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Hero Visual */
.hero-visual {
    display: none; /* Hidden on mobile, shown on larger screens */
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.device {
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-lg);
    padding: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.device-screen {
    border-radius: var(--radius-md);
    width: 100%;
}

.phone {
    width: 180px;
    animation: float 6s ease-in-out infinite;
}

.laptop {
    width: 400px;
    animation: float 6s ease-in-out infinite 0.5s;
}

.connection-beam {
    position: relative;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ufo-floating {
    width: 80px;
    animation: floatRotate 4s ease-in-out infinite;
}

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

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

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

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--secondary);
}

/* ============================================
   Concept Section
   ============================================ */
.concept {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d1a 100%);
}

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

.concept-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.concept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.concept-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.concept-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.concept-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-features span {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--primary-light);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

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

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.feature-title-zh {
    font-size: 0.9rem;
    color: var(--primary-light);
    margin-bottom: 12px;
}

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

/* ============================================
   Story Section
   ============================================ */
.story {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a14 50%, var(--bg-dark) 100%);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.time-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.timeline-content {
    padding-top: 50px;
}

.story-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.story-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.story-card.highlight-card {
    border-color: var(--secondary);
}

.story-card.evolution-card {
    border-color: var(--accent);
}

.story-visual {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-text {
    padding: 24px;
}

.story-text h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-weight: 500;
}

/* Chat Bubbles */
.chat-bubble {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.chat-bubble.user {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.chat-message {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    max-width: 80%;
}

.chat-bubble.user .chat-message {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
}

.chat-bubble.encouragement .chat-message {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.chat-message p {
    font-size: 0.95rem;
    color: var(--text-primary);
}

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

.system-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(244, 114, 182, 0.1);
    border: 1px solid rgba(244, 114, 182, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.ufo-icon {
    font-size: 1.5rem;
}

.system-message p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.code-preview {
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    font-family: 'Monaco', monospace;
    font-size: 0.85rem;
}

.code-status {
    color: var(--success);
}

/* ============================================
   Architecture Section
   ============================================ */
.architecture {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.arch-diagram {
    max-width: 600px;
    margin: 0 auto;
}

.arch-layer {
    margin-bottom: 24px;
}

.arch-layer h4 {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.arch-items {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.arch-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    min-width: 120px;
    transition: var(--transition-normal);
}

.arch-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.arch-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.arch-item span {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.arch-item small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.arch-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.arch-highlight.ufo {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid var(--primary);
}

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

.arch-content {
    text-align: left;
}

.arch-title {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.arch-content small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.arch-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 16px 0;
}

.monster-item {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.arch-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ============================================
   Milestones Section
   ============================================ */
.milestones {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d1a 100%);
}

.milestone-track {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.milestone-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent), var(--success));
}

.milestone-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 48px;
}

.milestone-icon {
    position: absolute;
    left: 20px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 1;
}

.milestone-item.active .milestone-icon {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.milestone-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition-normal);
}

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

.milestone-item.active .milestone-content {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.milestone-phase {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    margin-bottom: 8px;
    display: block;
}

.milestone-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.milestone-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.milestone-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.milestone-status.current {
    color: var(--success);
    font-weight: 600;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: #050508;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    margin-bottom: 40px;
}

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

.footer-logo {
    width: 60px;
    height: 60px;
}

.footer-brand p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.badge img {
    width: 20px;
    height: 20px;
}

.footer-credits p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hackathon-badge {
    color: var(--primary-light) !important;
    font-weight: 600;
}

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

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

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

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

@keyframes floatRotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    75% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

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

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
        transform: none;
    }
    
    .time-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .timeline-content {
        padding-left: 50px;
    }
    
    .milestone-line {
        left: 20px;
    }
    
    .milestone-item {
        padding-left: 60px;
    }
    
    .milestone-icon {
        left: 0;
    }
    
    .arch-items {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-visual {
        display: flex;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* ============================================
   Neon Glow Effects (Hackathon Polish)
   ============================================ */
.neon-text {
    color: #4285f4;
    text-shadow: 
        0 0 10px rgba(66, 133, 244, 0.5),
        0 0 20px rgba(66, 133, 244, 0.3),
        0 0 40px rgba(66, 133, 244, 0.2);
}

.gemini-glow {
    box-shadow: 
        0 0 20px rgba(66, 133, 244, 0.3),
        0 0 40px rgba(66, 133, 244, 0.2),
        inset 0 0 20px rgba(66, 133, 244, 0.1);
    animation: geminiPulse 3s ease-in-out infinite;
}

@keyframes geminiPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(66, 133, 244, 0.3),
            0 0 40px rgba(66, 133, 244, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(66, 133, 244, 0.5),
            0 0 60px rgba(66, 133, 244, 0.3);
    }
}

/* ============================================
   Pulse Effect for CTA Button
   ============================================ */
.pulse-effect {
    animation: buttonPulse 2s ease-in-out infinite;
    position: relative;
}

.pulse-effect::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    animation: pulseRing 2s ease-in-out infinite;
    z-index: -1;
}

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

@keyframes pulseRing {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* ============================================
   Why Gemini Section
   ============================================ */
.why-gemini {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d1f 50%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.why-gemini::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.gemini-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.reason-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.reason-card:hover {
    transform: translateY(-8px);
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow: 
        0 20px 60px rgba(66, 133, 244, 0.15),
        0 0 40px rgba(66, 133, 244, 0.1);
}

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

.reason-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.reason-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.reason-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.reason-highlight {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(66, 133, 244, 0.15);
    border: 1px solid rgba(66, 133, 244, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    color: #4285f4;
    font-weight: 600;
}

/* ============================================
   Persona Switcher
   ============================================ */
.persona-selector {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.category-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.category-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: 8px;
    font-weight: 600;
}

.persona-btn {
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: inherit;
}

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

.persona-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* ============================================
   Glassmorphism Story Cards
   ============================================ */
.story-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.15),
        0 0 40px rgba(99, 102, 241, 0.05);
}

/* ============================================
   Enhanced UFO Floating Animation
   ============================================ */
.ufo-floating {
    animation: ufoFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.6));
}

@keyframes ufoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateY(-8px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

/* ============================================
   Impact Statement Section
   ============================================ */
.impact-statement {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.impact-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

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

/* ============================================
   Responsive Persona Selector
   ============================================ */
@media (max-width: 768px) {
    .persona-selector {
        margin-top: 24px;
    }
    
    .category-group {
        justify-content: center;
    }
    
    .category-label {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    .persona-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .gemini-reasons {
        grid-template-columns: 1fr;
    }
    
    .impact-text {
        padding: 0 20px;
    }
}

/* ============================================
   S2 Floating Monster Section
   ============================================ */
.s2-floating {
    display: none; /* Hidden on mobile */
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0d1a 100%);
    position: relative;
    overflow: hidden;
}

.s2-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    position: relative;
}

.s2-left,
.s2-right {
    padding: 40px 50px;
}

.s2-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4060d0;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: pre-line;
}

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

.s2-right .s2-text {
    text-align: right;
}

.s2-monster {
    position: relative;
    z-index: 10;
}

.s2-monster-img {
    width: 100px;
    height: auto;
    animation: s2Float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(200, 100, 200, 0.5));
}

@keyframes s2Float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

/* Show S2 section on desktop */
@media (min-width: 1024px) {
    .s2-floating {
        display: block;
    }
}

/* Larger screens adjustments */
@media (min-width: 1200px) {
    .s2-text {
        font-size: 3rem;
    }
    
    .s2-monster-img {
        width: 120px;
    }
    
    .s2-container {
        gap: 80px;
    }
}
