:root {
  --bg: #f6f8ff;
  --card: #ffffff;
  --muted: #5f6783;
  --text: #0a0f2a;
  --primary: #4f5bff;
  --primary-2: #7a5cff;
  --ring: rgba(79, 91, 255, 0.28);
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(121, 137, 255, 0.18) 0%, transparent 60%),
              radial-gradient(800px 600px at -10% 30%, rgba(174, 146, 255, 0.18) 0%, transparent 55%),
              var(--bg);
  background-attachment: fixed;
  line-height: 1.5;
}

button {
  font-size: 15px;
}

.bg-orb {
  position: fixed;
  inset: -20vh -20vw -20vh -20vw;
  pointer-events: none;
  background: radial-gradient(600px 600px at var(--mx, 50%) var(--my, 40%), rgba(149, 132, 255, 0.18), transparent 60%),
              radial-gradient(400px 400px at calc(var(--mx, 50%) + 20%) calc(var(--my, 40%) + 10%), rgba(89, 169, 255, 0.12), transparent 60%);
  filter: blur(40px) saturate(115%);
  transform: translateZ(0);
  z-index: 0;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  height: 44px; 
  padding: 0 18px; 
  border-radius: 999px; 
  border: 1px solid transparent; 
  color: white; 
  text-decoration: none; 
  font-weight: 600; 
  letter-spacing: 0.2px;
}
.btn-primary { 
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); 
  box-shadow: 0 8px 24px -6px rgba(117, 103, 255, 0.35);
}
.btn-ghost {
  background: rgba(10,16,40,0.04);
  border-color: rgba(10,16,40,0.10);
}
.btn-lg { height: 56px; padding: 0 26px; font-size: 1.05rem; }
.btn-disabled { opacity: .45; pointer-events: none; box-shadow: none; }

