/* ============ SantoBaba marketing site ============ */

:root {
  --saffron: #E65100;
  --gold: #DAA520;
  --gold-bright: #F5A623;
  --cosmic-1: #140A02;
  --cosmic-2: #2A1205;
  --surface: #FFFBFE;
  --text: #1C1B1F;
  --muted: #79747E;
  --heading-font: 'Marcellus', 'Cormorant Garamond', serif;
  --body-font: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

img { display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Navbar ============ */

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(20, 10, 2, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(218, 165, 32, 0.18);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFBFE;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.nav-brand img {
  border-radius: 10px;
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(255, 251, 254, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--gold-bright); }

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--saffron);
  color: #fff !important;
}

.nav-cta:hover { background: #f06316; }

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, var(--cosmic-2) 0%, var(--cosmic-1) 70%);
  color: #FFFBFE;
  text-align: center;
  padding: 96px 24px 64px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-logo {
  margin: 0 auto 24px;
  border-radius: 22px;
  box-shadow: 0 0 48px rgba(230, 81, 0, 0.45);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  margin-bottom: 0.4em;
  background: linear-gradient(120deg, #FFFBFE 30%, var(--gold-bright) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-bright); /* fallback if clip unsupported */
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 251, 254, 0.78);
  max-width: 540px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-om {
  position: absolute;
  bottom: -0.25em;
  right: 4vw;
  font-size: clamp(8rem, 20vw, 16rem);
  color: rgba(218, 165, 32, 0.06);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* ============ Buttons ============ */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--gold-bright));
  color: #fff;
  box-shadow: 0 6px 24px rgba(230, 81, 0, 0.4);
}

.btn-ghost {
  border: 1px solid rgba(245, 166, 35, 0.5);
  color: var(--gold-bright);
}

.btn-ghost:hover { background: rgba(245, 166, 35, 0.1); }

.btn-ghost-dark {
  border: 1px solid rgba(245, 166, 35, 0.55);
  color: var(--gold-bright);
}

.btn-ghost-dark:hover { background: rgba(245, 166, 35, 0.12); }

/* ============ Sections ============ */

.section { padding: 88px 0; }

.section-alt { background: #FFF6EC; }

.section-kicker {
  color: var(--saffron);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 48px;
}

/* ---- Feature cards ---- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(28, 27, 31, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(230, 81, 0, 0.12);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--saffron);
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.1), rgba(245, 166, 35, 0.16));
  border-radius: 14px;
  margin-bottom: 18px;
}

.card h3 { font-size: 1.25rem; }

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

/* ---- Comparison table ---- */

.table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(28, 27, 31, 0.06);
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(121, 116, 126, 0.15);
}

.compare-table thead th {
  background: var(--cosmic-2);
  color: #FFFBFE;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 1.05rem;
}

.compare-table thead th.col-santo { color: var(--gold-bright); }

.compare-table tbody th {
  font-weight: 500;
  color: var(--text);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table td { color: var(--muted); }

.compare-table td.yes {
  color: #1B7A3D;
  font-weight: 700;
}

.compare-table td.no {
  color: var(--saffron);
  font-weight: 600;
}

/* ---- Language chips ---- */

.lang-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.lang-chips li {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(218, 165, 32, 0.45);
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.06), rgba(245, 166, 35, 0.1));
  font-size: 1.05rem;
  font-weight: 500;
}

/* ---- Pricing ---- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(218, 165, 32, 0.3);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}

.price-featured {
  border: 2px solid var(--saffron);
  box-shadow: 0 12px 36px rgba(230, 81, 0, 0.16);
}

.price-card h3 { font-size: 1.35rem; }

.price {
  font-family: var(--heading-font);
  font-size: 2.6rem;
  color: var(--saffron);
  margin: 8px 0 20px;
}

.price span {
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card li { padding: 7px 0; }

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 28px;
}

/* ---- Download ---- */

.section-download {
  background: linear-gradient(160deg, var(--cosmic-1), var(--cosmic-2));
  color: #FFFBFE;
}

.section-download .section-title { color: #FFFBFE; }

.download-om {
  display: block;
  font-size: 3rem;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.download-sub {
  color: rgba(255, 251, 254, 0.72);
  margin: -28px 0 32px;
}

/* ============ Footer ============ */

.footer {
  background: var(--cosmic-1);
  color: rgba(255, 251, 254, 0.75);
  padding: 56px 0 32px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(218, 165, 32, 0.18);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img { border-radius: 10px; }

.footer-brand strong {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  color: #FFFBFE;
}

.footer-brand p {
  margin: 2px 0 0;
  font-size: 0.85rem;
}

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

.footer-links a {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { text-decoration: underline; }

.footer-legal {
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255, 251, 254, 0.5);
}

.footer-legal p { margin: 4px 0; }

/* ============ Scroll reveal ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Privacy page ============ */

.prose-page {
  background: var(--surface);
  min-height: 100vh;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 130px 24px 80px;
}

.prose h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  color: var(--saffron);
}

.prose h2 {
  font-size: 1.4rem;
  margin-top: 2em;
  color: var(--text);
}

.prose .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2em;
}

.prose ul { padding-left: 1.3em; }

.prose li { margin: 8px 0; }

.prose a { color: var(--saffron); }

.prose .back-link {
  display: inline-block;
  margin-top: 40px;
  text-decoration: none;
  font-weight: 600;
}

/* ============ Responsive ============ */

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 64px 0; }
  .hero { padding-top: 88px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .footer-grid { flex-direction: column; }
}
