/* StorageAI Landing Page — modern, warm, human (no neon AI gradients) */

:root{
  --bg:#fbfaf7;
  --bg-alt:#f3f5f4;
  --surface:rgba(255,255,255,.82);
  --surface-solid:#fff;
  --text:#0b1220;
  --muted:#4b5565;
  --muted2:#6b7280;
  --line:rgba(11,18,32,.12);
  --line-strong:rgba(11,18,32,.18);
  --shadow:0 18px 45px rgba(11,18,32,.10);
  --shadow-soft:0 10px 25px rgba(11,18,32,.08);
  --radius:18px;
  --radius-sm:12px;
  --accent:#0f766e;
  --accent-ink:#0a5f59;
  --accent2:#f97316;
  --grad:linear-gradient(90deg,#0f766e 0%,#0ea5a1 45%,#f97316 100%);
  --focus:rgba(15,118,110,.22);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Space Grotesk",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(900px 600px at 12% -10%,rgba(15,118,110,.22),transparent 60%),
    radial-gradient(900px 600px at 92% -10%,rgba(249,115,22,.16),transparent 58%),
    radial-gradient(1200px 900px at 50% 115%,rgba(11,18,32,.06),transparent 60%),
    repeating-linear-gradient(90deg,rgba(11,18,32,.018) 0,rgba(11,18,32,.018) 1px,transparent 1px,transparent 64px),
    repeating-linear-gradient(0deg,rgba(11,18,32,.014) 0,rgba(11,18,32,.014) 1px,transparent 1px,transparent 64px);
}

.container{max-width:1140px;margin:0 auto;padding:0 24px}
.container-sm{max-width:760px}

/* Animations */
[data-animate]{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .65s cubic-bezier(.16,1,.3,1),transform .65s cubic-bezier(.16,1,.3,1);
}
[data-animate].visible{opacity:1;transform:translateY(0)}

/* Type */
h1{
  font-size:clamp(2.4rem,5vw,3.7rem);
  font-weight:700;
  letter-spacing:-.04em;
  line-height:1.05;
}
h2{
  font-size:clamp(1.8rem,4vw,2.6rem);
  font-weight:700;
  letter-spacing:-.03em;
  line-height:1.15;
  text-align:center;
}
h3{font-size:1.05rem;font-weight:700}
.gradient-text{
  color:var(--accent-ink);
  position:relative;
  display:inline-block;
  padding:0 .08em;
}
.gradient-text::after{
  content:"";
  position:absolute;
  left:-.06em;
  right:-.06em;
  bottom:.10em;
  height:.40em;
  border-radius:.36em;
  background:var(--grad);
  opacity:.22;
  z-index:-1;
}
.section-label{
  text-align:center;
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--accent);
  margin-bottom:.8rem;
}
.section-sub{
  text-align:center;
  color:var(--muted);
  font-size:1.1rem;
  max-width:620px;
  margin:.8rem auto 0;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  font-family:inherit;
  font-weight:650;
  text-decoration:none;
  cursor:pointer;
  border-radius:999px;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;
  user-select:none;
}
.btn-primary{
  background:var(--accent);
  color:#fff;
  padding:14px 32px;
  box-shadow:0 16px 30px rgba(15,118,110,.18);
}
.btn-primary:hover{transform:translateY(-1px);background:var(--accent-ink)}
.btn-ghost{
  background:var(--surface);
  color:var(--text);
  padding:14px 32px;
  border:1px solid var(--line);
  backdrop-filter:blur(14px);
}
.btn-ghost:hover{transform:translateY(-1px);border-color:var(--line-strong);box-shadow:var(--shadow-soft)}
.btn-lg{padding:16px 34px;font-size:1.02rem}
.btn-xl{padding:18px 44px;font-size:1.12rem}
.btn-full{width:100%}

/* Nav */
#nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  padding:16px 0;
  transition:background .25s ease,border-color .25s ease,padding .25s ease;
}
#nav.scrolled{
  background:rgba(251,250,247,.72);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(11,18,32,.10);
  padding:10px 0;
}
.nav-inner{
  max-width:1140px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
  font-weight:700;
  letter-spacing:-.02em;
  font-size:1.05rem;
}
.logo-mark{
  width:28px;height:28px;border-radius:10px;
  background:var(--grad);
  box-shadow:0 14px 22px rgba(15,118,110,.18);
}
.nav-cta{
  font-size:.9rem;
  font-weight:650;
  color:var(--text);
  text-decoration:none;
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  backdrop-filter:blur(14px);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
  white-space:nowrap;
}
.nav-cta:hover{transform:translateY(-1px);border-color:var(--line-strong);box-shadow:var(--shadow-soft)}

/* Hero */
#hero{
  min-height:96vh;
  display:flex;
  align-items:center;
  padding:120px 0 64px;
  position:relative;
}
.hero-glow{display:none}
.hero-grid{
  display:grid;
  grid-template-columns:.94fr 1.06fr;
  gap:56px;
  align-items:center;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:9px 14px;
  border-radius:999px;
  background:var(--surface);
  border:1px solid var(--line);
  color:var(--muted);
  font-size:.88rem;
  font-weight:600;
  backdrop-filter:blur(14px);
}
.hero-sub{
  font-size:1.12rem;
  color:var(--muted);
  margin:1.4rem 0 0;
}
.hero-actions{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}
.hero-proof{
  display:flex;
  gap:10px;
  align-items:stretch;
  margin-top:26px;
  flex-wrap:wrap;
}
.proof-item{
  flex:1 1 160px;
  padding:14px 14px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:var(--radius-sm);
  backdrop-filter:blur(14px);
}
.proof-item strong{
  display:block;
  font-size:1.25rem;
  font-weight:700;
  letter-spacing:-.02em;
}
.proof-item span{
  display:block;
  font-size:.82rem;
  color:var(--muted2);
  margin-top:2px;
}
.proof-divider{display:none}

