/* babiannest.com — purple cloud-platform theme */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --c-bg:#0f0b23;
  --c-bg2:#1a1438;
  --c-bg3:#22183f;
  --c-surface:#2a1f52;
  --c-purple:#7c3aed;
  --c-purple-light:#a78bfa;
  --c-purple-pale:#c4b5fd;
  --c-purple-dim:#4c1d95;
  --c-accent:#ddd6fe;
  --c-gold:#fbbf24;
  --c-text:#f1f0ff;
  --c-text-muted:#9d8ec7;
  --c-text-dim:#6b5fa8;
  --c-border:#3d2c7a;
  --c-border-light:#4a3585;
  --r:12px;
  --r-sm:8px;
  --max-w:1200px;
  --transition:0.22s ease;
}
html{scroll-behavior:smooth;font-size:16px}
body{
  background:var(--c-bg);
  color:var(--c-text);
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  line-height:1.65;
  min-height:100vh;
  overflow-x:hidden;
}

/* ── Typography ── */
h1,h2,h3,h4{line-height:1.2;font-weight:700;letter-spacing:-0.02em}
h1{font-size:clamp(2.2rem,5vw,3.6rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.5rem)}
h3{font-size:clamp(1.15rem,2.5vw,1.5rem)}
h4{font-size:1.05rem}
p{color:var(--c-text-muted);line-height:1.75}
a{color:var(--c-purple-light);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--c-accent)}

