/* ============================================================
   GitaGuru Landing Page — warm parchment + navy + gold aesthetic
   Scoped to .sg-landing
   ============================================================ */

.sg-landing {
  --sg-navy:        #1e0b4d;
  --sg-navy-deep:   #160738;
  --sg-gold:        #d9a440;
  --sg-gold-soft:   #e6b85a;
  --sg-gold-deep:   #9a6b16;
  --sg-gold-line:   #c49036;

  --sg-parchment:   #f6ede0;
  --sg-parchment-2: #fbf6ec;

  --sg-ink:         #1b1a19;
  --sg-ink-2:       #2b2a28;
  --sg-ink-soft:    #4a4842;
  --sg-muted:       #7d776c;

  --sg-sans:   "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sg-deva:   "Noto Sans Devanagari", "Noto Serif Devanagari", serif;

  font-family: var(--sg-sans);
  color: var(--sg-ink);
  background: var(--sg-parchment);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}

.sg-landing a { color: inherit; text-decoration: none; }
.sg-container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   HEADER
   ============================================================ */
.sg-header {
  background: var(--sg-navy);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
}
.sg-header-inner {
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  max-width: 1280px; margin: 0 auto;
}
.sg-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  color: #fff;
}
.sg-brand svg { width: 30px; height: 30px; }

.sg-nav {
  display: flex; gap: 32px;
  font-size: 13px; font-weight: 500;
}
.sg-nav a {
  color: rgba(255,255,255,0.85);
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.sg-nav a:hover { color: #fff; }
.sg-nav a.active { color: var(--sg-gold-soft); }
.sg-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--sg-gold-soft); border-radius: 2px;
}

.sg-signin-btn {
  background: linear-gradient(180deg, #e6b75a, #c98e1e);
  color: #26183b;
  font-weight: 700; font-size: 13px;
  padding: 7px 18px;
  border-radius: 999px;
  border: none; cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,0.15) inset, 0 0 0 1px rgba(255,255,255,0.15);
  transition: transform .15s, filter .15s;
}
.sg-signin-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ============================================================
   HERO — simple gradient, no background image
   ============================================================ */
.sg-hero-simple {
  text-align: center;
  padding: 72px 24px 56px;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(217,164,64,0.12), transparent 70%),
    linear-gradient(180deg, var(--sg-navy) 0%, #2a1260 12%, #3d1a78 28%, #6b4a9e 50%, var(--sg-parchment) 75%);
}
.sg-hero-simple-inner {
  max-width: 700px;
  margin: 0 auto;
}
.sg-hero-om {
  font-size: 56px;
  display: inline-block;
  filter: drop-shadow(0 0 16px rgba(227,155,55,0.4));
  margin-bottom: 16px;
}
.sg-hero-simple h1 {
  margin: 0 0 16px;
  line-height: 1.15;
}
.sg-hero-simple h1 .row1 {
  display: block;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5), 0 0 40px rgba(0,0,0,0.2);
}
.sg-hero-simple h1 .row2 {
  display: block;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 600;
  color: #ffe0a0;
  margin-top: 10px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.sg-hero-sub {
  font-size: 15px;
  color: var(--sg-ink);
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(255,255,255,0.5);
}

/* ============================================================
   SHARED BUTTONS
   ============================================================ */
.sg-btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #e6b75a, #c58c1a);
  color: #26183b; font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.15) inset, 0 6px 16px rgba(201,142,30,0.35);
  font-size: 13px;
  transition: transform .15s, filter .15s;
  border: none; cursor: pointer;
}
.sg-btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ============================================================
   SANSKRIT DIVIDER
   ============================================================ */
