/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #f4b000;
    --secondary-gold: #ffd700;
    --neon-cyan: #00f0ff;
    --neon-purple: #b24bf3;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-blue: #4a9eff;
    --grid-color: rgba(244, 176, 0, 0.1);
}

/* Add cyber glow utility */
@keyframes neonPulse {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(244, 176, 0, 0.8),
            0 0 20px rgba(244, 176, 0, 0.6),
            0 0 30px rgba(244, 176, 0, 0.4);
    }
    50% {
        text-shadow:
            0 0 20px rgba(244, 176, 0, 1),
            0 0 40px rgba(244, 176, 0, 0.8),
            0 0 60px rgba(244, 176, 0, 0.6);
    }
}

/* Data stream effect */
@keyframes dataStream {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}

/* Glitch effect */
@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
    background: radial-gradient(ellipse at top, #1a2332 0%, #0f1419 50%, #0a0e14 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1;
    font-kerning: normal;
}

/* Animated gradient background layer */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 20%, rgba(244, 176, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(74, 158, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 10% 70%, rgba(74, 158, 255, 0.08) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 30s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10%, 5%) rotate(90deg); }
    50% { transform: translate(-5%, 10%) rotate(180deg); }
    75% { transform: translate(5%, -5%) rotate(270deg); }
}

/* Enhanced starfield effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(244, 176, 0, 0.5) 1px, transparent 1px),
        radial-gradient(circle at 85% 15%, rgba(74, 158, 255, 0.4) 1.5px, transparent 1.5px),
        radial-gradient(circle at 45% 65%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 65% 85%, rgba(244, 176, 0, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 25% 75%, rgba(74, 158, 255, 0.3) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90% 50%, rgba(255, 215, 0, 0.5) 1px, transparent 1px);
    background-size: 200% 200%;
    pointer-events: none;
    z-index: 0;
    animation: starTwinkle 8s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.4; background-position: 0% 0%; }
    50% { opacity: 1; background-position: 100% 100%; }
}

/* Grid overlay effect */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(244, 176, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 176, 0, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(244, 176, 0, 0.1);
    transition: all 0.3s ease;
}

/* Very subtle gradient overlay on hover */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.1) 0%,
        transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar:hover::before {
    opacity: 1;
}

/* Animated shimmer effect */
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(244, 176, 0, 0.05) 50%,
        transparent 100%);
    animation: navbarShimmer 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes navbarShimmer {
    0% { left: -100%; opacity: 0; }
    50% { left: 100%; opacity: 0.5; }
    100% { left: 200%; opacity: 0; }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    position: relative;
    height: 80px;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold), var(--primary-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShine 4s linear infinite;
    text-shadow: 0 0 30px rgba(244, 176, 0, 0.3);
    letter-spacing: -1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    letter-spacing: 0px;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-gold);
    text-shadow: 0 0 12px rgba(244, 176, 0, 0.4);
}

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

.btn-launch {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-bg) !important;
    padding: 0.8rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(244, 176, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.5px;
    text-transform: none;
}

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

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

.btn-launch:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(244, 176, 0, 0.6);
}

.btn-launch:active {
    transform: translateY(0px) scale(1);
    box-shadow: 0 4px 15px rgba(244, 176, 0, 0.4);
}

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

/* Multiple rotating gradient layers */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background:
        radial-gradient(circle at 50% 50%, rgba(244, 176, 0, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(74, 158, 255, 0.15) 0%, transparent 40%);
    animation: heroGlowRotate 25s linear infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 40% 60%, rgba(74, 158, 255, 0.12) 0%, transparent 40%);
    animation: heroGlowRotate 20s linear infinite reverse;
    z-index: 0;
}

@keyframes heroGlowRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.1); }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(244, 176, 0, 0.15) 2px, transparent 2px),
        linear-gradient(90deg, rgba(244, 176, 0, 0.15) 2px, transparent 2px),
        linear-gradient(rgba(74, 158, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.08) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    animation: gridMove 30s linear infinite;
    z-index: 0;
    perspective: 1000px;
}

/* Add scanning line effect */
.grid-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(244, 176, 0, 0.5) 20%,
        rgba(255, 215, 0, 0.8) 50%,
        rgba(244, 176, 0, 0.5) 80%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(244, 176, 0, 0.8);
    animation: scanLine 8s ease-in-out infinite;
    filter: blur(1px);
}