/* ── Layout helpers ── */
.container{max-width:var(--max-w);margin-inline:auto;padding-inline:clamp(1rem,4vw,2.5rem)}
.section{padding-block:clamp(4rem,8vw,7rem)}
.section-alt{background:var(--c-bg2)}
.section-surface{background:var(--c-bg3)}
.flex-center{display:flex;align-items:center;justify-content:center}
.flex-between{display:flex;align-items:center;justify-content:space-between}
.gap-sm{gap:0.75rem}
.gap-md{gap:1.5rem}
.gap-lg{gap:2.5rem}
.text-center{text-align:center}
.text-grad{
  background:linear-gradient(135deg,#c4b5fd 0%,#a78bfa 40%,#7c3aed 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent
}

/* ── Buttons ── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;
  border:none;cursor:pointer;border-radius:var(--r-sm);
  font-family:inherit;font-size:1rem;font-weight:600;
  padding:0.75rem 1.75rem;line-height:1;
  transition:transform var(--transition),box-shadow var(--transition),background var(--transition);
  min-height:48px;white-space:nowrap;
}
.btn:active{transform:scale(0.97)}
.btn-primary{
  background:linear-gradient(135deg,#7c3aed,#5b21b6);
  color:#fff;
  box-shadow:0 4px 24px rgba(124,58,237,0.4);
}
.btn-primary:hover{
  background:linear-gradient(135deg,#8b5cf6,#6d28d9);
  box-shadow:0 6px 32px rgba(124,58,237,0.6);
  transform:translateY(-2px);color:#fff;
}
.btn-outline{
  background:transparent;
  color:var(--c-purple-light);
  border:1.5px solid var(--c-purple-light);
}
.btn-outline:hover{
  background:rgba(124,58,237,0.12);
  border-color:var(--c-purple-pale);
  color:var(--c-accent);
  transform:translateY(-2px);
}
.btn-lg{padding:0.95rem 2.5rem;font-size:1.1rem;min-height:56px;border-radius:var(--r)}
.btn-sm{padding:0.55rem 1.25rem;font-size:0.875rem;min-height:40px}

/* ── Navbar ── */
.nav{
  position:sticky;top:0;z-index:100;
  background:rgba(15,11,35,0.9);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid var(--c-border);
  padding-block:0.9rem;
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.nav-logo{display:flex;align-items:center;gap:0.65rem;text-decoration:none}
.nav-logo img{height:36px;width:auto}
.nav-logo-text{font-size:1.15rem;font-weight:700;color:var(--c-text);letter-spacing:-0.02em}
.nav-links{display:flex;align-items:center;gap:1.75rem;list-style:none}
.nav-links a{font-size:0.9rem;color:var(--c-text-muted);font-weight:500;transition:color var(--transition)}
.nav-links a:hover{color:var(--c-text)}
.nav-cta{display:flex;align-items:center;gap:0.75rem}
.nav-mobile-btn{display:none;background:none;border:none;cursor:pointer;padding:0.5rem;color:var(--c-text)}
.nav-mobile-btn svg{display:block}

/* ── Hero ── */
.hero{
  background:radial-gradient(ellipse 80% 60% at 50% -20%,rgba(124,58,237,0.3) 0%,transparent 70%),
             radial-gradient(ellipse 50% 40% at 80% 60%,rgba(76,29,149,0.2) 0%,transparent 60%),
             var(--c-bg);
  padding-block:clamp(5rem,10vw,9rem) clamp(4rem,8vw,7rem);
  text-align:center;
  position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events:none;
}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:0.5rem;
  background:rgba(124,58,237,0.15);border:1px solid rgba(124,58,237,0.3);
  border-radius:999px;padding:0.35rem 1rem;
  font-size:0.8rem;font-weight:600;color:var(--c-purple-pale);
  letter-spacing:0.05em;text-transform:uppercase;margin-bottom:1.5rem;
}
.hero-eyebrow::before{content:'';display:block;width:6px;height:6px;border-radius:50%;background:var(--c-purple-light);animation:pulse 2s ease infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}
.hero h1{margin-bottom:1.25rem}
.hero-lead{
  font-size:clamp(1rem,2.2vw,1.2rem);
  color:var(--c-text-muted);max-width:620px;margin-inline:auto;margin-bottom:2.5rem;
}
.hero-ctas{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}
.hero-stats{
  display:flex;align-items:center;justify-content:center;gap:2.5rem;
  margin-top:3.5rem;padding-top:3rem;
  border-top:1px solid var(--c-border);
  flex-wrap:wrap;
}
.hero-stat-num{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:800;color:var(--c-text);line-height:1}
.hero-stat-label{font-size:0.8rem;color:var(--c-text-dim);margin-top:0.25rem;font-weight:500}

/* ── Trust logos strip ── */
.trust-strip{
  padding-block:2.5rem;
  border-bottom:1px solid var(--c-border);
}
.trust-strip-label{font-size:0.78rem;color:var(--c-text-dim);letter-spacing:0.08em;text-transform:uppercase;text-align:center;margin-bottom:1.25rem}
.trust-logos{display:flex;align-items:center;justify-content:center;gap:2.5rem;flex-wrap:wrap}
.trust-logo-item{
  display:flex;align-items:center;gap:0.5rem;
  font-size:0.9rem;font-weight:600;color:var(--c-text-dim);
  opacity:0.6;filter:grayscale(1);transition:opacity var(--transition),filter var(--transition);
}
.trust-logo-item:hover{opacity:1;filter:none;color:var(--c-text)}
.trust-logo-dot{width:8px;height:8px;border-radius:50%;background:var(--c-purple)}

/* ── Features grid ── */
.features-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:1.5rem;margin-top:3rem;
}
.feature-card{
  background:var(--c-surface);
  border:1px solid var(--c-border);
  border-radius:var(--r);
  padding:2rem;
  transition:border-color var(--transition),transform var(--transition),box-shadow var(--transition);
  position:relative;overflow:hidden;
}
.feature-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,transparent,var(--c-purple),transparent);
  opacity:0;transition:opacity var(--transition);
}
.feature-card:hover{
  border-color:var(--c-purple);
  transform:translateY(-4px);
  box-shadow:0 12px 40px rgba(124,58,237,0.2);
}
.feature-card:hover::before{opacity:1}
.feature-icon{
  width:48px;height:48px;border-radius:var(--r-sm);
  background:rgba(124,58,237,0.15);border:1px solid rgba(124,58,237,0.25);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.25rem;color:var(--c-purple-light);
}
.feature-card h3{margin-bottom:0.6rem;color:var(--c-text)}
.feature-card p{font-size:0.9rem}