.sg-divider {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 34px 0;
  color: var(--sg-gold-line);
}
.sg-divider .ornament { flex: 1; max-width: 260px; height: 16px; }
.sg-divider .deva {
  font-family: var(--sg-deva);
  color: var(--sg-navy);
  font-size: 22px; font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* ============================================================
   PARCHMENT SECTIONS
   ============================================================ */
.sg-section {
  position: relative;
  padding: 64px 0 56px;
  background:
    radial-gradient(1000px 240px at 50% -160px, rgba(217,164,64,0.08), transparent 70%),
    linear-gradient(180deg, var(--sg-parchment-2), var(--sg-parchment));
}
.sg-section.parchment {
  background-color: var(--sg-parchment);
  background-image:
    repeating-linear-gradient(112deg, rgba(120, 80, 20, 0.022) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(27deg,  rgba(120, 80, 20, 0.018) 0 2px, transparent 2px 9px),
    radial-gradient(1200px 300px at 10% 0%, rgba(217,164,64,0.06), transparent 70%),
    linear-gradient(180deg, #f5ebd7 0%, #f0e4c9 100%);
}

.sg-section-title {
  font-family: var(--sg-sans);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sg-ink);
  margin: 0 0 28px;
  text-align: center;
}

/* ============================================================
   HERO FEATURE CARD (Learning Paths showcase)
   ============================================================ */
.sg-hero-feature-card {
  max-width: 720px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(217,164,64,0.10) 0%, rgba(255,255,255,0.55) 40%, rgba(255,255,255,0.45) 100%);
  border: 1px solid rgba(217,164,64,0.30);
  border-radius: 20px;
  padding: 40px 36px 36px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(120,80,20,0.06),
    0 1px 0 rgba(255,255,255,0.6) inset;
}
.sg-hero-feature-card::before {
  content: "";
  position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(217,164,64,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sg-hero-feature-top {
  text-align: center;
  position: relative;
}

.sg-hero-feature-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  background: linear-gradient(135deg, #d9a440, #c58c1a);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(201,142,30,0.3);
}
.sg-hero-feature-icon {
  font-size: 48px;
  margin: 12px 0 8px;
  filter: drop-shadow(0 0 12px rgba(217,164,64,0.25));
}
.sg-hero-feature-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--sg-navy);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.sg-hero-feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sg-ink-soft);
  max-width: 560px;
  margin: 0 auto 24px;
}

.sg-hero-feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.sg-hero-feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--sg-ink-2);
  line-height: 1.55;
}
.sg-hero-feature-bullets li .sun {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.sg-hero-feature-cta {
  text-align: center;
  margin-bottom: 32px;
}

/* Agent pipeline visual */
.sg-pipeline {
  border-top: 1px solid rgba(217,164,64,0.20);
  padding-top: 24px;
}
.sg-pipeline-label {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sg-muted);
  margin-bottom: 16px;
}
.sg-pipeline-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.sg-pipeline-step {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sg-pipeline-emoji {
  font-size: 20px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(217,164,64,0.15);
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sg-pipeline-step:hover .sg-pipeline-emoji {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217,164,64,0.15);
}
.sg-pipeline-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--sg-ink-soft);
  margin-right: 2px;
}
.sg-pipeline-arrow {
  font-size: 14px;
  color: var(--sg-gold-line);
  margin: 0 2px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.sg-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.sg-feature-card {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(217,164,64,0.2);
  border-radius: 14px;
  padding: 20px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.sg-feature-card:hover {
  border-color: rgba(217,164,64,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 80, 20, 0.08);
}
.sg-feature-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.sg-feature-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.sg-feature-card h3 {
  font-size: 14px; font-weight: 700;
  color: var(--sg-ink);
  margin: 0;
}
.sg-feature-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--sg-ink-soft);
  margin: 0;
}

