/* ==========================================================================
   Zaroor Website Stylesheet — Warm Dawn (Light) & Calm Dusk (Dark)
   Host: https://zaroor.htuse.com/
   ========================================================================== */

:root,
[data-theme="light"] {
    --bg: #FDF9F3;
    --bg-soft: #F7EFE3;
    --surface: #FFFFFF;
    --surface-tint: #FBF6EE;
    --text: #143229;
    --text-muted: #4C635B;
    --heading: #0B4635;
    --primary: #0B4635;
    --primary-hover: #083528;
    --primary-soft: #D6E8DC;
    --accent-coral: #E67E62;
    --accent-gold: #D89B3C;
    --border: rgba(11, 70, 53, 0.12);
    --border-strong: rgba(11, 70, 53, 0.22);
    --shadow-sm: 0 4px 16px rgba(11, 70, 53, 0.06);
    --shadow-md: 0 14px 36px rgba(11, 70, 53, 0.09);
    --shadow-lg: 0 24px 56px rgba(11, 70, 53, 0.14);
    --header-bg: rgba(253, 249, 243, 0.86);

    /* Pastel topic card surfaces matching Zaroor app */
    --tone-sage-bg: #E3F1E7;
    --tone-sage-ink: #0D4B38;
    --tone-peach-bg: #FCE7D7;
    --tone-peach-ink: #7A3E1D;
    --tone-lavender-bg: #EDE6FC;
    --tone-lavender-ink: #47327A;
    --tone-sand-bg: #F8ECD2;
    --tone-sand-ink: #734E14;
    --tone-rose-bg: #FDE3EC;
    --tone-rose-ink: #7D2A4A;
    --tone-sky-bg: #DFEEF9;
    --tone-sky-ink: #1D4E73;
}

[data-theme="dark"] {
    --bg: #081C17;
    --bg-soft: #0E2720;
    --surface: #123028;
    --surface-tint: #16382F;
    --text: #ECE6DC;
    --text-muted: #A9C2B8;
    --heading: #F7F1E5;
    --primary: #2D8A6B;
    --primary-hover: #37A07D;
    --primary-soft: rgba(45, 138, 107, 0.22);
    --accent-coral: #F29B80;
    --accent-gold: #E6B45C;
    --border: rgba(245, 239, 230, 0.12);
    --border-strong: rgba(245, 239, 230, 0.24);
    --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 16px 38px rgba(0, 0, 0, 0.36);
    --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.48);
    --header-bg: rgba(8, 28, 23, 0.88);

    --tone-sage-bg: #153A30;
    --tone-sage-ink: #A9E2C9;
    --tone-peach-bg: #36241B;
    --tone-peach-ink: #F7BC9B;
    --tone-lavender-bg: #26203B;
    --tone-lavender-ink: #CEBDF8;
    --tone-sand-bg: #332A18;
    --tone-sand-ink: #F2D08B;
    --tone-rose-bg: #381F2A;
    --tone-rose-ink: #F7B3CA;
    --tone-sky-bg: #172E3D;
    --tone-sky-ink: #A7D4F5;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 70% 45% at 10% 0%, rgba(244, 169, 142, 0.16), transparent 60%),
        radial-gradient(ellipse 65% 45% at 92% 4%, rgba(167, 201, 181, 0.18), transparent 60%);
    background-attachment: fixed;
    transition: background-color 0.25s ease, color 0.25s ease;
}

