/* ============================================
   ELIZA LANDING — VICTORIAN MYSTICAL THEME
   ============================================ */

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

:root {
  --bg-dark:      #0a0608;
  --bg-mid:       #110d10;
  --accent-gold:  #c9a84c;
  --accent-light: #e8d5a3;
  --accent-dim:   #7a5c2e;
  --accent-rose:  #8b3a4a;
  --text-main:    #e2d8cc;
  --text-dim:     #9a8e82;
  --border-glow:  rgba(201,168,76,0.25);
  --card-bg:      rgba(16,10,14,0.88);
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-fell:    'IM Fell English', 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.78;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============ BACKGROUND ============ */

.bg-layer {
  position: fixed;
  inset: 0;
  background-image: url('1774465417.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* All sections above bg */
body > *:not(.bg-layer):not(#particles) {
  position: relative;
  z-index: 2;
}

/* ============ NAVBAR ============ */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px;
  border-bottom: 1px solid var(--border-glow);
  backdrop-filter: blur(8px);
  background: rgba(10,6,8,0.6);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: var(--font-fell);
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  text-shadow: 0 0 18px rgba(201,168,76,0.5);
}

.navbar nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 36px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s, text-shadow 0.3s;
}

.navbar nav a:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(201,168,76,0.4);
}

/* ============ HERO ============ */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 60px;
  gap: 40px;
}

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

.subtitle-top {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.title-line {
  font-family: var(--font-fell);
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  line-height: 1;
  text-shadow: 0 0 40px rgba(201,168,76,0.35), 0 0 80px rgba(201,168,76,0.12);
}

.title-divider {
  color: var(--accent-dim);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
}

.title-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--text-main);
  line-height: 1.3;
}

.hero-desc {
  margin-top: 28px;
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.75;
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s forwards;
}

.hero-desc em {
  color: var(--accent-light);
  font-style: italic;
}

.hero-content .btn {
  margin-top: 40px;
  opacity: 0;
  animation: fadeUp 0.9s 0.85s forwards;
  display: inline-block;
}

/* ============ ORB ============ */

.hero-orb {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeIn 1.5s 1s forwards;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-glow);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.orb-ring-1 {
  width: 100%; height: 100%;
  border-color: rgba(201,168,76,0.2);
  animation: spinSlow 18s linear infinite;
}

.orb-ring-2 {
  width: 75%; height: 75%;
  border-color: rgba(201,168,76,0.15);
  animation: spinSlow 12s linear infinite reverse;
}

.orb-ring-3 {
  width: 50%; height: 50%;
  border-color: rgba(139,58,74,0.3);
  animation: spinSlow 8s linear infinite;
}

.orb-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.25) 0%, rgba(139,58,74,0.1) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(201,168,76,0.2), 0 0 60px rgba(201,168,76,0.08);
}

.orb-symbol {
  font-size: 2.5rem;
  color: var(--accent-gold);
  text-shadow: 0 0 20px rgba(201,168,76,0.7);
  animation: pulse 3s ease-in-out infinite;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 2px;
  border: 1px solid var(--accent-gold);
  cursor: pointer;
  transition:
    box-shadow 0.35s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
  /* текст всегда поверх ::before */
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: -1;
}

/* Текст в кнопке — всегда виден */
.btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: color 0.35s;
}

.btn:hover::before { transform: scaleX(1); }

.btn-primary {
  background: transparent;
  color: var(--accent-gold);
}

.btn-primary:hover span { color: var(--bg-dark); }
.btn-primary:hover {
  box-shadow: 0 0 28px rgba(201,168,76,0.45);
}

.btn-glow {
  box-shadow: 0 0 16px rgba(201,168,76,0.2), inset 0 0 12px rgba(201,168,76,0.05);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(201,168,76,0.5), 0 8px 24px rgba(0,0,0,0.4);
}

.btn-large {
  font-size: 1.05rem;
  padding: 18px 52px;
}

/* Plan buttons */
.btn-plan {
  width: 100%;
  text-align: center;
  background: transparent;
  color: var(--accent-gold);
  margin-top: 24px;
}

.btn-plan span { color: inherit; }

.btn-plan:hover {
  box-shadow: 0 0 20px rgba(201,168,76,0.35);
}
.btn-plan:hover span { color: var(--bg-dark); }

.btn-plan-featured {
  border-color: #c9a84c;
  background: rgba(201,168,76,0.08);
}

.btn-plan-gold {
  border-color: #e8d5a3;
  color: var(--accent-light);
}

.btn-plan-gold span { color: var(--accent-light); }
.btn-plan-gold::before { background: var(--accent-light); }
.btn-plan-gold:hover span { color: var(--bg-dark); }

/* Active press effect */
.btn:active { transform: translateY(1px) scale(0.98); }

/* ============ SECTIONS COMMON ============ */

section {
  padding: 90px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 14px;
  font-family: monospace;
}

