/* ============================================================
   Sacred Ritual — Landing CSS
   Aesthetic: cosmic minimalism + ritual warmth
   Palette: midnight (#0a0a1f) · gold (#d4af37) · cream (#f5e6c8) · purple (#6b46c1)
   Type: Cormorant Garamond (display) + Inter (body) + Heebo (HE) + Frank Ruhl Libre (HE serif)
   ============================================================ */

:root {
  --bg: #0a0a1f;
  --bg-soft: #11112a;
  --bg-card: #16162e;
  --gold: #d4af37;
  --gold-soft: #e8c97a;
  --cream: #f5e6c8;
  --purple: #6b46c1;
  --text: #e8e6f0;
  --text-dim: #9a98a8;
  --text-faint: #5e5c6b;
  --border: rgba(212, 175, 55, 0.15);
  --border-strong: rgba(212, 175, 55, 0.35);
  --glow: 0 0 60px rgba(212, 175, 55, 0.15);
  --glow-strong: 0 0 80px rgba(212, 175, 55, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[lang="he"], [dir="rtl"] {
  font-family: 'Heebo', 'Frank Ruhl Libre', sans-serif;
}

[lang="ru"] h1, [lang="ru"] h2, [lang="ru"] h3,
[lang="en"] h1, [lang="en"] h2, [lang="en"] h3 {
  font-family: 'Cormorant Garamond', 'Frank Ruhl Libre', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

[lang="he"] h1, [lang="he"] h2, [lang="he"] h3 {
  font-family: 'Frank Ruhl Libre', 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   STARFIELD
   ============================================================ */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #1a1530 0%, var(--bg) 60%);
}

.stars, .stars--layer2 {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, white, transparent),
    radial-gradient(1px 1px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(1px 1px at 30% 80%, white, transparent),
    radial-gradient(1px 1px at 90% 50%, white, transparent),
    radial-gradient(1px 1px at 50% 20%, white, transparent),
    radial-gradient(1px 1px at 10% 60%, white, transparent),
    radial-gradient(1px 1px at 70% 90%, white, transparent),
    radial-gradient(1px 1px at 40% 40%, white, transparent),
    radial-gradient(1px 1px at 15% 15%, white, transparent);
  background-size: 200% 200%;
  opacity: 0.4;
  animation: twinkle 8s ease-in-out infinite;
}

.stars--layer2 {
  background-size: 300% 300%;
  opacity: 0.25;
  animation-duration: 12s;
  animation-delay: 2s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* ============================================================
   LANG SWITCHER
   ============================================================ */
.lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(10, 10, 31, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

[dir="rtl"] .lang-switch { right: auto; left: 20px; }

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.lang-btn:hover { color: var(--text); }

.lang-btn.active {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  text-align: center;
  gap: 40px;
}

.hero__content {
  max-width: 640px;
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--cream);
  font-weight: 400;
}

.hero__slogan {
  font-family: 'Cormorant Garamond', 'Frank Ruhl Libre', Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0.85;
}

[lang="he"] .hero__slogan {
  font-family: 'Frank Ruhl Libre', 'Cormorant Garamond', Georgia, serif;
  font-style: normal;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--bg);
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all 0.4s var(--ease);
  box-shadow: var(--glow);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
}

.hero__hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.hero__visual {
  position: relative;
  width: min(90vw, 360px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__visual-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 10, 31, 0.4) 100%);
  pointer-events: none;
}

/* ============================================================
   PILLARS — feature sections
   ============================================================ */
.pillars {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.pillar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.pillar--reverse .pillar__image { order: -1; }

.pillar__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  aspect-ratio: 9/16;
  max-width: 320px;
  margin: 0 auto;
}

.pillar__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.pillar:hover .pillar__image img {
  transform: scale(1.03);
}

.pillar__text {
  max-width: 520px;
  margin: 0 auto;
}

.pillar__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.pillar__body {
  color: var(--text-dim);
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.7;
}

.pillar__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar__bullets li {
  color: var(--text);
  font-size: 14px;
  padding-left: 24px;
  position: relative;
}

.pillar__bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
  top: 2px;
}

[dir="rtl"] .pillar__bullets li {
  padding-left: 0;
  padding-right: 24px;
}

[dir="rtl"] .pillar__bullets li::before {
  left: auto;
  right: 0;
}

/* ============================================================
   PROOF (без fake testimonials)
   ============================================================ */
.proof {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
}

.proof__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 48px;
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.proof__item {
  padding: 24px 16px;
}

.proof__icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}

.proof__text {
  color: var(--cream);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 6px;
}

.proof__sub {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 60px 24px;
}

.pricing__card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}

.pricing__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.pricing__label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}

.pricing__price {
  font-size: clamp(3rem, 8vw, 4rem);
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
}

.pricing__currency { font-size: 0.6em; vertical-align: top; opacity: 0.7; }
.pricing__cents { font-size: 0.5em; opacity: 0.7; }
.pricing__period { font-size: 0.3em; color: var(--text-dim); }

.pricing__disclaimer {
  color: var(--gold-soft);
  font-size: 14px;
  margin-bottom: 32px;
}

.pricing__features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing__features li {
  color: var(--text);
  font-size: 14px;
  padding-left: 28px;
  position: relative;
}

.pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 500;
}

[dir="rtl"] .pricing__features li {
  padding-left: 0;
  padding-right: 28px;
}

[dir="rtl"] .pricing__features li::before {
  left: auto;
  right: 0;
}

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(107, 70, 193, 0.05) 50%, transparent 100%);
}

.waitlist__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.waitlist__title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 12px;
}

.waitlist__sub {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 15px;
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

[dir="rtl"] .waitlist__form { text-align: right; }

.waitlist__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.waitlist__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

.waitlist__form input,
.waitlist__form select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.waitlist__form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4af37' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

[dir="rtl"] .waitlist__form select {
  background-position: left 16px center;
  padding-right: 16px;
  padding-left: 40px;
}

.waitlist__form input:focus,
.waitlist__form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.waitlist__submit {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--bg);
  border: none;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  margin-top: 8px;
  box-shadow: var(--glow);
}

.waitlist__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
}

.waitlist__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.waitlist__consent {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.5;
  margin-top: 4px;
}

.waitlist__success,
.waitlist__error {
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 12px;
}

.waitlist__success {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-strong);
  color: var(--cream);
}

.waitlist__success-icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 8px;
}

.waitlist__error {
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.3);
  color: #ffb0b0;
  font-size: 14px;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

.disclaimer p {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.6;
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease);
}

.footer__links a:hover { color: var(--gold); }

.footer__copy {
  color: var(--text-faint);
  font-size: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 120px 60px 80px;
    gap: 60px;
  }

  .hero--rtl,
  [dir="rtl"] .hero {
    flex-direction: row-reverse;
  }

  .hero__content { flex: 1; max-width: 600px; }
  .hero__visual { flex: 0 0 380px; max-width: 380px; }

  .pillar {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .pillar--reverse .pillar__image { order: 0; }
  .pillar--reverse .pillar__text { order: 1; }

  .pillar__image {
    max-width: 380px;
    aspect-ratio: 4/5;
  }
}

@media (min-width: 1024px) {
  .hero { padding: 140px 80px 100px; }
  .hero__visual { flex: 0 0 440px; max-width: 440px; }
  .pillars { gap: 140px; }
}

/* ============================================================
   REVEAL ANIMATIONS
   Disabled — content is fully visible from first paint.
   (Kept as a no-op class in case of future opt-in.)
   ============================================================ */

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
