/* ==========================================================================
   Warro marketing site — shared styles
   ========================================================================== */

:root {
  --bg: #0a0d0c;
  --bg-alt: #0f1413;
  --surface: #141b1a;
  --surface-2: #1a2221;
  --border: #232d2b;
  --text: #f2f5f4;
  --text-muted: #a9b6b3;
  --text-faint: #74827e;
  --teal: #2fb8a0;
  --teal-bright: #45d6bc;
  --blue: #4d7cfe;
  --gradient: linear-gradient(135deg, var(--blue), var(--teal-bright));
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1120px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  display: inline-block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-align: center;
  max-width: 100%;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient);
  color: #06110f;
}

.btn-primary:hover {
  box-shadow: 0 12px 32px -8px rgba(45, 214, 188, 0.5);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
}

.btn[aria-disabled="true"] {
  cursor: default;
  opacity: 0.75;
}

.btn[aria-disabled="true"]:hover {
  box-shadow: none;
}

.btn-note {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---------- Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 12, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(77, 124, 254, 0.28), transparent 70%),
    radial-gradient(50% 50% at 75% 10%, rgba(69, 214, 188, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero-copy .lede {
  font-size: 1.15rem;
  max-width: 46ch;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  min-width: 0;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stat .value {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual .phone-frame {
  width: min(340px, 80vw);
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: rotate(2deg);
}

.hero-visual .phone-frame img {
  width: 100%;
  height: auto;
}

.hero-visual .glow-card {
  position: absolute;
  bottom: -18px;
  left: -10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}

.glow-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(69, 214, 188, 0.15);
}

.glow-card strong {
  display: block;
  font-size: 0.92rem;
}

.glow-card span {
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ---------- Sections ---------- */

section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
}

.section-head p {
  font-size: 1.05rem;
}

.section-head .footnote {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 4px;
}

.section-head.align-left {
  margin: 0 0 48px;
  text-align: left;
}

/* ---------- Feature grid ---------- */

.features {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(69, 214, 188, 0.4);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #06110f;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 650;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Screenshot showcase ---------- */

.showcase-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.showcase-scroller::-webkit-scrollbar {
  height: 8px;
}

.showcase-scroller::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 8px;
}

.showcase-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 240px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.showcase-item img {
  width: 100%;
  height: auto;
}

/* ---------- Privacy highlight ---------- */

.privacy-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.privacy-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.privacy-list .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(69, 214, 188, 0.14);
  color: var(--teal-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.privacy-list h4 {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 4px;
}

.privacy-list p {
  margin: 0;
  font-size: 0.93rem;
}

.privacy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.privacy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 20% 0%, rgba(77, 124, 254, 0.18), transparent 70%);
}

.privacy-card-inner {
  position: relative;
  z-index: 1;
}

.privacy-card .badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--teal-bright);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.privacy-card h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.privacy-card p {
  margin-bottom: 24px;
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta p {
  max-width: 46ch;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-brand .brand {
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 32ch;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--teal-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.footer-bottom a {
  color: var(--text-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--teal-bright);
}

/* ---------- Legal / Privacy policy page ---------- */

.legal-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 0.88rem;
  color: var(--text-faint);
}

.legal-body {
  padding: 56px 0 96px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--surface);
}

.legal-toc h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin: 0 0 14px;
}

.legal-toc ol {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.legal-toc a:hover {
  color: var(--teal-bright);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 44px;
  margin-bottom: 14px;
  scroll-margin-top: 100px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 22px;
  margin: 0 0 1em;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text);
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal-bright);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 20px 0;
}

.callout p {
  margin: 0;
  font-size: 0.92rem;
}

.placeholder {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .privacy-highlight {
    grid-template-columns: 1fr;
  }

  .legal-body {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