.section-title {
  font-family: var(--font-fell);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent-light);
  margin-bottom: 48px;
  font-weight: 400;
}

/* ============ ABOUT / FEATURES ============ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-glow);
  padding: 32px 28px;
  border-radius: 4px;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
  backdrop-filter: blur(6px);
}

.feature-card:hover {
  border-color: rgba(201,168,76,0.55);
  box-shadow: 0 0 28px rgba(201,168,76,0.12), 0 4px 20px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.18);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
  padding: 12px;
}

.feature-card:hover .feature-icon {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 0 18px rgba(201,168,76,0.15);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-fell);
  font-size: 1.25rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
  font-weight: 400;
}

.feature-card p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.65;
}

.feature-card strong {
  color: var(--accent-light);
}

/* ============ DIVIDER ============ */

.divider-ornament {
  text-align: center;
  color: var(--accent-dim);
  letter-spacing: 1em;
  font-size: 0.9rem;
  padding: 10px 0;
  opacity: 0.6;
}

/* ============ PRICING ============ */

.pricing { max-width: 1200px; }

.pricing-note {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: -32px;
  margin-bottom: 48px;
  font-style: italic;
}

.pricing-note strong { color: var(--accent-light); }

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

.plan-card {
  background: var(--card-bg);
  border: 1px solid var(--border-glow);
  padding: 36px 32px;
  border-radius: 4px;
  position: relative;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
  backdrop-filter: blur(6px);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 36px rgba(201,168,76,0.15), 0 8px 32px rgba(0,0,0,0.35);
}

.plan-featured {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 0 30px rgba(201,168,76,0.1);
}

.plan-best {
  border-color: rgba(232,213,163,0.45);
  box-shadow: 0 0 30px rgba(232,213,163,0.08);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-rose);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-badge-gold {
  background: linear-gradient(90deg, var(--accent-dim), var(--accent-gold));
  color: var(--bg-dark);
  font-weight: 600;
}

.plan-name {
  font-family: var(--font-fell);
  font-size: 1.1rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price-amount {
  font-family: var(--font-fell);
  font-size: 3rem;
  color: var(--accent-gold);
  line-height: 1;
}

.price-currency {
  font-size: 1.4rem;
  color: var(--accent-dim);
}

.plan-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.plan-economy {
  font-size: 0.82rem;
  color: #6db56d;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.plan-features {
  list-style: none;
  margin-bottom: 8px;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ============ SETUP / STEPS ============ */

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-glow);
  transition: background 0.3s;
}

.step:last-child { border-bottom: none; }

.step:hover .step-num {
  color: var(--accent-gold);
  text-shadow: 0 0 16px rgba(201,168,76,0.5);
}

.step-num {
  font-family: var(--font-fell);
  font-size: 2.8rem;
  color: var(--accent-dim);
  min-width: 64px;
  line-height: 1;
  transition: color 0.3s, text-shadow 0.3s;
}

.step-body h3 {
  font-family: var(--font-fell);
  font-size: 1.4rem;
  color: var(--accent-light);
  margin-bottom: 10px;
  font-weight: 400;
}

.step-body p {
  color: var(--text-main);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 620px;
}

.step-body a {
  color: var(--accent-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  transition: border-color 0.25s, color 0.25s;
}

.step-body a:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

.step-body strong { color: var(--accent-light); }

.setup-note {
  margin-top: 40px;
  padding: 22px 28px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-main);
}

.note-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* ============ FINAL CTA ============ */

.cta-final {
  text-align: center;
  padding: 100px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-fell);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--accent-light);
  margin-bottom: 16px;
  font-weight: 400;
}

.cta-content p {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 36px;
}

/* ============ FOOTER ============ */

.footer {
  text-align: center;
  padding: 48px 60px;
  border-top: 1px solid var(--border-glow);
  background: rgba(10,6,8,0.7);
  backdrop-filter: blur(8px);
}

.footer-logo {
  font-family: var(--font-fell);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.footer-tagline {
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer-contact {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--accent-gold);
  text-decoration: none;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: rgba(122,110,98,0.5);
  margin-top: 6px;
}

/* ============ ANIMATIONS ============ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes spinSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 20px rgba(201,168,76,0.7); }
  50%       { opacity: 0.6; text-shadow: 0 0 40px rgba(201,168,76,0.3); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .navbar { padding: 18px 24px; }
  .navbar nav a { margin-left: 20px; font-size: 0.8rem; }

  .hero {
    flex-direction: column;
    padding: 60px 24px;
    text-align: center;
    min-height: auto;
  }

  .hero-orb { width: 200px; height: 200px; }

  section { padding: 60px 24px; }

  .cta-final { padding: 60px 24px; }

  .footer { padding: 40px 24px; }

  .step { flex-direction: column; gap: 12px; }
  .step-num { font-size: 2rem; }

  .pricing-grid, .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .title-line { font-size: 3.5rem; }
  .btn-large { padding: 15px 32px; font-size: 0.95rem; }
}
