:root {
  --ink: #07172f;
  --muted: #52637a;
  --line: #dbe4ee;
  --paper: #f6f9fc;
  --white: #ffffff;
  --teal: #08a578;
  --teal-dark: #008869;
  --green: #37ca3f;
  --blue: #0799ec;
  --lime: #c9f86b;
  --danger: #e3184f;
  --shadow: 0 24px 70px rgba(7, 23, 47, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 228, 238, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: clamp(132px, 15vw, 188px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #263950;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav a {
  transition: color 160ms ease, background 160ms ease;
}

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

.nav-cta {
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: calc(100svh - 75px);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px) clamp(48px, 7vw, 86px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: auto -18vw -28vw auto;
  width: 56vw;
  height: 56vw;
  min-width: 560px;
  min-height: 560px;
  content: "";
  background: radial-gradient(circle, rgba(55, 202, 63, 0.18), rgba(7, 153, 236, 0.08) 45%, transparent 68%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-logo {
  width: min(270px, 64vw);
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 4.8vw, 4.85rem);
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 630px;
  margin-bottom: 30px;
  color: #3e5068;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(8, 165, 120, 0.28);
}

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

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 34px 0 0;
}

.trust-strip div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(7, 23, 47, 0.05);
}

.trust-strip dt {
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 900;
}

.trust-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-product {
  position: relative;
  z-index: 1;
  min-height: 610px;
}

.hero-dashboard-showcase {
  position: relative;
  min-height: 610px;
}

.desktop-mockup {
  width: min(100%, 760px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(7, 23, 47, 0.16);
}

.desktop-mockup img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  background: #f4f8fc;
}

.phone-realistic {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: clamp(210px, 22vw, 285px);
  padding: 28px 10px 20px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #05070c, #161a21 9%, #05070c 16%, #05070c 84%, #2d3340 91%, #05070c),
    #05070c;
  border: 4px solid #6f6578;
  border-radius: 44px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.2),
    inset 0 0 0 8px #05070c,
    -20px 28px 60px rgba(7, 23, 47, 0.28);
  transform: rotate(3deg);
}

.phone-realistic::before {
  position: absolute;
  inset: 8px 6px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 36px;
  pointer-events: none;
}

.phone-realistic::after {
  position: absolute;
  top: 104px;
  right: -7px;
  width: 5px;
  height: 80px;
  content: "";
  background: #3d3542;
  border-radius: 0 5px 5px 0;
}

.phone-realistic img {
  width: 100%;
  height: min(510px, 52vw);
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
  background: var(--white);
  border-radius: 22px 22px 4px 4px;
}

.phone-top {
  position: absolute;
  top: 12px;
  right: 26px;
  left: 26px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 4;
  width: 112px;
  height: 25px;
  background: #05070c;
  border-radius: 0 0 18px 18px;
  transform: translateX(-50%);
}

.phone-notch::before {
  position: absolute;
  top: 8px;
  left: 31px;
  width: 48px;
  height: 5px;
  content: "";
  background: #1f2937;
  border-radius: 999px;
}

.phone-notch::after {
  position: absolute;
  top: 7px;
  right: 22px;
  width: 7px;
  height: 7px;
  content: "";
  background: #263244;
  border-radius: 50%;
}

.phone-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  height: 34px;
  padding: 0 30px;
  background: #05070c;
  border-radius: 0 0 23px 23px;
}

.phone-nav span {
  display: block;
  margin: 0 auto;
  background: #d7dce5;
}

.phone-nav span:nth-child(1) {
  width: 16px;
  height: 16px;
  border-left: 3px solid #d7dce5;
  border-bottom: 3px solid #d7dce5;
  background: transparent;
  transform: rotate(45deg);
}

.phone-nav span:nth-child(2) {
  width: 16px;
  height: 16px;
  background: transparent;
  border: 2px solid #d7dce5;
  border-radius: 50%;
}

.phone-nav span:nth-child(3) {
  width: 18px;
  height: 18px;
  background: transparent;
  border-right: 3px solid #d7dce5;
  border-bottom: 3px solid #d7dce5;
  transform: rotate(-45deg);
}

.browser-frame,
.phone-frame,
.screen-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-frame {
  width: 100%;
  transform: translateX(2%);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  color: #75859a;
  font-size: 0.78rem;
  font-weight: 800;
  background: #eef4f9;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  background: #ccd8e5;
  border-radius: 50%;
}

.browser-bar strong {
  margin-left: 8px;
}

.browser-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.phone-frame {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: clamp(190px, 20vw, 255px);
  padding: 14px 10px 16px;
  background: linear-gradient(145deg, #111827, #030712);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    -18px 28px 64px rgba(7, 23, 47, 0.32);
  transform: rotateY(-18deg) rotateX(6deg) rotateZ(3deg);
  transform-origin: center;
  transform-style: preserve-3d;
}

.phone-frame::before,
.screen-card.phone-card::before {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 18px;
  content: "";
  background: #030712;
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-frame::after,
.screen-card.phone-card::after {
  position: absolute;
  right: -4px;
  top: 26%;
  width: 4px;
  height: 64px;
  content: "";
  background: #111827;
  border-radius: 0 4px 4px 0;
}

.phone-frame .screen-glare,
.screen-card.phone-card .screen-glare {
  position: absolute;
  inset: 14px 10px 16px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06) 28%, transparent 54%);
  border-radius: 24px;
  mix-blend-mode: screen;
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 18.8;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
}

