:root {
  --primary: #005ea6;
  --primary-dark: #00457c;
  --primary-light: #e0f2fe;
  --primary-soft: #f0f7ff;
  --cyan-accent: #0ea5e9;
  --blue-accent: #0284c7;
  --amber-accent: #f59e0b;
  --amber-soft: #fef3c7;
  --red-accent: #dc2626;
  --red-soft: #fee2e2;
  --green-accent: #10b981;
  --green-soft: #ecfdf5;
  --bg-page: #f4f7fb;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --border: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-focus: #93c5fd;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(2, 94, 166, 0.07), 0 8px 10px -6px rgba(2, 94, 166, 0.03);
  --shadow-lg: 0 20px 35px -10px rgba(2, 94, 166, 0.12), 0 10px 15px -8px rgba(2, 94, 166, 0.05);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --container-max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.coming-soon-page {
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(145deg, #f4f7fb 0%, #e0f2fe 100%);
}

.coming-soon-content {
  text-align: center;
}

.coming-soon-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.coming-soon-brand {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 800;
}

.coming-soon-content h1 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Page shell & container */
.page-shell {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* SITE HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-accent {
  color: var(--primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-anchor {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-anchor:hover,
.nav-anchor:focus-visible {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.language-link {
  color: var(--text-subtle);
  transition: color 0.15s ease;
}

.language-link.is-active {
  color: var(--primary);
}

.language-link:hover,
.language-link:focus-visible {
  color: var(--primary-dark);
}

.lang-divider {
  color: var(--border);
}

/* HERO SECTION */
.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0 80px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.hero-section h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin: 0 0 20px;
}

.hero-lead {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 94, 166, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 94, 166, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Hero Stats Pills */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-icon-blue { background: #e0f2fe; }
.stat-icon-cyan { background: #e0f7fa; }
.stat-icon-purple { background: #ede9fe; }
.stat-icon-amber { background: #fef3c7; }

.stat-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.stat-label {
  font-size: 12px;
  color: var(--text-subtle);
  margin: 2px 0 0;
  line-height: 1.35;
}

/* HERO VISUAL MOCKUP */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 340px;
  display: grid;
  place-items: center;
}

.mockup-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(0, 94, 166, 0.1) 60%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.hero-mockup-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 36px;
  transition: transform 0.3s ease;
}

.hero-mockup-img:hover {
  transform: translateY(-6px);
}

/* SECTION COMMONS */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
}

/* FEATURES SECTION */
.features-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
}

.feature-card-highlight {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.feat-icon-water { background: #e0f2fe; }
.feat-icon-bac { background: #fee2e2; }
.feat-icon-guard { background: #e0f7fa; }
.feat-icon-ai { background: #ede9fe; }
.feat-icon-money { background: #ecfdf5; }
.feat-icon-widget { background: #fef3c7; }
.feat-icon-calibrate { background: #f1f5f9; }

.feature-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-muted);
}

.feat-tag-alert {
  background: var(--red-soft);
  color: var(--red-accent);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 10px;
  line-height: 1.35;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* AUDIENCE SECTION */
.audience-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.audience-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.audience-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 12px;
}

.audience-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* HOW IT WORKS SECTION */
.how-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.how-step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.how-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 10px;
}

.how-step p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.how-step-connector {
  width: 28px;
  height: 2px;
  background: var(--border);
  position: relative;
}

.how-step-connector::after {
  content: "›";
  position: absolute;
  top: -12px;
  left: 8px;
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, #005ea6 0%, #03487a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  margin: 20px 0 60px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cta-banner-content {
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.cta-banner p {
  font-size: 17px;
  color: #dbeafe;
  line-height: 1.6;
  margin: 0 0 28px;
}

.cta-banner-footer {
  display: flex;
  justify-content: center;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.author-link:hover,
.author-link:focus-visible {
  transform: translateY(-2px);
  background: #f8fafc;
}

/* SITE FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-subtle);
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-subtle);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-subtle);
  line-height: 1.5;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}

.footer-disclaimer p {
  margin: 0;
}

.footer-links {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* PRIVACY POLICY */
.privacy-main {
  padding: 64px 0 80px;
}

.privacy-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.privacy-header h1 {
  margin: 0 0 18px;
  color: var(--text-main);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.privacy-intro {
  margin: 0 auto 18px;
  max-width: 680px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

.privacy-updated {
  margin: 0;
  color: var(--text-subtle);
  font-size: 13px;
}

.privacy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.privacy-content section + section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.privacy-content h2 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.privacy-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.privacy-content a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-content a:hover,
.privacy-content a:focus-visible {
  color: var(--primary-dark);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 60px;
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .how-step-connector {
    display: none;
  }
}

@media (max-width: 680px) {
  .page-shell {
    padding: 0 16px;
  }

  .site-header {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .site-nav {
    display: none;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 36px 20px;
  }

  .privacy-main {
    padding: 40px 0 56px;
  }

  .privacy-content {
    padding: 28px 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-tagline {
    padding-left: 0;
    border-left: none;
  }
}

/* ACCESSIBILITY & REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
