:root{
  --bg:#0b1220;
  --card:#0f1a2f;
  --card2:rgba(255,255,255,.06);
  --text:#e9eef7;
  --muted:rgba(233,238,247,.72);
  --line:rgba(255,255,255,.10);
  --shadow:0 22px 60px rgba(0,0,0,.55);
  --primary:#35d07f;
  --primary2:#22c55e;
  --warn:#ffb020;
}

*{box-sizing:border-box}

html, body{ overflow-x:hidden; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 800px at 15% 0%, rgba(53,208,127,.10), transparent 55%),
    radial-gradient(900px 600px at 100% 10%, rgba(59,130,246,.10), transparent 55%),
    var(--bg);
  color:var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:inherit; text-decoration:none}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 18px;
}

.section{padding:64px 0}

.section-alt{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.02)
}

h1,h2{letter-spacing:-.4px; margin:0 0 12px}
h1{font-size:42px; line-height:1.08}
h2{font-size:28px}

.sub{
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  margin:0 0 18px
}

.muted{color:var(--muted)}
.tiny{font-size:12px; line-height:1.5}

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

.nav{
  position:sticky;
  top:0;
  z-index:20;
  background: rgba(11,18,32,.7);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
  gap:12px;
}

/* ====== BRAND / LOGO ====== */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  justify-content:flex-start;
}

/* Desktop default: BIG logo */
.brand-mark{
  width:150px;
  height:150px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.brand-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:3px;
  display:block;
}

.brand-name{
  letter-spacing:-.2px;
  font-weight:950;
}

.menu{
  display:flex;
  gap:18px;
  align-items:center
}

.menu a{color:rgba(233,238,247,.9)}
.menu a.active{color:#fff}

.burger{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  color:#fff;
  border-radius:12px;
  padding:8px 10px
}

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

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  font-weight:700;
  gap:10px;
  transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}

.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  border-color: rgba(53,208,127,.35);
  color:#07120b;
}

.btn-ghost{background:rgba(255,255,255,.03)}

.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

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

.hero{padding:72px 0 34px}

.hero-grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap:20px;
  align-items:stretch
}

.badge{
  display:inline-flex;
  padding:7px 10px;
  border:1px solid rgba(53,208,127,.25);
  background: rgba(53,208,127,.08);
  color: rgba(231,255,244,.95);
  border-radius:999px;
  font-weight:800;
  font-size:12.5px;
  margin-bottom:14px;
}

.badge-premium{
  border-color: rgba(53,208,127,.28);
  box-shadow: 0 18px 60px rgba(53,208,127,.10);
}

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 10px
}

.trust{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px
}

/* ================= CARDS ================= */

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding:18px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px
}

.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:start
}

/* ================= PREVIEW ================= */

.preview{padding:0; overflow:hidden}

.preview-top{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  background: rgba(255,255,255,.03);
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid var(--line)
}

.preview-body{padding:14px}

.kpi{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-bottom:12px
}

.kpi-box{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:16px;
  padding:10px
}

.kpi-box small{color:var(--muted)}
.kpi-box b{
  display:block;
  margin-top:6px;
  font-size:18px;
  font-variant-numeric: tabular-nums;
}

.table{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden
}

.row{
  display:grid;
  grid-template-columns: 1.4fr .6fr .6fr;
  gap:8px;
  padding:10px 12px;
  border-top:1px solid var(--line)
}

.row.head{
  background:rgba(255,255,255,.03);
  border-top:none;
  color:var(--muted);
  font-weight:800
}

/* ================= FORM ================= */

.form-card h2,.form-card h3{margin-top:0}

.form{
  display:flex;
  flex-direction:column;
  gap:10px
}

label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-weight:800;
  font-size:13px
}

input,textarea,select{
  width:100%;
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  color:var(--text);
  outline:none;
}

textarea{
  min-height:96px;
  resize:vertical
}

input:focus,textarea:focus,select:focus{
  border-color:rgba(53,208,127,.55)
}

/* ================= STEPS / FAQ ================= */

.steps{
  margin:10px 0 0;
  padding-left:18px;
  color:rgba(233,238,247,.9)
}

.steps li{margin:8px 0}

.faq{
  display:grid;
  gap:12px
}

details summary{
  cursor:pointer;
  font-weight:900
}

details p{
  color:var(--muted);
  margin:10px 0 0
}

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

.footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  color:var(--muted)
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px
}

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

/* ================= RESPONSIVE (BASE) ================= */

@media (max-width: 940px){
  h1{font-size:34px}

  .hero-grid,.split{
    grid-template-columns: 1fr
  }

  .grid-3{
    grid-template-columns: 1fr
  }

  .menu{display:none}

  .burger{display:inline-flex}

  .menu.open{
    display:flex;
    position:absolute;
    top:64px;
    right:18px;
    left:18px;
    flex-direction:column;
    background:rgba(11,18,32,.95);
    border:1px solid var(--line);
    border-radius:18px;
    padding:12px
  }
}

/* =========================================================
   AURORA MESH + NOISE + KINETIC TITLE + MICRO-ANIMATIONS
========================================================= */

.hero-aurora{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}

.aurora{
  position:absolute;
  inset:-25%;
  background:
    conic-gradient(from 210deg at 25% 30%,
      rgba(53,208,127,.18),
      rgba(59,130,246,.14),
      rgba(255,176,32,.10),
      rgba(53,208,127,.18)
    ),
    radial-gradient(900px 520px at 15% 0%, rgba(53,208,127,.12), transparent 60%),
    radial-gradient(900px 520px at 100% 10%, rgba(59,130,246,.10), transparent 62%);
  filter: blur(22px) saturate(1.12);
  opacity:.85;
  mix-blend-mode: screen;
  animation: auroraDrift 10.5s ease-in-out infinite;
  pointer-events:none;
  z-index:0;
}

@keyframes auroraDrift{
  0%,100%{ transform: translate3d(-1%, -1%, 0) scale(1.02); }
  50%{ transform: translate3d(1.5%, 1%, 0) scale(1.05); }
}

/* Noise overlay (premium grain) */
.noise{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
  opacity:.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.hero-aurora .container{ position:relative; z-index:2; }

/* Kinetic title (word-by-word) */
.title{
  margin:0 0 12px 0;
  letter-spacing:-.6px;
  line-height:1.2;
  font-size:42px;
  padding-bottom:6px; /* fixed */

  /* Fallback: always visible */
  color:#fff;

  /* Gradient text */
  background: linear-gradient(180deg, #ffffff 0%, rgba(233,238,247,.72) 100%);
  -webkit-background-clip:text;
  background-clip:text;

  /* Chrome/Safari gradient text */
  -webkit-text-fill-color: transparent;
}

@media (max-width: 940px){
  .title{ font-size:34px; }
}

.kword{
  display:inline-block;
  transform: translateY(12px);
  opacity:0;
  filter: blur(4px);
  animation: wordIn .62s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--d, 0ms);
  will-change: transform, opacity, filter;
}

@keyframes wordIn{
  to{
    transform: translateY(0);
    opacity:1;
    filter: blur(0);
  }
}

/* Reveal on scroll */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0);
}