[data-theme="dark"] body {
    background-image:
        radial-gradient(ellipse 70% 45% at 12% 0%, rgba(230, 126, 98, 0.08), transparent 60%),
        radial-gradient(ellipse 65% 45% at 90% 5%, rgba(45, 138, 107, 0.14), transparent 60%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-coral);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: var(--heading);
    line-height: 1.2;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

p {
    margin: 0 0 1rem;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.88em;
    background: var(--primary-soft);
    color: var(--heading);
    padding: 0.12em 0.42em;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.container-narrow {
    max-width: 840px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 1000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* Signature Diamond Divider (matches Zaroor app UI) */
.diamond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 1.25rem auto;
    max-width: 240px;
}

.diamond-divider::before,
.diamond-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.diamond-divider span {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    transform: rotate(45deg);
    border-radius: 1px;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.96rem;
    padding: 0.82rem 1.5rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(11, 70, 53, 0.22);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #FFFFFF;
    box-shadow: 0 12px 28px rgba(11, 70, 53, 0.3);
}

.btn-secondary {
    background: var(--surface);
    color: var(--heading);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    background: var(--surface-tint);
    color: var(--heading);
    border-color: var(--primary);
}

.btn-sm {
    padding: 0.56rem 1.1rem;
    font-size: 0.88rem;
}

.play-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #0B4635;
    color: #FFFFFF;
    padding: 0.7rem 1.35rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 26px rgba(11, 70, 53, 0.24);
    transition: transform 0.18s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.play-badge-btn:hover {
    background: #083628;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(11, 70, 53, 0.32);
}

[data-theme="dark"] .play-badge-btn {
    background: #1B684F;
}

[data-theme="dark"] .play-badge-btn:hover {
    background: #227D60;
}

.play-badge-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.play-badge-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.play-badge-btn small {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    opacity: 0.86;
}

.play-badge-btn strong {
    font-size: 1.05rem;
    font-weight: 700;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--heading);
}

.brand:hover {
    color: var(--heading);
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    box-shadow: 0 4px 12px rgba(11, 70, 53, 0.14);
    object-fit: cover;
}

.brand-wordmark {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.01em;
    color: var(--heading);
}

.brand-hindi {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-left: 0.45rem;
    border-left: 1px solid var(--border-strong);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.94rem;
    color: var(--text-muted);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--heading);
    background: var(--primary-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--heading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
    background: var(--primary-soft);
    transform: rotate(12deg);
}

.theme-toggle svg {
    width: 19px;
    height: 19px;
}

[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: none; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    cursor: pointer;
    padding: 0 9px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--heading);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 1rem 0 1.35rem;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-nav-link {
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-weight: 500;
    color: var(--text);
}

.mobile-nav-link.is-active,
.mobile-nav-link:hover {
    background: var(--primary-soft);
    color: var(--heading);
}

.mobile-nav-cta {
    margin-top: 0.65rem;
}

/* Sections */
.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 0.36rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    padding: 3.5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
}

.hero-title {
    font-size: clamp(2.4rem, 4.6vw, 3.65rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title em {
    font-style: italic;
    color: var(--accent-coral);
}

.hero-lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 540px;
}

.hero-hindi-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--heading);
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.65rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-trust svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.hero-visual {
    position: relative;
}

.hero-banner-frame {
    border-radius: 26px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.hero-banner-frame img {
    width: 100%;
    height: auto;
}

/* Stats Strip */
.stats-strip {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.25rem 1.35rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.15;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Interactive Bilingual Affirmation Preview */
.preview-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.preview-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(216, 155, 60, 0.1), transparent 65%);
    pointer-events: none;
}

.preview-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.lang-pill {
    border: 1px solid var(--border-strong);
    background: var(--surface-tint);
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-pill.is-active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.preview-topic {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.32rem 0.9rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--heading);
    margin-bottom: 0.75rem;
}

.preview-quote {
    font-family: 'Playfair Display', 'Noto Sans Devanagari', Georgia, serif;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    line-height: 1.48;
    color: var(--heading);
    margin: 0.5rem auto 1.75rem;
    max-width: 600px;
    min-height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Feature Rows */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--heading);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.55rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 12 Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.topic-card {
    border-radius: 20px;
    padding: 1.35rem;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.topic-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background: rgba(255, 255, 255, 0.58);
}

[data-theme="dark"] .topic-icon {
    background: rgba(0, 0, 0, 0.22);
}

.topic-icon svg {
    width: 20px;
    height: 20px;
}

.topic-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
}

.topic-card p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0;
    opacity: 0.88;
}

.tone-sage     { background: var(--tone-sage-bg);     color: var(--tone-sage-ink); }
.tone-peach    { background: var(--tone-peach-bg);    color: var(--tone-peach-ink); }
.tone-lavender { background: var(--tone-lavender-bg); color: var(--tone-lavender-ink); }
.tone-sand     { background: var(--tone-sand-bg);     color: var(--tone-sand-ink); }
.tone-rose     { background: var(--tone-rose-bg);     color: var(--tone-rose-ink); }
.tone-sky      { background: var(--tone-sky-bg);      color: var(--tone-sky-ink); }

.topic-card h3 { color: inherit; }

/* Screenshots Showcase */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.screenshot-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.screenshot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.screenshot-btn {
    border: none;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    display: block;
    width: 100%;
    overflow: hidden;
}

