/* ==========================================================================
   Velaro - Premium Coming Soon Page
   ========================================================================== */

/* --- Custom Properties (CSS Variables) --- */
:root {
    /* Color Palette - "Proudly Indian" Luxury Theme */
    --color-primary-dark: #121212;
    /* Deep Charcoal/Slate */
    --color-primary: #1A1A1A;
    /* Slightly lighter slate */
    --color-accent-saffron: #FF9933;
    /* Indian Saffron */
    --color-accent-gold: #D4AF37;
    /* Metallic Gold */
    --color-accent-gold-light: rgba(212, 175, 55, 0.3);
    --color-text-main: #F5F5F7;
    /* Off-white for high readability */
    --color-text-muted: #A0A0A5;
    /* Soft gray for secondary text */

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

    /* Layout & Effects */
    --glass-bg: rgba(26, 26, 26, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --glass-blur: blur(16px);

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-primary-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;

    /* Prevent default text selection highlight color clash */
    ::selection {
        background-color: var(--color-accent-gold-light);
        color: var(--color-text-main);
    }
}

/* --- Animated Background Layer --- */
#background-tiles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    /* Soft radial gradient to center focus */
    background: radial-gradient(circle at center, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.floating-tile {
    position: absolute;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    animation: animateTile linear infinite;
    bottom: -150px;
    z-index: -1;
}

@keyframes animateTile {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
        /* Fade in */
    }

    90% {
        opacity: 1;
        /* Start fading out */
    }

    100% {
        transform: translateY(-100vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Optional Overlay to ensure text readability against background */
.overlay-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(18, 18, 18, 0.8) 100%);
    z-index: -1;
    pointer-events: none;
}


/* --- Main Layout Container --- */
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;
}

/* --- Header / Brand Area --- */
.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

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

.logo-icon {
    font-size: 1.5rem;
    color: var(--color-accent-gold);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.tagline {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-saffron);
    position: relative;
    padding-left: 1rem;
}

.tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-saffron);
    border-radius: 50%;
}


/* --- Main Central Content (Glass Card) --- */
.glass-card {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.card-content {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    /* Safari support */
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: var(--glass-shadow);
    text-align: center;
    max-width: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Decorative subtle glow behind the card */
.card-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--color-accent-gold-light) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}


/* --- Typography for Content --- */
.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 153, 51, 0.25);
    color: var(--color-accent-saffron);
    border: 1px solid rgba(255, 153, 51, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.hero-title span {
    display: block;
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, #F5DEB3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fallback for browsers that don't support text clipping */
    color: var(--color-accent-gold);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}


/* --- Countdown Timer --- */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    /* Monospace numbers to prevent jumping during countdown */
    font-variant-numeric: tabular-nums;
    min-width: 4rem;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-gold);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* --- Contact Section --- */
.contact-section {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    margin-top: 1rem;
}

.contact-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.contact-email {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent-gold);
    transition: var(--transition-smooth);
}

.contact-email:hover {
    color: #E8C147;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.contact-email:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}


/* --- Footer Area --- */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.social-icon:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary-dark);
    border-color: var(--color-accent-gold);
    transform: translateY(-3px);
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}


/* --- Utilities & Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Responsive Design --- */
@media (max-width: 900px) {
    .countdown-container {
        gap: 1.5rem;
    }

    .countdown-value {
        font-size: 2.5rem;
        min-width: 3rem;
    }

    .card-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .brand-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .tagline::before {
        display: none;
        /* Remove dot separator on mobile stacked view */
    }

    .tagline {
        padding-left: 0;
    }

    .site-footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .countdown-container {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 1.5rem;
    }

    .card-content {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .countdown-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

}