/* Google Fonts loaded via <link> in HTML head — not via @import (perf) */

/* ═══════════════════════════════════════════════
   HILEL PORTAL — Design System
   "Shira Purple" — Deep Purple + Gold CTA
   Inspired by shirahilel.co.il
   ═══════════════════════════════════════════════ */


/* ─── CSS Variables — Shira Purple ─── */
:root {
  --bg-primary: #0a0118;
  --bg-secondary: #130826;
  --bg-card: rgba(28,6,52,0.65);
  --purple: #8504a2;
  --purple-light: #c966e8;
  --purple-dark: #6a0380;
  --accent: #d97af5;
  --gold: #c9a84c;
  --gold-light: #e8d088;
  --text-primary: #fbf8fc;
  --text-secondary: rgba(251,248,252,0.72);
  --text-muted: rgba(251,248,252,0.55);
  --green: #4ecb71;
  --pink: #e8647c;
  --orange: #e8a34c;
  --blue: #5b8ed4;
  --font-body: 'Heebo', sans-serif;
  --glass-bg: rgba(133,4,162,0.08);
  --glass-border: rgba(201,102,232,0.15);
  --glass-bg-hover: rgba(133,4,162,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: 0.35s cubic-bezier(0.34,1.56,0.64,1);
  --transition-smooth: 0.4s ease;
  --shadow-purple: 0 8px 32px rgba(133,4,162,0.2),0 0 60px rgba(133,4,162,0.08);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.2),0 0 60px rgba(201,168,76,0.08);
  --shadow-glow: 0 0 50px rgba(201,102,232,0.25),0 0 100px rgba(201,102,232,0.08);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3),0 2px 8px rgba(133,4,162,0.08);
  --max-width: 1280px;
  --nav-height: 64px;
  --bottom-nav-height: 72px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*:focus-visible { outline: 2px solid rgba(201,102,232,0.6); outline-offset: 2px; border-radius: 4px; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ─── Dreamy Floating Aurora ─── */
body::before,body::after{
  content:'';position:fixed;pointer-events:none;z-index:0;border-radius:50%;
  filter:blur(80px);
}
body::before{
  top:15%;left:25%;width:500px;height:500px;
  background:radial-gradient(ellipse,rgba(133,4,162,0.12) 0%,transparent 65%);
  animation:portalAurora 22s ease-in-out infinite;
}
body::after{
  bottom:15%;right:15%;width:400px;height:400px;
  background:radial-gradient(ellipse,rgba(201,168,76,0.06) 0%,transparent 65%);
  animation:portalAurora 28s ease-in-out infinite reverse;
}
@keyframes portalAurora{
  0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(30px,-25px) scale(1.04)}
  66%{transform:translate(-20px,30px) scale(0.96)}
}

::selection {
  background: var(--purple);
  color: white;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--purple-dark); border-radius: 3px; }

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--purple-dark) var(--bg-secondary);
}

/* ─── Typography ─── */
h1, h2, h3, .heading { font-family: 'Secular One', sans-serif; }
h1 { font-size: 2.5rem; line-height: 1.3; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }
p { line-height: 1.8; color: var(--text-secondary); }
a { color: var(--purple-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

.text-gold { color: var(--gold); }
.text-purple { color: var(--purple-light); }
.text-green { color: var(--green); }
.text-pink { color: var(--pink); }

.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--accent), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.big-number {
  font-family: 'Secular One', sans-serif;
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}

/* ─── Layout ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1023px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 50px 0; }
}

/* ─── Glassmorphism Card ─── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.glass:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(201,102,232,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card::before {
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,102,232,0.15),transparent);
  opacity:0;transition:opacity 0.4s;
}

.card:hover {
  border-color: rgba(123,82,160,0.3);
  box-shadow: var(--shadow-purple);
  transform: translateY(-4px);
}
.card:hover::before{opacity:1}

.card-highlighted {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), linear-gradient(135deg, var(--purple), var(--purple-light));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-glow);
}

.card-locked {
  position: relative;
  overflow: hidden;
}

.card-locked .card-blur {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;inset:0;background:linear-gradient(135deg,rgba(255,255,255,0.15),transparent 60%);opacity:0;transition:opacity 0.3s}
.btn:hover::after{opacity:1}
.btn:active{transform:translateY(-1px) scale(0.98)!important;transition-duration:0.1s}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0a1e;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(201,168,76,0.25);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(201,168,76,0.45),0 0 60px rgba(201,168,76,0.1);
  color: #0a0a1e;
}

.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: white;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(133,4,162,0.25);
}
.btn-purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(133,4,162,0.45),0 0 60px rgba(201,102,232,0.15);
  color: white;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}
.btn-ghost:hover {
  border-color: var(--purple);
  background: var(--glass-bg);
  color: var(--text-primary);
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 40px; font-size: 1.125rem; }

.btn-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}
.btn-whatsapp:hover {
  background: #20bd5a;
  color: white;
}

/* ─── Inputs ─── */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.input-field {
  padding: 13px 18px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201,102,232,0.35);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  transition: all 0.35s ease;
  direction: rtl;
}

