/* CSS Variables based on Brand Context */
:root {
    --bg-dark: #1a130f; /* Very dark espresso base */
    --bg-gradient-center: #2e211a; /* Lighter espresso for radial gradient */
    --accent-gold: #c9a24b;
    --accent-gold-hover: #e0b85f;
    --text-primary: #f5f1e8;
    --text-secondary: #c4b896;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    /* Subtle radial gradient to make the center pop */
    background-image: radial-gradient(circle at center 30%, var(--bg-gradient-center) 0%, var(--bg-dark) 80%);
}

/* Subtle texture overlay for a premium print feel */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 120px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    z-index: 10;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.main-content {
    width: 100%;
}

.main-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 20px rgba(201, 162, 75, 0.15);
}

.tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--text-primary);
    margin-bottom: 30px;
    font-style: italic;
    opacity: 0.95;
    line-height: 1.5;
}

.urdu {
    font-family: var(--font-urdu);
    font-style: normal;
    font-size: 1.3em;
    color: var(--accent-gold);
    display: block;
    margin-top: 10px;
    opacity: 0.85;
}

.description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 50px auto;
    font-weight: 300;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 480px;
    margin: 0 auto 60px auto;
    width: 100%;
}

@media (min-width: 600px) {
    .notify-form {
        flex-direction: row;
        gap: 0;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(201, 162, 75, 0.25);
        border-radius: 40px;
        padding: 6px;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .notify-form:focus-within {
        border-color: var(--accent-gold);
        box-shadow: 0 0 25px rgba(201, 162, 75, 0.15);
        background: rgba(255, 255, 255, 0.05);
    }

    .email-input {
        border: none !important;
        background: transparent !important;
        margin-bottom: 0 !important;
        flex: 1;
    }
}

.email-input {
    padding: 16px 28px;
    border-radius: 40px;
    border: 1px solid rgba(201, 162, 75, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(245, 241, 232, 0.4);
    font-weight: 300;
}

.email-input:focus {
    border-color: var(--accent-gold);
}

.submit-btn {
    padding: 16px 36px;
    border-radius: 40px;
    border: none;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a88132 100%);
    color: var(--bg-dark);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 162, 75, 0.2);
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 75, 0.35);
    background: linear-gradient(135deg, var(--accent-gold-hover) 0%, var(--accent-gold) 100%);
}

.footer {
    margin-top: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 162, 75, 0.15);
}

.social-links a:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(201, 162, 75, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(201, 162, 75, 0.15);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(196, 184, 150, 0.4);
    letter-spacing: 0.5px;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(35px);
    animation: slideUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