.screenshot-btn img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.screenshot-card:hover .screenshot-btn img {
    transform: scale(1.02);
}

.screenshot-meta {
    padding: 1.15rem 1.3rem 1.3rem;
}

.screenshot-meta h3 {
    font-size: 1.12rem;
    margin-bottom: 0.35rem;
}

.screenshot-meta p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Privacy Spotlight */
.privacy-banner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 2.75rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

.privacy-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.privacy-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--surface-tint);
    border: 1px solid var(--border);
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    font-size: 0.94rem;
}

.privacy-checklist svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* FAQ Accordion */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.2rem 1.4rem;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.faq-plus {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s ease;
    line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-plus {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.4rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Final CTA Banner */
.cta-box {
    background: linear-gradient(135deg, #0B4635 0%, #145D47 55%, #1F6E54 100%);
    color: #F7F2E8;
    border-radius: 30px;
    padding: 3.5rem 2.25rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    color: #FFFFFF;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.cta-box p {
    color: rgba(247, 242, 232, 0.88);
    max-width: 600px;
    margin: 0 auto 1.65rem;
    font-size: 1.06rem;
}

.cta-box .play-badge-btn {
    background: #FDF9F3;
    color: #0B4635;
}

.cta-box .play-badge-btn:hover {
    background: #FFFFFF;
    color: #083528;
}

/* Inner Page Hero */
.page-hero {
    padding: 3.5rem 0 2.25rem;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.08rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Prose / Legal / About Cards */
.content-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.85rem;
    background: var(--surface-tint);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem;
    margin-bottom: 2rem;
}

.meta-item small {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.meta-item strong {
    font-size: 0.94rem;
    color: var(--heading);
    word-break: break-word;
}

.toc-box {
    background: var(--surface-tint);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.25rem;
}

.toc-box h2 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.4rem 1.25rem;
    padding-left: 1.2rem;
    margin: 0;
    font-size: 0.92rem;
}

.legal-section {
    padding-top: 1.75rem;
    margin-top: 1.75rem;
    border-top: 1px solid var(--border);
    scroll-margin-top: 96px;
}

.legal-section:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.legal-section ul {
    padding-left: 1.3rem;
    margin: 0.5rem 0 1rem;
}

.legal-section li {
    margin-bottom: 0.45rem;
}

/* About Page Grid */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.principle-card {
    background: var(--surface-tint);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
}

.principle-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.45rem;
}

.principle-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    margin-bottom: 0;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    color: var(--heading);
}

.form-control {
    width: 100%;
    font-family: inherit;
    font-size: 0.96rem;
    padding: 0.78rem 1rem;
    border-radius: 12px;
    border: 1.5px solid var(--border-strong);
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 14px;
    margin-bottom: 1.35rem;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.alert-success {
    background: var(--tone-sage-bg);
    color: var(--tone-sage-ink);
    border-color: rgba(13, 75, 56, 0.2);
}

.alert-error {
    background: var(--tone-rose-bg);
    color: var(--tone-rose-ink);
    border-color: rgba(125, 42, 74, 0.2);
}

.contact-info-stack {
    display: grid;
    gap: 1.1rem;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.info-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
}

/* Footer */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
    gap: 2.25rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.footer-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--heading);
    margin: 0.85rem 0 0.2rem;
}

.footer-hindi {
    font-size: 0.95rem;
    color: var(--accent-coral);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.footer-meta {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--heading);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.footer-list a {
    color: var(--text-muted);
    font-size: 0.93rem;
}

.footer-list a:hover {
    color: var(--heading);
}

.footer-download-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(6, 20, 16, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-content {
    max-width: 460px;
    text-align: center;
}

.lightbox-content img {
    max-height: 82vh;
    width: auto;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #F4EFE6;
    margin: 0.9rem 0 0;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .privacy-banner,
    .about-split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid,
    .screenshots-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-card,
    .privacy-banner {
        padding: 1.6rem;
    }

    .section {
        padding: 3.25rem 0;
    }
}

@media (max-width: 480px) {
    .topics-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .hero-actions .play-badge-btn {
        justify-content: center;
    }
}

@media print {
    .site-header,
    .site-footer,
    .toc-box,
    .theme-toggle {
        display: none !important;
    }

    body {
        background: #FFFFFF !important;
        color: #111111 !important;
    }

    .content-card {
        border: none;
        box-shadow: none;
        padding: 0;
    }
}
