/* Base */
:root{
  /* Monochrome + green accent */
  --bg:#ffffff;
  --panel:#ffffff;
  --elev:#ffffff;
  --text:#101820;
  --muted:#f2f2f2;
  --muted-foreground:#6b7280;
  --brand:#101820;
  --brand-2:#101820;
  --accent:#00B140;
  --border: #E2E8F0;
  --shadow: 0 10px 25px rgba(2, 6, 23, .08), 0 8px 10px rgba(2, 6, 23, .06);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background: var(--bg);
  color:var(--text);
  font: 16px/1.6 "Rethink Sans", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;

}
.container{width:min(1120px, 92%); margin:0 auto}
.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}

/* Muted utilities (aligned with Tailwind config) */
.text-muted-foreground{color:var(--muted-foreground)}
.text-muted{color:var(--muted-foreground)}
.bg-muted{background:var(--muted)}

/* Header */
.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.8);backdrop-filter: blur(10px); border-bottom:1px solid rgba(16,24,32,.06)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:inline-flex;gap:10px;align-items:center;color:var(--text);text-decoration:none;font-weight:800}
.nav-toggle{display:none;background:none;border:1px solid var(--border);border-radius:8px;color:var(--text);padding:6px 10px}
.nav-list{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.nav-list a{color:rgba(16,24,32,.8);text-decoration:none;font-weight:600}
.nav-list a:hover{color:var(--text)}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:12px 18px;text-decoration:none;font-weight:700;border:1px solid transparent;transition:transform .08s ease, opacity .2s ease}
.btn:active{transform:translateY(1px)}
.btn-small{padding:8px 12px}
.btn-primary{background:linear-gradient(180deg, var(--brand-2), var(--brand)); color:#fff; box-shadow: 0 8px 18px rgba(16,24,32,.25)}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--border)}
.btn-outline{background:transparent;color:var(--text);border-color:rgba(16,24,32,.2)}
.btn-accent{background:linear-gradient(180deg, #00B140, #00B140); color:#ffffff; box-shadow: 0 8px 18px rgba(0,177,64,.35)}

/* Hero */
.section-hero{padding:72px 0}
.hero-grid{display:grid;grid-template-columns: 1.15fr 1fr; gap:48px; align-items:center}
.hero-copy h1{font-size: clamp(28px, 5vw, 48px); line-height:1.15; margin:0 0 16px}
.lead{color:#101820;font-size: clamp(16px, 2.2vw, 20px); margin:0 0 22px}
.cta-group{display:flex;gap:12px;margin:8px 0 18px}
.hero-bullets{list-style: none; padding:0; margin:0; display:grid; gap:8px; color:#101820}
.hero-bullets li{display:flex;gap:10px}

.hero-visual{display:grid;place-items:center}
.phone-mockup{width:100%;max-width:360px;background:#101820; border:1px solid rgba(16,24,32,.3); border-radius:28px; padding:12px; box-shadow: 0 20px 40px rgba(16,24,32,.25)}
.phone-status{height:24px;border-radius:14px;background:#101820;border:1px solid rgba(255,255,255,.12);margin-bottom:8px}
.chat{display:grid;gap:8px;padding:10px;background:#101820;border:1px solid rgba(255,255,255,.12);border-radius:18px}
.msg{padding:10px 12px;border-radius:12px;font-size:14px}
.msg-in{background:#101820; border:1px solid rgba(255,255,255,.14); color:#ffffff}
.msg-out{background:#101820; border:1px solid rgba(255,255,255,.24); justify-self:end; color:#ffffff}
.msg-system{background:rgba(0,177,64,.12);border:1px solid #00B140;color:#00B140}
.msg-system.ok{background:rgba(0,177,64,.18);border-color:#00B140;color:#00B140}
.msg.audio{font-style:italic;color:rgba(255,255,255,.7)}

/* Sections */
.section{padding:72px 0}
.section-alt{background:#ffffff}
.section-head{margin:0 0 28px}
.section-head h2{margin:0 0 6px; font-size: clamp(22px, 3.6vw, 32px)}
.section-head p{margin:0}

/* Benefits */
.benefits-grid{display:grid;grid-template-columns: repeat(3, 1fr); gap:40px; justify-items:center; text-align:center}
.benefit{background:transparent;border:0;border-radius:0;padding:0; box-shadow:none}
.benefit .icon{width:64px;height:64px;display:grid;place-items:center;border-radius:12px;background:#f2f2f2;border:0;margin:0 auto 12px}
.benefit .icon .iconify{font-size:32px;color:#101820}
.benefit h3{margin:0 0 8px;font-size:18px;font-weight:700}
.benefit p{margin:0;color:#6b7280;font-size:14px}

/* Carousel */
.carousel{position:relative}
.carousel-track{display:flex;gap:0;overflow:hidden}
.slide{min-width:100%; transition: transform .45s ease}
.slide-card{background:var(--panel); border:1px solid var(--border); border-radius:16px; padding:22px; height:100%}
.slide-icon{font-size:22px;margin-bottom:8px}
.carousel-dots{display:flex;gap:8px;justify-content:center;margin-top:14px}
.carousel-dots button{width:8px;height:8px;border-radius:999px;border:0;background:#101820;opacity:.8}
.carousel-dots button[aria-current="true"]{opacity:1;background:#00B140}

/* Features */
.features-grid{display:grid;grid-template-columns: repeat(3, 1fr); gap:24px; align-items:stretch;}
.feature{position:relative;background:var(--panel);border:1px solid var(--border);border-radius:24px;padding:28px; height:100%; display:grid; grid-template-columns:1fr; grid-template-rows:auto auto auto auto; gap:14px; box-shadow: 0 10px 24px rgba(16,24,32,.08)}
.feature h3{grid-row:2; margin:0; font-size:22px; font-weight:700}
/* Subtitle placed on its own grid row to avoid overlap */
.feature-subtitle{grid-row:3; margin:0; color:rgba(16,24,32,.8); font-weight:700; font-size:14px}
/* Description stays muted and on the next row */
.feature-description{grid-row:4; margin:0; color:var(--muted-foreground)}
.feature-list{margin:0;padding-left:18px;color:#101820}
.feature-media{grid-row:1; align-self:start; justify-self:start; width:50px;height:50px;display:grid;place-items:center;border-radius:20px;background:#101820;border:0;color:#ffffff; box-shadow: 0 10px 18px rgba(16,24,32,.12)}
.feature-media .iconify{font-size:33px}
.feature-badge{position:absolute; left:32px; top:-12px; background:linear-gradient(180deg, #00C853, #00B140); color:#ffffff; border-radius:999px; padding:6px 12px; font-size:12px; font-weight:700; box-shadow: 0 8px 18px rgba(0,177,64,.25)}

/* Services */
.services-grid{
  display:flex;
  flex-wrap:wrap;
  gap:24px 12px;
  justify-content:center;
  align-items:stretch
}
.service{position:relative;background:var(--panel);border:1px solid var(--border);border-radius:20px;padding:22px; height:100%; display:grid; grid-template-columns:1fr; grid-template-rows:auto auto auto; gap:12px; box-shadow: 0 10px 24px rgba(16,24,32,.08); width: calc((100% - 36px)/4); max-width:360px; min-height:260px}
.service h3{grid-row:2; margin:0; font-size:20px; font-weight:700}
.service p{grid-row:3; margin:0; color:var(--muted-foreground)}
.service-media{
  grid-row:1;
  align-self:start;
  justify-self:start;
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:var(--muted);
  border:0;color:#101820;
  box-shadow: 0 10px 18px rgba(16,24,32,.12);
  margin-top: 8px;
}
.service-media .iconify{font-size:26px}

/* Services badge override */
.service .feature-badge{background:#101820; box-shadow:none;}

/* Stats & Testimonials */
.stats{display:grid;grid-template-columns: repeat(3, 1fr); gap:18px;margin-top:24px}
.stat{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:20px;text-align:center}
.stat-value{display:block;font-size:28px;font-weight:800;color:#101820}
.stat-label{color:#101820;font-size:13px}
.testimonials{display:grid;grid-template-columns: repeat(3, 1fr); gap:18px}
.testimonial{margin:0;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:22px;color:#101820; box-shadow: none; position:relative}
/* Header row with stars aligned to the left */
.testimonial .quote-head{display:flex;align-items:center;justify-content:flex-start;margin-bottom:10px}
/* Dark quote badge positioned on top-left of the card */
.testimonial .quote-mark{position:absolute; left:22px; top:-12px; width:32px; height:32px; border-radius:999px; background:#101820; color:#ffffff; display:grid; place-items:center; font-size:14px; box-shadow:none}
/* Stars bigger and thicker on the left */
.testimonial .rating{display:flex;gap:6px;margin-top:8px}
.testimonial .rating span{color:#00B140;font-size:20px;line-height:1; font-weight:900}
/* Iconify stars should inherit success/green color */
.testimonial .rating .iconify{color:#00B140}
/* Quote text muted */
.testimonial p{color:var(--muted-foreground)}
.testimonial footer{margin-top:12px;color:#101820;display:flex;gap:10px;align-items:center}
/* Avatar with dark background and light text */
.testimonial .avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;background:#101820;color:#ffffff;font-weight:700}
.testimonial .muted{color:var(--muted-foreground);font-size:13px}

/* Pricing */
.pricing-grid{display:grid;grid-template-columns: repeat(3, 1fr); gap:18px;align-items:stretch}
.plan{background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:22px;position:relative; display:flex; flex-direction:column; height:100%}
.plan-featured{border-color:#00B140; background:linear-gradient(180deg, rgba(0,177,64,.08), #ffffff); box-shadow: 0 10px 22px rgba(0,177,64,.15); transform: scale(1.04); z-index:2}
.plan-featured .plan-icon{background:#101820; color:#ffffff}
.badge{position:absolute;top:12px;right:12px;background:#101820;color:#fff;border-radius:999px;padding:4px 8px;font-size:12px}
.plan-icon{font-size:22px}
.price{display:flex;align-items:end;gap:6px;margin:8px 0 12px}
.price .currency{opacity:.75}
.price .value{font-size:28px;font-weight:800}
.plan-features{margin:0 0 14px;padding-left:18px;color:#101820; flex:1}
.plan > .btn{margin-top:auto}

/* CTA */
.section-cta{background: radial-gradient(800px 400px at 80% -10%, rgba(0,177,64,.18), transparent 60%), var(--brand); color:#ffffff}
.cta-inner{display:grid;grid-template-columns: 1.1fr .9fr; gap:18px; align-items:start}
.cta-form{display:grid;grid-template-columns: 1fr 1fr; gap:12px}
.cta-form input{background:#ffffff;border:1px solid var(--border);border-radius:12px;padding:12px 14px;color:#101820}
.cta-form button{grid-column: span 2}

/* CTA heading */
.section-cta .cta-copy h2{font-size:clamp(26px, 4vw, 40px); line-height:1.2; margin:0 0 8px}

/* CTA dark form fields */
.section-cta .cta-form input{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18);color:#ffffff}
.section-cta .cta-form input::placeholder{color:rgba(255,255,255,.72)}
.section-cta .cta-form input:focus{outline:none;border-color:rgba(255,255,255,.5);box-shadow:0 0 0 3px rgba(255,255,255,.08)}

/* Video demo */
.video-wrapper{border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow: 0 10px 24px rgba(2,6,23,.08)}
video{display:block; width:100%; height:auto; background:#101820}

/* Footer */
.site-footer{border-top:1px solid var(--border); background:#ffffff}
.footer-grid{display:grid;grid-template-columns: 1fr auto; gap:18px; padding:24px 0}
.footer-nav{display:flex;gap:16px}
.footer-nav a{color:rgba(16,24,32,.8);text-decoration:none}
.footer-note{color:rgba(16,24,32,.7)}

/* Animations */
[data-animate]{opacity:0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease}
[data-animate].is-visible{opacity:1; transform: translateY(0)}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
  .features-grid{grid-template-columns: 1fr}
  .feature{flex-direction:column;}
  .benefits-grid{grid-template-columns: 1fr}
  .pricing-grid{grid-template-columns: 1fr}
  .stats{grid-template-columns: 1fr}
  .testimonials{grid-template-columns: 1fr}
  .cta-inner{grid-template-columns: 1fr}
  .cta-form{grid-template-columns: 1fr}
  .cta-form button{grid-column: auto}
  .nav-toggle{display:inline-flex}
  .nav-list{display:none;position:absolute;right:12px;top:58px;background:#ffffff;border:1px solid var(--border);border-radius:12px;padding:10px 12px;flex-direction:column;gap:10px}
  .nav-list.is-open{display:flex}
  /* Services responsive: stack vertically */
  .services-grid{display:grid; grid-template-columns: 1fr; gap:18px}
  .service{width:100%; max-width:none; height:auto}
  /* Remove scale on small screens to keep layout stable */
  .plan-featured{transform:none}
}