.input-field:focus {
  outline: 2px solid rgba(201,102,232,0.6);
  outline-offset: 2px;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(201,102,232,0.1),0 0 20px rgba(201,102,232,0.06);
  background: rgba(255,255,255,0.06);
}

.input-field.error {
  border-color: var(--pink);
}

.input-field::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

select.input-field {
  -webkit-appearance: none;
  appearance: none;
  background-color: #1a1a2e;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8498' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  padding-inline-start: 32px;
}

.date-inputs {
  display: flex;
  gap: 10px;
}

.date-inputs select {
  flex: 1;
  max-height: 48px;
}
select.input-field option {
  background: #1a1a2e;
  color: #e0e0e0;
  padding: 8px;
}

@media (max-width: 767px) {
  select.input-field {
    font-size: 16px; /* prevent iOS auto-zoom on focus */
  }
}

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-free { background: rgba(78,203,113,0.15); color: var(--green); }
.badge-premium { background: rgba(212,168,83,0.15); color: var(--gold); }
.badge-vip { background: linear-gradient(135deg, rgba(212,168,83,0.2), rgba(240,214,138,0.2)); color: var(--gold-light); border: 1px solid rgba(212,168,83,0.3); }
.badge-new { background: rgba(123,82,160,0.15); color: var(--purple-light); }
.badge-popular { background: rgba(232,100,124,0.15); color: var(--pink); }

/* ─── Progress Bar ─── */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
  background: linear-gradient(90deg, var(--purple), var(--gold));
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: rgba(8,8,30,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
  padding: 20px;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  animation: scaleIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: var(--glass-bg);
  color: var(--text-primary);
}

/* ─── Toast ─── */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  animation: slideDown 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
}

.toast-success { background: rgba(78,203,113,0.15); border: 1px solid var(--green); color: var(--green); }
.toast-error { background: rgba(232,100,124,0.15); border: 1px solid var(--pink); color: var(--pink); }
.toast-info { background: rgba(123,82,160,0.15); border: 1px solid var(--purple); color: var(--purple-light); }

/* ─── Stars Rating ─── */
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 1rem; }

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 24px 0;
}

/* ─── Avatar ─── */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Secular One', sans-serif;
  font-size: 1.2rem;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--gold));
}

.avatar-sm { width: 36px; height: 36px; font-size: 0.9rem; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.8rem; }

/* ─── Feature Card (Calculator Grid) ─── */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.feature-card.locked {
  opacity: 0.85;
}

.feature-card .emoji {
  font-size: 2.5rem;
}

.feature-card .card-title {
  font-family: 'Secular One', sans-serif;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.feature-card .card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-card .lock-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: rgba(7,7,26,0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
}

.feature-card.locked:hover .lock-overlay {
  opacity: 1;
}

.feature-card-big {
  grid-column: span 2;
}

@media (max-width: 767px) {
  .feature-card-big { grid-column: span 1; }
}

/* ─── Price Card ─── */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card.popular {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), linear-gradient(135deg, var(--purple), var(--gold));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform: scale(1.05);
  box-shadow: 0 8px 40px rgba(133,4,162,0.2), 0 0 60px rgba(201,102,232,0.1);
}

