/* ==========================================================================
   Jaiza Pakistan - Coming Soon Landing Page Stylesheet
   Theme: Official Pakistan Emerald Green & Mint Editorial Journalism
   Features: Bilingual (English / Urdu) Support + Responsive Glassmorphism
   ========================================================================== */

:root {
    --bg-dark: #031410;
    --bg-card: rgba(4, 38, 28, 0.7);
    --bg-card-hover: rgba(6, 50, 36, 0.9);
    
    --primary-green: #02542d;
    --emerald-deep: #012b17;
    --emerald-mid: #059669;
    --emerald-light: #10b981;
    --emerald-mint: #34d399;
    --emerald-glow: rgba(16, 185, 129, 0.35);
    
    --accent-gold: #e2b842;
    --gold-glow: rgba(226, 184, 66, 0.25);

    --text-primary: #f8fafc;
    --text-secondary: #a7b9b3;
    --text-muted: #647e76;
    --border-color: rgba(16, 185, 129, 0.28);
    --border-light: rgba(255, 255, 255, 0.1);

    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', 'Amiri', serif;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* RTL / Urdu Mode Adjustments */
html[dir="rtl"] body {
    font-family: var(--font-urdu), var(--font-body);
}

html[dir="rtl"] .main-title {
    font-family: var(--font-urdu);
    line-height: 1.65;
    letter-spacing: normal;
}

html[dir="rtl"] .ribbon-text,
html[dir="rtl"] .countdown-title,
html[dir="rtl"] .badge-status,
html[dir="rtl"] .feature-text h4,
html[dir="rtl"] .notify-header h3 {
    font-family: var(--font-urdu);
    letter-spacing: normal;
}

html[dir="rtl"] .time-label {
    font-family: var(--font-urdu);
    font-size: 0.85rem;
}

html[dir="rtl"] .feature-item {
    text-align: right;
}

html[dir="rtl"] .btn-arrow {
    transform: rotate(180deg);
}

/* ==========================================================================
   Ambient Glow & Background Elements
   ========================================================================== */

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
}

.glow-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(2, 84, 45, 0.75) 0%, rgba(1, 43, 23, 0) 70%);
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
}

.glow-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
    top: 30%;
    right: -100px;
}

.glow-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -150px;
    left: -100px;
}

.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(16, 185, 129, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(226, 184, 66, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    background-position: 0 0, 18px 18px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
}

/* ==========================================================================
   Layout Wrapper
   ========================================================================== */

.main-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* ==========================================================================
   Header Status & Controls
   ========================================================================== */

.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: rgba(2, 84, 45, 0.45);
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6ee7b7;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Bilingual Toggle Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background: rgba(4, 38, 28, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.lang-btn:hover:not(.active) {
    color: #ffffff;
}

.lang-divider {
    color: rgba(16, 185, 129, 0.4);
    font-size: 0.75rem;
    margin: 0 0.1rem;
}

.domain-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: #a7f3d0;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}

/* ==========================================================================
   Hero Content & Logo (Tailored for the New Emblem)
   ========================================================================== */

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.logo-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.logo-card {
    position: relative;
    width: 270px;
    height: 270px;
    border-radius: 36px;
    padding: 14px;
    background: #ffffff;
    border: 3px solid rgba(16, 185, 129, 0.45);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.5),
        0 0 45px rgba(16, 185, 129, 0.35),
        inset 0 0 15px rgba(2, 84, 45, 0.08);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: #10b981;
    box-shadow: 
        0 22px 50px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(16, 185, 129, 0.5);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   Typography & Ribbon
   ========================================================================== */

.text-block {
    max-width: 820px;
    margin-bottom: 2.5rem;
}

.coming-soon-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ribbon-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10b981);
}

.coming-soon-ribbon .ribbon-line:last-child {
    background: linear-gradient(90deg, #10b981, transparent);
}

.ribbon-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    color: #6ee7b7;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.brand-gradient-text {
    background: linear-gradient(135deg, #ecfdf5 0%, #6ee7b7 40%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 14px rgba(16, 185, 129, 0.4));
}

.urdu-subtitle {
    font-family: var(--font-urdu);
    font-size: 1.35rem;
    line-height: 2.2;
    color: #a7f3d0;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.7;
}

/* ==========================================================================
   Countdown Grid
   ========================================================================== */

.countdown-section {
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 640px;
}

.countdown-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #34d399;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.time-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.2rem 1.1rem;
    min-width: 95px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.time-card:hover {
    border-color: var(--emerald-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}

.time-num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.time-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a7f3d0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.4rem;
}

.time-separator {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
    margin-top: -15px;
    opacity: 0.8;
}

/* ==========================================================================
   Notification Card
   ========================================================================== */

.notify-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 2rem 2.5rem;
    width: 100%;
    max-width: 620px;
    margin-bottom: 3rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.notify-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.notify-header p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.subscribe-form {
    width: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(2, 28, 20, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    padding: 0.4rem 0.5rem 0.4rem 1rem;
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

.mail-icon {
    color: #10b981;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

html[dir="rtl"] .mail-icon {
    margin-right: 0;
    margin-left: 0.75rem;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #059669 0%, #02542d 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    padding: 0.8rem 1.4rem;
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.form-feedback {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    display: none;
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
}

.form-feedback.success {
    display: block;
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.form-feedback.error {
    display: block;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   Features Row
   ========================================================================== */

.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #a7f3d0;
    margin-bottom: 0.35rem;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   Editorial Desk / Contact Card
   ========================================================================== */

.contact-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.8rem;
    background: rgba(4, 38, 28, 0.65);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--emerald-glow);
}

.contact-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34d399;
}

.contact-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

html[dir="rtl"] .contact-details {
    text-align: right;
}

.contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.contact-email {
    font-size: 1.05rem;
    font-weight: 600;
    color: #a7f3d0;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.contact-email:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    width: 100%;
    margin-top: auto;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
    margin-bottom: 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-content strong {
    color: #a7f3d0;
}

.footer-content .tagline {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-content .domain-info a {
    color: #34d399;
    text-decoration: none;
    font-weight: 600;
}

.footer-content .domain-info a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (max-width: 768px) {
    .main-wrapper {
        padding: 1.5rem 1rem;
    }

    .header {
        justify-content: center;
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.75rem;
    }

    .header-right {
        justify-content: center;
    }

    .logo-card {
        width: 220px;
        height: 220px;
        border-radius: 26px;
        padding: 10px;
    }

    .main-title {
        font-size: 1.95rem;
    }

    .urdu-subtitle {
        font-size: 1.2rem;
        line-height: 2;
    }

    .countdown-grid {
        gap: 0.4rem;
    }

    .time-card {
        min-width: 68px;
        padding: 0.8rem 0.5rem;
    }

    .time-num {
        font-size: 1.75rem;
    }

    .time-label {
        font-size: 0.65rem;
    }

    .time-separator {
        font-size: 1.4rem;
        margin-top: -10px;
    }

    .notify-card {
        padding: 1.5rem 1.25rem;
    }

    .input-group {
        flex-direction: column;
        padding: 0.6rem;
        background: rgba(2, 28, 20, 0.95);
    }

    .input-group input {
        width: 100%;
        padding: 0.75rem 0.5rem;
        text-align: center;
    }

    .mail-icon {
        display: none;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
    }

    .features-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item {
        text-align: center;
        padding: 1.25rem;
    }

    html[dir="rtl"] .feature-item {
        text-align: center;
    }

    .contact-card {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .contact-details {
        text-align: center;
    }

    html[dir="rtl"] .contact-details {
        text-align: center;
    }
}