/* ---- Hero feature cards — row of 2 big tiles for primary capabilities ---- */
.sg-features-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto 20px;
}
.sg-feature-card--hero {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(246,237,224,0.55));
  border: 1px solid rgba(217,164,64,0.35);
  border-radius: 16px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.sg-feature-card--hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(217,164,64,0.14), transparent 70%);
  pointer-events: none;
}
.sg-feature-card--hero:hover {
  border-color: rgba(217,164,64,0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(120, 80, 20, 0.10);
}
.sg-feature-card--hero .sg-feature-head {
  gap: 12px;
  margin-bottom: 10px;
}
.sg-feature-card--hero .sg-feature-icon { font-size: 30px; }
.sg-feature-card--hero h3 { font-size: 17px; }
.sg-feature-card--hero p { font-size: 13.5px; line-height: 1.65; }

/* ---- Secondary feature grid — 5 equal small tiles ---- */
.sg-features-secondary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
.sg-features-secondary .sg-feature-card { padding: 18px 16px; }
.sg-features-secondary .sg-feature-icon { font-size: 20px; }
.sg-features-secondary .sg-feature-card h3 { font-size: 13px; }
.sg-features-secondary .sg-feature-card p { font-size: 12px; line-height: 1.55; }

/* ============================================================
   WHY THE GITA (simplified — no image)
   ============================================================ */
.sg-why-simple {
  max-width: 700px;
  margin: 0 auto;
}
.sg-why-intro {
  font-size: 14px;
  line-height: 1.75;
  color: var(--sg-ink-soft);
  margin: 0 0 18px;
  text-align: center;
}
.sg-why-heart {
  font-size: 14px;
  font-weight: 700;
  color: var(--sg-ink);
  margin: 24px 0 16px;
  text-align: center;
}
.sg-why-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.sg-why-list li {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px; color: var(--sg-ink-2);
}
.sg-why-list li .sun { flex-shrink: 0; width: 22px; height: 22px; }
.sg-why-closing {
  text-align: center;
  font-size: 14px;
  line-height: 1.75;
  color: var(--sg-ink-soft);
  font-style: italic;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.sg-cta-section {
  padding: 48px 0 64px;
  background: var(--sg-parchment);
}
.sg-cta-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(217,164,64,0.3);
  background: linear-gradient(135deg, rgba(217,164,64,0.08) 0%, rgba(255,255,255,0.5) 40%, rgba(255,255,255,0.4) 100%);
  border-radius: 20px;
  padding: 40px 32px;
}
.sg-cta-card h2 {
  font-size: 22px; font-weight: 700;
  color: var(--sg-navy);
  margin: 0 0 10px;
}
.sg-cta-card p {
  font-size: 13.5px;
  color: var(--sg-ink-soft);
  line-height: 1.6;
  margin: 0 0 24px;
}
.sg-cta-fine {
  font-size: 11px !important;
  color: var(--sg-muted) !important;
  margin-top: 16px !important;
}

/* ============================================================
   FOOTER (simplified)
   ============================================================ */
.sg-footer-simple {
  background: #f1e7d3;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(30,11,77,0.08);
}
.sg-footer-simple-inner {
  text-align: center;
}
.sg-footer-brand-simple {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--sg-navy);
  margin-bottom: 10px;
}
.sg-footer-simple p {
  font-size: 12px;
  color: var(--sg-ink-soft);
  margin: 0 0 6px;
  line-height: 1.5;
}
.sg-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
}
.sg-footer-links a {
  color: var(--sg-gold-deep);
  transition: color .15s;
}
.sg-footer-links a:hover {
  color: var(--sg-gold);
  text-decoration: underline;
}
.sg-footer-dot {
  color: var(--sg-muted);
}

/* ============================================================
   SIGN-IN MODAL
   ============================================================ */
