:root {
    /* BeemBeem Color System */
    --beem-yellow: #fbbf24;
    --beem-orange: #fb923c;
    --beem-pink: #f472b6;
    --beem-purple: #9333ea;
    --beem-indigo: #818cf8;
    
    /* Semantic Colors */
    --primary: var(--beem-orange);
    --secondary: var(--beem-purple);
    --accent: var(--beem-pink);
    --dark: #18181b;
    --light: #fafafa;
    --gray-600: #52525b;
    --gray-400: #71717a;
    --white: #ffffff;
    
    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography Scale */
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3rem;
    --text-5xl: 3.5rem;
    
    /* Kawaii touches */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    margin-bottom: var(--space-xs);
    color: white;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

h2 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    margin-bottom: var(--space-lg);
    color: var(--dark);
}

h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    font-weight: 700;
    color: var(--dark);
}

p {
    line-height: 1.7;
}

/* Links */
a {
    color: var(--beem-purple);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--beem-orange);
    border-bottom-color: var(--beem-orange);
}

/* Layout Components */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

section {
    padding: var(--space-2xl) 0;
    position: relative;
}

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

.text-gradient {
    background: linear-gradient(120deg, var(--beem-orange), var(--beem-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Button Styles */
.button, button {
    display: inline-block;
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--dark);
    color: white;
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.button:hover, button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background: #27272a;
    border-bottom: none;
    color: white;
}

.button:active, button:active {
    transform: translateY(0);
}

/* Form Elements */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

input[type="email"],
input[type="text"],
input[type="tel"],
textarea {
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    background: rgba(255,255,255,0.95);
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

input:focus,
textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px var(--beem-orange);
}

input::placeholder,
textarea::placeholder {
    color: var(--gray-600);
}

/* Hero Section */
.hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--beem-yellow) 0%,
        var(--beem-orange) 20%,
        var(--beem-pink) 50%,
        var(--beem-purple) 80%,
        var(--beem-indigo) 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.2) 0%, transparent 50%);
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-lg) 0;
}

.hero p {
    font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
    margin-bottom: var(--space-lg);
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Image Styles */
.beembeem-float {
    display: block;
    object-fit: contain;
    animation: gentle-float 3s ease-in-out infinite;
}

.beembeem-hero {
    width: 320px;
    height: 320px;
    margin: 0 auto var(--space-lg);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.beembeem-divider {
    width: 160px;
    height: 160px;
    margin: 0 auto var(--space-lg);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.beembeem-footer {
    width: 200px;
    height: 200px;
    margin: var(--space-lg) auto 0;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.2));
}

/* Grid Layouts */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 16px 32px rgba(0,0,0,0.12);
    border-color: var(--beem-orange);
}

.feature-icon {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
}

.feature p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: var(--text-base);
}

/* Stat Components */
.stat {
    text-align: center;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
}

.stat:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--beem-orange);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.5;
}

.stat-label a {
    color: var(--beem-purple);
    border-bottom: none;
    font-weight: 400;
}

.stat-label a:hover {
    color: var(--beem-orange);
    text-decoration: underline;
}

/* Section Variants */
.section-gradient {
    background: linear-gradient(135deg, var(--beem-purple) 0%, var(--beem-indigo) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
}

.section-gradient .container {
    position: relative;
    z-index: 1;
}

.section-gradient h2 {
    color: white;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: var(--space-sm);
    max-width: 480px;
    margin: 0 auto;
    justify-content: center;
}

/* Airtable Embed */
.airtable-embed {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin: 0 auto;
    display: block;
}


/* Animations */
@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .stat-grid {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    :root {
        --text-base: 1rem;
        --text-lg: 1.125rem;
        --text-xl: 1.25rem;
        --text-2xl: 1.5rem;
        --text-3xl: 2rem;
        --text-4xl: 2.5rem;
        --text-5xl: 3rem;
    }
    
    .feature-grid,
    .stat-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        max-width: 100%;
        gap: var(--space-sm);
    }
    
    .hero-cta .button {
        width: 100%;
    }
    
    section {
        padding: var(--space-2xl) 0;
    }
    
    .beembeem-hero {
        width: 240px;
        height: 240px;
    }
    
    .hero {
        min-height: calc(100vh - 60px);
    }
    
    .stat-grid {
        gap: var(--space-md);
    }
    
    .stat {
        padding: var(--space-md);
    }
    
    .feature {
        padding: var(--space-lg);
    }
    
    h2 {
        margin-bottom: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-content {
        padding: var(--space-lg) 0;
    }
    
    .beembeem-hero {
        width: 200px;
        height: 200px;
        margin-bottom: var(--space-lg);
    }
    
    .beembeem-footer {
        width: 160px;
        height: 160px;
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .feature-grid {
        gap: var(--space-md);
    }
}

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

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--beem-orange);
    outline-offset: 2px;
}

/* Background Patterns */
.bg-light { background: var(--light); }
.bg-white { background: white; }
.bg-dark { background: var(--dark); }

/* Content Width Constraints */
.max-w-sm { max-width: 640px; }
.max-w-md { max-width: 768px; }
.max-w-lg { max-width: 1024px; }
.max-w-xl { max-width: 1280px; }

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Spacing Utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Text Utilities */
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }

.text-gray { color: var(--gray-600); }
.text-light { color: var(--gray-400); }
.text-white { color: white; }
.text-white-90 { color: rgba(255,255,255,0.9); }
