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

:root {
  /* Exact brand colours from Clearpath logo SVGs */
  --navy: #185FA5;
  --navy-dark: #0C447C;
  --navy-deepest: #081e3a;
  --teal: #1D9E75;
  --teal-bright: #3FC796;
  --teal-dark: #137A59;
  --teal-pale: #eef9f4;
  --blue-pale: #EAF2FB;
  --slate: #5b6b7d;
  --text: #1a2b3c;
  --text-mid: #3a5068;
  --text-muted: #6b8399;
  --border: #d8dde3;
  --border-light: #e9ecef;
  --cream: #f6f8fa;
  --white: #ffffff;
  --red: #d01b23;
  --orange: #e8841d;
  --purple: #7449bd;
  --heading: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 5%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; }

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

.nav-cta {
  background: var(--teal) !important; color: white !important;
  padding: 0.5rem 1.2rem; border-radius: 6px; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

.mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-menu svg { width: 28px; height: 28px; color: var(--navy); }

/* ===== SHARED ===== */
section { padding: 5.5rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--heading); font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.2; letter-spacing: -0.02em; color: var(--navy-dark);
  margin-bottom: 0.9rem; font-weight: 800;
}

.section-desc {
  font-size: 1rem; color: var(--text-mid); max-width: 520px;
  line-height: 1.75; margin-bottom: 2.5rem;
}

.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--teal); color: white;
  padding: 0.8rem 1.85rem; border-radius: 7px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; display: inline-block; font-family: var(--body);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-outline {
  color: rgba(255,255,255,0.75); padding: 0.8rem 1.6rem;
  border-radius: 7px; font-size: 0.95rem; font-weight: 500;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.45); color: white; }

/* ===== FEATURES ===== */
.feature-block {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem; align-items: center; margin-bottom: 5.5rem;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reversed { direction: rtl; }
.feature-block.reversed > * { direction: ltr; }

.feature-name {
  font-family: var(--heading); font-size: 1.45rem;
  color: var(--navy-dark); margin-bottom: 0.6rem;
  letter-spacing: -0.01em; font-weight: 800;
}

.feature-desc {
  font-size: 0.92rem; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 1.25rem;
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }

.feature-list li {
  font-size: 0.86rem; color: var(--text-mid);
  display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.5;
}

.feature-list li::before {
  content: ''; width: 5px; height: 5px;
  background: var(--teal); border-radius: 50%;
  margin-top: 0.5rem; flex-shrink: 0;
}

/* Screenshot frames */
.screenshot-frame {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid var(--border); background: white;
}
.screenshot-frame img { width: 100%; display: block; }

.browser-bar {
  background: #f4f5f6; padding: 7px 12px;
  display: flex; align-items: center; gap: 5px;
  border-bottom: 1px solid var(--border-light);
}

.browser-dot { width: 9px; height: 9px; border-radius: 50%; }
.browser-dot.r { background: #ff6058; }
.browser-dot.y { background: #ffbd2e; }
.browser-dot.g { background: #27ca40; }

.browser-url {
  background: #ebedef; border-radius: 4px; padding: 2px 10px;
  font-size: 0.65rem; color: #888; margin-left: 6px;
  flex: 1; max-width: 280px;
}

/* ===== EXTRAS GRID ===== */
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.extra-card {
  background: white; border: 1px solid var(--border-light);
  border-radius: 10px; padding: 1.6rem 1.4rem;
  transition: border-color 0.2s, transform 0.2s;
}
.extra-card:hover { border-color: var(--border); transform: translateY(-2px); }
.extra-icon { font-size: 1.3rem; margin-bottom: 0.65rem; }
.extra-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 0.35rem; }
.extra-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(170deg, var(--navy-dark) 0%, var(--navy) 100%);
  text-align: center; padding: 6rem 5%; position: relative; overflow: hidden;
}
.cta-inner { position: relative; max-width: 600px; margin: 0 auto; }
.cta-title {
  font-family: var(--heading); font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: white; line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 0.9rem; font-weight: 800;
}
.cta-title em { font-style: italic; color: var(--teal-bright); }
.cta-desc { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 2rem; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer { background: var(--navy-deepest); padding: 2.25rem 5%; color: rgba(255,255,255,0.3); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-brand img { height: 26px; width: auto; opacity: 0.6; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,0.3); font-size: 0.78rem; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.6); }
.footer-copy { font-size: 0.76rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .feature-block, .feature-block.reversed { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
  .extras-grid { grid-template-columns: 1fr; max-width: 440px; }
  .nav-links { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 5%; }
}