.price-card .price {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}

.price-card .price-period {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.price-card .original-price {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.price-card ul {
  list-style: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card li.included { color: var(--text-primary); }

/* ─── FAQ Accordion ─── */
.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-question {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-question .arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ─── Social Proof Notification ─── */
.social-proof {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  z-index: 500;
  animation: slideInRight 0.5s ease, fadeOut 0.5s ease 4.5s forwards;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ─── Timer FOMO ─── */
.fomo-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(212,168,83,0.1), rgba(212,168,83,0.05));
  border: 1px solid rgba(212,168,83,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--gold);
}

.fomo-timer .time {
  font-family: 'Secular One', sans-serif;
  font-size: 1.1rem;
  direction: ltr;
}

/* ─── Particles Background ─── */
.particles-bg {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.particles-bg .num-star {
  position: absolute;
  font-family: 'Georgia', serif;
  font-weight: 700;
  user-select: none;
  line-height: 1;
  animation: numTwinkle var(--duration) ease-in-out infinite, numFloat var(--float-dur, 35s) linear infinite;
  opacity: 0;
}

@keyframes numTwinkle {
  0%, 100% { opacity: var(--min-op, 0.05); }
  50% { opacity: var(--max-op, 0.25); }
}

@keyframes numFloat {
  0% { translate: 0 0; }
  100% { translate: var(--drift-x, 0) var(--drift-y, -30px); }
}

/* ─── Keyframe Animations ─── */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; } to { opacity: 0; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(201,168,76,0.3); }
  50% { box-shadow: 0 4px 40px rgba(201,168,76,0.6), 0 0 60px rgba(201,168,76,0.2); }
}

@keyframes pulse-purple {
  0%, 100% { box-shadow: 0 4px 20px rgba(133,4,162,0.3); }
  50% { box-shadow: 0 4px 40px rgba(201,102,232,0.5), 0 0 80px rgba(201,102,232,0.15); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* twinkle replaced by numTwinkle for number particles */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px var(--purple); }
  50% { box-shadow: 0 0 20px var(--purple), 0 0 40px rgba(139,93,192,0.3); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

/* ─── Utility Classes ─── */
.fade-in { animation: fadeIn 0.5s ease; }
.slide-up { animation: slideUp 0.6s ease; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════
   Bottom Nav — "Divine Artifacts" Premium Bar
   Floating glassmorphic navigation with
   ambient lighting and spring micro-interactions
   ═══════════════════════════════════════════════ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: auto;
  min-height: 72px;
  background: linear-gradient(
    135deg,
    rgba(20, 6, 40, 0.85) 0%,
    rgba(28, 8, 56, 0.9) 50%,
    rgba(20, 6, 40, 0.85) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(201, 102, 232, 0.2);
  border-radius: 22px;
  z-index: 900;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow:
    0 -4px 30px rgba(133, 4, 162, 0.15),
    0 8px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(201, 102, 232, 0.12),
    inset 0 -1px 0 rgba(201, 168, 76, 0.08);
  overflow: hidden;
}

/* Ambient top glow line */
.bottom-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 102, 232, 0.5) 30%,
    rgba(201, 168, 76, 0.6) 50%,
    rgba(201, 102, 232, 0.5) 70%,
    transparent 100%
  );
  animation: navGlowPulse 4s ease-in-out infinite;
}

/* Subtle ambient aura behind the bar */
.bottom-nav::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(133, 4, 162, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(8px);
}

@keyframes navGlowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.bottom-nav .nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 6px 0;
  position: relative;
  z-index: 1;
}

/* ─── Each nav item is an "artifact" container ─── */
.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 16px;
  position: relative;
  transition:
    color 0.3s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Icon container — inset artifact look */
.bottom-nav .nav-item .icon {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(133, 4, 162, 0.06);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.25),
    inset 0 -1px 2px rgba(201, 102, 232, 0.06);
  transition:
    background 0.3s ease,
    box-shadow 0.4s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

/* Hover state — gentle aura glow */
.bottom-nav .nav-item:hover {
  color: var(--purple-light);
}
.bottom-nav .nav-item:hover .icon {
  background: rgba(133, 4, 162, 0.12);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    0 0 16px rgba(201, 102, 232, 0.15);
  transform: translateY(-2px);
}

/* ─── Active state — "Divine Energy" activated ─── */
.bottom-nav .nav-item.active {
  color: var(--gold);
}

.bottom-nav .nav-item.active .icon {
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.15) 0%,
    rgba(133, 4, 162, 0.12) 100%
  );
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(201, 168, 76, 0.2),
    0 0 40px rgba(201, 168, 76, 0.08);
  transform: translateY(-2px) scale(1.05);
}

