:root {
    --void-black: #000000;
    --pakistan-green: #01411C;
    --deep-void: #001A0D;
    --lime-signal: #CCFF00; /* Fluorescent Lime */
    --white: #FFFFFF;
    --white-muted: rgba(255, 255, 255, 0.6);
    
    --font-serif: 'Bodoni Moda', serif;
    --font-sans: 'Outfit', sans-serif;
    
    --transition-slow: 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-lime: 2s ease;
}

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

body {
    background-color: var(--void-black);
    color: var(--white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
.cinematic-void {
    background: radial-gradient(circle at center, var(--deep-void) 0%, var(--void-black) 100%);
    background-attachment: fixed;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    pointer-events: none;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Luxury Box Panel System */
.panel {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 10vw;
    overflow: hidden;
    /* Growth handled by vertical spacers and padding */
}

.hero, .punchline {
    min-height: 90vh; /* Near full-screen */
}

.poetic, .hook, .questioning {
    min-height: 60vh; /* Expanding naturally */
}

.signup {
    min-height: 40vh; /* Tighter */
}

.luxury-box {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle bottom border to define the panel */
}

.box-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.1; /* Controlled atmosphere */
    filter: grayscale(1) contrast(1.1);
    mix-blend-mode: lighten;
    pointer-events: none;
}

/* Content Layout */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
}

.content-wrapper.tight {
    max-width: 600px;
}

.align-center { text-align: center; align-items: center; justify-content: center; }
.align-left { text-align: left; align-items: flex-start; }
.align-right { text-align: right; align-items: flex-end; }

.align-right .content-wrapper { margin-left: auto; }

/* Spacing Logic - Reduced by ~30-40% */
.vertical-spacer { width: 100%; }
.vertical-spacer.small { height: 4vh; }
.vertical-spacer.medium { height: 12vh; }
.vertical-spacer.large { height: 25vh; }

/* Typography Constraints */
h1.brand-title, .stacked-word {
    font-family: var(--font-serif);
    font-weight: 700;
    text-transform: uppercase;
}

h1.brand-title {
    font-size: clamp(2rem, 7vw, 4.5rem); /* Reduced per request */
    letter-spacing: -0.01em;
    line-height: 0.95;
    margin-top: 1rem;
}

.pre-title {
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.5em;
    font-size: 0.85rem;
    color: var(--white-muted);
}

.narrative-line, .hook-line, .question-line {
    font-family: var(--font-sans);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 200;
    margin-bottom: 2rem;
    color: var(--white-muted);
}

.impact-anchor {
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.italic-soft {
    font-style: italic;
    opacity: 0.9;
}

.insha-allah {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    font-style: italic;
    margin-top: 3rem;
    color: var(--white);
}

/* Lime Precision Signals */
.lime-signal {
    width: 40px;
    height: 1px;
    background: var(--lime-signal);
    margin: 3rem 0;
    opacity: 0.2; /* Subtle by default */
    transition: width var(--transition-lime), opacity var(--transition-lime);
    box-shadow: 0 0 10px var(--lime-signal);
}

.align-right .lime-signal { margin-left: auto; }

.visible .lime-signal {
    width: 60px;
    opacity: 0.8; /* Subtle activation */
}

.luminous-lime {
    color: var(--white);
    text-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
    transition: text-shadow var(--transition-lime);
}

.visible .luminous-lime {
    text-shadow: 0 0 30px rgba(204, 255, 0, 0.5);
}

.lime-divider {
    width: 2px;
    height: 6vh;
    background: var(--lime-signal);
    margin: 2rem 0;
    opacity: 0.3;
}

/* Punchline Moment */
.poster-moment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stacked-word {
    font-size: clamp(4rem, 15vw, 10rem);
    line-height: 0.85;
}

.stacked-word.massive {
    font-size: clamp(5rem, 18vw, 12rem);
}

.stacked-word.smaller {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    opacity: 0.6;
}

/* Signup UI */
.closing-text { font-size: 1.2rem; font-weight: 300; opacity: 0.8; }
.arrival-text { font-size: 1.5rem; font-weight: 300; margin-top: 1rem; }

.shukriya {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.input-group {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin: 3rem 0;
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--lime-signal);
}

input[type="email"],
input[type="text"] {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 15px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    text-align: center;
    outline: none;
}

/* Fix for white background box on Name/Email (Autofill) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--void-black) inset !important;
    -webkit-text-fill-color: var(--white) !important;
}

.flag-button {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 15px 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.3em;
    cursor: pointer;
    transition: all 0.4s ease;
}

.flag-button:hover {
    background: var(--white);
    color: var(--pakistan-green);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.partnership-cta { margin-top: 4rem; opacity: 0.6; font-size: 0.9rem; }
.subtle-link { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); }

/* Inquiry Drawer System (Compact) */
.inquiry-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    width: 100%;
}

.inquiry-drawer.active {
    max-height: 600px;
}

.inquiry-container.compact {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inquiry-container.compact .input-group {
    margin: 1rem 0;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .input-group {
    flex: 1;
}

.inquiry-container input {
    background: transparent;
    border: none;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    width: 100%;
    outline: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.inquiry-container select, 
.inquiry-container textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inquiry-container select {
    cursor: pointer;
    padding-bottom: 10px;
}

.inquiry-container option {
    background: var(--void-black);
    color: var(--white);
}

.inquiry-container textarea {
    resize: none;
    padding-bottom: 5px;
}

.flag-button.small {
    padding: 10px 30px;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.footer-copyright {
    margin-top: 5rem;
    opacity: 0.3;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Animation: Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .panel { padding: 0 8vw; }
    .align-left, .align-right { text-align: center; align-items: center; }
    .align-right .content-wrapper, .align-left .content-wrapper { margin: 0; }
    .lime-signal { margin: 2rem auto; }
    .vertical-spacer.large { height: 15vh; }
    
    .stacked-word { font-size: clamp(3rem, 12vw, 8rem); }
    .stacked-word.massive { font-size: clamp(3.5rem, 14vw, 10rem); }
}