.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(120%) blur(10px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.site-header .actions { display: flex; align-items: center; gap: 10px; }
.site-header .btn-ghost { color: var(--text); }
.site-header .actions .btn-ghost { display: inline-flex; }
@media (max-width: 820px) { .site-header .actions .btn-ghost { display: none; } }
.logo { display:flex; align-items:center; gap:10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: 0.2px; }
.logo-image { height: 25px; }
.nav { display: none; gap: 16px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
@media (min-width: 820px) { .nav{ display:flex; } }

.section { padding: 72px 0; position: relative; z-index: 1; }
.section-title { font-size: clamp(28px, 3.2vw, 40px); letter-spacing:-0.02em; margin: 0 0 28px; }

.hero .container { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; justify-items: center; text-align: center; }
@media (max-width: 920px) { .hero .container { grid-template-columns: 1fr; } }

.flag { display:inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(10,16,40,0.04); border:1px solid rgba(10,16,40,0.10); color: var(--muted); font-weight: 600; font-size: 12px; }
.headline { font-size: clamp(40px, 6.5vw, 76px); line-height: 1.02; margin: 16px 0 12px; letter-spacing: -0.03em; }
.gradient-text { background: linear-gradient(135deg, #bdccff 0%, #c7a9ff 50%, #9bd0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subtitle { color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); max-width: 62ch; margin: 25px auto; }

.domain-form { display: none; }
.hero-cta { margin: 24px 0 8px; }
.domain-input { display:flex; align-items:center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(10,16,40,0.04); border: 1px solid rgba(10,16,40,0.10); }
.domain-input input { background: transparent; border: 0; color: var(--text); font-size: 16px; outline: none; min-width: 180px; }
.domain-suffix { color: var(--muted); }
.badges { display:flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; justify-content: center; }
.badge { padding: 8px 12px; border-radius: 999px; background: rgba(10,16,40,0.04); border:1px solid rgba(10,16,40,0.10); color: var(--muted); font-weight:600; font-size: 12px; }

.hero-visual { display: grid; place-items: center; }
.mockup { width: 100%; max-width: 520px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(10,16,40,0.10); background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 20px 60px -25px rgba(79,91,255,0.15); }
.mockup-nav { height: 46px; background: rgba(10,16,40,0.04); border-bottom: 1px solid rgba(10,16,40,0.08); }
.mockup-hero { height: 160px; background: linear-gradient(135deg, #6a73ff, #a677ff, #6cd5ff); filter: saturate(120%); }
.mockup-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 16px; }
.m-card { height: 120px; border-radius: 12px; background: rgba(10,16,40,0.04); border:1px solid rgba(10,16,40,0.08); }

.features .grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .features .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features .grid { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.8)); border: 1px solid rgba(10,16,40,0.1); border-radius: var(--radius); padding: 22px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; box-shadow: 0 10px 30px -24px rgba(79,91,255,0.25), inset 0 0 0 0 rgba(255,255,255,0.7); }
.card:hover { border-color: var(--ring); box-shadow: 0 16px 60px -30px rgba(79,91,255,.35); }
.card h3 { margin: 8px 0 6px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; display:grid; place-items:center; color: inherit; background: transparent; }
.icon[data-hue] { background: transparent; }
.icon svg { width: 24px; height: 24px; }

.demo .video-card { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: radial-gradient(200px 120px at 30% 30%, rgba(79,91,255,.10), transparent 60%), linear-gradient(120deg, rgba(100,118,255,.20), rgba(162,101,255,.18)); border: 1px solid rgba(10,16,40,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 40px 80px -40px rgba(79,91,255,.25); }
.demo .play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 999px; border:0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.65)), linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 24px 60px -20px rgba(117,103,255,.45); cursor: pointer; }
.demo .play::before { content: ""; position: absolute; left: 35px; top: 28px; border-left: 18px solid white; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.demo .actions { display:flex; gap: 12px; margin-top: 16px; justify-content: center; }
.section-sub { color: var(--muted); margin-top: -10px; }

.pricing-head { display:flex; align-items:center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toggle { display:flex; align-items:center; gap: 10px; color: var(--muted); }
.t-label { font-weight: 700; color: var(--muted); }
.t-label .pill { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); padding: 4px 8px; border-radius: 999px; margin-left: 6px; font-size: 12px; color: #ff8177; }
.switch { width: 52px; height: 30px; border-radius: 999px; border: 1px solid rgba(10,16,40,0.16); background: rgba(10,16,40,0.06); position: relative; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: white; transition: transform .25s ease; }
.switch[aria-pressed="true"]::after { transform: translateX(22px); }
.plans { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #ffffff; border:1px solid #e8ecf7; border-radius: 16px; padding: 24px; position: relative; box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04); }
.plan header { text-align: center; padding-bottom: 16px; border-bottom: 1px solid #eef2fb; min-height: 172px; display: grid; place-items: center; gap: 6px; }
.plan .price { font-size: 48px; font-weight: 800; letter-spacing: -0.02em; display:flex; align-items: baseline; gap: 6px; justify-content: center; }
.plan .price span { color: var(--muted); font-size: 16px; font-weight: 600; }
.plan .price #proPrice { color: inherit; font-size: inherit; font-weight: inherit; line-height: 1; }
.plan .muted { color: var(--muted); margin-top: -6px; }
.plan .popular { position: absolute; top: -12px; right: 16px; background: #eef2ff; color: #3746db; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 11px; border: 1px solid #dbe1ff; box-shadow: 0 2px 6px rgba(55,70,219,.08); }
.plan-pro { border-color: rgba(79,91,255,.35); box-shadow: 0 4px 16px rgba(79,91,255,.10); }
.features-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 0; }
.features-list li { display:flex; align-items: center; gap: 10px; padding: 12px 0; color: var(--text); border-bottom: 1px solid #eef2fb; background: transparent; }
.features-list li span + strong { margin-left: auto; color: var(--text); }
.features-list li.off { color: #9aa3b2; }
.features-list li.on::before { content: "✓"; display: inline-block; width: 18px; color: #2e61ff; font-weight: 800; }
.features-list li.off::before { content: "✕"; display: inline-block; width: 18px; color: #c0c8d8; font-weight: 700; }
.features-list .muted-row { color: var(--muted); }
.features-list .accent { color: #404ef5; }

.faq .accordion { display: grid; gap: 12px; }
.accordion-item { border: 1px solid rgba(10,16,40,0.10); border-radius: 14px; background: #ffffff; box-shadow: 0 6px 20px -16px rgba(79,91,255,0.25); overflow: hidden; }
.accordion-trigger { width: 100%; text-align: left; background: none; border: 0; display:flex; align-items:center; justify-content: space-between; padding: 16px 18px; font-weight: 700; color: var(--text); cursor: pointer; }
.accordion-trigger .chev { width: 22px; height: 22px; transition: transform .25s ease; color: var(--muted); }
.accordion-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion-panel { overflow: hidden; height: 0; opacity: 0; transition: height .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease; padding: 0 18px; }
.accordion-panel.is-open { opacity: 1; padding-bottom: 16px; }
.accordion-panel p { color: var(--muted); margin: 8px 0 0; }

.faq-more { text-align: center; margin-top: 16px; color: var(--muted); }
.faq-more a { color: var(--primary); font-weight: 700; text-decoration: none; }

.cta { text-align: center; padding: 88px 0; }
.cta .container { background: linear-gradient(120deg, rgba(100,118,255,.12), rgba(162,101,255,.10)); border:1px solid rgba(10,16,40,.12); border-radius: 22px; padding: 48px 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 40px 80px -40px rgba(79,91,255,.25); }
.cta h2 { font-size: clamp(32px, 4.5vw, 48px); margin: 0 0 6px; }
.cta p { color: var(--muted); margin: 0 0 18px; }
.cta .micro { color: var(--muted); margin-top: 10px; font-size: 13px; }

.site-footer { padding: 30px 0 60px; color: var(--muted); }
.site-footer .container { display:flex; align-items:center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-nav a { color: var(--muted); text-decoration: none; margin-right: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; display: none; z-index: 50; }
.modal.active { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 16, 40, 0.5); backdrop-filter: blur(2px); }
.modal-dialog { position: relative; width: min(960px, 92%); margin: 12vh auto; background: #ffffff; border:1px solid rgba(10,16,40,.12); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 120px -30px rgba(79,91,255,.25); }
.modal-close { position: absolute; right: 10px; top: 8px; width: 34px; height: 34px; border-radius: 8px; background: rgba(10,16,40,.06); color: var(--text); border: 0; cursor: pointer; }
.ratio { aspect-ratio: 16 / 9; }
.ratio iframe { width: 100%; height: 100%; display:block; }

/* Interactions */
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .2s ease; }
.reveal { opacity: 0; transform: translateY(10px) scale(.98); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); transition: all .6s cubic-bezier(.2,.8,.2,1); }


