/* Wainga Landing Page (premium SaaS + river/flow motif) */

:root{
  --w-ink:#0b1220;
  --w-muted:#475467;
  --w-muted-2:rgba(255,255,255,.72);
  --w-surface:#ffffff;
  --w-bg:#f7fbff;
  --w-border:rgba(15,23,42,.10);
  --w-shadow:0 14px 44px rgba(2,6,23,.08);
  --w-radius:18px;

  --w-river-1:#0ea5e9;
  --w-river-2:#14b8a6;
  --w-river-3:#2563eb;
  --w-sand:#f59e0b;
}

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

body.wainga-landing{
  color:var(--w-ink);
  background:
    radial-gradient(1000px 520px at 12% 10%, rgba(14,165,233,.10), transparent 55%),
    radial-gradient(1000px 520px at 88% 12%, rgba(20,184,166,.10), transparent 60%),
    linear-gradient(180deg, var(--w-bg) 0%, #fff 60%, #fff 100%) fixed;
}

.wm-container{ max-width: 1160px; }
.wm-main{ outline:none; }
.wm-muted{ color: var(--w-muted); }
.wm-muted-2{ color: var(--w-muted-2); }

/* Accessible skip link */
.wm-skip-link{
  position:absolute;
  left: 14px;
  top: 12px;
  z-index: 1100;
  padding: .55rem .8rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--w-border);
  box-shadow: var(--w-shadow);
  transform: translateY(-140%);
  transition: transform .18s ease;
  text-decoration:none;
  color: var(--w-ink);
}
.wm-skip-link:focus{ transform: translateY(0); }

/* Focus ring */
a:focus-visible, button:focus-visible{
  outline: 3px solid rgba(14,165,233,.35);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Navbar */
.wm-navbar{
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(15,23,42,.06);
  backdrop-filter: saturate(180%) blur(10px);
}
.wm-brand .wm-brand-name{
  font-weight: 800;
  letter-spacing: .02em;
}
.wm-brand .wm-brand-tag{
  color: rgba(11,18,32,.62);
  font-size: .86rem;
  margin-left: .55rem;
}
.wm-navbar .nav-link{
  color: rgba(11,18,32,.78);
  font-weight: 600;
  border-radius: 12px;
  padding: .5rem .65rem;
}
.wm-navbar .nav-link:hover{
  background: rgba(2,6,23,.03);
  color: rgba(11,18,32,.95);
}

/* Buttons */
.wm-btn{
  border-radius: 14px;
  font-weight: 700;
  padding: .7rem 1rem;
  border: 1px solid transparent;
}
.wm-btn-primary{
  color: #fff;
  background: linear-gradient(135deg, var(--w-river-3) 0%, var(--w-river-1) 55%, var(--w-river-2) 100%);
  box-shadow: 0 14px 30px rgba(37,99,235,.20);
}
.wm-btn-primary:hover{
  filter: brightness(1.02);
  transform: translateY(-1px);
}
.wm-btn-secondary{
  background: rgba(255,255,255,.85);
  color: rgba(11,18,32,.88);
  border-color: rgba(15,23,42,.12);
}
.wm-btn-secondary:hover{
  background: rgba(255,255,255,1);
  transform: translateY(-1px);
}
.w-lg-auto{ width: auto; }

/* Hero */
.wm-hero{
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}
.wm-hero-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.wm-contours{
  position:absolute;
  top:-30px;
  left:-10px;
  width: 110%;
  height: 420px;
}
.wm-hero-wave{
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  width:100%;
  height: 120px;
}
.wm-kicker .wm-pill{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  border-radius: 999px;
  padding: .4rem .7rem;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
}
.wm-pill-strong{ font-weight: 800; }
.wm-hero-title{
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.wm-hero-sub{
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(11,18,32,.70);
}
.wm-trust{
  display:flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.wm-chip{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding: .35rem .55rem;
  border-radius: 999px;
  background: rgba(2,6,23,.03);
  border: 1px solid rgba(15,23,42,.10);
  font-size: .88rem;
  color: rgba(11,18,32,.82);
}
.wm-chip i{ color: rgba(37,99,235,.90); }

.wm-hero-visual{
  border-radius: var(--w-radius);
  background:
    radial-gradient(900px 520px at 20% 20%, rgba(14,165,233,.16), transparent 55%),
    radial-gradient(900px 520px at 85% 10%, rgba(245,158,11,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.75) 100%);
  border: 1px solid rgba(15,23,42,.08);
  padding: 14px;
}
.wm-hero-note .wm-note-card{
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(15,23,42,.10);
  padding: 12px 14px;
}
.wm-note-title{
  font-weight: 800;
  letter-spacing: .01em;
}
.wm-note-sub{ color: rgba(11,18,32,.68); }

/* Section divider */
.wm-wave-divider{
  margin-top: -1px;
}
.wm-wave-divider svg{ display:block; width:100%; height: 84px; }

/* Sections */
.wm-section{
  padding: 3.25rem 0;
}
.wm-section-title{ max-width: 820px; }
.wm-h2{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}
.wm-h3{
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 1.35rem;
}

/* Cards */
.wm-card{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius);
  box-shadow: 0 16px 50px rgba(2,6,23,.06);
  padding: 18px 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wm-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--w-shadow);
  border-color: rgba(14,165,233,.18);
}

/* Social proof */
.wm-stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.wm-stat{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  padding: .8rem .9rem;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .6rem;
}
.wm-stat-k{ font-weight: 700; color: rgba(11,18,32,.82); }
.wm-stat-v{
  width: 2rem;
  height: 2rem;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(14,165,233,.10));
  border: 1px solid rgba(37,99,235,.18);
  font-weight: 900;
  color: rgba(37,99,235,.9);
}
.wm-testimonial{ padding: 20px; }
.wm-testimonial-quote{
  font-size: 1rem;
  color: rgba(11,18,32,.82);
  line-height: 1.6;
}
.wm-testimonial-meta{
  display:flex;
  gap: .75rem;
  align-items:center;
}
.wm-avatar{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(14,165,233,.16), rgba(20,184,166,.14));
  border: 1px solid rgba(15,23,42,.10);
  font-weight: 900;
  color: rgba(11,18,32,.72);
}

