/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --emerald:    #1B4D3E;
  --emerald-lt: #2A6B57;
  --ivory:      #F7F3ED;
  --sand:       #E8DFD0;
  --gold:       #C9A96E;
  --ink:        #1A1A18;
  --ink-soft:   #4A4A45;
  --ink-muted:  #8A8A82;
  --white:      #FFFFFF;
  --section-pad: clamp(80px, 10vw, 140px);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); }
em { font-style: italic; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid rgba(26,26,24,0.08);
  padding: 0 clamp(24px, 5vw, 80px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--emerald);
  color: var(--ivory);
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--emerald-lt); transform: translateY(-1px); }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo-glyph {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--emerald);
  line-height: 1;
}
.nav-logo-word {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav-tagline {
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) clamp(24px, 5vw, 80px) clamp(80px, 10vw, 120px);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, var(--emerald), var(--gold));
  border-radius: 0 3px 3px 0;
}

.hero-content { max-width: 680px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald);
  font-weight: 600;
}
.eyebrow-sep { color: var(--sand); font-size: 0.8rem; }

.hero-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 32px;
  background: var(--emerald);
  color: var(--ivory);
  border-radius: 100px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(27,77,62,0.25);
}
.hero-cta:hover {
  background: var(--emerald-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,77,62,0.3);
}

.hero-headline {
  margin-bottom: 28px;
  color: var(--emerald);
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-verse {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  background: var(--sand);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  max-width: 480px;
}

.verse-arabic {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--emerald);
  direction: rtl;
  text-align: right;
  line-height: 1.8;
}

.verse-translation {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* Hero visual (right side) */
.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(27, 77, 62, 0.18), 0 8px 24px rgba(27, 77, 62, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.3);
  object-fit: cover;
}

/* === SOCIAL PROOF === */
.socialproof {
  background: var(--emerald);
  padding: 32px clamp(24px, 5vw, 80px);
}
.socialproof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
}
.sp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sp-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ivory);
  line-height: 1;
}
.sp-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.sp-divider {
  width: 1px;
  height: 40px;
  background: rgba(247,243,237,0.2);
}

/* === PHILOSOPHY === */
.philosophy {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.philosophy-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
  padding-top: 8px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.philosophy-body p { margin-bottom: 24px; }
.philosophy-body p:last-child { margin-bottom: 0; }
.philosophy-body em { font-style: italic; color: var(--ink); }

.philosophy-divider { padding-top: 8px; color: var(--gold); }

/* === THE LOOP === */
.theloop {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  background: var(--sand);
}
.theloop-header {
  max-width: 1200px;
  margin: 0 auto 60px;
}
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.theloop-title { color: var(--emerald); }

.loop-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4vw, 60px);
}

.loop-step {
  position: relative;
  padding: 36px 32px;
  background: var(--ivory);
  border-radius: 16px;
  border: 1px solid rgba(26,26,24,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.loop-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,26,24,0.08);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
  user-select: none;
}

.step-icon {
  color: var(--emerald);
  margin-bottom: 20px;
  width: 32px;
  height: 32px;
}

.step-title {
  font-size: 1.15rem;
  color: var(--emerald);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.loop-continuous {
  max-width: 1200px;
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-muted);
}
.continuous-arrow { flex-shrink: 0; }
.continuous-label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* === MANIFESTATION === */
.manifestation {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}
.manifestation-intro { max-width: 600px; margin-bottom: 60px; }
.manifestation-title { color: var(--emerald); margin-bottom: 20px; }
.manifestation-desc { font-size: 1.1rem; color: var(--ink-soft); }

.manifestation-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.manifest-card {
  padding: 36px 32px;
  border: 1px solid rgba(26,26,24,0.08);
  border-radius: 16px;
  background: var(--sand);
  transition: transform 0.2s ease;
}
.manifest-card:hover { transform: translateY(-2px); }
.manifest-card-glyph { color: var(--emerald); margin-bottom: 20px; }
.manifest-card h3 { color: var(--emerald); margin-bottom: 12px; }
.manifest-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; }

/* === DEVOTION === */
.devotion {
  background: var(--emerald);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}