/* Active gold ring pulse */
.bottom-nav .nav-item.active .icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 17px;
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  animation: activeRingPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes activeRingPulse {
  0%, 100% {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.1);
  }
  50% {
    border-color: rgba(201, 168, 76, 0.6);
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.2);
  }
}

/* Active indicator dot */
.bottom-nav .nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
}

/* Touch feedback — spring pop */
.bottom-nav .nav-item:active {
  transform: scale(0.92);
}
.bottom-nav .nav-item:active .icon {
  transform: scale(0.9);
}

@media (max-width: 767px) {
  .bottom-nav { display: block; }
  body { padding-bottom: calc(var(--bottom-nav-height) + 20px); }
}

/* ─── Top Navigation ─── */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(15,3,32,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 900;
  transition: var(--transition);
}

.top-nav .nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-nav .logo {
  font-family: 'Secular One', sans-serif;
  font-size: 1.2rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.top-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-nav .nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.top-nav .nav-link:hover,
.top-nav .nav-link.active {
  color: var(--gold);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  .top-nav .nav-links { display: none; }
  .hamburger { display: block; }
  body { padding-top: var(--nav-height); }
}

@media (min-width: 768px) {
  body { padding-top: var(--nav-height); }
}

/* ─── Language Toggle ─── */
.lang-toggle {
  display: inline-flex;
  gap: 4px;
  margin-right: 8px;
  margin-left: 8px;
  align-items: center;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
}
.lang-btn:hover {
  color: var(--purple-light);
  border-color: rgba(201, 102, 232, 0.3);
}
.lang-btn.active {
  background: rgba(201, 102, 232, 0.15);
  border-color: rgba(201, 102, 232, 0.4);
  color: var(--purple-light);
  font-weight: 600;
}

/* ─── Confetti ─── */
.confetti-container {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  animation: confettiFall 3s ease-in forwards;
}

@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   MIDNIGHT TEMPLE — New Components
   ═══════════════════════════════════════════════ */

/* ─── Golden Numbers (CTA) ─── */
.golden-number {
  font-family: 'Secular One', sans-serif;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,0.3));
  line-height: 1;
}

/* ─── Purple Numbers (content) ─── */
.purple-number {
  font-family: 'Secular One', sans-serif;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--purple-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(201,102,232,0.3));
  line-height: 1;
}

/* ─── Crystal Card ─── */
.crystal-card {
  background: linear-gradient(135deg, rgba(32,4,54,0.9), rgba(32,4,54,0.7));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), linear-gradient(135deg, rgba(201,102,232,0.3), rgba(133,4,162,0.3));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
}

.crystal-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(201,102,232,0.06) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: 1.2s ease-in-out;
  opacity: 0;
}

.crystal-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(10%, 10%);
}

.crystal-card:hover {
  box-shadow: 0 8px 40px rgba(133,4,162,0.2), 0 0 60px rgba(201,102,232,0.1);
  transform: translateY(-4px);
  border-color: rgba(201,102,232,0.4);
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Watermark ─── */
.watermark {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: rgba(107,101,128,0.3);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

/* ─── Pricing Toggle ─── */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 4px;
  margin: 16px auto;
}

.pricing-toggle .toggle-opt {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  border: none;
  background: transparent;
  font-family: 'Heebo', sans-serif;
}

.pricing-toggle .toggle-opt.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #08081e;
  font-weight: 700;
}