/* Features grid */
.wm-feature-grid{ position:relative; }
.wm-feature-path{
  position:absolute;
  inset: -10px 0 auto 0;
  height: 240px;
  width:100%;
  pointer-events:none;
}
@media (max-width: 992px){
  .wm-feature-path{ display:none; }
}
.wm-feature-card{
  padding: 18px;
  background:
    radial-gradient(700px 260px at 20% 10%, rgba(14,165,233,.10), transparent 55%),
    radial-gradient(700px 260px at 90% 0%, rgba(245,158,11,.08), transparent 60%),
    rgba(255,255,255,.92);
}
.wm-feature-icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(37,99,235,.92);
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(14,165,233,.10));
  border: 1px solid rgba(37,99,235,.18);
}
.wm-ico{ width: 22px; height: 22px; }
.wm-card-title{
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.wm-card-desc{ color: rgba(11,18,32,.70); }

/* Stepper */
.wm-stepper{
  position:relative;
  border-radius: calc(var(--w-radius) + 4px);
  background:
    radial-gradient(900px 380px at 20% 15%, rgba(14,165,233,.10), transparent 60%),
    radial-gradient(900px 380px at 85% 0%, rgba(20,184,166,.10), transparent 60%),
    rgba(255,255,255,.90);
  border: 1px solid rgba(15,23,42,.10);
  padding: 18px;
  overflow:hidden;
}
.wm-stepper-path{
  position:absolute;
  inset: 0;
  width:100%;
  height: 210px;
  pointer-events:none;
  opacity: .9;
}
.wm-steps{
  list-style:none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: 12px;
  position:relative;
}
.wm-step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.wm-step-dot{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(37,99,235,.22);
  color: rgba(37,99,235,.92);
  flex: 0 0 auto;
}
.wm-step-title{ font-weight: 900; }

@media (min-width: 992px){
  .wm-steps{
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
  }
  .wm-step{ flex-direction: column; max-width: 220px; }
  .wm-step-dot{ margin-bottom: 10px; }
}

/* Split cards */
.wm-split-card{ padding: 22px; }
.wm-split-head{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.wm-split-icon{
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(14,165,233,.10));
  border: 1px solid rgba(245,158,11,.22);
  color: rgba(11,18,32,.84);
  font-size: 1.25rem;
}
.wm-list{
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(11,18,32,.74);
}
.wm-list li{ margin-bottom: .45rem; }

/* Pricing */
.wm-pricing{ background: rgba(2,6,23,.02); }
.wm-pricing-card{
  padding: 22px;
  display:flex;
  flex-direction: column;
  min-height: 100%;
}
.wm-pricing-tier{
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .85rem;
  color: rgba(11,18,32,.70);
}
.wm-pricing-price{
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.wm-pricing-list{
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(11,18,32,.72);
  display:flex;
  flex-direction: column;
  gap: .45rem;
}
.wm-pricing-highlight{
  border-color: rgba(14,165,233,.20);
  background:
    radial-gradient(900px 420px at 30% 10%, rgba(14,165,233,.14), transparent 60%),
    radial-gradient(900px 420px at 80% 0%, rgba(20,184,166,.10), transparent 60%),
    rgba(255,255,255,.95);
  box-shadow: 0 20px 60px rgba(14,165,233,.10);
}
.wm-badge-pop{
  background: rgba(245,158,11,.16);
  color: rgba(133,77,14,1);
  border: 1px solid rgba(245,158,11,.28);
}
.wm-note{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  padding: .8rem .95rem;
  color: rgba(11,18,32,.74);
}
.wm-demo-card{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  background:
    radial-gradient(900px 380px at 20% 40%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(900px 380px at 80% 0%, rgba(20,184,166,.10), transparent 60%),
    rgba(255,255,255,.92);
  padding: 18px;
}

/* Footer */
.wm-footer{
  position:relative;
  background: linear-gradient(180deg, #0b1220 0%, #050a14 100%);
  color: rgba(255,255,255,.88);
  overflow:hidden;
}
.wm-footer-bg{
  position:absolute;
  left:0;
  right:0;
  top:-1px;
  height: 220px;
  opacity: .95;
  pointer-events:none;
}
.wm-footer-bg svg{ width:100%; height: 220px; display:block; }
.wm-footer-text{
  color: rgba(255,255,255,.70);
  line-height: 1.6;
  margin: 0;
}
.wm-footer-mini{ margin-top: 12px; }
.wm-footer-links{
  list-style:none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: .55rem;
}
.wm-footer-links a{
  color: rgba(255,255,255,.80);
  text-decoration:none;
}
.wm-footer-links a:hover{ color:#fff; text-decoration: underline; }
.wm-footer-hr{
  border-color: rgba(255,255,255,.12);
}
.wm-lang-toggle{
  display:inline-flex;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  overflow:hidden;
}
.wm-lang-btn{
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  padding: .5rem .75rem;
  font-weight: 800;
}
.wm-lang-btn.is-active{
  background: rgba(255,255,255,.10);
  color: #fff;
}

/* Scroll reveal */
.wm-reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.wm-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .wm-reveal{ opacity: 1; transform: none; transition: none; }
  .wm-card, .wm-btn{ transition: none; }
  .wm-card:hover, .wm-btn-primary:hover, .wm-btn-secondary:hover{ transform:none; }
}

