:root {
    /* Advanced Color Palette */
    --primary-purple: #4F46E5;
    /* Updated to match logo */
    --primary-blue: #4338CA;
    /* Darker shade for gradient */
    --primary-indigo: #3730A3;
    /* Even darker for depth */
    --accent-cyan: #06B6D4;
    --accent-pink: #EC4899;
    --accent-yellow: #F59E0B;
    --accent-green: #10B981;

    /* AI-Themed Colors */
    --ai-electric: #3B82F6;
    --ai-neon: #22D3EE;
    --ai-glow: #8B5CF6;
    --ai-accent: #A78BFA;

    /* Dark Theme with Depth */
    --bg-darkest: #050510;
    --bg-darker: #0A0A1E;
    --bg-dark: #0F0F2E;
    --bg-medium: #1A1A3E;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-card-elevated: rgba(255, 255, 255, 0.08);

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-disabled: rgba(255, 255, 255, 0.3);

    /* Advanced Gradients */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
    --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #EC4899 100%);
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-ai: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #22D3EE 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(67, 56, 202, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.2) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(236, 72, 153, 0.2) 0px, transparent 50%);

    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 3rem;
    --radius-full: 9999px;

    /* Advanced Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.5);

    /* Glow Effects */
    --glow-purple: 0 0 40px rgba(79, 70, 229, 0.4);
    --glow-blue: 0 0 40px rgba(67, 56, 202, 0.4);
    --glow-cyan: 0 0 40px rgba(6, 182, 212, 0.4);
    --glow-ai: 0 0 60px rgba(139, 92, 246, 0.5);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darkest);
    background-image: var(--gradient-mesh);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.15), transparent 50%);
    z-index: -1;
    overflow: hidden;
}

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

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

.particle:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 60%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 70%;
    top: 80%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 30%;
    animation-delay: 8s;
    animation-duration: 16s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translate(100px, -100px) scale(1.5);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50px, 100px) scale(1.2);
        opacity: 0.4;
    }

    75% {
        transform: translate(150px, 50px) scale(1.3);
        opacity: 0.7;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0;
    width: auto;
    background: transparent;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: var(--spacing-xs) var(--spacing-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    gap: var(--spacing-xl);
    transition: var(--transition-normal);
}

.nav-content:hover {
    background: rgba(15, 15, 30, 0.95);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

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

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 50px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

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

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

/* Hero Section */
.hero {
    padding: 120px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    animation: slideDown 0.6s ease;
}

.badge-icon {
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    font-family: 'Space Grotesk', sans-serif;
    animation: slideUp 0.8s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    animation: slideUp 1.2s ease;
    width: 100%;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    font-size: 1.5rem;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

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

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Grotesk', sans-serif;
}

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

.stat-sublabel {
    font-size: 0.7rem;
    color: var(--accent-cyan);
    margin-top: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease;
}

.phone-mockup {
    position: relative;
    animation: floatPhone 3s infinite ease-in-out;
}

@keyframes floatPhone {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a2e, #16162a);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #0a0a15;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.map-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    position: relative;
    overflow: hidden;
}

.map-interface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(139, 92, 246, 0.03) 50px, rgba(139, 92, 246, 0.03) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(139, 92, 246, 0.03) 50px, rgba(139, 92, 246, 0.03) 51px);
}

.map-pin {
    position: absolute;
    font-size: 2rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.5));
}

.pin-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.pin-2 {
    top: 50%;
    right: 25%;
    animation-delay: 0.5s;
}

.pin-3 {
    bottom: 30%;
    left: 40%;
    animation-delay: 1s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.quest-card {
    background: rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

.quest-title {
    font-weight: 600;
    font-size: 0.875rem;
}

.quest-xp {
    font-size: 0.75rem;
    color: var(--accent-yellow);
    font-weight: 600;
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 0;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    font-family: 'Space Grotesk', sans-serif;
}

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

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

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

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

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139, 92, 246, 0.3);
}

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-md);
}

.feature-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
}

.feature-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    filter: blur(20px);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-glow {
    opacity: 0.6;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-family: 'Space Grotesk', sans-serif;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.feature-badge {
    display: inline-block;
    background: var(--gradient-accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05), transparent);
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    transform: translateX(-30px);
}

.step.animate {
    animation: slideInRight 0.6s ease forwards;
}

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

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    box-shadow: var(--shadow-glow);
}

.step-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.4;
    animation: pulse 2s infinite;
}

.step-content {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-family: 'Space Grotesk', sans-serif;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-icon {
    font-size: 3rem;
    text-align: center;
}

.step-connector {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary-purple), var(--primary-blue));
    margin: 0 auto;
    margin-left: 39px;
    opacity: 0.5;
}

/* Download Section */
.download {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.03), transparent);
}

.download-content {
    text-align: center;
    background: rgba(20, 20, 40, 0.8);
    /* Increased opacity for better contrast */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Slightly brighter border */
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl) var(--spacing-xl);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
    /* Added subtle glow */
}

.download-content::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(139, 92, 246, 0.1) 90deg,
            rgba(59, 130, 246, 0.1) 180deg,
            rgba(6, 182, 212, 0.1) 270deg,
            transparent 360deg);
    animation: rotate 15s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.download-text {
    position: relative;
    z-index: 1;
}

