:root{
  --bg:#ffffff;
  --fg:#1c1446;
  --muted:#6b7280;
  --card:#ffffff;
  --line:rgba(107,114,128,.08);
  --shadow:0 4px 20px rgba(28,20,70,.06);

  --brand:#00c5b8;
  --brand2:#00d09c;
  --accent:#1c1446;
  --warn:#FF6B35;

  --radius:12px;
  --radius-sm:8px;

  --container:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  padding-top:80px;
  padding-top:calc(80px + env(safe-area-inset-top));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--fg);
  background:var(--bg);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.container{max-width:var(--container); margin:0 auto; padding:0 20px}

.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  background:transparent;
  border-bottom:1px solid transparent;
  padding-top:env(safe-area-inset-top);
  transition:all 0.3s ease;
}

.topbar.scrolled{
  background:var(--bg);
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0;
  height:60px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:-.02em;
}
.brand-logo{
  width:120px;
  height:120px;
  border-radius:8px;
  object-fit:contain;
  margin:-30px 0;
}
.brand-mark{
  width:36px;
  height:36px;
  border-radius:12px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow:0 18px 40px rgba(0,162,199,.22);
}

.navlinks{display:flex; align-items:center; gap:18px}
.navlinks a{color:var(--muted); font-weight:600; font-size:14px}
.navlinks a:hover{color:var(--fg)}

.nav-cta{display:flex; align-items:center; gap:10px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid transparent;
  border-radius:999px;
  padding:11px 16px;
  font-weight:700;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  user-select:none;
  transition:transform .08s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active{transform:translateY(1px)}

.btn-primary{
  color:#fff;
  background:var(--brand);
  box-shadow:0 2px 8px rgba(0,197,184,.2);
}
.btn-primary:hover{background:#00b0a5; box-shadow:0 4px 12px rgba(0,197,184,.3)}

.btn-ghost{
  background:transparent;
  border-color:var(--line);
  color:var(--fg);
}
.btn-ghost:hover{border-color:var(--muted)}

.btn-subtle{
  background:rgba(0,197,184,.08);
  border-color:rgba(0,197,184,.15);
  color:var(--brand);
}
.btn-subtle:hover{background:rgba(0,197,184,.12)}

@media (max-width: 768px) {
  .navlinks{display:none}
  .mobile-toggle{display:flex}
}

@media (min-width: 769px) {
  .mobile-toggle{display:none}
}

.hero{
  padding:80px 0 60px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:60px;
  align-items:center;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(95,37,159,.08);
  color:var(--brand);
  font-weight:600;
  font-size:13px;
  margin-bottom:20px;
}
.kicker .dot{width:6px;height:6px;border-radius:999px;background:var(--brand2)}

h1{
  font-size:48px;
  line-height:1.1;
  letter-spacing:-.02em;
  margin:0 0 20px;
  font-weight:700;
}

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

.hero-actions{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:32px}

.trust{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:500;
  font-size:14px;
}
.trust .pill{display:inline-flex; align-items:center; gap:8px}
.trust svg{opacity:.6; width:18px; height:18px}

.hero-card{
  border-radius:16px;
  background:var(--card);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.hero-card-inner{padding:18px}

.stats{
  display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:12px;
  margin:12px 0 0;
}
.stat{
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.78);
  border-radius:14px;
  padding:14px;
}
.stat .num{font-weight:900; font-size:20px; letter-spacing:-.02em}
.stat .lbl{color:var(--muted); font-weight:700; font-size:12px; margin-top:6px}

.card-list{margin:14px 0 0; display:grid; gap:10px}
.card-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.80);
  border-radius:14px;
  padding:12px;
}
.badge{
  width:34px;
  height:34px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(37,99,235,.18), rgba(6,182,212,.20));
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(37,99,235,.20);
}
.card-item h3{margin:0; font-size:14px}
.card-item p{margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.5}

.section{padding:80px 0}
.section h2{font-size:36px; letter-spacing:-.02em; margin:0 0 16px; font-weight:700}
.section p.section-lede{color:var(--muted); margin:0 0 24px; line-height:1.6; font-size:18px}

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

.feature{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
}
.feature h3{margin:12px 0 8px; font-size:18px; font-weight:600}
.feature p{margin:0; color:var(--muted); font-size:15px; line-height:1.6}

.icon{
  width:48px;
  height:48px;
  border-radius:12px;
  background:rgba(95,37,159,.1);
  color:var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
}