/* ── Metrics row ── */
.metrics-row{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:1px;background:var(--c-border);
  border:1px solid var(--c-border);border-radius:var(--r);overflow:hidden;
}
.metric-cell{
  background:var(--c-bg2);padding:2rem 1.5rem;text-align:center;
}
.metric-num{
  font-size:clamp(1.8rem,4vw,2.8rem);font-weight:800;
  background:linear-gradient(135deg,#c4b5fd,#7c3aed);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  line-height:1;
}
.metric-label{font-size:0.82rem;color:var(--c-text-muted);margin-top:0.4rem;font-weight:500}

/* ── Split section ── */
.split{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.split-visual{
  background:var(--c-surface);
  border:1px solid var(--c-border);border-radius:var(--r);
  padding:2rem;position:relative;overflow:hidden;
  min-height:360px;display:flex;align-items:center;justify-content:center;
}
.split-visual-inner{width:100%;max-width:340px}
.split-badge{
  display:inline-flex;align-items:center;gap:0.4rem;
  background:rgba(124,58,237,0.15);border:1px solid rgba(124,58,237,0.3);
  border-radius:999px;padding:0.25rem 0.75rem;
  font-size:0.75rem;font-weight:600;color:var(--c-purple-pale);
  margin-bottom:1rem;
}
.split-body h2{margin-bottom:1rem}
.split-body p{margin-bottom:1.5rem}
.split-list{list-style:none;display:flex;flex-direction:column;gap:0.75rem;margin-bottom:2rem}
.split-list li{
  display:flex;align-items:flex-start;gap:0.75rem;
  font-size:0.9rem;color:var(--c-text-muted);
}
.split-list li::before{
  content:'';display:block;flex-shrink:0;
  width:18px;height:18px;border-radius:50%;
  background:rgba(124,58,237,0.2);border:1px solid var(--c-purple);
  margin-top:0.15rem;
  background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 9l3.5 3.5L14 6' stroke='%23a78bfa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size:cover;
}

/* ── Download platform cards ── */
.platform-cards{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.25rem;margin-top:2.5rem;
}
.platform-card{
  background:var(--c-bg2);
  border:1px solid var(--c-border);border-radius:var(--r);
  padding:1.75rem;
  display:flex;flex-direction:column;gap:1rem;
  transition:border-color var(--transition),box-shadow var(--transition);
}
.platform-card:hover{border-color:var(--c-purple);box-shadow:0 8px 30px rgba(124,58,237,0.15)}
.platform-card-icon{
  width:44px;height:44px;border-radius:10px;
  background:rgba(124,58,237,0.12);
  display:flex;align-items:center;justify-content:center;
  color:var(--c-purple-light);
}
.platform-card h4{color:var(--c-text);font-size:1rem;font-weight:600}
.platform-card p{font-size:0.85rem;flex:1}
.platform-card .btn{width:100%;margin-top:auto}

/* ── CTA banner ── */
.cta-banner{
  background:linear-gradient(135deg,rgba(76,29,149,0.6),rgba(109,40,217,0.4));
  border:1px solid rgba(124,58,237,0.4);
  border-radius:var(--r);padding:4rem 2rem;text-align:center;
  position:relative;overflow:hidden;
}
.cta-banner::before{
  content:'';position:absolute;
  top:-50%;left:-50%;width:200%;height:200%;
  background:radial-gradient(circle at center,rgba(124,58,237,0.15) 0%,transparent 60%);
  pointer-events:none;
}
.cta-banner h2{margin-bottom:1rem}
.cta-banner p{max-width:520px;margin-inline:auto;margin-bottom:2rem}
.cta-banner-btns{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}

/* ── Testimonials ── */
.testimonials-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;margin-top:2.5rem;
}
.testi-card{
  background:var(--c-bg2);border:1px solid var(--c-border);border-radius:var(--r);
  padding:1.75rem;display:flex;flex-direction:column;gap:1rem;
}
.testi-stars{display:flex;gap:3px;color:var(--c-gold)}
.testi-text{font-size:0.9rem;color:var(--c-text-muted);font-style:italic;flex:1}
.testi-author{display:flex;align-items:center;gap:0.75rem}
.testi-avatar{
  width:40px;height:40px;border-radius:50%;
  background:linear-gradient(135deg,var(--c-purple),var(--c-purple-dim));
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:0.9rem;color:#fff;flex-shrink:0;
}
.testi-name{font-size:0.875rem;font-weight:600;color:var(--c-text)}
.testi-role{font-size:0.75rem;color:var(--c-text-dim)}

/* ── Section headings ── */
.section-head{text-align:center;max-width:600px;margin-inline:auto;margin-bottom:0}
.section-eyebrow{
  display:inline-block;font-size:0.75rem;font-weight:700;
  letter-spacing:0.1em;text-transform:uppercase;
  color:var(--c-purple-light);margin-bottom:0.75rem;
}
.section-head h2{margin-bottom:0.75rem}
.section-head p{font-size:1rem}

/* ── Security strip ── */
.security-strip{
  display:flex;align-items:center;justify-content:center;gap:2rem;flex-wrap:wrap;
  padding:2rem;background:var(--c-surface);
  border:1px solid var(--c-border);border-radius:var(--r);margin-top:3rem;
}
.security-item{
  display:flex;align-items:center;gap:0.5rem;
  font-size:0.85rem;color:var(--c-text-muted);font-weight:500;
}
.security-item svg{color:var(--c-purple-light);flex-shrink:0}

/* ── Footer ── */
.footer{
  background:var(--c-bg2);
  border-top:1px solid var(--c-border);
  padding-block:3.5rem 2rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:3rem;margin-bottom:3rem;
}
.footer-brand img{height:32px;width:auto;margin-bottom:1rem}
.footer-brand p{font-size:0.875rem;color:var(--c-text-dim);max-width:260px;line-height:1.7}
.footer-col h5{font-size:0.8rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:var(--c-text-dim);margin-bottom:1rem}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:0.6rem}
.footer-col ul li a{font-size:0.875rem;color:var(--c-text-dim);transition:color var(--transition)}
.footer-col ul li a:hover{color:var(--c-purple-light)}
.footer-bottom{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;
  padding-top:2rem;border-top:1px solid var(--c-border);
}
.footer-copy{font-size:0.8rem;color:var(--c-text-dim)}
.footer-langs{display:flex;gap:1rem}
.footer-langs a{font-size:0.8rem;color:var(--c-text-dim);transition:color var(--transition)}
.footer-langs a:hover{color:var(--c-purple-light)}
.footer-langs a.active{color:var(--c-purple-pale);font-weight:600}

