/* ========================================
   CloudGlo - Brand Styles
   ======================================== */

:root {
    /* Brand Colors - derived from logo */
    --sky-light: #E8F4FC;
    --sky-blue: #B8D4E8;
    --sky-medium: #9BC5E0;
    --cloud-blue: #A8D0E6;
    --navy: #3D4A5C;
    --navy-light: #5A6B7D;
    --yellow-glow: #F5C842;
    --yellow-light: #FFE082;
    --blush: #FFCDD2;
    --white: #FFFFFF;
    
    /* Typography */
    --font-main: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Transitions */
    --transition: 0.3s ease;
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(180deg, var(--sky-light) 0%, var(--sky-blue) 100%);
    color: var(--navy);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Layout
   ======================================== */

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    padding: var(--space-sm) var(--space-md);
    position: relative;
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.hero-mascot {
    margin-bottom: var(--space-md);
    animation: float 3s ease-in-out infinite;
}

.mascot-img {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(61, 74, 92, 0.2));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.hero-title .highlight {
    color: var(--yellow-glow);
    text-shadow: 2px 2px 0 var(--navy);
    -webkit-text-stroke: 1px var(--navy);
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--navy-light);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.coming-soon {
    display: inline-block;
    background: var(--white);
    color: var(--navy);
    padding: var(--space-sm) var(--space-md);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 
        0 4px 0 var(--navy),
        0 8px 20px rgba(61, 74, 92, 0.15);
    border: 3px solid var(--navy);
    transition: all var(--transition);
}

.coming-soon:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 var(--navy),
        0 12px 25px rgba(61, 74, 92, 0.2);
}

/* ========================================
   Decorative Clouds
   ======================================== */

.clouds {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: var(--white);
    border-radius: 100px;
    opacity: 0.6;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: inherit;
}

.cloud-1 {
    width: 200px;
    height: 60px;
    top: 15%;
    left: -50px;
    animation: drift 25s linear infinite;
}

.cloud-1::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 30px;
}

.cloud-1::after {
    width: 100px;
    height: 100px;
    top: -50px;
    left: 80px;
}

.cloud-2 {
    width: 150px;
    height: 45px;
    top: 60%;
    right: -30px;
    animation: drift-reverse 30s linear infinite;
}

.cloud-2::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 20px;
}

.cloud-2::after {
    width: 75px;
    height: 75px;
    top: -40px;
    left: 60px;
}

.cloud-3 {
    width: 120px;
    height: 35px;
    bottom: 20%;
    left: 10%;
    animation: drift 20s linear infinite;
    animation-delay: -10s;
}

.cloud-3::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 15px;
}

.cloud-3::after {
    width: 60px;
    height: 60px;
    top: -35px;
    left: 50px;
}

@keyframes drift {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(calc(100vw + 100%));
    }
}

@keyframes drift-reverse {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(calc(-100vw - 100%));
    }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    color: var(--navy-light);
    font-size: 0.875rem;
    position: relative;
    z-index: 10;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .mascot-img {
        max-width: 200px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .cloud-1, .cloud-2, .cloud-3 {
        transform: scale(0.7);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--space-sm);
    }
    
    .mascot-img {
        max-width: 160px;
    }
    
    .coming-soon {
        padding: var(--space-xs) var(--space-sm);
        font-size: 1rem;
    }
}

/* ========================================
   Light bulb glow effect (optional)
   ======================================== */

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px var(--yellow-glow)) drop-shadow(0 20px 40px rgba(61, 74, 92, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--yellow-light)) drop-shadow(0 20px 40px rgba(61, 74, 92, 0.2));
    }
}

.mascot-img {
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite;
}
