/* Suntram.digital landing — vanilla CSS (no frameworks) */

:root{
  --bg:#ffffff;
  --panel:#f7f8fb;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#475569;
  --line:rgba(15,23,42,.12);

  /* Brand */
  --brand:#1d4ed8;
  --brand2:#2563eb;

  --danger:#b91c1c;
  --shadow: 0 22px 70px rgba(2,6,23,.10);
  --shadow2: 0 12px 28px rgba(2,6,23,.08);
  --shadow3: 0 6px 16px rgba(2,6,23,.08);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#ffffff;
}

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

/* Motion + accessibility */
:focus-visible{outline: 3px solid rgba(29,78,216,.45); outline-offset: 3px; border-radius: 12px}
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important}
  *,*::before,*::after{animation-duration:1ms !important; animation-iteration-count:1 !important; transition-duration:1ms !important}
}

.container{width:min(1120px, 92vw); margin-inline:auto}

.skip{position:absolute; left:-999px; top:0; background:#fff; color:#000; padding:10px 12px; border-radius:10px; box-shadow: var(--shadow2)}
.skip:focus{left:12px; top:12px; z-index:9999}

.sr{position:absolute; width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}

.brand{display:flex; align-items:center; gap:12px; font-weight:900; letter-spacing:-.02em}
.brand__mark{
  display:grid; place-items:center;
  width:44px; height:44px;
  border-radius: 14px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(247,248,251,.9);
  box-shadow: var(--shadow3);
  overflow:hidden;
}
.brand__logo{height:34px; width:auto; display:block; object-fit:contain}
.brand__word{font-size:14px; letter-spacing:-.01em}

.nav{display:flex; align-items:center; gap:12px}
.nav__toggle{display:none; border:1px solid var(--line); background: #fff; color:var(--text); padding:10px; border-radius:12px; cursor:pointer; box-shadow: var(--shadow2)}
.nav__toggleIcon{display:block; width:18px; height:2px; background: var(--text); position:relative}
.nav__toggleIcon::before,.nav__toggleIcon::after{content:""; position:absolute; left:0; width:18px; height:2px; background:var(--text)}
.nav__toggleIcon::before{top:-6px}
.nav__toggleIcon::after{top:6px}

.nav__links{display:flex; align-items:center; gap:18px}
.nav__links a{color: var(--muted); font-weight:650}
.nav__links a:hover{color: var(--text); text-decoration:none}

.nav__links a.btn{color:#fff; text-decoration:none}
.nav__links a.btn:hover{color:#fff}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(29,78,216,.28);
  background: var(--brand);
  color:#fff;
  font-weight:780;
  line-height:1;
  letter-spacing:-.01em;
  box-shadow: 0 14px 30px rgba(29,78,216,.12);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.btn:hover{text-decoration:none; filter: brightness(1.03); transform: translateY(-1px); box-shadow: 0 18px 36px rgba(29,78,216,.14)}
.btn:active{transform: translateY(0px); filter: brightness(0.98)}
.btn--ghost{background: #fff; border:1px solid rgba(15,23,42,.14); color:var(--text); box-shadow: var(--shadow3)}
.btn--ghost:hover{border-color: rgba(29,78,216,.35)}
.btn--sm{padding:10px 12px; border-radius:12px; font-size:14px}

/* Hero */
.hero{position:relative; padding:68px 0 16px; overflow:hidden}
.hero__grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:32px; align-items:stretch}
.kicker{margin:0 0 10px; color:var(--muted); font-weight:850; letter-spacing:.12em; text-transform:uppercase; font-size:12px}
.hero h1{font-size:46px; line-height:1.02; letter-spacing:-.045em; margin:0 0 12px}
.lead{color: var(--muted); font-size:17px; line-height:1.68; margin:0 0 18px}

.hero__fx{position:absolute; inset:0; z-index:-1; pointer-events:none}
.blob{position:absolute; width:520px; height:520px; border-radius: 999px; filter: blur(36px); opacity:.9; animation: float 10s ease-in-out infinite}
.blob--a{left:-200px; top:-170px; background: rgba(29,78,216,.10)}
.blob--b{right:-240px; top:-150px; background: rgba(29,78,216,.07); animation-duration: 12s; animation-delay: -2s}
.gridlines{position:absolute; inset:-40px; background-image:
  linear-gradient(to right, rgba(15,23,42,.05) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(15,23,42,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(closest-side, rgba(0,0,0,.55), transparent 72%);
  opacity:.55;
}
.dots{position:absolute; inset:0; opacity:.25; background-image: radial-gradient(rgba(29,78,216,.22) 1px, transparent 1px); background-size: 18px 18px; mask-image: radial-gradient(closest-side, rgba(0,0,0,.5), transparent 72%)}

@keyframes float{
  0%,100%{transform: translate3d(0,0,0)}
  50%{transform: translate3d(18px, -10px, 0)}
}

.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin: 12px 0 18px}
.hero__trust{display:flex; gap:10px; flex-wrap:wrap; margin-top:8px}
.pill{
  border:1px solid rgba(15,23,42,.12);
  background: rgba(247,248,251,.8);
  color: #334155;
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:750;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.pill:hover{transform: translateY(-1px); border-color: rgba(29,78,216,.25); background: rgba(29,78,216,.05)}

.metrics{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:18px}
.metric{border:1px solid rgba(15,23,42,.12); background: rgba(255,255,255,.82); backdrop-filter: blur(8px);
  border-radius: 16px; padding:14px 14px; box-shadow: var(--shadow3)}
.metric__num{font-weight:900; font-size:24px; letter-spacing:-.03em}
.metric__label{color:var(--muted); font-size:12px; margin-top:4px; line-height:1.35}

.hero__showcase{display:flex}
.showcase{width:100%; border-radius: 20px; border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
  transform: translateZ(0);
}
.showcase__top{display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid rgba(15,23,42,.10);
  background: rgba(247,248,251,.95)}
.dot{width:10px; height:10px; border-radius: 999px; border:1px solid rgba(15,23,42,.10)}
.dot--r{background:#ef4444}
.dot--y{background:#f59e0b}
.dot--g{background:#22c55e}
.showcase__title{margin-left:6px; font-weight:900; color:#0f172a; letter-spacing:-.02em; font-size:13px}
.spark{margin-left:auto; width:20px; height:20px; opacity:.8}

.showcase__body{padding:16px}
.kpi{display:flex; align-items:baseline; justify-content:space-between; padding:10px 12px; border-radius: 14px;
  border:1px solid rgba(15,23,42,.10); background: rgba(247,248,251,.7); margin-bottom:10px}
.kpi__label{color:var(--muted); font-weight:800; font-size:12px}
.kpi__value{font-weight:900; letter-spacing:-.03em}
.kpi__delta{font-weight:900; color:#16a34a; font-size:12px; margin-left:8px}

.bars{display:flex; gap:8px; align-items:flex-end; height:110px; padding:14px 10px; border-radius: 16px;
  border:1px solid rgba(15,23,42,.10); background: rgba(255,255,255,.65); margin: 12px 0 10px}
.bar{flex:1; height: var(--h); border-radius: 10px; background: rgba(29,78,216,.85);
  box-shadow: 0 10px 18px rgba(29,78,216,.12)}

.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{display:inline-flex; align-items:center; padding:7px 10px; border-radius: 999px; font-size:12px; font-weight:800;
  border:1px solid rgba(29,78,216,.18); background: rgba(29,78,216,.06); color:#1e3a8a}

.hero__wave{margin-top: 24px; opacity:.95}
.hero__wave img{width:100%; display:block; height:auto}

/* Sections */
.section{padding:72px 0}
.section--alt{background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line)}
.section__head{margin-bottom:26px}
.section__head h2{margin:0 0 6px; font-size:32px; letter-spacing:-.02em}
.section__head p{margin:0; color:var(--muted); line-height:1.7}

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

/* Services (Stripe/Webflow-ish) */
.service{
  background: rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.12);
  border-radius: 22px;
  padding:22px;
  box-shadow: var(--shadow3);
  position:relative;
  overflow:hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(420px 240px at 18% 18%, rgba(29,78,216,.10), transparent 58%);
  opacity:.35;
  pointer-events:none;
}
.service:hover{transform: translateY(-3px); box-shadow: var(--shadow2); border-color: rgba(29,78,216,.20)}

.service__top{display:flex; gap:14px; align-items:flex-start; margin-bottom:12px}
.service__icon{
  width:46px; height:46px; border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(29,78,216,.06);
  border:1px solid rgba(29,78,216,.18);
  color:#1e3a8a;
  font-weight:900;
  flex:0 0 46px;
}
.service h3{margin:0 0 6px; letter-spacing:-.02em}
.service p{margin:0; color:var(--muted); line-height:1.6}

.serviceList{margin:14px 0 0; padding:0; list-style:none; display:grid; gap:10px}
.serviceList li{color: #334155; line-height:1.35}
.serviceList b{color:#0f172a}

.service__actions{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}

/* Bullets used site-wide */
.bullets{margin:0; padding-left:18px; color:var(--muted)}
.bullets li{margin:8px 0; line-height:1.55}

/* AI grid */
.aiGrid{grid-template-columns: repeat(2, 1fr)}
.aiCard{background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding:18px; box-shadow: var(--shadow3)}
.aiCard h3{margin:0 0 8px}
.aiCard p{margin:0 0 12px; color:var(--muted); line-height:1.6}
.aiTags{display:flex; flex-wrap:wrap; gap:8px}
.aiTags span{font-size:12px; font-weight:800; color:#1e3a8a; background: rgba(29,78,216,.06); border:1px solid rgba(29,78,216,.18); padding:7px 10px; border-radius:999px}

.ctaBand{
  margin-top:22px;
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  padding:20px;
  border-radius: 22px;
  border:1px solid rgba(29,78,216,.20);
  background: rgba(29,78,216,.04);
}
.ctaBand h3{margin:0 0 6px}
.ctaBand p{margin:0; color:var(--muted)}

/* Steps */
.steps{list-style:none; padding:0; margin:0; display:grid; grid-template-columns: repeat(2, 1fr); gap:18px}
.steps li{display:flex; gap:12px; padding:18px; border:1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow3)}
.step__num{width:40px; height:40px; border-radius:16px; display:grid; place-items:center; font-weight:900; color: var(--brand); background: rgba(29,78,216,.08); border:1px solid rgba(29,78,216,.22)}
.steps h3{margin:0 0 6px}
.steps p{margin:0; color:var(--muted); line-height:1.6}

/* Contact */
.contact{display:grid; grid-template-columns: 1.1fr .9fr; gap:18px; align-items:start}
.form{background: var(--card); border:1px solid var(--line); border-radius: 22px; padding:18px; box-shadow: var(--shadow3)}
.form label{display:block; margin: 10px 0}
.form span{display:block; margin-bottom:8px; color:var(--muted); font-weight:750; font-size:13px}

.row{display:grid; grid-template-columns:1fr 1fr; gap:12px}

input,select,textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(15,23,42,.14);
  background: #fff;
  color:var(--text);
  padding:11px 12px;
  outline:none;
}
input:focus,select:focus,textarea:focus{border-color: rgba(29,78,216,.55); box-shadow: 0 0 0 4px rgba(29,78,216,.14)}
textarea{resize:vertical}

.form__actions{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:10px}
.form__status{margin:10px 0 0; color: var(--muted)}
.form__status--error{color: var(--danger)}

.contactCard{background: var(--card); border:1px solid var(--line); border-radius: 22px; padding:18px; box-shadow: var(--shadow3)}
.contactCard h3{margin:0 0 8px}
.contactCard p{margin:0 0 12px; color:var(--muted); line-height:1.6}
.divider{height:1px; background: var(--line); margin:14px 0}

.contactDirect{display:grid; gap:10px; margin: 12px 0}
.contactDirect__item{display:flex; flex-direction:column; gap:3px; padding:12px 12px; border-radius: 16px; border:1px solid var(--line); background: rgba(247,248,251,.7)}
.contactDirect__item:hover{text-decoration:none; border-color: rgba(29,78,216,.28); background: rgba(29,78,216,.05)}
.contactDirect__k{font-size:12px; color: var(--muted); font-weight:900; letter-spacing:.06em; text-transform:uppercase}
.contactDirect__v{font-weight:900; letter-spacing:-.02em}

/* Footer */
.footer{padding:22px 0; border-top:1px solid var(--line); background: #fff}
.footer__inner{display:flex; align-items:center; justify-content:space-between; gap:12px}
.footer__links{display:flex; gap:14px; color:var(--muted); font-weight:700}
.footer__links a:hover{color:var(--text); text-decoration:none}

.muted{color:var(--muted)}
.tiny{font-size:12px; color:var(--muted); margin:10px 0 0}

/* Legal pages */
.legal{ max-width: 920px; margin: 0 auto; }
.legal h2{ margin-top: 18px; }
.legal p{ line-height: 1.7; }
.legal a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Reveal animation */
.reveal{opacity:0; transform: translateY(14px); filter: blur(6px); transition: opacity .65s ease, transform .65s ease, filter .65s ease}
.reveal.reveal--in{opacity:1; transform: translateY(0); filter: blur(0)}

/* Drawer modal */
.modal{position:fixed; inset:0; z-index:100}
.modal[hidden]{display:none}
.modal__backdrop{position:absolute; inset:0; background: rgba(2,6,23,.55)}
.modal__panel{
  position:absolute;
  right:0; top:0; bottom:0;
  width:min(560px, 92vw);
  background:#fff;
  border-left: 1px solid rgba(15,23,42,.12);
  box-shadow: -20px 0 60px rgba(2,6,23,.18);
  display:flex; flex-direction:column;
  transform: translateX(12px);
  animation: drawerIn .22s ease forwards;
}
@keyframes drawerIn{to{transform: translateX(0)}}
.modal__head{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:16px 16px; border-bottom:1px solid rgba(15,23,42,.10)}
.modal__kicker{font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; color: var(--muted)}
.modal__title{margin:6px 0 0; letter-spacing:-.02em}
.modal__close{border:1px solid rgba(15,23,42,.12); background:#fff; width:42px; height:42px; border-radius: 14px; cursor:pointer; font-size:22px; line-height:1; box-shadow: var(--shadow3)}
.modal__body{padding:16px 16px; overflow:auto}
.modal__foot{padding:14px 16px; border-top:1px solid rgba(15,23,42,.10); display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}

.modalGrid{display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-top:10px}
.modal__body h4{margin:14px 0 8px; letter-spacing:-.01em}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr;}
  .cards{grid-template-columns: repeat(2, 1fr)}
  .contact{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr}
  .metrics{grid-template-columns:1fr;}
}

@media (max-width: 720px){
  .hero{padding-top:52px}
  .hero h1{font-size:36px}
  .cards{grid-template-columns:1fr}
  .aiGrid{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
  .modalGrid{grid-template-columns:1fr}

  .nav{position:relative}
  .nav__toggle{display:inline-flex; align-items:center; justify-content:center}
  .nav__links{
    position:absolute;
    right: 4vw;
    top: 62px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px;
    border-radius:16px;
    border:1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    min-width: 240px;
  }
  .nav__links a{padding:10px 10px; border-radius:12px}
  .nav__links a:hover{background: rgba(29,78,216,.06)}
  .nav__links.is-open{display:flex}
}

@media (max-width: 420px){
  .container{width:min(1120px, 94vw)}
  .hero h1{font-size:32px}
  .btn{width:100%}
  .hero__cta{gap:10px}
  .footer__inner{flex-direction:column; align-items:flex-start}
}