@keyframes scanLine {
    0%, 100% { top: 0%; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Add horizontal scan effect */
.grid-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(74, 158, 255, 0.4) 20%,
        rgba(74, 158, 255, 0.7) 50%,
        rgba(74, 158, 255, 0.4) 80%,
        transparent 100%);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.6);
    animation: scanLineHorizontal 10s ease-in-out infinite;
    filter: blur(1px);
}

@keyframes scanLineHorizontal {
    0%, 100% { left: 0%; opacity: 0; }
    5% { opacity: 0.8; }
    95% { opacity: 0.8; }
    100% { left: 100%; opacity: 0; }
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 5.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -3px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold), var(--primary-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
    filter: drop-shadow(0 0 20px rgba(244, 176, 0, 0.6))
            drop-shadow(0 0 40px rgba(244, 176, 0, 0.4));
    position: relative;
}

/* Add pulsing neon effect */
.gradient-text::after {
    content: 'AgentOS';
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold), var(--primary-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(12px);
    opacity: 0.8;
    animation: shine 3s linear infinite, neonGlow 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes neonGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(244, 176, 0, 0.15);
    border: 2px solid var(--primary-gold);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin: 2rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow:
        0 0 30px rgba(244, 176, 0, 0.3),
        inset 0 0 20px rgba(244, 176, 0, 0.1);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(244, 176, 0, 0.3), inset 0 0 20px rgba(244, 176, 0, 0.1); }
    50% { box-shadow: 0 0 50px rgba(244, 176, 0, 0.5), inset 0 0 30px rgba(244, 176, 0, 0.2); }
}

.hero-highlight .icon {
    font-size: 1.5rem;
}

.hero-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.tag {
    background: rgba(244, 176, 0, 0.08);
    border: 1px solid rgba(244, 176, 0, 0.4);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--secondary-gold);
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(244, 176, 0, 0.15);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 176, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* Buttons */
.btn {
    padding: 1.1rem 2.8rem;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-bg);
    box-shadow: 0 8px 25px rgba(244, 176, 0, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

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

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(244, 176, 0, 0.6);
}

.btn-secondary {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(244, 176, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    background: rgba(244, 176, 0, 0.15);
    border-color: var(--secondary-gold);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(244, 176, 0, 0.3);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Problem Section */
.problem {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.problem::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background:
        radial-gradient(circle, rgba(74, 158, 255, 0.18) 0%, rgba(74, 158, 255, 0.08) 30%, transparent 70%);
    border-radius: 50%;
    animation: floatGlow 20s ease-in-out infinite;
    filter: blur(40px);
}

.problem::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background:
        radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    animation: floatGlow 18s ease-in-out infinite reverse;
    filter: blur(35px);
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(-80px, -80px) scale(1.15); opacity: 1; }
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(244, 176, 0, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 176, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(244, 176, 0, 0.3), 0 0 50px rgba(244, 176, 0, 0.1);
}

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

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.problem-card ul {
    list-style: none;
}

.problem-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

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

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(244, 176, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Animated border effect */
.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(244, 176, 0, 0.3),
        transparent 30%
    );
    animation: rotateBorder 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

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

.stat-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 1) 100%);
    border-radius: 18px;
    z-index: 0;
}

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

.stat-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 20px 60px rgba(244, 176, 0, 0.5),
        0 0 80px rgba(244, 176, 0, 0.3),
        inset 0 0 30px rgba(244, 176, 0, 0.1);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold), var(--primary-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    animation: shimmer 3s linear infinite, neonPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(244, 176, 0, 0.6));
}

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

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Opportunity Section */
.opportunity {
    position: relative;
    overflow: hidden;
}

.opportunity::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background:
        radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(244, 176, 0, 0.08) 30%, transparent 60%);
    border-radius: 50%;
    animation: gentlePulse 18s ease-in-out infinite;
    filter: blur(70px);
}

