/* ============================================================
   PillKeeper — getpillkeeper.com
   Static marketing page styles
   ============================================================ */

/* MARK: - Custom Properties */

:root {
  --blue:       #4A8FD4;
  --blue-dark:  #2F6FAE;
  --blue-light: #D6E9F8;
  --teal:       #4DC5B5;
  --green:      #52C068;
  --green-dark: #3DA053;
  --bg:         #F0F4F8;
  --bg-white:   #FFFFFF;
  --text:       #3D4A5C;
  --text-light: #6B7A8D;
  --border:     #D9E4EE;
}

/* MARK: - Reset & Base */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, "SF Pro Text", "SF Pro Display", system-ui,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  text-decoration: underline;
}

/* MARK: - Layout */

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

/* MARK: - Nav */

.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.nav__wordmark {
  height: 36px;
  width: auto;
}

.nav__cta {
  flex-shrink: 0;
}

/* MARK: - Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

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

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--green {
  background: var(--green);
  color: #fff;
  font-size: 17px;
  padding: 16px 36px;
}

.btn--green:hover {
  background: var(--green-dark);
}

/* MARK: - Coming Soon */

.badge--coming-soon {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 20px;
}

.coming-soon-pill {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  border-radius: 24px;
}

.coming-soon-pill--light {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

/* MARK: - Hero */

.hero {
  background: var(--bg-white);
  padding: 72px 0 80px;
  text-align: center;
}

.hero__logo {
  width: 130px;
  margin: 0 auto 32px;
}

.hero__headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.15;
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero__headline span {
  color: var(--blue);
}

.hero__sub {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
}

/* MARK: - Features */

.features {
  padding: 80px 0;
  background: var(--bg-white);
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.2;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74, 143, 212, 0.12);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card__icon--blue  { background: var(--blue-light); }
.feature-card__icon--teal  { background: #d4f2ee; }
.feature-card__icon--green { background: #d4f0db; }

.feature-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card__body {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}

/* MARK: - How It Works */

.how {
  background: linear-gradient(160deg, #e4eef8 0%, var(--bg) 100%);
  padding: 80px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  counter-reset: steps;
  list-style: none;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(74, 143, 212, 0.30);
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step__body {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 260px;
  margin: 0 auto;
}


/* MARK: - Privacy Band */

.privacy {
  background: var(--bg-white);
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.privacy__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.privacy__icon {
  font-size: 48px;
  flex-shrink: 0;
}

.privacy__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.privacy__body {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .privacy__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* MARK: - CTA Band */

.cta {
  background: linear-gradient(135deg, var(--blue) 0%, #2F6FAE 100%);
  padding: 80px 0;
  text-align: center;
}

.cta__headline {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.cta__sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta .badge img {
  height: 52px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.20));
}

.cta__note {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

/* MARK: - Footer */

.footer {
  background: var(--text);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}



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

.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* MARK: - Responsive */

@media (max-width: 600px) {
  .nav__inner {
    height: 60px;
  }

  .nav__wordmark {
    height: 28px;
  }

  .hero {
    padding: 52px 0 60px;
  }

  .hero__logo {
    width: 100px;
  }

  .features,
  .how {
    padding: 60px 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .step:not(:last-child)::after {
    display: none;
  }
}