.floating-proof {
  position: absolute;
  left: 26px;
  bottom: 40px;
  max-width: min(320px, calc(100% - 24px));
  padding: 18px;
  color: var(--white);
  background: rgba(7, 23, 47, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(7, 23, 47, 0.28);
}

.floating-proof span,
.floating-proof small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.floating-proof strong {
  display: block;
  margin: 5px 0;
  color: var(--lime);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
}

.pain-band {
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.pain-band p {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
}

.section {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.compact {
  margin: 0;
  text-align: left;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split p,
.calculator p,
.final-cta p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 900;
  background: #e3fbf0;
  border-radius: var(--radius);
}

.feature h3,
.steps h3,
.price-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.feature p,
.steps p,
.price-card li,
.faq p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.product-showcase {
  background: var(--white);
}

.screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 0.62fr);
  gap: 18px;
  max-width: 1220px;
  margin: 0 auto;
  align-items: start;
}

.screen-card {
  display: flex;
  flex-direction: column;
}

.screen-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top center;
  background: #f4f8fc;
}

.screen-card.phone-card {
  position: relative;
  padding: 14px 10px 16px;
  background: linear-gradient(145deg, #111827, #030712);
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    0 24px 58px rgba(7, 23, 47, 0.2);
  transform: perspective(900px) rotateY(-9deg) rotateX(3deg) rotateZ(1deg);
  transform-origin: center;
}

.screen-card.phone-card img {
  height: min(440px, 46vw);
  min-height: 340px;
  aspect-ratio: 9 / 18.8;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
}

.screen-card figcaption {
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.screen-card.phone-card figcaption {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  left: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  background: #f8fbff;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  font-weight: 900;
  background: var(--teal);
  border-radius: var(--radius);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.7fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(54px, 7vw, 88px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.calculator .eyebrow,
.calculator p {
  color: rgba(255, 255, 255, 0.78);
}

.calculator h2 {
  max-width: 760px;
}

.calc-panel {
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.25);
}

.calc-panel label {
  display: block;
  margin-bottom: 18px;
  font-weight: 900;
}

.range-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 14px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

output {
  font-weight: 900;
  text-align: right;
}

.saving-result {
  margin-top: 22px;
  padding: 18px;
  background: #eaffc9;
  border: 1px solid #d7f2a0;
  border-radius: var(--radius);
}

.saving-result span,
.saving-result strong {
  display: block;
}

.saving-result span {
  color: #49602d;
  font-weight: 800;
}

.saving-result strong {
  margin-top: 5px;
  color: #28420a;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.premium {
  background: #eefaf4;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  gap: 18px;
  justify-content: center;
}

.price-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-card.paid {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.plan {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: #e3fbf0;
  border-radius: var(--radius);
}

.price-card.paid .plan {
  color: var(--ink);
  background: var(--lime);
}

.price-card strong {
  display: block;
  margin: 14px 0 20px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  margin-right: 8px;
  color: var(--teal);
  font-weight: 900;
  content: "✓";
}

.price-card.paid li {
  color: rgba(255, 255, 255, 0.72);
}

.price-card.paid li::before {
  color: var(--lime);
}

.audience {
  background: var(--white);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 980px;
  margin: 32px 0 0;
}

.audience-list span {
  padding: 12px 14px;
  color: #263e45;
  font-weight: 800;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

details {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  padding-top: 14px;
}

.final-cta {
  padding: clamp(56px, 8vw, 92px) clamp(18px, 5vw, 72px);
  text-align: center;
  background: #e9fbf1;
}

.final-cta img {
  width: min(330px, 82vw);
  margin: 0 auto 22px;
}

.final-cta h2 {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta .hero-actions {
  justify-content: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .hero,
  .split,
  .calculator {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-product {
    min-height: 560px;
  }

  .desktop-mockup {
    width: min(100%, 820px);
  }

  .phone-realistic {
    right: clamp(8px, 8vw, 80px);
    width: clamp(220px, 28vw, 285px);
  }

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

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

  .screen-card.phone-card {
    grid-column: 1 / -1;
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
  }

  .brand img {
    width: 142px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 38px rgba(7, 23, 47, 0.14);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-logo {
    width: min(250px, 76vw);
  }

  .hero-product {
    min-height: 0;
  }

  .hero-dashboard-showcase {
    display: grid;
    gap: 18px;
    min-height: 0;
  }

  .desktop-mockup {
    width: 100%;
  }

  .desktop-mockup img {
    aspect-ratio: 4 / 3;
  }

  .phone-realistic {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(290px, 78vw);
    margin: 0 auto;
    transform: rotate(1deg);
  }

  .phone-realistic img {
    height: 500px;
    min-height: 0;
  }

  .floating-proof {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .trust-strip,
  .feature-grid,
  .pricing-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .screen-card img {
    min-height: 220px;
  }

  .screen-card.phone-card {
    max-width: 330px;
  }

  .range-row {
    grid-template-columns: 1fr;
  }

  output {
    text-align: left;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .steps li {
    grid-template-columns: 1fr;
  }
}