@keyframes gentlePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.opportunity-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.opportunity-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.opportunity-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.opportunity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.opportunity-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.opportunity-card .highlight {
    color: var(--secondary-gold);
    font-weight: 600;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(244, 176, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid var(--primary-gold);
}

.large-text {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.emphasis {
    color: var(--primary-gold);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Solution Section */
.solution {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.solution::before {
    content: '';
    position: absolute;
    bottom: -250px;
    left: -250px;
    width: 900px;
    height: 900px;
    background:
        radial-gradient(circle, rgba(244, 176, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 25%, transparent 60%);
    border-radius: 50%;
    animation: pulseBig 15s ease-in-out infinite;
    filter: blur(50px);
}

.solution::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background:
        radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    animation: pulseBig 18s ease-in-out infinite reverse;
    filter: blur(45px);
}

@keyframes pulseBig {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.25) rotate(180deg); opacity: 1; }
}

.solution-highlight {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary-gold);
    margin: 3rem 0;
}

.quote {
    font-size: 2rem;
    font-style: italic;
    text-align: center;
    color: var(--primary-gold);
    margin-bottom: 3rem;
    font-weight: 600;
}

.solution-features {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(244, 176, 0, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-gold);
}

.feature-icon {
    font-size: 2rem;
}

.feature-text {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.goal-section {
    margin-top: 4rem;
    text-align: center;
}

.goal-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.nation-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.nation-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(244, 176, 0, 0.3);
    min-width: 200px;
    transition: all 0.3s;
}

.nation-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-gold);
}

.nation-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.goal-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-top: 2rem;
    line-height: 1.8;
}

/* Features Section */
.features {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -300px;
    width: 900px;
    height: 900px;
    background:
        radial-gradient(circle, rgba(74, 158, 255, 0.18) 0%, rgba(74, 158, 255, 0.08) 30%, transparent 65%);
    border-radius: 50%;
    animation: floatRotate 25s ease-in-out infinite;
    filter: blur(60px);
}

.features::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -250px;
    width: 750px;
    height: 750px;
    background:
        radial-gradient(circle, rgba(244, 176, 0, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatRotate 22s ease-in-out infinite reverse;
    filter: blur(55px);
}

@keyframes floatRotate {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.75; }
    50% { transform: translate(-120px, 80px) rotate(180deg) scale(1.2); opacity: 1; }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(244, 176, 0, 0.25);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Neon border animation */
.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(244, 176, 0, 0.4),
        transparent 30%,
        transparent 70%,
        rgba(74, 158, 255, 0.3),
        transparent
    );
    animation: rotateBorder 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 1) 100%);
    border-radius: 18px;
    z-index: 0;
}

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

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-gold);
    box-shadow:
        0 25px 50px rgba(244, 176, 0, 0.4),
        0 0 80px rgba(244, 176, 0, 0.2),
        inset 0 0 40px rgba(244, 176, 0, 0.08);
}

.feature-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(244, 176, 0, 0.2);
    z-index: 1;
    transition: all 0.3s;
}

.feature-card:hover .feature-number {
    color: rgba(244, 176, 0, 0.4);
    transform: scale(1.1);
}

.feature-icon-lg {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.tagline {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(244, 176, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-radius: 20px;
}

.tagline p {
    font-size: 1.5rem;
    color: var(--primary-gold);
    font-weight: 600;
}

/* Agent Token Section */
.agent-token {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.agent-token::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -300px;
    width: 850px;
    height: 850px;
    background:
        radial-gradient(circle, rgba(244, 176, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 30%, transparent 65%);
    border-radius: 50%;
    animation: wavyFloat 28s ease-in-out infinite;
    filter: blur(50px);
}

.agent-token::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -300px;
    width: 800px;
    height: 800px;
    background:
        radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: wavyFloat 24s ease-in-out infinite reverse;
    filter: blur(48px);
}

@keyframes wavyFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.8; }
    33% { transform: translate(60px, -40px) scale(1.15) rotate(120deg); opacity: 1; }
    66% { transform: translate(-40px, 60px) scale(1.05) rotate(240deg); opacity: 0.9; }
}

.token-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.token-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(244, 176, 0, 0.2);
    transition: all 0.3s;
}

.token-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.token-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.token-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.token-benefits {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary-gold);
    margin-top: 3rem;
}

.token-benefits h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    text-align: center;
}

.token-benefits ul {
    list-style: none;
}