/* Hero device + voice call */
.hero-visual{position:relative;display:flex;justify-content:center}
.hero-visual-grid{
  display:grid;
  grid-template-columns:auto 184px;
  gap:12px;
  align-items:center;
}
.device{
  width:360px;
  border-radius:36px;
  background:#0b1220;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
  padding:12px;
  position:relative;
}
.device-top{position:relative;padding:8px 10px 12px;color:rgba(255,255,255,.72)}
.device-pill{
  position:absolute;left:50%;top:8px;
  transform:translateX(-50%);
  width:118px;height:24px;border-radius:999px;
  background:rgba(255,255,255,.10);
}
.device-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:.78rem;
}
.device-time{font-weight:650;letter-spacing:-.01em}
.device-status{color:rgba(255,255,255,.58)}
.device-screen{
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.08);
}

.call{padding:14px}
.call-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:10px 10px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.call-title{color:#fff;font-weight:700;letter-spacing:-.02em;font-size:.92rem}
.call-sub{color:rgba(255,255,255,.55);font-size:.78rem;margin-top:2px}
.call-right{display:flex;align-items:center;gap:10px}
.call-pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.70);
  font-size:.74rem;
  font-weight:650;
  white-space:nowrap;
}
.call-timer{
  color:rgba(255,255,255,.62);
  font-size:.78rem;
  font-variant-numeric:tabular-nums;
}
.call-transcript-label{
  padding:10px 10px 2px;
  color:rgba(255,255,255,.62);
  font-size:.68rem;
  font-weight:760;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.call-wave{
  height:50px;
  display:flex;
  align-items:flex-end;
  gap:3px;
  padding:12px 10px 10px;
}
.call-wave span{
  width:4px;
  height:20px;
  border-radius:999px;
  background:rgba(255,255,255,.40);
  transform-origin:bottom;
  animation:wave 0.92s ease-in-out infinite;
  opacity:.55;
}
.call-wave span:nth-child(1){animation-delay:0s}
.call-wave span:nth-child(2){animation-delay:.06s}
.call-wave span:nth-child(3){animation-delay:.12s;animation-duration:1.05s}
.call-wave span:nth-child(4){animation-delay:.18s}
.call-wave span:nth-child(5){animation-delay:.24s;animation-duration:.82s}
.call-wave span:nth-child(6){animation-delay:.30s}
.call-wave span:nth-child(7){animation-delay:.36s;animation-duration:1.12s}
.call-wave span:nth-child(8){animation-delay:.42s}
.call-wave span:nth-child(9){animation-delay:.48s;animation-duration:.86s}
.call-wave span:nth-child(10){animation-delay:.54s}
.call-wave span:nth-child(11){animation-delay:.60s;animation-duration:1.08s}
.call-wave span:nth-child(12){animation-delay:.66s}
.call-wave span:nth-child(13){animation-delay:.72s;animation-duration:.84s}
.call-wave span:nth-child(14){animation-delay:.78s}

.call[data-state="assistant"] .call-wave span{
  background:rgba(14,165,161,.74);
  opacity:.85;
}
.call[data-state="caller"] .call-wave span{
  background:rgba(255,255,255,.52);
  opacity:.70;
}
.call[data-state="hold"] .call-wave span,
.call[data-state="connecting"] .call-wave span,
.call[data-state="done"] .call-wave span{
  animation-play-state:paused;
  opacity:.22;
}

@keyframes wave{0%,100%{transform:scaleY(.30)}50%{transform:scaleY(1.12)}}

.call-transcript{
  height:332px;
  overflow:auto;
  padding:10px 6px 6px;
  display:flex;
  flex-direction:column;
  gap:10px;
  scrollbar-width:none;
}
.call-transcript::-webkit-scrollbar{width:0;height:0}
.call-line{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.86);
  animation:bubbleIn .38s ease both;
}
.call-line.assistant{
  background:rgba(15,118,110,.22);
  border-color:rgba(15,118,110,.26);
}
.call-line.caller{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.10);
}
.call-who{
  width:82px;
  flex:0 0 82px;
  color:rgba(255,255,255,.60);
  font-size:.70rem;
  font-weight:750;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.call-text{
  flex:1;
  font-size:.92rem;
  line-height:1.45;
  letter-spacing:-.01em;
}
@keyframes bubbleIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Hero callouts */
.hero-callouts{
  display:flex;
  flex-direction:column;
  gap:12px;
  width:184px;
}
.callout{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.86);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  backdrop-filter:blur(14px);
  opacity:.72;
  transform:translateY(6px);
  transition:opacity .25s ease,transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.callout.on{
  opacity:1;
  transform:translateY(0);
  border-color:rgba(15,118,110,.32);
  box-shadow:var(--shadow);
}
.callout-icon{
  width:38px;height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,rgba(15,118,110,.16),rgba(249,115,22,.12));
}
.callout-body strong{display:block;letter-spacing:-.02em}
.callout-body small{display:block;color:var(--muted2);font-size:.80rem;margin-top:2px}

@media (max-width:1180px){
  .hero-visual-grid{grid-template-columns:1fr;justify-items:center}
  .hero-callouts{width:min(420px,100%)}
}
@media (max-width:640px){
  .call-line{flex-direction:column}
  .call-who{width:auto;flex:none}
  .call-wave{height:40px}
}