.sg-auth-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: sgFadeIn 0.2s ease-out;
}
.sg-auth-card {
  background: var(--sg-parchment);
  border-radius: 20px;
  max-width: 400px; width: 100%;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.sg-auth-card h2 {
  font-size: 20px; font-weight: 700;
  color: var(--sg-navy);
  margin: 0 0 8px;
}
.sg-auth-card p {
  font-size: 13px; color: var(--sg-ink-soft);
  margin: 0 0 24px;
  line-height: 1.55;
}
.sg-auth-card .fine {
  font-size: 11px; color: var(--sg-muted);
  margin-top: 16px;
}
.sg-auth-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(0,0,0,0.05);
  border: none; cursor: pointer;
  font-size: 16px; color: var(--sg-ink-soft);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.sg-auth-close:hover { background: rgba(0,0,0,0.1); }

@keyframes sgFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   Responsive
   ============================================================ */
/* Mobile nav — horizontal scrollable row below header */
.sg-nav-mobile {
  display: none;
  gap: 6px;
  padding: 0 16px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sg-nav-mobile::-webkit-scrollbar { display: none; }
.sg-nav-mobile a {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all .2s;
  white-space: nowrap;
}
.sg-nav-mobile a:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.sg-nav-mobile a.active {
  color: var(--sg-navy);
  background: var(--sg-gold-soft);
  border-color: var(--sg-gold-soft);
}

@media (max-width: 860px) {
  .sg-nav { display: none; }
  .sg-nav-mobile { display: flex; }
}

@media (max-width: 640px) {
  .sg-container { padding: 0 16px; }
  .sg-header-inner { padding: 0 16px; }
  .sg-hero-simple { padding: 48px 16px 36px; }
  .sg-hero-simple h1 .row1 { font-size: 26px; }
  .sg-hero-simple h1 .row2 { font-size: 14px; }
  .sg-hero-sub { font-size: 13.5px; max-width: 340px; }
  .sg-hero-om { font-size: 40px; margin-bottom: 10px; }
  .sg-features-grid { grid-template-columns: 1fr; }
  .sg-features-hero { grid-template-columns: 1fr; gap: 14px; }
  .sg-feature-card--hero { padding: 22px 20px; }
  .sg-features-secondary { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sg-section { padding: 40px 0 36px; }
  .sg-section-title { font-size: 18px; }
  .sg-divider { padding: 22px 0; gap: 14px; }
  .sg-divider .deva { font-size: 17px; }
  .sg-divider .ornament { max-width: 100px; }
  .sg-cta-card { padding: 28px 20px; }
  .sg-cta-card h2 { font-size: 18px; }
  .sg-why-intro { font-size: 13px; }
  .sg-why-list li { font-size: 13px; }
  .sg-why-closing { font-size: 13px; }

  /* Hero feature card — mobile */
  .sg-hero-feature-card { padding: 28px 20px 24px; }
  .sg-hero-feature-title { font-size: 20px; }
  .sg-hero-feature-desc { font-size: 13px; }
  .sg-hero-feature-icon { font-size: 36px; }
  .sg-hero-feature-bullets li { font-size: 12px; }
  .sg-pipeline-steps { gap: 2px; }
  .sg-pipeline-emoji { width: 30px; height: 30px; font-size: 16px; }
  .sg-pipeline-name { font-size: 9px; }
  .sg-pipeline-arrow { font-size: 11px; }
}

/* ============================================================
   HOMEPAGE ADDITIONS — base reset, hero actions, mobile apps section
   ============================================================ */
html, body { margin: 0; padding: 0; background: #f6ede0; }
html { scroll-behavior: smooth; }
.sg-signin-btn { display: inline-flex; align-items: center; text-decoration: none; }

.sg-hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center;
}
.sg-btn-ghost {
  display: inline-flex; align-items: center;
  padding: 9px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--sg-navy);
  border: 1px solid rgba(30,11,77,0.25);
  background: rgba(255,255,255,0.35);
  transition: background .15s, transform .15s;
}
.sg-btn-ghost:hover { background: rgba(255,255,255,0.6); transform: translateY(-1px); }

/* --- Mobile apps section --- */
.sg-apps-section {
  padding: 56px 0 72px;
  background:
    radial-gradient(700px 360px at 85% 20%, rgba(217,164,64,0.16), transparent 70%),
    linear-gradient(180deg, var(--sg-parchment) 0%, #efe3cf 100%);
}
.sg-apps-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: center;
}
.sg-apps-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sg-gold-deep);
  background: rgba(217,164,64,0.14);
  border: 1px solid rgba(217,164,64,0.35);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.sg-apps-copy h2 {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em;
  color: var(--sg-navy); line-height: 1.15; margin: 0 0 14px;
}
.sg-apps-copy h2 .gold { color: var(--sg-gold-deep); }
.sg-apps-lead { font-size: 15px; line-height: 1.65; color: var(--sg-ink-soft); margin: 0 0 20px; max-width: 520px; }
.sg-apps-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; }
.sg-apps-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sg-ink-2); }
.sg-apps-list li span { font-size: 16px; width: 22px; text-align: center; }

.sg-store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.sg-store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #fffaf0, #f7eddb);
  color: var(--sg-navy);
  border-radius: 12px; padding: 8px 16px 8px 12px; min-width: 168px;
  border: 1px solid rgba(217,164,64,0.55);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 6px 16px rgba(154,107,22,0.16);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.sg-store-badge svg { color: var(--sg-gold-deep); flex-shrink: 0; }
.sg-store-badge:hover {
  transform: translateY(-2px);
  border-color: var(--sg-gold);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 10px 22px rgba(154,107,22,0.24);
}
.sg-store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.sg-store-badge small { font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sg-gold-deep); font-weight: 600; }
.sg-store-badge strong { font-size: 16px; font-weight: 700; color: var(--sg-navy); }
.sg-apps-fine { font-size: 11px; color: var(--sg-muted); margin: 14px 0 0; }