.token-benefits li {
    padding: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.token-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Core Value Section */
.core-value {
    position: relative;
    overflow: hidden;
}

.core-value::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background:
        radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, rgba(244, 176, 0, 0.08) 40%, transparent 65%);
    border-radius: 50%;
    animation: crossFade 22s ease-in-out infinite;
    filter: blur(75px);
}

@keyframes crossFade {
    0%, 100% { transform: translateX(-50%) scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: translateX(-50%) scale(1.25) rotate(180deg); opacity: 1; }
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.value-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(244, 176, 0, 0.2);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(244, 176, 0, 0.2);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.value-card ul {
    list-style: none;
}

.value-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

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

.foundation-banner {
    text-align: center;
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(244, 176, 0, 0.2), rgba(255, 215, 0, 0.1));
    border-radius: 20px;
    border: 2px solid var(--primary-gold);
}

.foundation-banner p {
    font-size: 2rem;
    color: var(--primary-gold);
    font-weight: 700;
    font-style: italic;
}

/* Roadmap Section */
.roadmap {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background:
        radial-gradient(circle, rgba(244, 176, 0, 0.18) 0%, rgba(255, 215, 0, 0.1) 20%, transparent 50%);
    border-radius: 50%;
    animation: breatheGlow 20s ease-in-out infinite;
    filter: blur(80px);
}

.roadmap::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -200px;
    width: 700px;
    height: 700px;
    background:
        radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: breatheGlow 17s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes breatheGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.35); opacity: 1; }
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 2rem auto;
    padding: 3rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar styling */
.timeline::-webkit-scrollbar {
    height: 8px;
}

.timeline::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.timeline::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 10px;
}

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

/* Horizontal timeline line */
.timeline:before {
    content: '';
    position: absolute;
    top: 80px;
    left: 2%;
    right: 2%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-gold) 10%,
        var(--secondary-gold) 50%,
        var(--primary-gold) 90%,
        transparent 100%);
    box-shadow: 0 0 10px rgba(244, 176, 0, 0.5);
}

.timeline-item {
    display: inline-block;
    width: 280px;
    min-width: 280px;
    margin: 0 0.75rem;
    position: relative;
    vertical-align: top;
    white-space: normal;
}

.timeline-item:nth-child(odd) {
    flex-direction: column;
}

.timeline-item:nth-child(even) {
    flex-direction: column;
}

.timeline-marker {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    z-index: 2;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 50%;
    border: 3px solid var(--dark-bg);
    box-shadow: 0 0 15px rgba(244, 176, 0, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(244, 176, 0, 0.6); }
    50% { box-shadow: 0 0 25px rgba(244, 176, 0, 1); }
}

.timeline-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    border: 2px solid rgba(244, 176, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(244, 176, 0, 0.3),
        transparent 30%
    );
    animation: rotateBorder 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.timeline-content::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 1) 100%);
    border-radius: 14px;
    z-index: 0;
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover {
    border-color: var(--primary-gold);
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(244, 176, 0, 0.4),
        0 0 60px rgba(244, 176, 0, 0.2);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-bg);
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-gold);
    position: relative;
    z-index: 1;
}

.timeline-content ul {
    list-style: none;
    position: relative;
    z-index: 1;
}

.timeline-content li {
    padding: 0.35rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.timeline-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-size: 0.85rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, rgba(244, 176, 0, 0.1), rgba(255, 215, 0, 0.05));
    padding: 6rem 0;
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.cta-tag {
    background: var(--card-bg);
    border: 2px solid var(--primary-gold);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary-gold);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(244, 176, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
    }

    .navbar .container {
        padding: 1rem 1.5rem;
        height: 70px;
    }

    .nav-links {
        display: none;
    }

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

    .timeline:before {
        top: 0;
        left: 20px;
        right: auto;
        width: 3px;
        height: 100%;
        background: linear-gradient(180deg, var(--primary-gold), var(--secondary-gold));
    }

    .timeline-item {
        display: block;
        width: 100%;
        margin: 0 0 2rem 0;
        padding-left: 60px;
    }

    .timeline-marker {
        left: 11px;
        top: 0;
        transform: translateX(0);
    }

    .timeline-content {
        margin-top: 0;
    }

    .timeline-date {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content li {
        font-size: 0.85rem;
    }

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

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

    .btn {
        width: 100%;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