/* ── Visual blocks in split panel ── */
.vis-chart{display:flex;flex-direction:column;gap:0.75rem}
.vis-bar-row{display:flex;align-items:center;gap:0.75rem}
.vis-bar-label{font-size:0.75rem;color:var(--c-text-dim);width:60px;text-align:right;flex-shrink:0}
.vis-bar-track{flex:1;height:8px;background:var(--c-surface);border-radius:999px;overflow:hidden}
.vis-bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--c-purple),var(--c-purple-light))}
.vis-bar-val{font-size:0.75rem;color:var(--c-text-muted);width:36px;flex-shrink:0}

.vis-ring{display:flex;align-items:center;justify-content:center;padding:1.5rem 0}
.vis-ring svg{filter:drop-shadow(0 0 20px rgba(124,58,237,0.5))}

.price-pill{
  display:inline-flex;align-items:baseline;gap:0.2rem;
  background:rgba(124,58,237,0.1);border:1px solid rgba(124,58,237,0.25);
  border-radius:var(--r-sm);padding:0.6rem 1.2rem;margin-top:0.75rem;
}
.price-num{font-size:1.8rem;font-weight:800;color:var(--c-text)}
.price-unit{font-size:0.85rem;color:var(--c-text-dim)}

/* ── Steps section ── */
.steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;margin-top:3rem}
.step-card{text-align:center;padding:1.5rem}
.step-num{
  width:52px;height:52px;border-radius:50%;
  border:2px solid var(--c-purple);
  display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;font-weight:800;color:var(--c-purple-light);
  margin:0 auto 1.25rem;
}
.step-card h4{color:var(--c-text);margin-bottom:0.5rem}
.step-card p{font-size:0.875rem}

/* ── Responsive ── */
@media(max-width:900px){
  .split{grid-template-columns:1fr}
  .split-visual{min-height:260px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
  .nav-links,.nav-cta{display:none}
  .nav-mobile-btn{display:block}
}
@media(max-width:600px){
  .footer-grid{grid-template-columns:1fr}
  .hero-stats{gap:1.5rem}
  .metrics-row{grid-template-columns:1fr 1fr}
  .footer-bottom{flex-direction:column;text-align:center}
}
@media(max-width:400px){
  .metrics-row{grid-template-columns:1fr}
  .hero-ctas{flex-direction:column;width:100%}
  .hero-ctas .btn{width:100%}
}