.steps{counter-reset: step}
.step{
  padding:18px;
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.75);
}
.step:before{
  counter-increment: step;
  content: counter(step);
  width:36px;
  height:36px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  background:linear-gradient(135deg, rgba(37,99,235,.16), rgba(6,182,212,.18));
  border:1px solid rgba(37,99,235,.20);
}
.step h3{margin:12px 0 6px; font-size:16px}
.step p{margin:0; color:var(--muted); font-size:13.5px; line-height:1.55}

.testimonial{
  padding:18px;
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.75);
}
.testimonial p{margin:0; color:var(--fg); line-height:1.55}
.testimonial .by{margin-top:12px; color:var(--muted); font-weight:750; font-size:13px}

.faq{display:grid; gap:12px}
.faq details{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  padding:14px 16px;
}
.faq summary{cursor:pointer; font-weight:800}
.faq p{color:var(--muted); margin:10px 0 0; line-height:1.55}

.cta{
  background:linear-gradient(135deg, rgba(37,99,235,.15), rgba(6,182,212,.16), rgba(34,197,94,.14));
  border:1px solid rgba(15,23,42,.10);
  border-radius:22px;
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.cta h3{margin:0; font-size:18px}
.cta p{margin:8px 0 0; color:var(--muted)}

.footer{
  padding:28px 0 40px;
  color:var(--muted);
  border-top:1px solid var(--line);
  margin-top:18px;
}
.footer-grid{display:grid; grid-template-columns: 1.4fr .6fr .6fr; gap:14px}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--fg)}

.small{font-size:12px; color:var(--muted)}

/* Signup */
.form-shell{padding:34px 0 60px}
.form-header{display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap}
.form-title h1{font-size:34px; margin:8px 0 8px}
.form-title p{margin:0; color:var(--muted); line-height:1.6}

.progress{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0 14px;
}
.progress .chip{
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.75);
  color:var(--muted);
  font-weight:750;
  font-size:12px;
  padding:8px 10px;
}
.progress .chip.active{color:var(--fg); border-color:rgba(37,99,235,.22); background:rgba(37,99,235,.08)}

.panel{
  border-radius:22px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel-inner{padding:18px}

.form-grid{display:grid; grid-template-columns:repeat(2, 1fr); gap:12px}
.field{display:flex; flex-direction:column; gap:7px}
.field label{font-weight:800; font-size:12px; color:rgba(15,23,42,.85)}
.field input,.field select,.field textarea{
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;
  padding:12px 12px;
  font-size:14px;
  outline:none;
  background:rgba(255,255,255,.90);
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:rgba(37,99,235,.45); box-shadow:0 0 0 4px rgba(37,99,235,.10)}
.field textarea{min-height:92px; resize:vertical}

.field small{color:var(--muted)}

.form-actions{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:14px;
  flex-wrap:wrap;
}

.notice{
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.72);
  padding:12px;
  color:var(--muted);
  line-height:1.55;
  font-size:13px;
}

.alert{
  border-radius:14px;
  padding:12px;
  border:1px solid rgba(239,68,68,.25);
  background:rgba(239,68,68,.08);
  color:#991b1b;
  font-weight:700;
  font-size:13px;
}

.success{
  border-radius:14px;
  padding:12px;
  border:1px solid rgba(34,197,94,.25);
  background:rgba(34,197,94,.10);
  color:#065f46;
  font-weight:800;
  font-size:13px;
}

.hidden{display:none !important}

/* Section Styles */
.section{
  padding:60px 0 0;
}
.section-alt{
  background:rgba(0,197,184,.02);
}
.section-header{
  text-align:center;
  margin-bottom:48px;
}
.section-header h2{
  font-size:40px;
  font-weight:700;
  margin:0 0 16px;
  letter-spacing:-.02em;
}
.section-header p{
  font-size:18px;
  color:var(--muted);
  max-width:600px;
  margin:0 auto;
  line-height:1.6;
  text-align:center;
}

