:root {
  --primary: #17665b;
  --primary-dark: #0e4b42;
  --primary-soft: #eaf5f2;
  --mint: #2dd4bf;
  --ink: #172926;
  --muted: #586b67;
  --bg: #f6f9f8;
  --surface: #ffffff;
  --line: #e2ebe8;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 58, 50, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 58, 50, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 75, 66, 0.14);
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #218a78;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 24px;
  min-height: 50px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(23, 102, 91, 0.24);
}
.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: #cedbd7;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
  background: #eefaf6;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  border-radius: 9px;
}

.brand-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.brand-dot {
  color: var(--mint);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.desktop-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.mobile-nav {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 16px 0 24px;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-inner > a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 4px;
  color: var(--ink);
  border-bottom: 1px solid #f0f5f3;
}

.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* Hero */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(45, 212, 191, 0.13), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(23, 102, 91, 0.08), transparent 40%),
    linear-gradient(180deg, #f8fbfa 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid #cbe4dd;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row svg {
  color: var(--primary);
}

/* Browser Frame & Visual */
.hero-visual {
  position: relative;
  min-width: 0;
}

.browser-frame {
  background: #fff;
  border: 1px solid #d5e2de;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.browser-frame-sm {
  box-shadow: var(--shadow-md);
}

.browser-bar {
  height: 36px;
  background: #f1f6f4;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd8d4;
}

.browser-url {
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
}

.floating-top {
  top: -16px;
  right: -12px;
}

.floating-bottom {
  bottom: -16px;
  left: -14px;
}

.badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon-mint {
  background: #e6fcf7;
  color: #0f766e;
}

.floating-badge strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.floating-badge small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

/* Impact Strip */
.impact-strip {
  border-block: 1px solid var(--line);
  background: var(--bg);
  padding: 28px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.impact-item strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.impact-item span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section-tinted {
  background: var(--bg);
}

.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-eyebrow-light {
  color: #7eead8;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* Product Tour */
.tour-shell {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tour-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tour-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tour-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(23, 102, 91, 0.2);
}

.tour-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 32px;
  align-items: center;
}

.tour-panel h3 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tour-panel p {
  color: var(--muted);
  margin: 0 0 18px;
}

.tour-panel ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--ink);
  font-size: 14px;
}

.tour-panel li {
  margin-bottom: 8px;
}

.tour-stage {
  min-width: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #b7d6cd;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Personas */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.persona-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.persona-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.persona-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.persona-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}

.persona-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink);
}

.persona-card li {
  margin-bottom: 7px;
}

/* Pricing */
.billing-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-top: 24px;
  gap: 4px;
}

.billing-btn {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.billing-btn.is-active {
  background: var(--primary);
  color: #fff;
}

.discount-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card.is-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.pricing-head h3 {
  font-size: 21px;
  margin-bottom: 6px;
}

.pricing-head p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  min-height: 44px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price .currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
}

.pricing-price strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.pricing-custom strong {
  font-size: 30px;
  padding: 6px 0;
}

.pricing-price .period {
  font-size: 14px;
  color: var(--muted);
}

.billing-note {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 22px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.pricing-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
  font-size: 14px;
  color: var(--ink);
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Security Band */
.security-band {
  background: linear-gradient(135deg, #0b3c35 0%, #14534a 100%);
  color: #fff;
  padding: 80px 0;
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.security-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin-bottom: 14px;
  color: #fff;
}

.security-band p {
  color: #cde3de;
  margin: 0;
}

.security-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.security-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px;
}

.security-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: #fff;
}

.security-item span {
  display: block;
  font-size: 13px;
  color: #cbe2dc;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-trigger svg {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14px;
}

.faq-answer p {
  margin: 0;
}

/* Final CTA */
.final-cta {
  padding: 0 0 84px;
}

.final-cta-box {
  background: linear-gradient(125deg, #17665b 0%, #0e4b42 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
}

.final-cta-box h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  margin-bottom: 10px;
}

.final-cta-box p {
  margin: 0;
  color: #d0e8e2;
  max-width: 520px;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: var(--ink);
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 9px;
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

/* Reveal animation */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-ready [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .tour-content,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .floating-top {
    right: 10px;
  }
  .floating-bottom {
    left: 10px;
  }

  .features-grid,
  .personas-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .section {
    padding: 60px 0;
  }

  .floating-badge {
    display: none;
  }

  .features-grid,
  .personas-grid,
  .pricing-grid,
  .security-cards,
  .impact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tour-shell {
    padding: 18px;
  }

  .final-cta-box {
    padding: 28px 22px;
  }

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