/* --- Phone preview --- */
.sg-phone-wrap { display: flex; justify-content: center; }
.sg-phone {
  position: relative; width: 268px; height: 548px;
  background: #120626; border-radius: 42px; padding: 12px;
  box-shadow: 0 30px 60px rgba(30,11,77,0.35), 0 0 0 1px rgba(217,164,64,0.35), 0 0 0 6px rgba(30,11,77,0.06);
  transform: rotate(-3deg);
}
.sg-phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: #120626; border-radius: 999px; z-index: 2;
}
.sg-phone-screen {
  height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, var(--sg-navy) 0%, #3d1a78 34%, var(--sg-parchment) 34.2%);
  display: flex; flex-direction: column; padding: 46px 14px 12px; box-sizing: border-box;
}
.sg-ph-top { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 14px; }
.sg-ph-om { font-size: 26px; filter: drop-shadow(0 0 10px rgba(227,155,55,0.5)); }
.sg-ph-top b { display: block; font-size: 15px; }
.sg-ph-top i { display: block; font-size: 11px; color: #ffe0a0; font-style: normal; }
.sg-ph-card {
  background: #fff; border-radius: 14px; padding: 12px 13px; margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(30,11,77,0.10); border: 1px solid rgba(217,164,64,0.25);
}
.sg-ph-verse small { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sg-gold-deep); }
.sg-ph-verse .deva { font-family: var(--sg-deva); font-size: 13px; color: var(--sg-navy); margin: 6px 0 4px; line-height: 1.5; }
.sg-ph-verse em { font-size: 11px; color: var(--sg-ink-soft); }
.sg-ph-chat { display: flex; flex-direction: column; gap: 7px; background: transparent; border: none; box-shadow: none; padding: 2px 0; }
.sg-ph-bubble { font-size: 11px; line-height: 1.4; padding: 8px 11px; border-radius: 14px; max-width: 88%; }
.sg-ph-bubble.user { align-self: flex-end; background: var(--sg-navy); color: #fff; border-bottom-right-radius: 4px; }
.sg-ph-bubble.guru { align-self: flex-start; background: #fff; color: var(--sg-ink-2); border: 1px solid rgba(217,164,64,0.3); border-bottom-left-radius: 4px; }
.sg-ph-tabs {
  margin-top: auto; display: flex; justify-content: space-around;
  background: #fff; border-radius: 16px; padding: 9px 6px; font-size: 16px;
  box-shadow: 0 -2px 12px rgba(30,11,77,0.08);
}
.sg-ph-tabs span { opacity: 0.45; }
.sg-ph-tabs span.on { opacity: 1; background: rgba(217,164,64,0.18); border-radius: 10px; padding: 0 8px; }

@media (max-width: 860px) {
  .sg-apps-grid { grid-template-columns: 1fr; gap: 36px; }
  .sg-phone-wrap { order: -1; }
  .sg-phone { transform: none; width: 240px; height: 490px; }
}
@media (max-width: 640px) {
  .sg-apps-section { padding: 40px 0 52px; }
  .sg-apps-copy h2 { font-size: 24px; }
  .sg-apps-lead { font-size: 13.5px; }
  .sg-apps-list li { font-size: 13px; }
  .sg-store-badge { flex: 1 1 140px; justify-content: center; }
}

#why.sg-section { padding-top: 28px; }

/* --- Notify-me form --- */
.sg-notify { margin-top: 4px; }
.sg-store-badge { position: relative; cursor: pointer; user-select: none; }
.sg-store-badge input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.sg-store-badge .sg-check {
  margin-left: auto; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(217,164,64,0.6); background: #fff; flex-shrink: 0;
  position: relative; transition: background .15s, border-color .15s;
}
.sg-store-badge .sg-check::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0;
}
.sg-store-badge:has(input:checked) { border-color: var(--sg-gold); background: linear-gradient(180deg, #fff6e0, #f9ead0); }
.sg-store-badge:has(input:checked) .sg-check { background: var(--sg-gold-deep); border-color: var(--sg-gold-deep); }
.sg-store-badge:has(input:checked) .sg-check::after { opacity: 1; }
.sg-store-badge:not(:has(input:checked)) { opacity: 0.72; }
.sg-store-badge:has(input:focus-visible) { outline: 2px solid var(--sg-gold-deep); outline-offset: 2px; }

.sg-notify-row { display: flex; gap: 10px; margin-top: 14px; max-width: 460px; }
.sg-notify-row input {
  flex: 1; min-width: 0; height: 42px; padding: 0 14px;
  font: inherit; font-size: 14px; color: var(--sg-ink);
  background: #fffaf0; border: 1px solid rgba(217,164,64,0.55); border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  transition: border-color .15s, box-shadow .15s;
}
.sg-notify-row input::placeholder { color: var(--sg-muted); }
.sg-notify-row input:focus { outline: none; border-color: var(--sg-gold-deep); box-shadow: 0 0 0 3px rgba(217,164,64,0.22); }
.sg-notify-row .sg-btn-gold { height: 42px; padding: 0 20px; white-space: nowrap; }
.sg-notify-row .sg-btn-gold:disabled { opacity: 0.6; cursor: progress; transform: none; }
.sg-notify-msg { min-height: 18px; font-size: 13px; margin: 10px 0 0; color: var(--sg-ink-soft); }
.sg-notify-msg.ok { color: #2f6b3a; font-weight: 600; }
.sg-notify-msg.err { color: #a13a2a; font-weight: 600; }
.sg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sg-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .sg-notify-row { flex-direction: column; }
  .sg-notify-row .sg-btn-gold { justify-content: center; }
}
