/* Augmend Design System - Essential Custom Styles */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Colors */
    --color-primary: hsl(238, 83%, 67%);
    --color-primary-dark: hsl(238, 83%, 57%);
    --color-primary-light: hsl(238, 83%, 95%);
    --color-primary-50: hsl(238, 83%, 97%);
    
    --color-text-primary: hsl(220, 13%, 18%);
    --color-text-secondary: hsl(220, 13%, 28%);
    --color-text-muted: hsl(220, 9%, 46%);
    --color-text-light: hsl(220, 9%, 64%);
    
    --color-background: hsl(0, 0%, 100%);
    --color-background-light: hsl(220, 14%, 98%);
    --color-background-muted: hsl(220, 14%, 96%);
    --color-page-background: #fff;
    
    --color-heading-on-background: #111;
    --color-body-on-background: #222;
    
    /* Typography */
    --font-family-primary: 'Inter', sans-serif;
    --font-family-mono: 'SF Mono', monospace;
    
    /* Font Sizes */
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 1.875rem;
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;
    --text-5xl: 3.75rem;
    --text-6xl: 4.5rem;
    
    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Letter Spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1.25rem;
    --space-2xl: 1.75rem;
    --space-3xl: 2.5rem;
    --page-max-width: 1200px;
}

/* Base Styles */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    zoom: 1;
}

body {
    font-family: var(--font-family-primary);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    zoom: 1;
    background: var(--color-page-background);
}

/* Special Component Styles */
.glass-nav {
    backdrop-filter: none;
    background: var(--color-page-background);
    font-size: var(--text-xl);
}

.navbar-inner-border {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.gradient-bg {
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.5) 0%, rgba(224, 231, 255, 0.3) 50%, rgba(238, 242, 255, 0.4) 100%);
}

/* Complex Background Patterns */
.poem-background,
.section-alt.poem-background {
    position: relative;
    background-image: 
        radial-gradient(circle, rgba(79, 70, 229, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(147, 51, 234, 0.15) 35%, 
            rgba(79, 70, 229, 0.25) 45%, 
            rgba(59, 130, 246, 0.25) 55%, 
            rgba(147, 51, 234, 0.15) 65%, 
            transparent 100%);
    background-size: 6px 6px, 100% 100%;
    background-position: 0 0, 0 0;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 50vw;
    padding-right: 50vw;
}

/* Solid dark background for call-to-action section */
.cta-background {
    position: relative;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(79, 70, 229, 0.45) 35%, 
        rgba(79, 70, 229, 0.75) 55%, 
        transparent 100%);
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 50vw;
    padding-right: 50vw;
}

/* Soft yellow watercolor background for challenges section */
.challenges-background {
    position: relative;
    background: rgba(255, 255, 0, 0.0);
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 50vw;
    padding-right: 50vw;
}

/* Complex Container Styles */
.challenge-image-container {
    width: 700px;
    height: 700px;
    padding-top: 100px;
    padding-bottom: 100px;
    background: hsl(238, 83%,100%);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px -8px rgba(99,102,241,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.challenge-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Mobile-Specific Styles */
@media (max-width: 640px) {
    .recognition-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        white-space: nowrap;
        min-height: 44px;
    }
    
    /* Mobile video card positioning */
    #floatingVideoCard {
        right: 0 !important;
        bottom: 1rem !important;
    }
}

/* Video card slide animation (works on all devices) */
#floatingVideoCard {
    width: 380px !important;
    height: 260px !important;
}

@media (max-width: 768px) {
    #floatingVideoCard {
        width: 270px !important;
        height: 185px !important;
    }
}

#floatingVideoCard.card-hidden {
    transform: translateX(100%) !important;
    transition: transform 0.2s ease-out !important;
}

#floatingVideoCard.card-visible {
    transform: translateX(0) !important;
    transition: transform 0.2s ease-out !important;
}

/* Modal mobile improvements */
@media (max-width: 640px) {
    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-content {
        width: 100%;
        max-width: none;
        margin: 0;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }
    
    /* Ensure form inputs don't zoom on iOS */
    input, textarea, select {
        font-size: 16px !important;
    }
}

 