/* ===================================
   Beezam Landing Page - Design System
   =================================== */

:root {
    /* Brand Colors */
    --primary: #2563EB;     /* Trust Blue */
    --primary-dark: #1E40AF;
    --accent: #E5417A;      /* Vibe Pink */
    --accent-glow: rgba(229, 65, 122, 0.4);
    
    --success: #10B981;     /* Safety Green */
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Surface Colors */
    --bg-body: #FAFAFA;
    --bg-surface: #FFFFFF;
    --bg-dark: #0F172A;
    --bg-dark-surface: #1E293B;

    /* Text Colors */
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    --text-light-muted: #94A3B8;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
    .nav-links a {
        font-weight: 500;
        color: var(--text-muted);
    }
    .nav-links a:hover {
        color: var(--primary);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #E2E8F0;
}

.btn-secondary:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-disclaimer {
    font-size: 0.875rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.hero-visual {
    position: relative;
    display: none; /* Hidden on mobile by default */
}

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

.app-mockup {
    background: var(--bg-surface);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 1.5rem;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(0,0,0,0.05);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E2E8F0;
}

.score-card {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.score-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #047857;
    line-height: 1;
    margin: 0.5rem 0;
}

.score-label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    font-size: 0.875rem;
    color: #059669;
}

.score-context {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #065F46;
}

.glp1-context {
    display: flex;
    gap: 1rem;
}

.context-item {
    flex: 1;
    background: #F8FAFC;
    padding: 1rem;
    border-radius: 12px;
}

.context-item .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.context-item .value {
    display: block;
    font-weight: 600;
    color: var(--text-main);
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Problem Section */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: transform 0.2s;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

/* Solution Section - Split */
.solution-section {
    background: #F8FAFC;
}

.split-layout {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.overline {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.check {
    color: var(--primary);
    font-weight: 800;
}

.graph-visualization {
    height: 400px;
    background: white;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Abstract Node Styles */
.node {
    position: absolute;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    background: white;
    border: 2px solid #E2E8F0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.node.central {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
    z-index: 10;
}

.node.symptom {
    border-color: var(--danger);
    color: var(--danger);
    background: #FEF2F2;
}

/* Dark Section (How It Works) */
.dark-section {
    background: var(--bg-dark);
    color: var(--text-light);
}

.text-light { color: white; }
.text-light-muted { color: var(--text-light-muted); }

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

.step-card {
    background: var(--bg-dark-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
}

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

.cta-box .btn {
    background: white;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-surface);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 48px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    border-top: 1px solid #E2E8F0;
    padding-top: 2rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}