/* Hero Styles */
.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.hero-content h1{
  font-size:42px;
  font-weight:800;
  line-height:1.1;
  margin:0 0 24px;
  letter-spacing:-.02em;
  max-width:800px;
}
.hero-content .lede{
  font-size:18px;
  color:var(--muted);
  margin:0 0 40px;
  line-height:1.6;
  max-width:600px;
}
.hero-actions{
  display:flex;
  gap:20px;
  margin-bottom:40px;
}
.trust{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.pill{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  background:rgba(0,162,199,.08);
  border:1px solid rgba(0,162,199,.2);
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  color:var(--fg);
}
.hero-visual{
  display:flex;
  justify-content:center;
  width:100%;
  max-width:500px;
}
.hero-card{
  background:var(--card);
  border-radius:20px;
  padding:32px;
  box-shadow:var(--shadow);
  width:100%;
}
.card-header{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:24px;
}
.card-icon{
  width:48px;
  height:48px;
  background:var(--brand);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
}
.card-steps{
  margin-bottom:24px;
}
.step-item{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.step-number{
  width:32px;
  height:32px;
  background:rgba(0,162,199,.1);
  border:2px solid rgba(0,162,199,.2);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:600;
  color:var(--brand);
}
.step-text{
  font-weight:600;
}
.card-action{
  margin-top:24px;
}

/* Process Grid */
.process-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}
.process-step{
  text-align:center;
}
.process-icon{
  width:64px;
  height:64px;
  background:var(--brand);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  margin:0 auto 20px;
}
.process-step h3{
  font-size:20px;
  font-weight:700;
  margin:0 0 12px;
}
.process-step p{
  color:var(--muted);
  line-height:1.6;
  text-align:center;
}

/* Solutions Grid */
.solutions-grid{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  max-width:1100px;
  margin:0 auto;
  padding:0 20px 20px;
}

.solutions-grid::-webkit-scrollbar{
  display:none;
}

.faq-container{
  max-width:900px;
}
.solution-card{
  background:var(--card);
  padding:24px;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
  text-align:center;
  aspect-ratio:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  flex:0 0 250px;
  scroll-snap-align:start;
}

@media (max-width: 768px){
  .solution-card{
    flex:0 0 calc(100% - 40px);
  }
}
.solution-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 30px rgba(28,20,70,.12);
}
.solution-card h3{
  font-size:18px;
  margin-bottom:12px;
  font-weight:700;
}
.solution-card p{
  font-size:14px;
  line-height:1.4;
  color:var(--muted);
}
.solution-icon{
  width:48px;
  height:48px;
  background:var(--brand);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  margin:0 auto 12px;
}
.solution-icon svg{
  width:22px;
  height:22px;
}
.feature-list{
  list-style:none;
  padding:0;
  margin:0;
  text-align:left;
}
.feature-list li{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 0;
  color:var(--muted);
  font-size:14px;
}
.feature-list li::before{
  content:"✓";
  color:var(--brand2);
  font-weight:600;
}

/* Why Grid */
.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}
.why-item{
  text-align:center;
}
.why-icon{
  width:64px;
  height:64px;
  background:var(--brand);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  margin:0 auto 20px;
}
.why-item h3{
  font-size:20px;
  font-weight:700;
  margin:0 0 16px;
}
.why-item p{
  color:var(--muted);
  line-height:1.6;
}

/* Testimonials Grid */
.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}
.testimonial-card{
  background:var(--card);
  padding:32px;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  text-align:center;
}
.testimonial-content{
  margin-bottom:20px;
}
.testimonial-content p{
  font-size:16px;
  line-height:1.6;
  color:var(--fg);
  font-style:italic;
}
.author-info h4{
  font-size:16px;
  font-weight:700;
  margin:0 0 4px;
}
.author-info p{
  font-size:14px;
  color:var(--muted);
  margin:0;
}

/* CTA Section */
.cta-section{
  background:var(--brand);
  color:white;
  text-align:center;
  padding:80px 0;
}
.cta-content h2{
  font-size:36px;
  font-weight:800;
  margin:0 0 20px;
  letter-spacing:-.02em;
}
.cta-content p{
  font-size:18px;
  margin:0 0 40px;
  opacity:.9;
  max-width:500px;
  margin-left:auto;
  margin-right:auto;
}
.cta-actions{
  display:flex;
  gap:20px;
  justify-content:center;
}
.btn-large{
  padding:16px 32px;
  font-size:16px;
}
.cta-section .btn-ghost{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.3);
  color:white;
}
.cta-section .btn-ghost:hover{
  background:rgba(255,255,255,.2);
}