.devotion-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.devotion-ornament { color: var(--gold); flex-shrink: 0; padding-top: 8px; opacity: 0.7; }
.devotion-text { flex: 1; }
.devotion-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--ivory);
  line-height: 1.5;
  margin-bottom: 16px;
}
.devotion-source {
  display: block;
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-style: normal;
}
.devotion-connect {
  font-size: 1rem;
  color: rgba(247,243,237,0.75);
  line-height: 1.75;
}

/* === DEMO === */
.demo {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.demo-header { margin-bottom: 60px; }
.demo-title { color: var(--emerald); margin-top: 16px; }
.demo-screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 48px);
  max-width: 800px;
  margin: 0 auto 48px;
}
.demo-card { text-align: center; }
.demo-img {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(27,77,62,0.12), 0 4px 16px rgba(27,77,62,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  margin: 0 auto 20px;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.demo-card-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.demo-card-desc { font-size: 0.9rem; color: var(--ink-muted); }
.demo-cta-wrap { display: flex; justify-content: center; }

/* === PRICING === */
.pricing {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  background: var(--sand);
}
.pricing-header { text-align: center; margin-bottom: 60px; }
.pricing-title { color: var(--emerald); margin-top: 16px; max-width: 540px; margin-left: auto; margin-right: auto; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 40px);
  max-width: 760px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  padding: 40px 36px;
  border-radius: 20px;
  background: var(--ivory);
  border: 1px solid rgba(26,26,24,0.08);
  text-align: left;
}
.pricing-card--pro {
  border: 2px solid var(--emerald);
  background: var(--white);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
}
.pricing-plan-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 24px;
}
.pricing-period { font-size: 1rem; font-weight: 400; color: var(--ink-muted); font-family: 'DM Sans', sans-serif; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.pricing-check { color: var(--emerald); flex-shrink: 0; margin-top: 2px; }
.pricing-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.pricing-btn--outline {
  border: 1.5px solid var(--emerald);
  color: var(--emerald);
  background: transparent;
}
.pricing-btn--outline:hover { background: var(--emerald); color: var(--ivory); }
.pricing-btn--solid {
  background: var(--emerald);
  color: var(--ivory);
  box-shadow: 0 4px 16px rgba(27,77,62,0.2);
}
.pricing-btn--solid:hover { background: var(--emerald-lt); transform: translateY(-1px); }

/* === CLOSING === */
.closing {
  padding: clamp(80px, 12vw, 140px) clamp(24px, 5vw, 80px);
  text-align: center;
  background: var(--ivory);
}
.closing-inner { max-width: 640px; margin: 0 auto; }
.closing-glyph {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--emerald);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 32px;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--emerald);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
  line-height: 1.7;
}
.closing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 60px;
}
.closing-tag {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--sand);
  border-radius: 100px;
  color: var(--ink-muted);
  background: var(--sand);
}
.closing-cta-wrap { display: flex; justify-content: center; margin-bottom: 48px; }
.closing-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--emerald);
  color: var(--ivory);
  border-radius: 100px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  box-shadow: 0 6px 24px rgba(27,77,62,0.25);
}
.closing-cta:hover { background: var(--emerald-lt); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(27,77,62,0.3); }
.closing-ornament { display: flex; justify-content: center; color: var(--gold); }

/* === FOOTER === */
.footer {
  padding: 48px clamp(24px, 5vw, 80px);
  background: var(--sand);
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-glyph {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--emerald);
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.footer-tagline { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 8px; }
.footer-note { font-size: 0.78rem; color: var(--ink-muted); opacity: 0.7; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-ornament { display: none; }
  .philosophy { grid-template-columns: 1fr; }
  .philosophy-label { writing-mode: horizontal-tb; transform: none; }
  .philosophy-divider { display: none; }
  .loop-steps { grid-template-columns: 1fr; }
  .manifestation-cards { grid-template-columns: 1fr; }
  .devotion-inner { flex-direction: column; }
  .devotion-ornament { display: none; }
  .demo-screens { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .socialproof-inner { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 600px) {
  .nav-tagline { display: none; }
  .hero-verse { padding: 20px; }
  .loop-step { padding: 28px 24px; }
  .manifest-card { padding: 28px 24px; }
  .theloop, .manifestation, .closing { padding-top: 80px; padding-bottom: 80px; }
  .sp-divider { display: none; }
  .socialproof-inner { flex-direction: column; }
}
