/* ═══════════════════════════════════════════════════════════════
   PakistaniChatRooms.org — Subpages Shared Stylesheet
   Matches homepage design system exactly
═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts loaded in each page <head> ── */

:root {
    --gold:        #fbbf24;
    --gold-dark:   #f59e0b;
    --gold-dim:    rgba(251, 191, 36, 0.15);
    --gold-border: rgba(251, 191, 36, 0.25);
    --navy:        #0f172a;
    --navy-mid:    #1e1b4b;
    --card-bg:     rgba(15, 23, 42, 0.65);
    --card-border: rgba(255, 215, 0, 0.12);
    --text-body:   #cbd5e1;
    --text-muted:  #94a3b8;
    --text-faint:  #64748b;
    --radius-lg:   28px;
    --radius-md:   18px;
    --radius-sm:   10px;
    --transition:  all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
    min-height: 100vh;
    color: var(--text-body);
    overflow-x: hidden;
}

/* ── Urdu ── */
.urdu { font-family: 'Noto Nastaliq Urdu', serif; direction: rtl; text-align: right; }

/* ══════════════════════════════════════════
   PARTICLES
══════════════════════════════════════════ */
.particles {
    position: fixed; inset: 0;
    overflow: hidden; z-index: 0;
    pointer-events: none;
}
.particle {
    position: absolute;
    background: rgba(255, 215, 0, 0.08);
    border-radius: 50%;
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
    10%  { opacity: 0.35; }
    90%  { opacity: 0.35; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* ══════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════ */
.main-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gold-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo-img { display: flex; align-items: center; }
.logo-image { max-height: 52px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nav-link {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    background: var(--gold-dim);
}

/* ══════════════════════════════════════════
   PAGE WRAPPER
══════════════════════════════════════════ */
#page-wrap { position: relative; z-index: 1; }

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* ══════════════════════════════════════════
   HERO SPLIT  (mirrors homepage layout)
══════════════════════════════════════════ */
.hero-split {
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: 480px;
    margin-bottom: 4rem;
}

/* Left */
.hero-left { flex: 1; animation: slideLeft 0.75s ease both; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.4rem;
    letter-spacing: 0.03em;
}

.hero-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.25;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.25rem;
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 2rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
}
.pill i { color: var(--gold); }

/* Right — CTA Banner */
.hero-right {
    flex: 1;
    max-width: 440px;
    animation: slideRight 0.75s ease both;
}

.cta-banner {
    background: linear-gradient(145deg, rgba(15,23,42,0.95), rgba(30,27,75,0.9));
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top center, rgba(251,191,36,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.08); }
}

.cta-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.cta-banner p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(251,191,36,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold-border);
}
.btn-outline:hover {
    background: var(--gold-dim);
    transform: translateY(-2px);
}
.btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.cta-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-faint);
}
.cta-note i { color: var(--gold); margin-right: 0.3rem; }

/* ══════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════ */
.content-section { margin-bottom: 4rem; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-title.left { text-align: left; }

.section-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.content-text {
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 1.4rem;
    font-size: 1rem;
}

/* ══════════════════════════════════════════
   HIGHLIGHT BOX
══════════════════════════════════════════ */
.highlight-box {
    background: linear-gradient(135deg, rgba(251,191,36,0.08), rgba(245,158,11,0.04));
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.urdu-quote {
    direction: rtl;
    text-align: right;
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 1.15rem;
    color: var(--gold);
    padding: 1.2rem 1.5rem;
    background: rgba(251,191,36,0.05);
    border-right: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    line-height: 2;
}

/* ══════════════════════════════════════════
   CARDS GRID
══════════════════════════════════════════ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.cards-grid.two-col { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }

.card {
    background: var(--card-bg);
    backdrop-filter: blur(6px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    color: inherit;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-border);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4);
}

.card-icon { font-size: 2.4rem; margin-bottom: 1rem; display: block; }
.card-title { font-size: 1.15rem; font-weight: 600; color: var(--gold); margin-bottom: 0.6rem; }
.card-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ══════════════════════════════════════════
   FEATURES LIST (icon + text inline)
══════════════════════════════════════════ */
.features-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.features-list li:hover { border-color: var(--gold-border); }
.features-list .fi {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--gold-dim);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1rem;
}
.features-list .ft { font-weight: 600; color: var(--text-body); font-size: 0.9rem; margin-bottom: 0.2rem; }
.features-list .fd { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }

/* ══════════════════════════════════════════
   STATS ROW
══════════════════════════════════════════ */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 3rem;
    background: rgba(251,191,36,0.05);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    margin-bottom: 4rem;
}
.stat { text-align: center; }
.stat-n { font-size: 1.9rem; font-weight: 700; color: var(--gold); display: block; line-height: 1; }
.stat-l { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.9rem;
    overflow: hidden;
}
.faq-q {
    padding: 1.2rem 1.4rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    user-select: none;
}
.faq-q::after { content: '+'; font-size: 1.4rem; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.4rem;
}
.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 1.4rem 1.25rem;
}
.faq-a p { color: var(--text-muted); line-height: 1.7; font-size: 0.88rem; }

