/* ============ VARIABLES & RESET ============ */
:root {
  --navy: #0f1f3d;
  --navy-2: #14294e;
  --navy-3: #1c3563;
  --accent: #ff6b35;
  --accent-2: #ff8a5c;
  --teal: #1fb6a5;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-dark: #0a1530;
  --text: #1e293b;
  --text-soft: #5b6b83;
  --border: #e3e9f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 31, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 31, 61, 0.12);
  --shadow-lg: 0 24px 64px rgba(15, 31, 61, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.container-narrow { max-width: 760px; }

.accent { color: var(--accent); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-sm { padding: 8px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35); }
.btn-primary:hover { background: #f45a22; }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: rgba(15, 31, 61, 0.05); }

.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: rgba(15, 31, 61, 0.06); }

/* ============ NAVBAR ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled .nav-link,
.site-header.scrolled .brand { color: var(--navy); }
.site-header.scrolled .btn-ghost { color: var(--navy); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(255, 107, 53, 0.4);
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--white); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-2); }

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

.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: transform 0.3s, opacity 0.3s; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 60%, #25457e 100%);
  color: var(--white);
  padding: 160px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.28), transparent 65%);
  top: -180px;
  right: -120px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 182, 165, 0.22), transparent 65%);
  bottom: -140px;
  left: -100px;
  pointer-events: none;
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero-sub { font-size: 1.15rem; color: #c6d2ea; margin-bottom: 32px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 0.88rem; color: #9fb1d3; }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* Dashboard mockup */
.hero-visual { position: relative; }

.dashboard {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dashboard-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ffb3a0; }
.dot:nth-child(2) { background: #ffd27d; }
.dot:nth-child(3) { background: #8fe3cf; }
.dash-title { margin-left: 8px; font-size: 0.82rem; color: var(--text-soft); font-weight: 500; }

.dashboard-body { padding: 22px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.stat {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.stat-label { display: block; font-size: 0.72rem; color: var(--text-soft); font-weight: 500; margin-bottom: 4px; }
.stat-value { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.stat-up { color: var(--teal); }
.stat-down { color: var(--accent); }

.chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 150px;
  padding: 0 6px;
}
.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--teal), #58d3c4);
  border-radius: 6px 6px 3px 3px;
  animation: grow 1s ease-out both;
  transform-origin: bottom;
}
.bar:nth-child(3n) { background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.float-badge {
  position: absolute;
  bottom: 22px;
  left: -34px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ TRUST STRIP ============ */
.trust { background: var(--bg-alt); padding: 34px 0; border-bottom: 1px solid var(--border); }
.trust-intro { text-align: center; font-size: 0.85rem; color: var(--text-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 44px; flex-wrap: wrap; }
.trust-logo { font-size: 1.15rem; font-weight: 700; color: #93a3bd; letter-spacing: -0.01em; transition: color 0.2s; }
.trust-logo:hover { color: var(--navy); }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-dark .section-sub { color: #9fb1d3; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 14px;
  color: var(--navy);
}
.section-dark .section-title { color: var(--white); }
.section-sub {
  text-align: center;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 54px;
}

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p { color: var(--text-soft); font-size: 0.95rem; }

/* ============ SPLIT (REPORT) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.report-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.report-head { font-weight: 700; color: var(--navy); margin-bottom: 22px; font-size: 1.02rem; }
.report-line { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rep-name { width: 100px; font-size: 0.88rem; color: var(--text-soft); font-weight: 500; }
.rep-bar { flex: 1; height: 10px; background: var(--bg-alt); border-radius: 6px; overflow: hidden; }
.rep-fill { display: block; height: 100%; border-radius: 6px; }
.rep-open { background: var(--teal); }
.rep-click { background: var(--navy-3); }
.rep-bounce { background: #f4b860; }
.rep-spam { background: var(--accent); }
.rep-num { width: 42px; text-align: right; font-weight: 700; color: var(--navy); font-size: 0.92rem; }

.split-item { margin-bottom: 30px; }
.split-item:last-child { margin-bottom: 0; }
.split-item h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.split-item h3::before { content: "▸ "; color: var(--accent); }
.split-item p { color: var(--text-soft); font-size: 0.98rem; }

/* ============ QUOTE BANNER ============ */
.quote-banner { background: linear-gradient(120deg, var(--navy-3), var(--navy)); color: var(--white); padding: 60px 0; text-align: center; }
.quote-banner blockquote p { font-size: 1.35rem; font-weight: 600; font-style: italic; margin-bottom: 14px; }
.quote-banner cite { font-style: normal; color: var(--accent-2); font-weight: 600; }

/* ============ SUPPORT ============ */
.support-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 40px; }
.support-city {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.city-pin { font-size: 1.1rem; }

/* ============ TESTIMONIALS ============ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy-3));
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1rem;
}
.testimonial-card blockquote p { font-size: 0.95rem; color: var(--text); margin-bottom: 18px; }
.testimonial-card footer { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.testimonial-card footer span { display: block; font-weight: 400; color: var(--text-soft); font-size: 0.85rem; }

/* ============ PRICING ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; margin-top: 10px; }
.pricing-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-featured { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.pricing-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 20px; }
.currency { font-size: 1.4rem; vertical-align: super; color: var(--text-soft); }
.per { font-size: 0.95rem; font-weight: 500; color: var(--text-soft); letter-spacing: 0; }
.pricing-card ul { margin-bottom: 26px; flex: 1; }
.pricing-card li { padding: 7px 0 7px 26px; position: relative; color: var(--text); font-size: 0.95rem; }
.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ============ FAQ ============ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 500; transition: transform 0.2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 20px; color: var(--text-soft); font-size: 0.95rem; }

/* ============ CTA / SIGNUP ============ */
.cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--white); padding: 96px 0; }
.cta .section-title { color: var(--white); }
.cta .section-sub { color: #c6d2ea; }

.signup-form { max-width: 560px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.signup-form input {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.signup-form input::placeholder { color: #9fb1d3; }
.signup-form input:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.14); }
.form-note { text-align: center; margin-top: 16px; font-size: 0.92rem; color: #8fe3cf; font-weight: 600; }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-dark); color: #9fb1d3; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: 0.92rem; max-width: 240px; margin-top: 12px; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: 0.88rem; }
.social { display: flex; gap: 10px; }
.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #9fb1d3;
  transition: background 0.2s, color 0.2s;
}
.social a:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 21, 48, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  width: min(440px, 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: pop 0.25s ease;
}
@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-soft);
  line-height: 1;
}
.modal-close:hover { color: var(--navy); }
.modal h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 8px; }
.modal-sub { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 22px; }
.modal label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--navy); margin-bottom: 6px; }
.modal input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.96rem;
  font-family: inherit;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s;
}
.modal input:focus { border-color: var(--accent); }
.modal-note { text-align: center; margin-top: 14px; font-size: 0.9rem; color: var(--teal); font-weight: 600; }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid, .testimonial-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 30px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.05rem; }
  .nav-cta-mobile { display: block; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .feature-grid, .testimonial-grid, .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-badge { left: 8px; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 80px; }
}