/* FAQ Grid */
.faq-grid{
  max-width:600px;
  margin:0 auto;
}
.faq-item{
  background:var(--card);
  border-radius:16px;
  margin-bottom:16px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.faq-item summary{
  padding:20px 24px;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  border:none;
  background:none;
  text-align:left;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.faq-item summary::-webkit-details-marker{
  display:none;
}
.faq-item summary::after{
  content:"+";
  font-size:20px;
  color:var(--brand);
  transition:transform .2s ease;
  margin-left:12px;
}
.faq-item[open] summary::after{
  transform:rotate(45deg);
}
.faq-item p{
  padding:0 24px 20px;
  color:var(--muted);
  line-height:1.6;
  margin:0;
}

/* Contact Grid */
.contact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}
.contact-card{
  background:var(--card);
  padding:32px;
  border-radius:16px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  text-align:center;
  transition:transform .2s ease;
}
.contact-card:hover{
  transform:translateY(-4px);
}
.contact-icon{
  width:56px;
  height:56px;
  background:var(--brand);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  margin:0 auto 20px;
}
.contact-card h3{
  font-size:18px;
  font-weight:700;
  margin:0 0 12px;
}
.contact-card p{
  color:var(--muted);
  margin:0 0 16px;
}
.contact-link{
  color:var(--brand);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.contact-link:hover{
  text-decoration:underline;
}

/* Responsive Design */
@media (max-width: 1024px){
  .hero-grid{
    grid-template-columns:1fr;
    gap:40px;
    text-align:center;
  }
  .hero-content{
    max-width:600px;
    margin:0 auto;
  }
  .hero-actions{
    flex-direction:column;
    align-items:flex-start;
  }
  .trust{
    justify-content:center;
  }
  .process-grid,
  .solutions-grid,
  .why-grid,
  .testimonials-grid,
  .contact-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .hero-content h1{
    font-size:38px;
  }
  .section-header h2{
    font-size:32px;
  }
}

@media (max-width: 768px){
  .section{
    padding:40px 0;
  }
  .section-header{
    margin-bottom:32px;
  }
  .section-header h2{
    font-size:28px;
  }
  .section-header p{
    font-size:15px;
  }
  .hero-content h1{
    font-size:32px;
    max-width:100%;
  }
  .hero-content .lede{
    font-size:16px;
    max-width:100%;
  }
  .cta-section{
    padding:40px 0;
  }
  .cta-content h2{
    font-size:28px;
  }
  .cta-content p{
    font-size:16px;
  }
  .process-grid,
  .why-grid,
  .testimonials-grid,
  .contact-grid{
    grid-template-columns:1fr;
    max-width:100%;
    padding:0 20px;
  }
  .faq-grid{
    max-width:100%;
    padding:0 20px;
  }
  .faq-container{
    max-width:calc(100% - 40px) !important;
    padding:0;
  }
  .cta-actions{
    flex-direction:column;
    align-items:center;
    gap:16px;
  }
}

@media (max-width: 480px){
  .section{
    padding:32px 0;
  }
  .hero-content h1{
    font-size:28px;
  }
  .hero-content .lede{
    font-size:15px;
  }
  .section-header h2{
    font-size:24px;
  }
  .section-header p{
    font-size:14px;
  }
  .cta-content h2{
    font-size:24px;
  }
  .cta-content p{
    font-size:15px;
  }
  .hero-card,
  .solution-card,
  .testimonial-card,
  .contact-card{
    padding:24px;
  }
  .process-icon,
  .why-icon,
  .solution-icon,
  .contact-icon{
    width:48px;
    height:48px;
  }
}

@media (max-width: 720px){
  .navlinks{display:none}
  .mobile-toggle{display:inline-flex}
  .form-grid{grid-template-columns:1fr}
  h1{font-size:38px}
}

@media (max-width: 980px){
  h1{font-size:42px}
  .hero-grid{grid-template-columns:1fr;}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}

.scroll-animate{
  opacity:0;
  transform:translateY(30px);
  transition:opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate-in{
  opacity:1;
  transform:translateY(0);
}

.scroll-animate-left{
  opacity:0;
  transform:translateX(-40px);
  transition:opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-animate-left.animate-in{
  opacity:1;
  transform:translateX(0);
}

.scroll-animate-right{
  opacity:0;
  transform:translateX(40px);
  transition:opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-animate-right.animate-in{
  opacity:1;
  transform:translateX(0);
}

.scroll-animate-scale{
  opacity:0;
  transform:scale(0.9);
  transition:opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-scale.animate-in{
  opacity:1;
  transform:scale(1);
}

.scroll-stagger-1{transition-delay:0.1s}
.scroll-stagger-2{transition-delay:0.2s}
.scroll-stagger-3{transition-delay:0.3s}
.scroll-stagger-4{transition-delay:0.4s}
