/* 
==================================================
   VARIABLES & TOKENS
================================================== 
*/
:root {
    /* Brand Colors */
    --color-orange: #F57C00;
    --color-orange-hover: #E65100;
    --color-orange-light: rgba(245, 124, 0, 0.1);
    
    --color-charcoal: #1F2224;
    --color-charcoal-light: #2D3134;
    
    --color-gray-light: #F8FAFC;
    --color-gray-border: #E2E8F0;
    --color-gray-text: #64748B;
    
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    
    /* Effects */
    --shadow-soft: 0 10px 40px -10px rgba(31, 34, 36, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(245, 124, 0, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 
==================================================
   GLOBAL STYLES
================================================== 
*/
body {
    font-family: var(--font-primary);
    color: var(--color-charcoal);
    background-color: var(--color-gray-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

.page-wrapper {
    /* Constrain on ultra-wide screens to maintain readability */
    max-width: 1920px;
    margin: 0 auto;
}

/* 
==================================================
   ANIMATIONS (Keyframes)
================================================== 
*/
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatBackground {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* 
==================================================
   BACKGROUND EFFECTS (Startup / Food-Tech vibe)
================================================== 
*/
.bg-glow {
    position: fixed;
    top: -10%;
    right: -5%;
    width: 60vw;
    max-width: 800px;
    height: 60vw;
    max-height: 800px;
    background: radial-gradient(circle, rgba(245,124,0,0.06) 0%, rgba(245,124,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
}

.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.shape-1 {
    width: 40vw;
    max-width: 500px;
    height: 40vw;
    max-height: 500px;
    background: rgba(245, 124, 0, 0.04);
    top: 15%;
    left: -5%;
    animation: floatBackground 20s infinite ease-in-out;
}

.shape-2 {
    width: 30vw;
    max-width: 400px;
    height: 30vw;
    max-height: 400px;
    background: rgba(31, 34, 36, 0.03);
    bottom: -10%;
    right: 10%;
    animation: floatBackground 25s infinite ease-in-out reverse;
}

/* 
==================================================
   HERO SECTION
================================================== 
*/
.hero-section {
    animation: fadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.brand-logo {
    transition: var(--transition-smooth);
}

.logo-img {
    height: clamp(50px, 8vw, 70px); /* Increased logo sizing */
    width: auto;
    object-fit: contain;
}

.coming-soon-badge {
    background-color: var(--color-orange-light);
    color: var(--color-orange);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(245, 124, 0, 0.15);
    display: inline-block;
    transition: var(--transition-smooth);
}

.coming-soon-badge:hover {
    background-color: rgba(245, 124, 0, 0.15);
    transform: translateY(-2px);
}

.main-heading {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive fluid typography */
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--color-charcoal);
}

.hero-description {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-gray-text);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 500;
}

/* 
==================================================
   EARLY ACCESS FORM (Glassmorphism)
================================================== 
*/
.early-access-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards; /* Staggered animation */
    transition: var(--transition-smooth);
}

.early-access-card:hover {
    box-shadow: 0 15px 50px -10px rgba(31, 34, 36, 0.1);
}

.card-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-charcoal);
}

.custom-input {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    color: var(--color-charcoal);
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.custom-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.custom-input:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 4px var(--color-orange-light), 0 4px 12px rgba(245, 124, 0, 0.05);
    background-color: var(--color-white);
    transform: translateY(-1px);
}

.custom-btn {
    background-color: var(--color-orange);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-white);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.25);
    position: relative;
    overflow: hidden;
}

/* Elegant button hover gradient sweep */
.custom-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.custom-btn:hover::after {
    left: 100%;
}

.custom-btn:hover, .custom-btn:focus {
    background-color: var(--color-orange-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--color-white);
}

.custom-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(245, 124, 0, 0.2);
}

.trust-line {
    color: var(--color-gray-text);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 
==================================================
   FOOTER
================================================== 
*/
.footer {
    border-top: 1px solid rgba(0,0,0,0.04);
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}

.footer-content {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gray-text);
}

.footer-brand {
    color: var(--color-charcoal);
}

.footer-separator {
    color: var(--color-gray-border);
}

.footer-status {
    color: var(--color-orange);
}

/* 
==================================================
   RESPONSIVE DESIGN (Mobile First Adjustments)
================================================== 
*/

/* Adjustments for smaller mobile devices */
@media (max-width: 480px) {
    .early-access-card {
        border-radius: 20px;
    }
    
    .custom-input {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    
    .custom-btn {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }
}

/* Tablets and below */
@media (max-width: 768px) {
    .hero-section {
        margin-bottom: 2rem !important;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-description {
        max-width: 700px;
    }
}
}

/* 
==================================================
   CINEMATIC LOADING OVERLAY
================================================== 
*/
.cinematic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cinematic-overlay:not(.d-none) {
    opacity: 1;
}

.cinematic-content {
    animation: fadeUp 0.6s ease forwards;
}

.cinematic-text {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-charcoal);
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--color-charcoal), var(--color-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.3s forwards;
}