.download-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    font-family: 'Space Grotesk', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.store-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.store-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    cursor: not-allowed;
    transition: var(--transition-normal);
    opacity: 0.7;
    /* Increased opacity for legibility */
    min-width: 200px;
}

.store-button.disabled {
    filter: grayscale(1);
}

.store-button:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.store-icon {
    font-size: 2.5rem;
    opacity: 1;
    /* Increased opacity for maximum visibility */
    color: white;
    /* Explicitly set color to white */
}

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

.store-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.store-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 2px;
    color: var(--text-muted);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.15));
    border: 2px solid rgba(251, 191, 36, 0.4);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-yellow);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.2);
    margin-top: var(--spacing-md);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-yellow);
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
    box-shadow: 0 0 10px var(--accent-yellow);
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.download-visual {
    position: relative;
    height: 300px;
    margin-top: var(--spacing-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    z-index: 1;
    /* Ensure visual elements are above background effects */
}

.floating-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    animation: floatCard 3s infinite ease-in-out;
    transition: var(--transition-normal);
    min-width: 180px;
}

.floating-card:nth-child(1) {
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    animation-delay: 1s;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.4);
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.card-icon {
    font-size: 2.5rem;
}

.card-text {
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: var(--spacing-2xl) 0;
    margin-top: var(--spacing-2xl);
    position: relative;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl);
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.footer-brand {
    margin-bottom: var(--spacing-xl);
}

.footer-brand .logo {
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-icon {
    font-size: 2.5rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0 auto var(--spacing-xl);
    max-width: 500px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

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

.footer-column h4 {
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    color: white;
    transform: translateY(-8px) rotate(5deg);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    border-color: transparent;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* AI Features Section */
.ai-features {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05), transparent);
    position: relative;
    overflow: hidden;
}

.ai-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ai-electric);
    animation: fadeIn 1s ease;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.ai-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.ai-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 40px -10px rgba(139, 92, 246, 0.2);
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.ai-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

.ai-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid var(--ai-electric);
    opacity: 0;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.ai-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.ai-card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.ai-feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.check-icon {
    color: var(--accent-green);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: var(--spacing-xl);
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .download-title {
        font-size: 2.5rem;
    }

    .download-visual {
        flex-wrap: wrap;
        height: auto;
    }

    .floating-card {
        min-width: 150px;
    }

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

    .nav-links {
        gap: var(--spacing-md);
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }

    .phone-mockup {
        transform: scale(0.9);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .stat-card {
        width: 100%;
    }

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

    .step {
        grid-template-columns: 60px 1fr;
        gap: var(--spacing-md);
    }

    .step-icon {
        display: none;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-connector {
        margin-left: 29px;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .phone-mockup {
        transform: scale(0.85);
    }

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

    .store-button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .nav-content {
        padding: var(--spacing-sm) var(--spacing-md);
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background: var(--text-primary);
        border-radius: 3px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        background: rgba(15, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: var(--spacing-md);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: var(--radius-lg);
        padding: var(--spacing-lg) var(--spacing-md);
        margin-top: var(--spacing-sm);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

}

/* Global Map Styles */
.mobile-map {
    display: none;
    margin-bottom: var(--spacing-lg);
}

.mobile-map .map-interface {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    overflow: hidden;
}

.mobile-map .map-pin {
    font-size: 1.5rem;
}

/* Map Game Section - Global */
.map-game {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-card);
}

.map-game-map {
    position: relative;
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    margin-top: var(--spacing-lg);
}

.map-game-pin {
    position: absolute;
    font-size: 2rem;
    cursor: pointer;
}

.map-game-pin:nth-child(1) {
    top: 20%;
    left: 30%;
}

.map-game-pin:nth-child(2) {
    top: 50%;
    left: 60%;
}

.map-game-pin:nth-child(3) {
    top: 80%;
    left: 40%;
}

/* Mobile/Tablet Adjustments (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
        /* Increase padding to 2rem */
    }

    .hero {
        padding: var(--spacing-3xl) 0;
    }

    .phone-mockup {
        display: block;
        margin: 0 auto;
    }

    .mobile-map {
        display: none;
    }

    .how-it-works .section-title {
        white-space: nowrap;
    }
}

/* Resume max-width: 640px for remaining styles */
@media (max-width: 640px) {
    .hero {
        padding: var(--spacing-2xl) 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .stat-card {
        width: 100%;
        /* Ensure cards take full width of container (minus padding) */
    }

    .nav-links a {
        font-size: 1.1rem;
        opacity: 0;
        transform: translateY(10px);
        transition: var(--transition-normal);
        width: 100%;
        text-align: center;
        padding: var(--spacing-xs) 0;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .phone-frame {
        width: 220px;
        height: 440px;
        margin: 0 auto;
    }

    .phone-mockup {
        transform: none;
    }

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

/* Smooth Scrolling & Overflow Fix */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
}

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

/* Contact Section */
.contact {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, transparent, rgba(79, 70, 229, 0.05));
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.submit-button {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    transition: var(--transition-normal);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button-icon {
    font-size: 1.2rem;
}