/* ─── Subscription Banner ─── */
.sub-banner {
  background: linear-gradient(135deg, rgba(123,82,160,0.1), rgba(201,168,76,0.1));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gold);
}

/* ─── Paywall Modal ─── */
.paywall-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: rgba(8,8,30,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.paywall-content {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.paywall-content .paywall-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.paywall-content .paywall-or::before,
.paywall-content .paywall-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

/* ═══════════════════════════════════════════════
   SHIRA STYLE — New Components
   ═══════════════════════════════════════════════ */

/* ─── Star Bullet ─── */
.star-bullet { color: var(--purple-light); font-size: 0.8em; }
.star-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.star-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-primary); }
.star-list li::before { content: '✶'; color: var(--purple-light); font-size: 0.8em; margin-top: 4px; flex-shrink: 0; }

/* ─── Glow Button (CTA) ─── */
.btn-glow {
  position: relative;
  z-index: 1;
}
.btn-glow::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px; bottom: -2px; left: -2px;
  inset: -2px;
  border-radius: inherit;
  background: inherit;
  filter: blur(16px);
  opacity: 0.4;
  z-index: -1;
  transition: 0.4s;
}
.btn-glow:hover::after {
  opacity: 0.7;
  filter: blur(24px);
}

/* ─── Shine Effect (card hover) ─── */
.shine-hover { position: relative; overflow: hidden; }
.shine-hover::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(201,102,232,0.04) 50%, transparent 60%);
  transform: rotate(45deg) translateX(-100%);
  transition: 1.2s ease-in-out;
}
.shine-hover:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* ─── Counter Animation ─── */
.counter { font-family: 'Secular One', sans-serif; font-variant-numeric: tabular-nums; }

/* ─── Floating Badge ─── */
.floating-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0f0320;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

/* ─── Section Divider ─── */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* ─── Hero Gradient Overlay ─── */
.hero-gradient {
  background: radial-gradient(ellipse at 50% 20%, rgba(133,4,162,0.15) 0%, transparent 60%);
}

/* ─── Feature Highlight Card ─── */
.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
}
.highlight-card:hover {
  border-color: rgba(201,102,232,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.highlight-card .icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.highlight-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-primary); }
.highlight-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════════
   RESULT EXPERIENCE — Loading & Shira Intro
   ═══════════════════════════════════════════════ */

/* ─── Loading Overlay ─── */
.result-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: rgba(15,3,32,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.result-overlay.fade-out {
  animation: fadeOut 0.6s ease forwards;
}

.result-loading-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 320px;
  padding: 20px;
}

.shira-loading-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--purple-light);
  box-shadow: 0 0 30px rgba(201,102,232,0.4), 0 0 60px rgba(201,102,232,0.15);
  object-fit: cover;
  animation: pulse-purple 2s ease-in-out infinite;
}

.loading-title {
  font-family: 'Heebo', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.loading-step {
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.loading-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Dots Animation ─── */
.dots-animation::after {
  content: '';
  animation: dotsAnimation 1.5s steps(4, end) infinite;
}

@keyframes dotsAnimation {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

/* ─── Shira Intro Card ─── */
.shira-intro {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.shira-intro .shira-photo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  border: 2px solid var(--purple-light);
  object-fit: cover;
  box-shadow: 0 0 16px rgba(201,102,232,0.2);
}

.shira-intro .shira-name {
  font-family: 'Secular One', sans-serif;
  font-size: 1rem;
  color: var(--purple-light);
  margin-bottom: 4px;
}

.shira-intro .shira-message p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ─── Result Action Buttons (Email + Print + Share) ─── */
.result-actions-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}
.result-actions-bar .btn {
  min-width: 120px;
  font-size: 0.9rem;
}
.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 1px solid var(--purple-light);
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: rgba(201,102,232,0.1);
  transform: translateY(-2px);
}

/* Legacy */
.result-email-cta {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}

/* Legacy class kept for backwards compat */
.email-results-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(133,4,162,0.15);
  border: 1px solid rgba(201,102,232,0.3);
  border-radius: 50px;
  color: var(--purple-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Heebo', sans-serif;
}

.email-results-btn:hover {
  background: rgba(133,4,162,0.25);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .shira-intro {
    flex-direction: column;
    text-align: center;
  }
  .shira-intro .shira-photo {
    margin: 0 auto;
  }
  .shira-intro .shira-message {
    text-align: center;
  }
  .result-loading-inner {
    max-width: 280px;
  }
  .shira-loading-photo {
    width: 80px;
    height: 80px;
  }
  .loading-title {
    font-size: 1rem;
  }
}

/* ─── Mobile Modal Padding ─── */
@media (max-width: 767px) {
  .modal-content {
    padding: 20px;
  }
}

/* ═══════════════════════════════════════════════
   DESKTOP ENHANCEMENTS — Fluid & Responsive
   ═══════════════════════════════════════════════ */

/* ─── Desktop: Fluid Typography ─── */
@media (min-width: 1024px) {
  html { font-size: 17px; }
  h1 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); }
  h2 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }
  h3 { font-size: clamp(1.2rem, 1.8vw, 1.7rem); }
  .big-number { font-size: clamp(3rem, 5vw, 5rem); }
  .container { padding: 0 40px; }
  .section { padding: 100px 0; }
}

