:root {
  --bg-canvas: #0b0f17;
  --bg-surface: #111827;
  --bg-card: #161f30;
  --bg-glass: rgba(17, 24, 39, 0.84);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(245, 158, 11, 0.42);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-gold: #f59e0b;
  --accent-gold-bright: #fbbf24;
  --accent-gold-hover: #d97706;
  --accent-emerald: #10b981;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.11) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
}

.site-header,
.main-wrapper,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.crest-logo {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.25));
  flex-shrink: 0;
}

.brand-divider {
  width: 1px;
  height: 34px;
  background: rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--accent-gold-bright);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.header-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-canvas);
  background: var(--accent-gold);
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring), background 0.2s ease;
}

.header-cta:hover {
  background: var(--accent-gold-bright);
  transform: translateY(-2px);
}

/* Main Container */
.main-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 32px) 64px;
}

/* Hero Top Intro */
.hero-intro {
  position: relative;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 36px;
  padding: clamp(24px, 4vw, 38px) clamp(18px, 4vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 158, 11, 0.22);
  background:
    linear-gradient(180deg, rgba(11, 15, 23, 0.78) 0%, rgba(11, 15, 23, 0.92) 100%),
    url('assets/netarhat-aerial.jpg') center/cover no-repeat;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

/* Netarhat Heritage Photo Strip */
.heritage-section {
  margin-top: 52px;
}

.heritage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.heritage-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease;
}

.heritage-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.heritage-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--border-subtle);
}

.heritage-caption {
  padding: 14px 16px;
}

.heritage-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--accent-gold-bright);
  margin-bottom: 3px;
}

.heritage-caption span {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold-bright);
  box-shadow: 0 0 10px var(--accent-gold-bright);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 14px;
}

.hero-headline .gold-text {
  color: var(--accent-gold-bright);
}

.hero-subheadline {
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

/* 2-Column Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}

/* Left Column: Cover + Highlights */
.showcase-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cover-showcase {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(145deg, rgba(22, 31, 48, 0.9), rgba(17, 24, 39, 0.75));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.magazine-cover-img {
  width: 100%;
  max-width: 220px;
  border-radius: 8px;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.65));
  display: block;
}

.cover-meta-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-gold-bright);
  margin-bottom: 8px;
}

.cover-meta-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.cover-meta-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat-mini {
  background: rgba(11, 15, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.stat-mini strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-gold-bright);
  line-height: 1.2;
}

.stat-mini span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Highlights Card */
.highlights-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold-bright);
  margin-bottom: 14px;
}

.value-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bullet-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-gold-bright);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.bullet-copy h4 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.bullet-copy p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Right Column: Glassmorphic Subscription Form */
.optin-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.optin-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  margin-bottom: 10px;
}

.optin-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 6px;
}

.optin-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-section-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold-bright);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
  margin: 18px 0 12px;
}

.form-section-tag:first-of-type {
  margin-top: 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 13px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.req-star {
  color: var(--accent-gold-bright);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(11, 15, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #ffffff;
  transition: border-color 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.form-select option {
  background: #111827;
  color: #ffffff;
}

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

.consent-box {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 14px 0 16px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.consent-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-gold);
  flex-shrink: 0;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #0b0f17;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  padding: 15px 22px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.32);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.45);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

.form-error-banner {
  display: none;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fecaca;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.form-privacy-note {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
}

/* Glimpse Inside Section */
.glimpse-section {
  margin-top: 56px;
}

.section-heading-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.section-heading-centered h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-heading-centered p {
  font-size: 15px;
  color: var(--text-muted);
}

.glimpse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.glimpse-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease;
  cursor: pointer;
}

.glimpse-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.glimpse-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--border-subtle);
}

.glimpse-body {
  padding: 14px 16px;
}

.glimpse-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-gold-bright);
  margin-bottom: 4px;
}

.glimpse-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.glimpse-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Legacy & Editorial Authority Section */
.legacy-section {
  margin-top: 52px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

.legacy-poster {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.legacy-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 20px;
}

.pillar-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.pillar-box strong {
  color: var(--accent-gold-bright);
  display: block;
  margin-bottom: 2px;
}

.editorial-credits {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.editorial-credits strong {
  color: #ffffff;
}

/* Lightbox Modal for Preview Pages */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 8, 14, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 680px;
  max-height: 90vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  border-radius: 6px;
}

.lightbox-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #0b0f17;
  border: none;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

/* Footer */
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 32px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer a {
  color: var(--accent-gold-bright);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .legacy-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .cover-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .magazine-cover-img {
    margin: 0 auto;
  }

  .form-row-2,
  .legacy-pillars,
  .glimpse-grid,
  .heritage-grid {
    grid-template-columns: 1fr;
  }
}
