/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #e8f5fd;
  --bg-alt: #d6ecf9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fcff;
  --fg: #1a2744;
  --fg-muted: #4a6080;
  --accent: #FF6B35;
  --accent-light: #ff8a5c;
  --accent-soft: rgba(255,107,53,0.1);
  --sky: #5db8e0;
  --sky-light: #87ceeb;
  --sky-soft: rgba(135,206,235,0.15);
  --success: #2d9e6a;
  --border: rgba(26,39,68,0.07);
  --border-accent: rgba(255,107,53,0.15);
  --shadow: rgba(26,39,68,0.05);
  --shadow-md: rgba(26,39,68,0.1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.15; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(232,245,253,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
  font-weight: 700;
  font-size: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--fg); background: var(--bg-alt); }
.nav-dashboard-btn { color: var(--fg-muted) !important; }
.nav-cta-btn {
  background: var(--accent);
  color: white !important;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta-btn:hover { background: var(--accent-light); transform: translateY(-1px); }

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sky-soft);
  border: 1px solid rgba(135,206,235,0.25);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  color: #1a6a94;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-headline {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,53,0.3);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255,107,53,0.4);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  color: var(--fg-muted);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.btn-ghost:hover { color: var(--fg); background: var(--bg-alt); }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.trust-avatars {
  display: flex;
}
.trust-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--accent);
  margin-left: -8px;
  font-size: 0.65rem;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-avatar:first-child { margin-left: 0; }

/* === HERO IMAGE === */
.hero-visual { display: flex; justify-content: center; }
.hero-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-md), 0 0 0 1px var(--border);
  width: 100%;
  max-width: 520px;
}
.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* === HOW IT WORKS === */
.how {
  padding: 6rem 2rem;
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.875rem;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.section-header p { color: var(--fg-muted); font-size: 1rem; max-width: 520px; margin: 0 auto; }
.steps {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step {
  text-align: center;
  padding: 1.5rem;
}
.step-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}
.step-icon.blue { background: var(--sky-soft); }
.step-icon.orange { background: var(--accent-soft); }
.step-icon.green { background: rgba(45,158,106,0.1); }
.step h3 { font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--fg); }
.step p { font-size: 0.825rem; color: var(--fg-muted); line-height: 1.7; }

/* === FEATURES / WHY === */
.features {
  padding: 6rem 2rem;
}
.features-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.reason-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.reason-card:hover {
  box-shadow: 0 8px 30px var(--shadow-md);
  transform: translateY(-2px);
}
.reason-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.reason-icon.blue { background: var(--sky-soft); color: var(--sky); }
.reason-icon.orange { background: var(--accent-soft); color: var(--accent); }
.reason-icon.green { background: rgba(45,158,106,0.1); color: var(--success); }
.reason-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--fg); }
.reason-card p { font-size: 0.825rem; color: var(--fg-muted); line-height: 1.7; }

/* === DASHBOARD SECTION === */
.dashboard-section {
  padding: 5rem 2rem;
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dash-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.dash-text h2 { font-size: 1.75rem; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.dash-text p { color: var(--fg-muted); font-size: 0.95rem; max-width: 480px; }
.dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(5,150,105,0.1);
  border: 1px solid rgba(5,150,105,0.2);
  border-radius: 100px;
  padding: 0.4rem 0.875rem;
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.metrics-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--bg);
  border-radius: 14px;
  padding: 1.5rem;
}
.metric-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem 1.5rem; }
.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
}
.metric-label { font-size: 0.78rem; color: var(--fg-muted); margin-bottom: 0.4rem; }
.metric-delta { font-size: 0.72rem; font-weight: 600; }
.metric-delta.positive { color: var(--success); }
.metric-delta.neutral { color: var(--fg-muted); }

/* === PRICING === */
.pricing {
  padding: 6rem 2rem;
}
.pricing-cards {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover { box-shadow: 0 8px 30px var(--shadow-md); transform: translateY(-2px); }
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 30px rgba(255,107,53,0.12);
}
.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-name {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}
.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}
.plan-price span { font-size: 1rem; color: var(--fg-muted); font-weight: 400; }
.plan-desc { font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.plan-features li {
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6' fill='none' stroke='%23FF6B35' stroke-width='1.5'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='%23FF6B35' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
}
.pricing-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.pricing-cta:hover { background: rgba(255,107,53,0.18); }

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, white 100%);
}
.closing-inner { max-width: 560px; margin: 0 auto; }
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(135,206,235,0.12);
  border: 1px solid rgba(135,206,235,0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: #1a6a94;
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.closing h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}
.closing p { color: var(--fg-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 2.25rem; }
.closing-cta { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  background: var(--accent);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,53,0.3);
}
.cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.4);
}
.cta-note { font-size: 0.8rem; color: var(--fg-muted); }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 2rem 2rem;
  background: white;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.875rem;
}
.footer-brand p { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.7; max-width: 260px; margin-bottom: 0.75rem; }
.footer-email { font-size: 0.8rem; color: var(--accent); text-decoration: none; transition: color 0.2s; }
.footer-email:hover { color: var(--accent-light); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; font-size: 0.8rem; color: var(--fg-muted); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.75rem; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-image-wrap { max-width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .dash-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}