:root {
  --canvas: #faf8f4;
  --surface: #ffffff;
  --subtle: #f2efe8;
  --ink: #121726;
  --muted: #5b6478;
  --hairline: rgba(30, 42, 74, 0.09);
  --indigo: #1e2a4a;
  --gold: #d4a039;
  --gold-bright: #ecc266;
  --gold-ink: #8c610e;
  --gold-soft: rgba(212, 160, 57, 0.13);
  --obsidian: #07090f;
  --obsidian-card: #111521;
  --sage: #1f7a54;
  --mint: #34d399;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 12px 32px rgba(18, 23, 38, 0.055);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--gold-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(250, 248, 244, 0.88);
  border-bottom: 1px solid var(--hairline);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--obsidian);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(7, 9, 15, 0.24);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--indigo);
  color: #ffffff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--hairline);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

/* Hero */
.hero {
  padding: 64px 0 36px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  margin: 0 auto 18px;
  max-width: 800px;
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.hero-sub {
  margin: 0 auto 28px;
  max-width: 660px;
  font-size: 18px;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.pill-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.meta-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.meta-pill-gold {
  background: var(--gold-soft);
  border-color: rgba(212, 160, 57, 0.3);
  color: var(--gold-ink);
}

/* Quick Answer AEO Block */
.quick-answer {
  margin: 18px auto 0;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  max-width: 820px;
}

.qa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.qa-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-ink);
}

.verified-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--subtle);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.quick-answer p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink);
}

/* Sections */
section {
  padding: 44px 0;
}

h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 10px;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 700px;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-dark {
  background: var(--obsidian);
  color: #f6f4ee;
  border-color: rgba(255, 255, 255, 0.1);
}

.card-dark h3 {
  color: #f6f4ee;
}

.card-dark p, .card-dark li {
  color: #9ba7be;
}

.icon-badge {
  min-width: 42px;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  white-space: nowrap;
}

.icon-indigo {
  background: rgba(30, 42, 74, 0.1);
  color: var(--indigo);
}

.icon-dark-gold {
  background: rgba(226, 178, 78, 0.16);
  color: var(--gold-bright);
}

.icon-dark-mint {
  background: rgba(52, 211, 153, 0.14);
  color: var(--mint);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Signature Obsidian Showcase: Live Activity + Qibla Compass */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.obsidian-panel {
  background: radial-gradient(circle at 82% 16%, #141c32 0%, #07090f 65%);
  color: #f6f4ee;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 18px 42px rgba(7, 9, 15, 0.18);
}

.live-pill {
  background: rgba(17, 21, 33, 0.92);
  border: 1px solid rgba(212, 160, 57, 0.35);
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}

.live-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.live-city {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ba7be;
  font-weight: 700;
}

.live-countdown {
  font-size: 28px;
  font-weight: 750;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.arc-bar {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.arc-fill {
  width: 69.5%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b5284 0%, #d4a039 65%, #ecc266 100%);
}

.live-times {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #c2cad9;
  font-variant-numeric: tabular-nums;
}

.panel-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #f6f4ee;
}

.panel-sub {
  font-size: 14px;
  color: #9ba7be;
  margin: 0;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #9ba7be;
}

.panel-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--mint);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.qibla-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.compass-dial {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  flex-shrink: 0;
  background: radial-gradient(circle at 50% 50%, #171e31 0%, #090c14 75%);
  border: 2px solid rgba(226, 178, 78, 0.55);
  box-shadow: 0 0 32px rgba(212, 160, 57, 0.24);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.compass-deg {
  font-size: 20px;
  font-weight: 750;
  color: var(--gold-bright);
  line-height: 1.1;
}

.compass-dir {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mint);
  margin-top: 2px;
}

/* Pricing */
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-featured {
  border: 2px solid var(--gold);
}

.badge-save {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--indigo);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 4px;
}

.price-num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price-unit {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.price-note {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-dot {
  color: var(--gold-ink);
  font-weight: 800;
  flex-shrink: 0;
}

.lifetime-bar {
  margin-top: 16px;
  padding: 15px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.lifetime-bar strong {
  color: var(--ink);
}

/* Comparison Table */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: #f8f6f1;
  font-weight: 700;
}

tbody tr:last-child td {
  border-bottom: none;
}

tr.highlight-row {
  background: rgba(212, 160, 57, 0.08);
}

tr.highlight-row td:first-child {
  font-weight: 700;
  color: var(--gold-ink);
}

.table-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 4px 14px rgba(18, 23, 38, 0.03);
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gold-ink);
  font-weight: 500;
  line-height: 1;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Cultural / Schedule Notice */
.notice-box {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--muted);
}

.notice-box strong {
  color: var(--ink);
}

/* Legal / Subpages */
.doc-shell {
  padding: 48px 0 64px;
  max-width: 780px;
  margin: 0 auto;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.doc-card h1 {
  text-align: left;
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 8px;
}

.doc-card h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.doc-card p, .doc-card li {
  color: var(--muted);
  font-size: 15px;
}

.doc-card ul {
  padding-left: 20px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 34px 0 46px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.footer-links a:hover {
  color: var(--ink);
}

@media (max-width: 820px) {
  .grid-3, .grid-2, .showcase-grid {
    grid-template-columns: 1fr;
  }
  .nav-links .hide-sm {
    display: none;
  }
  .doc-card {
    padding: 24px;
  }
}
