/* Yapply marketing site — shared styles */
:root {
  --indigo: #4338CA;
  --indigo-deep: #1E1B4B;
  --navy: #0F172A;
  --teal: #14B8A6;
  --teal-bright: #2DD4BF;
  --pink: #FB7185;
  --amber: #F59E0B;
  --text: #E2E8F0;
  --muted: #94A3B8;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.10);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- Nav ---- */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.btn {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 12px; transition: transform .12s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #042F2A; }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 500px at 70% -10%, rgba(67,56,202,.55), transparent 60%),
    radial-gradient(700px 500px at 10% 10%, rgba(20,184,166,.22), transparent 55%),
    linear-gradient(180deg, var(--indigo-deep), var(--navy));
  padding: 96px 0 80px;
  text-align: center;
}
.hero img.app-logo {
  width: 112px; height: 112px; border-radius: 26px; margin-bottom: 28px;
  box-shadow: 0 20px 60px rgba(20,184,166,.35);
}
.hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--teal-bright), #818CF8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.tagline { font-size: clamp(18px, 3vw, 24px); color: var(--muted); margin: 18px auto 0; max-width: 620px; }
.hero .cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge-soon { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---- Sections ---- */
section { padding: 80px 0; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.01em; }
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 14px auto 0; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: rgba(45,212,191,.5); transform: translateY(-3px); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 16px; background: rgba(20,184,166,.16);
}
.card h3 { font-size: 19px; font-weight: 700; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ---- Safety band ---- */
.band {
  background: linear-gradient(120deg, rgba(20,184,166,.14), rgba(99,102,241,.14));
  border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border);
}
.band .container { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.band .col { flex: 1 1 320px; }
.band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.band ul { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.band li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.band li .dot { color: var(--teal-bright); font-weight: 800; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--card-border); padding: 48px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }

/* ---- Legal / content pages ---- */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 24px 100px; }
.doc h1 { font-size: 38px; font-weight: 800; margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--text); margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--teal-bright); text-decoration: underline; }
.back { display: inline-block; margin-bottom: 28px; color: var(--muted); }
.back:hover { color: #fff; }