/* ─── Desktop: Wider Layouts ─── */
@media (min-width: 1024px) {
  .glass, .card {
    padding: 28px 32px;
  }
  .feat-card {
    padding: 32px 28px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .feat-card .emoji { font-size: 3rem; margin-bottom: 16px; }
  .feat-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .feat-card p { font-size: 0.9rem; }
}

/* ─── Desktop: Better Grids ─── */
@media (min-width: 1200px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .premium-quick-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (min-width: 1440px) {
  :root { --max-width: 1400px; }
  .container { padding: 0 60px; }
}

/* ─── Desktop: Hero Improvements ─── */
@media (min-width: 1024px) {
  .hero { min-height: 85vh; padding: 60px 40px; }
  .hero h1 { font-size: clamp(2.5rem, 4vw, 3.8rem); margin-bottom: 20px; }
  .hero .subtitle { font-size: clamp(1.1rem, 1.5vw, 1.4rem); max-width: 700px; }
}

/* ─── Desktop: Cards Hover Effects ─── */
@media (min-width: 1024px) {
  .glass:hover, .card:hover {
    border-color: rgba(201,102,232,0.25);
    box-shadow: 0 12px 40px rgba(133,4,162,0.15), 0 0 80px rgba(133,4,162,0.06);
  }
  .feat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-purple), 0 0 40px rgba(201,102,232,0.1);
  }
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  }
}

/* ─── Desktop: Number Grids ─── */
@media (min-width: 1024px) {
  .number-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .number-card {
    padding: 24px;
  }
  .number-card .num {
    font-size: 2.2rem;
  }
}

/* ─── Desktop: Form Inputs ─── */
@media (min-width: 1024px) {
  .input-field, input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
    padding: 16px 18px;
    font-size: 1rem;
  }
}

/* ─── Desktop: Pricing Grid ─── */
@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 32px auto;
  }
}

/* ─── Desktop: Testimonials ─── */
@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .testimonial {
    padding: 36px;
  }
}

/* ─── Desktop: Steps ─── */
@media (min-width: 1024px) {
  .steps {
    gap: 60px;
    max-width: 1000px;
    margin: 40px auto;
  }
}

/* ─── Tablet: Medium Screens ─── */
@media (min-width: 768px) and (max-width: 1023px) {
  .container { padding: 0 32px; }
  .feat-card { padding: 24px 20px; }
  .premium-quick-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero h1 { font-size: 2.2rem; }
}

/* ─── Touch Targets (Mobile/Tablet) ─── */
@media (max-width: 1023px) {
  .btn, button, a.feat-card {
    min-height: 44px;
  }
  input, select, textarea {
    min-height: 44px;
    font-size: 16px; /* prevents iOS zoom */
  }
}

/* ─── Safe Areas (Notch/Bottom Bar) ─── */
@supports (padding: env(safe-area-inset-top)) {
  .nav-container {
    padding-top: env(safe-area-inset-top);
  }
  .bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ─── Screen Reader Only ─── */
.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; }

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
