/* landing/css/style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Design tokens ---- */
:root {
  --primary:    #614BC3;
  --primary-dark: #4a38a0;
  --secondary:  #33BBC5;
  --tertiary:   #85E6C5;
  --surface:    #FCF4FF;
  --card-bg:    #FFFFFF;
  --text:       #2D2C2A;
  --muted:      #6B7280;
  --faint:      #9CA3AF;
  --alert-red:  #D94040;
  --alert-amber:#E8960C;
  --footer-bg:  #2D2C2A;
  --shadow:     rgba(97, 75, 195, 0.08);
  --shadow-lg:  rgba(97, 75, 195, 0.18);
  --max-width:  1080px;
}

/* ---- Base ---- */
html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Nav ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(252, 244, 255, 0.80);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-lang {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

/* ---- Buttons ---- */
.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  letter-spacing: -0.01em;
  transition: background 0.2s;
}

.btn:hover { background: var(--primary-dark); }

/* ---- Hero ---- */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 48px 112px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 28px;
}

.hero-eyebrow span {
  width: 20px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  display: block;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 44px;
  max-width: 440px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-note {
  font-size: 14px;
  color: var(--faint);
  font-weight: 500;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

/* ---- Phone frames ---- */
.phone-wrap {
  position: relative;
  height: 520px;
  width: 340px;
}

.phone-frame {
  position: absolute;
  border-radius: 44px;
  border: 5px solid var(--shadow-lg);
  overflow: hidden;
  background: var(--card-bg);
}

.phone-front {
  width: 220px;
  height: 440px;
  left: 0;
  top: 0;
  transform: rotate(-2deg);
  box-shadow: 0 40px 80px var(--shadow-lg), 0 8px 24px var(--shadow);
  z-index: 2;
}

.phone-back {
  width: 210px;
  height: 420px;
  right: 0;
  top: 40px;
  transform: rotate(4deg);
  box-shadow: 0 24px 56px var(--shadow), 0 4px 12px rgba(97,75,195,0.06);
  z-index: 1;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-placeholder-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #f3eeff 0%, #ede4ff 50%, #e5f9f4 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
}

.pp-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(97,75,195,0.45);
  margin-bottom: 4px;
}

.pp-bar {
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: rgba(97,75,195,0.12);
}

.pp-bar.short  { width: 65%; }
.pp-bar.accent { background: rgba(97,75,195,0.25); width: 50%; }
.pp-bar.tall   { height: 48px; background: rgba(97,75,195,0.08); }

/* ---- Profiles ---- */
.profiles {
  padding: 112px 48px;
  background: var(--surface);
}

.profiles-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.profile-shot {
  max-width: 280px;
  margin: 0 auto 64px;
  border-radius: 36px;
  border: 5px solid var(--shadow-lg);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 24px 56px var(--shadow), 0 4px 12px rgba(97,75,195,0.06);
}

.profile-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.profiles-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow-secondary { color: var(--secondary); }
.eyebrow-primary   { color: var(--primary); }

.section-h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.65;
}

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

.profile-card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 4px 32px var(--shadow);
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.avatar-purple { background: var(--primary); }
.avatar-teal   { background: var(--secondary); }
.avatar-mint   { background: var(--tertiary); color: var(--text); }

.profile-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.profile-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.profile-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.pm-label { color: var(--muted); font-weight: 500; }
.pm-val   { color: var(--text);  font-weight: 700; }
.pm-ok    { color: var(--secondary); }
.pm-alert { color: var(--alert-red); }

.profiles-note {
  margin-top: 44px;
  font-size: 16px;
  color: var(--faint);
  font-weight: 500;
}

.profiles-note strong { color: var(--primary); font-weight: 700; }

/* ---- Privacy ---- */
.privacy {
  background: var(--card-bg);
  padding: 112px 48px;
}

.privacy-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.privacy-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.privacy-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.privacy-item p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.privacy-card {
  background: var(--surface);
  border-radius: 32px;
  padding: 44px 40px;
  box-shadow: 0 8px 40px var(--shadow);
}

.privacy-card-quote {
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.privacy-card-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.privacy-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(51, 187, 197, 0.12);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 32px;
  letter-spacing: 0.04em;
}

/* ---- Footer ---- */
footer {
  background: var(--footer-bg);
  padding: 72px 48px 48px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  font-size: 30px;
  font-weight: 800;
  color: var(--surface);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  display: block;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
  padding-top: 8px;
}

.footer-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.footer-links a:visited { color: rgba(255,255,255,0.45); }

.footer-links a:hover { color: rgba(255,255,255,0.75); }

.footer-copy {
  max-width: var(--max-width);
  margin: 28px auto 0;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ---- Legal / prose pages ---- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 48px 112px;
}

.legal-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

.legal h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 15px;
  color: var(--muted);
}

.legal h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 10px;
}

.legal p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.legal a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.legal a:hover { text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  nav { padding: 0 24px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 64px 24px 72px;
    gap: 56px;
  }

  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; max-width: 100%; }

  .phone-wrap {
    width: 280px;
    height: 420px;
    margin: 0 auto;
  }

  .phone-front { width: 175px; height: 350px; }
  .phone-back  { width: 168px; height: 336px; }

  .profiles { padding: 72px 24px; }
  .profiles-grid { grid-template-columns: 1fr; gap: 16px; }

  .section-h2 { font-size: 32px; }
  .section-sub { font-size: 17px; }

  .privacy { padding: 72px 24px; }
  .privacy-inner { grid-template-columns: 1fr; gap: 48px; }

  footer { padding: 56px 24px 40px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { text-align: left; }

  .legal { padding: 48px 24px 72px; }
  .legal h1 { font-size: 32px; }
  .legal h2 { font-size: 19px; margin-top: 32px; }
}