/* ══════════════════════════════════════════
   TOPICS CLOUD
══════════════════════════════════════════ */
.topics {
    display: flex; flex-wrap: wrap; gap: 0.65rem;
    justify-content: center; margin-top: 1.5rem;
}
.topic {
    background: var(--gold-dim);
    border: 1px solid rgba(251,191,36,0.2);
    color: var(--gold);
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
}
.topic:hover { background: rgba(251,191,36,0.25); transform: scale(1.04); }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.testi {
    background: var(--card-bg);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem;
}
.testi-text { font-style: italic; color: var(--text-body); line-height: 1.65; font-size: 0.88rem; margin-bottom: 0.9rem; }
.testi-author { color: var(--gold); font-weight: 600; font-size: 0.82rem; }

/* ══════════════════════════════════════════
   STEPS
══════════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.step {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem;
}
.step-n {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 700;
    margin: 0 auto 1rem;
}
.step-t { color: var(--gold); font-weight: 600; margin-bottom: 0.5rem; }
.step-d { color: var(--text-muted); font-size: 0.83rem; line-height: 1.55; }

/* ══════════════════════════════════════════
   MID-PAGE CTA BAND
══════════════════════════════════════════ */
.cta-band {
    text-align: center;
    background: linear-gradient(135deg, rgba(251,191,36,0.1), rgba(245,158,11,0.04));
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    margin: 4rem 0;
}
.cta-band h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.main-footer {
    background: rgba(15,23,42,0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--gold-border);
    padding: 3rem 2rem 1.5rem;
    margin-top: 3rem;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col-title { color: var(--gold); font-size: 1rem; font-weight: 600; margin-bottom: 0.9rem; }
.footer-col-desc { color: var(--text-muted); font-size: 0.82rem; line-height: 1.65; }
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 0.45rem; }
.footer-col-links a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-col-links a:hover { color: var(--gold); }
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
}
.footer-copy { color: var(--text-faint); font-size: 0.72rem; line-height: 1.9; }

/* ══════════════════════════════════════════
   COOKIE BAR (kept from homepage)
══════════════════════════════════════════ */
.cookie_wrap {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: rgba(15,23,42,0.98);
    border-top: 1px solid var(--gold-border);
    padding: 1rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}
.cookie_text p { color: var(--text-muted); font-size: 0.82rem; }
.ok_btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    border: none; cursor: pointer;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600; font-size: 0.82rem;
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease both; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 992px) {
    .hero-split { flex-direction: column; gap: 2rem; min-height: auto; }
    .hero-right { max-width: 100%; width: 100%; }
    .hero-left h1 { font-size: 2.1rem; }
}

@media (max-width: 768px) {
    .container { padding: 1rem 1rem 3rem; }
    .main-header { flex-direction: column; text-align: center; padding: 1rem; }
    .nav-links { justify-content: center; }
    .hero-left h1 { font-size: 1.7rem; }
    .hero-left { text-align: center; }
    .hero-pills { justify-content: center; }
    .section-title { font-size: 1.6rem; }
    .highlight-box { padding: 1.5rem; }
    .cta-band { padding: 2rem 1.25rem; }
    .cta-band h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .cards-grid,
    .cards-grid.two-col,
    .testi-grid,
    .steps-grid { grid-template-columns: 1fr; }
    .stats-row { gap: 1rem 2rem; }
    .topics { gap: 0.5rem; }
    .btn { padding: 0.75rem 1.2rem; font-size: 0.85rem; }
}
