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

:root {
  --navy: #00337c;
  --navy-mid: #004a9e;
  --blue: #1a5fad;
  --blue-light: #3b7fc9;
  --sky: #a5c9e1;
  --sky-light: #d4e6f4;
  --sky-bg: #eef5fa;
  --gray-50: #f8f9fb;
  --gray-100: #eef1f5;
  --gray-200: #dde3ec;
  --gray-400: #8a96a8;
  --gray-600: #4a5568;
  --gray-800: #1a202c;
  --white: #ffffff;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a { color: var(--blue); }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,51,124,0.08); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav-brand span {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }

.btn-nav {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--blue) !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── HERO ── */
#intro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding-top: 64px;
}

.intro-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(165,201,225,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(26,95,173,0.2) 0%, transparent 60%);
}

.intro-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-title-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  animation: fadeUp 1s ease 0.6s both;
}
.hero-title em { font-style: italic; color: var(--sky); }

.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s ease 1s both;
}

.hero-cta-group {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 1.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sky);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); color: var(--navy); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 0.8s ease 1.8s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .hero-cta-group,
  .scroll-hint {
    animation: none;
  }
}
.scroll-hint span { font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; text-transform: uppercase; }
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ── HERO BANNER ── */
#hero-banner {
  background: var(--gray-50);
  padding: 6rem 2rem;
  text-align: center;
}
.hero-banner-inner { max-width: 900px; margin: 0 auto; }

.banner-device { margin: 0 auto 3rem; width: 280px; }
.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--navy);
  border-radius: 40px;
  border: 8px solid var(--navy-mid);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,51,124,0.25);
  margin: 0 auto;
}
.phone-frame--screenshot {
  padding: 0;
  line-height: 0;
}
.phone-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.banner-tagline {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.banner-tagline em { font-style: italic; color: var(--blue); }
.banner-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── SECTIONS ── */
section { padding: 6rem 2rem; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--blue); }
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.75;
}

#problem { background: var(--navy); color: white; }
#problem .section-label { color: var(--sky); }
#problem .section-title { color: white; }
#problem .section-desc { color: rgba(255,255,255,0.6); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.problem-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background 0.2s;
}
.problem-card:hover { background: rgba(255,255,255,0.08); }
.problem-icon {
  width: 44px; height: 44px;
  background: rgba(165,201,225,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.problem-card h3 { font-size: 1.05rem; font-weight: 600; color: white; margin-bottom: 0.5rem; }
.problem-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

#features { background: var(--gray-50); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(0,51,124,0.08); transform: translateY(-3px); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.icon-blue { background: var(--sky-bg); }
.icon-sky { background: var(--sky-light); }
.icon-purple { background: #f0eefe; }
.feature-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; }

#for-who { background: var(--white); }
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.who-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  overflow: hidden;
}
.who-card-tech {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white;
}
.who-card-manager {
  background: linear-gradient(135deg, var(--sky-bg) 0%, var(--sky-light) 100%);
}
.who-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.who-card-tech .who-avatar { background: rgba(255,255,255,0.12); }
.who-card-manager .who-avatar { background: rgba(0,51,124,0.1); }
.who-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.75rem; }
.who-card-tech h3 { color: white; }
.who-card-manager h3 { color: var(--navy); }
.who-card p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.who-card-tech p { color: rgba(255,255,255,0.65); }
.who-card-manager p { color: var(--gray-600); }
.who-checklist { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.who-checklist li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; }
.who-card-tech .who-checklist li { color: rgba(255,255,255,0.75); }
.who-card-manager .who-checklist li { color: var(--gray-600); }
.check-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.who-card-tech .check-icon { background: var(--sky); color: var(--navy); }
.who-card-manager .check-icon { background: var(--navy); color: white; }

#how-it-works { background: var(--gray-50); }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
  transition: all 0.2s;
}
.step:hover .step-num { background: var(--navy); color: white; border-color: var(--navy); }
.step h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; }
.step p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }

.cta-section {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-section .section-label { color: var(--sky); }
.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 440px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── PRICING ── */
#pricing {
  background: var(--white);
  padding: 6rem 2rem;
  scroll-margin-top: 80px;
}
.pricing-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.trial-banner {
  background: linear-gradient(135deg, var(--sky-bg), var(--sky-light));
  border: 1px solid rgba(165,201,225,0.5);
  border-radius: var(--radius);
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  cursor: pointer;
}
.plan-card:hover { border-color: var(--blue); box-shadow: 0 8px 32px rgba(0,51,124,0.08); }
.plan-card.featured {
  border-color: var(--navy);
  box-shadow: 0 12px 40px rgba(0,51,124,0.12);
}
.plan-card.selected { border-color: var(--blue); }
.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.plan-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.25rem; }
.price-dollar { font-size: 1.4rem; font-weight: 600; color: var(--navy); align-self: flex-start; margin-top: 0.5rem; }
.price-amount { font-family: var(--serif); font-size: 3.5rem; color: var(--navy); line-height: 1; }
.price-period { font-size: 0.9rem; color: var(--gray-400); align-self: flex-end; padding-bottom: 0.5rem; }
.plan-note { font-size: 0.82rem; color: var(--gray-400); margin-bottom: 1.75rem; min-height: 1.2em; }
.plan-note strong { color: var(--navy); }
.plan-divider { height: 1px; background: var(--gray-100); margin-bottom: 1.5rem; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--gray-600); }
.plan-features li svg { flex-shrink: 0; margin-top: 2px; }
.btn-plan {
  display: block;
  width: 100%;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-plan-primary { background: var(--navy); color: white; }
.btn-plan-primary:hover { background: var(--blue); color: white; }
.btn-plan-secondary { background: var(--gray-50); color: var(--navy); border: 1.5px solid var(--gray-200); }
.btn-plan-secondary:hover { background: var(--sky-bg); border-color: var(--blue); }
.pricing-fine { font-size: 0.82rem; color: var(--gray-400); margin-top: 1.5rem; }
.pricing-fine a { color: var(--blue); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 0.75rem; }
.site-footer a:hover { color: white; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 7px; }
.footer-brand span {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: white;
}

/* ── SUBPAGES ── */
.page-main {
  min-height: calc(100vh - 64px);
  padding: 8rem 2rem 6rem;
  margin-top: 64px;
}
.page-main--narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.page-main--center { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 200px); }

.page-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.page-lead { font-size: 1.05rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 1.5rem; }
.page-body { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; }
.page-body h2 { font-size: 1.1rem; color: var(--navy); margin: 2rem 0 0.75rem; font-weight: 600; }
.page-body p { margin-bottom: 1rem; }
.page-body ul { margin: 0 0 1rem 1.25rem; }
.page-body a { color: var(--blue); }

.coming-soon-badge {
  display: inline-block;
  background: var(--sky-bg);
  border: 1px solid var(--sky);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.support-email {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.support-email:hover { color: var(--blue); }

.btn-back {
  display: inline-flex;
  margin-top: 2rem;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.btn-back:hover { color: var(--navy); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@media (max-width: 768px) {
  .problem-grid, .features-grid, .who-grid, .steps-row, .plans-grid { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .site-nav { padding: 0 1rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 0; }
  .nav-toggle { display: block; }
  .hero-title { font-size: 3rem; }
  .phone-frame { width: 240px; height: 480px; }
  .banner-device { width: 240px; }
}

/* ── COMING SOON PAGE ── */
.coming-soon-page {
  overflow: hidden;
}

.coming-soon-page .site-nav--disabled .nav-brand {
  cursor: default;
}

.coming-soon-page .nav-link-disabled {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
  cursor: not-allowed;
  user-select: none;
}

.coming-soon-page .nav-link-disabled.btn-nav {
  display: inline-block;
  background: var(--gray-200);
  color: var(--gray-400) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
}

.coming-soon-page .nav-toggle {
  display: none;
}

.coming-soon-page #intro {
  min-height: 100vh;
}

.coming-soon-page .hero-coming-soon {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--sky);
  line-height: 1.1;
  animation: fadeUp 0.8s ease 1.2s both;
}
