/* Loquo — Shared Stylesheet */

:root {
  --teal: #2BBEBE;
  --teal-dark: #1C9898;
  --teal-xdark: #0F5C5C;
  --teal-light: #E0F7F7;
  --teal-xlight: #F0FAFA;
  --text: #1A2530;
  --text-secondary: #4A6170;
  --text-tertiary: #7A96A8;
  --bg: #FFFFFF;
  --hero-bg: #0A1E2C;
  --border: #D8ECEC;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(43, 190, 190, 0.12);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 20px; height: 20px; }

.logo-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

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

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

/* ---- HERO ---- */
.hero {
  background: var(--hero-bg);
  color: #fff;
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(43, 190, 190, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 0 40px rgba(43, 190, 190, 0.4);
}

.hero-icon svg { width: 44px; height: 44px; }

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--teal); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto 40px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 14px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.app-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.app-store-btn svg { width: 22px; height: 22px; }

/* ---- SECTIONS ---- */
section { padding: 80px 24px; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 56px;
}

/* ---- HOW IT WORKS ---- */
.steps {
  background: var(--teal-xlight);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p { font-size: 0.95rem; color: var(--text-secondary); }

/* ---- FEATURES GRID ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--teal-xlight);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.15s, transform 0.15s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

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

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }

/* ---- PRIVACY BANNER ---- */
.privacy-banner {
  background: var(--hero-bg);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.privacy-banner-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(43, 190, 190, 0.2);
  border: 1px solid rgba(43, 190, 190, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-banner-icon svg { width: 38px; height: 38px; color: var(--teal); }

.privacy-banner-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.privacy-banner-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  max-width: 480px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--hero-bg);
  color: rgba(255, 255, 255, 0.55);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo { color: #fff; font-weight: 700; font-size: 1rem; }

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

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

.footer-copy { font-size: 0.8rem; }

/* ---- PROSE (legal/support pages) ---- */
.prose-hero {
  background: var(--teal-xlight);
  padding: 64px 24px 48px;
  border-bottom: 1px solid var(--border);
}

.prose-hero-inner { max-width: 760px; margin: 0 auto; }

.prose-hero .badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.prose-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.prose-hero p { color: var(--text-secondary); font-size: 1rem; }

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 48px 0 12px;
  padding-top: 8px;
  border-top: 2px solid var(--teal-light);
}

.prose h2:first-child { margin-top: 0; border-top: none; }

.prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.prose p { margin-bottom: 16px; color: var(--text); font-size: 0.975rem; }

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.prose li { margin-bottom: 6px; font-size: 0.975rem; }

.prose strong { font-weight: 600; }

.prose a { color: var(--teal-dark); }

.prose .highlight-box {
  background: var(--teal-xlight);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.prose .highlight-box p { margin: 0; font-size: 0.9rem; }

/* ---- SUPPORT CARDS ---- */
.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.support-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--teal-xlight);
}

.support-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-card p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .hero { padding: 72px 20px 60px; }
  section { padding: 60px 20px; }
  .steps { padding: 32px 24px; gap: 32px; }
  .privacy-banner { padding: 36px 28px; }
  .nav-links { display: none; }
}
