/* JanSunwai Coming Soon Custom CSS Styles */

/* --------------------------------------------------
   1. Design System & Variables
   -------------------------------------------------- */
:root {
    --primary: #FF9933;        /* Indian Saffron */
    --primary-glow: rgba(255, 153, 51, 0.4);
    --secondary: #FFD700;      /* Gold */
    --accent: #FF5500;         /* Deep Orange */
    --dark-bg: #0D0805;        /* Rich Earthy Dark */
    --card-bg: rgba(24, 18, 14, 0.45);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: #E0D5CC;  /* Soft Warm White */
    --text-muted: #A89D95;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------
   3. Animated Background Layout
   -------------------------------------------------- */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/background.png');
    background-size: cover;
    background-position: center;
    transform: scale(1);
    animation: kenBurns 36s ease-in-out infinite alternate;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Warm dark overlay gradient to blend the Indian background image seamlessly */
    background: linear-gradient(
        135deg, 
        rgba(13, 8, 5, 0.45) 0%, 
        rgba(26, 15, 8, 0.60) 50%, 
        rgba(13, 8, 5, 0.75) 100%
    );
}

/* Ken Burns slow motion panning/zoom effect */
@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0px, 0px);
    }
    50% {
        transform: scale(1.08) translate(-10px, 5px);
    }
    100% {
        transform: scale(1.15) translate(10px, -5px);
    }
}

/* --------------------------------------------------
   4. Main Structure
   -------------------------------------------------- */
.main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    padding: 2.5rem 1.5rem;
    position: relative;
    z-index: 10;
}

/* --------------------------------------------------
   5. Header & SVG Logo
   -------------------------------------------------- */
.header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo-container svg {
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 10px rgba(255, 153, 51, 0.3));
}

.logo-container:hover svg {
    transform: rotate(10deg) scale(1.08);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-text .highlight {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------
   6. Content Card (Glassmorphism)
   -------------------------------------------------- */
.content-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    width: 100%;
    max-width: 640px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInCard 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(20px);
    opacity: 0;
}

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

/* Status Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid rgba(255, 153, 51, 0.25);
    border-radius: 100px;
    padding: 0.5rem 1.2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 4px var(--primary);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.2);
        box-shadow: 0 0 12px var(--primary);
        opacity: 1;
    }
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

/* Title & Description */
.main-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 20%, var(--secondary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(255, 153, 51, 0.1);
}

.subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Progress Meter */
.progress-container {
    width: 100%;
    margin-bottom: 2.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 84%;
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    box-shadow: 0 0 15px var(--primary-glow);
    position: relative;
    animation: fillProgress 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
}

/* Newsletter Subscription Form */
.notify-form {
    width: 100%;
}

.input-group {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.35rem;
    transition: var(--transition-smooth);
}

.input-group:focus-within {
    border-color: rgba(255, 153, 51, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.input-icon {
    display: flex;
    align-items: center;
    padding-left: 1.25rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.8rem 1rem;
    width: 100%;
}

.email-input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 0 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 85, 0, 0.35);
}

.submit-btn:active {
    transform: translateY(1px);
}

.button-arrow {
    transition: var(--transition-smooth);
}

.submit-btn:hover .button-arrow {
    transform: translateX(4px);
}

.form-feedback {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-smooth);
    height: 0;
}

.form-feedback.show {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 1rem;
}

.form-feedback.success {
    color: #2ec4b6;
}

/* --------------------------------------------------
   7. Footer & Socials
   -------------------------------------------------- */
.footer {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: rgba(255, 153, 51, 0.12);
    border-color: rgba(255, 153, 51, 0.4);
    color: var(--primary);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 6px 12px rgba(255, 153, 51, 0.15);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --------------------------------------------------
   8. Media Queries for Responsiveness
   -------------------------------------------------- */
@media (max-width: 600px) {
    .main-wrapper {
        padding: 2rem 1rem;
    }
    
    .content-card {
        padding: 2.5rem 1.5rem;
    }
    
    .main-title {
        font-size: 2.1rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 0.75rem;
    }
    
    .input-group:focus-within {
        box-shadow: none;
    }
    
    .email-input {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 0.9rem 1.2rem;
    }
    
    .email-input:focus {
        border-color: rgba(255, 153, 51, 0.5);
        box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.15);
        background: rgba(255, 255, 255, 0.06);
    }
    
    .input-icon {
        display: none; /* Hide internal icon on mobile stacks */
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 0;
        border-radius: 16px;
    }
}