/* Hover lift (cards) */
.hover-lift{
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hover-lift:hover{
  transform: translateY(-6px);
  border-color: rgba(53,208,127,.22);
  box-shadow: 0 26px 80px rgba(0,0,0,.62);
}

/* Buttons */
.btn-raise:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* Preview premium effects */
.preview-premium{
  position:relative;
  overflow:hidden;
  animation: floatCard 5.2s ease-in-out infinite;
}
@keyframes floatCard{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

.preview-shine{
  pointer-events:none;
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(520px 280px at 30% 20%, rgba(53,208,127,.16), transparent 60%),
    radial-gradient(520px 280px at 70% 80%, rgba(59,130,246,.12), transparent 62%);
  filter: blur(16px);
  opacity:.9;
  animation: shineFloat 4.8s ease-in-out infinite;
}
@keyframes shineFloat{
  0%,100%{ transform: translateY(-10px); opacity:.85; }
  50%{ transform: translateY(10px); opacity:1; }
}

/* KPI pulse class (used by JS) */
.kpi-box b.up{ animation: kpiPulse .45s ease; }
@keyframes kpiPulse{
  0%{ transform: translateY(0); opacity: 1; }
  35%{ transform: translateY(-2px); opacity: .92; }
  100%{ transform: translateY(0); opacity: 1; }
}

/* Pills */
.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  margin-right:8px;
  margin-top:10px;
}
.pill-live{
  border-color: rgba(53,208,127,.25);
  background: rgba(53,208,127,.08);
  color: rgba(231,255,244,.95);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .aurora, .preview-premium{ animation: none !important; }
  .kword{ animation: none !important; opacity:1; transform:none; filter:none; }
  .reveal{ opacity:1; transform:none; }
}

/* Pricing shared bits */
.pricing .price .amount{
  font-size:20px;
  font-weight:900;
  margin:10px 0 12px;
}
.list{
  list-style:none;
  padding:0;
  margin:0;
  color:rgba(233,238,247,.9);
}
.list li{
  padding:7px 0;
  border-top:1px dashed rgba(255,255,255,.12);
}
.list li:first-child{border-top:none}
.highlight{border-color: rgba(53,208,127,.35)}
.callout{margin-top:18px; display:flex; flex-direction:column; gap:8px}

/* Pricing extras */
.pricing-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}
.billing{
  display:flex;
  gap:8px;
  padding:6px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 16px;
}
.bill-btn{
  appearance:none;
  border:1px solid transparent;
  background: transparent;
  color: rgba(233,238,247,.86);
  font-weight:900;
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
  transition: .15s ease;
}
.bill-btn .save{
  margin-left:6px;
  font-size:12px;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(53,208,127,.25);
  background: rgba(53,208,127,.10);
  color: rgba(231,255,244,.95);
}
.bill-btn.is-active{
  background: rgba(255,255,255,.06);
  border-color: rgba(53,208,127,.25);
  color: #fff;
}
.price-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.amount{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin:10px 0 12px;
}
.amount .currency{
  color: rgba(233,238,247,.65);
  font-weight:800;
  font-size:12px;
}
.amount .num{
  font-weight:950;
  font-size:28px;
  letter-spacing:-.6px;
}
.amount .per{
  color: rgba(233,238,247,.65);
  font-weight:800;
  font-size:12px;
}
.price .btn{ width:100%; }

.shine{
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(520px 280px at 30% 20%, rgba(53,208,127,.16), transparent 60%),
    radial-gradient(520px 280px at 70% 80%, rgba(59,130,246,.12), transparent 62%);
  filter: blur(16px);
  opacity:.9;
  pointer-events:none;
}

.price{ position:relative; }

@media (max-width: 940px){
  .pricing-top{ flex-direction:column; align-items:flex-start; }
  .billing{ width:100%; }
  .bill-btn{ flex:1; justify-content:center; }
}

/* =========================================
   PREMIUM RESPONSIVE OPTIMIZATION
   Desktop big logo stays, mobile fixes
========================================= */

/* Desktop: make navbar tall enough for 150px logo */
@media (min-width: 941px){
  .nav-inner{ height: 92px; }
}

/* Tablet/Mobile: shrink logo to avoid broken navbar */
@media (max-width: 940px){
  .nav-inner{ height: 64px; }

  .brand-mark{
    width:44px;
    height:44px;
    flex:0 0 44px;
  }

  .brand-mark img{
    padding:0;
  }
}

/* Mobile polish */
@media (max-width: 520px){
  .container{ padding: 0 14px; }
  .section{ padding: 46px 0; }
  .hero{ padding: 56px 0 22px; }

  .title{
    font-size:30px;
    line-height:1.12;
    letter-spacing:-.4px;
  }

  .sub{
    font-size:15px;
    line-height:1.55;
  }

  .badge{
    font-size:12px;
    padding:6px 10px;
  }

  .cta{ gap:10px; }
  .cta .btn{
    width:100%;
    justify-content:center;
    padding:12px 14px;
  }

  .trust{
    gap:10px;
    font-size:12.5px;
  }

  .preview-top{
    padding:10px 12px;
    font-size:12.5px;
  }
  .preview-body{ padding:12px; }

  .kpi{
    grid-template-columns: 1fr 1fr;
    gap:10px;
  }
  .kpi-box:last-child{ grid-column: 1 / -1; }

  .row{
    grid-template-columns: 1.2fr .7fr .7fr;
    padding:10px 10px;
    gap:8px;
  }
  .row span{
    font-size:13px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* performance */
  .aurora{
    filter: blur(26px) saturate(1.05);
    opacity:.72;
  }
  .noise{ opacity:.08; }

  .menu.open{
    right:14px;
    left:14px;
  }
}

/* Disable hover jump on touch devices */
@media (hover: none){
  .hover-lift:hover{
    transform:none;
    box-shadow: var(--shadow);
  }
}
