/* ====== Base ====== */
:root {
  --ink: #092E4C;
  --bg: #F6F9FA;
  --card: #FFFFFF;
  --muted: #5E768D;
  --brand: #00A7A7;
  --brand-ink: #003E3E;
  --contrast: #0F2B46;
  --ring: 0 0 0 4px rgba(0, 167, 167, .2);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.sr-only {
  position: absolute;
  left: -9999px
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto
}

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem
}

.site-nav {
  display: flex;
  gap: 1rem;
  align-items: center
}

.site-nav a {
  color: var(--ink);
  font-weight: 600
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  padding: .4rem .6rem;
  border-radius: 10px
}

.nav-toggle:focus {
  outline: none;
  box-shadow: var(--ring)
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer
}

.btn-primary {
  background: var(--brand);
  color: #fff
}

.btn-primary:hover {
  filter: brightness(.95)
}

.btn-contrast {
  background: var(--contrast);
  color: #fff
}

.btn-contrast:hover {
  filter: brightness(1.08)
}

.btn-ghost {
  background: transparent;
  border-color: #9fb3c7;
  color: var(--contrast)
}

.btn-ghost:hover {
  background: #f0f4f7
}

/* ====== Hero ====== */
.hero {
  background: linear-gradient(180deg, var(--brand) 0%, #07b8b8 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 72px 0
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin: .2rem 0 1rem
}

.hero-ctas {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.2rem
}

.trust-bullets {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 600
}

.hero-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .18)
}

.wave {
  height: 60px;
  background: linear-gradient(180deg, rgba(7, 184, 184, 1) 0%, rgba(246, 249, 250, 1) 100%);
}

/* ====== Sections ====== */
.section {
  padding: 56px 0;
  background: var(--card)
}

.section.alt {
  background: #F0F4F7
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 1rem
}

.cards {
  display: grid;
  gap: 1rem
}

.cards.three {
  grid-template-columns: repeat(3, 1fr)
}

.card {
  background: #fff;
  border: 1px solid #e1e8ee;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .04)
}

.card h3 {
  margin-top: 0;
  color: var(--brand)
}

/* ====== Features ====== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem
}

.feature {
  background: #fff;
  border: 1px solid #e1e8ee;
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem
}

.feature h3 {
  margin: .4rem 0;
  color: var(--brand)
}

.feature-icon {
  font-size: 1.6rem
}

/* ====== Pricing ====== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem
}

.pricing {
  background: #fff;
  border: 1px solid #dfe7ee;
  border-radius: 20px;
  padding: 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.pricing .price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  margin: .2rem 0
}

.pricing .period {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 600
}

.pricing .per {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 700
}

.pricing .feature-list {
  margin: 0;
  padding-left: 1.1rem
}

.pricing .feature-list li {
  margin: .4rem 0
}

.pricing .badge {
  position: absolute;
  top: -12px;
  right: 12px;
  background: #ffd166;
  color: #4a2f00;
  font-weight: 800;
  padding: .3rem .6rem;
  border-radius: 999px;
  font-size: .75rem
}

.pricing.highlight {
  border-width: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08)
}

.guarantee {
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 600
}

/* ====== Accordion (FAQ) ====== */
.accordion {
  display: grid;
  gap: .6rem
}

.accordion details {
  border: 1px solid #e1e8ee;
  border-radius: 12px;
  background: #fff
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: .9rem 1.1rem;
  font-weight: 700
}

.accordion summary::-webkit-details-marker {
  display: none
}

.accordion p {
  padding: 0 1.1rem 1rem 1.1rem;
  margin: 0;
  color: #244259
}

/* ====== Form ====== */
.signup-form {
  display: grid;
  gap: .6rem;
  grid-template-columns: 1fr auto;
  align-items: start
}

.signup-form label {
  grid-column: 1/-1;
  font-weight: 700
}

.signup-form input {
  padding: .8rem;
  border: 1px solid #c7d7e6;
  border-radius: 12px;
  font-size: 1rem
}

.signup-form input:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: var(--brand)
}

.signup-form .form-msg {
  grid-column: 1/-1;
  margin: .2rem 0 0 0;
  min-height: 1.2rem
}

.small {
  font-size: .9rem
}

.muted {
  color: var(--muted)
}

/* ====== Footer ====== */
.site-footer {
  padding: 32px 0;
  background: var(--contrast);
  color: #fff;
  text-align: center
}

/* ====== Utilities ====== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  background: #fff;
  color: #000;
  padding: .5rem;
  border-radius: 8px;
  z-index: 1000
}

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, 1fr)
  }

  .cards.three {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr
  }

  .cards.three {
    grid-template-columns: 1fr
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    background: #fff;
    border: 1px solid #e1e8ee;
    border-radius: 12px;
    padding: .6rem;
    flex-direction: column;
    gap: .4rem;
    margin: 8px
  }

  .nav-toggle {
    display: inline-block
  }

  .site-nav.open {
    display: flex
  }

  .signup-form {
    grid-template-columns: 1fr
  }
}

/* ====== Download ====== */
.download-grid {
  display: flex;
  flex-direction: column-reverse;
  /* Badge below bullets on mobile */
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .download-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Bullets take more space, badge on right */
    align-items: center;
    gap: 3rem;
  }
}

.download-bullets {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.download-bullets li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.download-bullets li::before {
  content: "✓";
  color: var(--brand);
  position: absolute;
  left: 0;
  font-weight: 800;
  font-size: 1.2em;
}

.app-badge {
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
  justify-self: center;
  /* Center horizontally in grid cell */
}

.app-badge img {
  border-radius: 8px;
  /* Optional: smooth corners if image is square */
}

.app-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 100;
  border: 1px solid #dfe7ee;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background-color: #f0f4f7;
  color: var(--brand);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

@media (max-width: 720px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    width: 100%;
  }
}
