:root {
  --navy: #0f1c3f;
  --navy-dark: #0a1330;
  --maroon: #960c1c;
  --maroon-dark: #7a0916;
  --ink: #1a1a1a;
  --muted: #5b6472;
  --line: #e6e8ec;
  --bg-alt: #f7f8fa;
  --radius: 10px;
  --shadow: 0 12px 30px rgba(15, 28, 63, 0.10);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--maroon);
  color: #fff;
}
.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 28, 63, 0.97);
  backdrop-filter: blur(6px);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}
.logo-mark { width: 26px; height: 26px; }
.logo-mark.small { width: 20px; height: 20px; }

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 12px;
  flex: 1;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }

.nav-cta { margin-left: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  padding: 72px 0 40px;
}
.hero-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--maroon);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--navy);
}
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 28px;
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 0.85rem; margin-top: 14px; }

/* Mock desktop illustration (hero) */
.mock-desktop {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.mock-sky {
  height: 260px;
  position: relative;
  background: linear-gradient(180deg, #6ecbff 0%, #0e1a5e 100%);
  overflow: hidden;
}
.mock-hills {
  position: absolute;
  left: -5%; right: -5%; bottom: -20px;
  height: 90px;
  background: linear-gradient(180deg, #3b895e 0%, #11421c 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.mock-icons {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 22px;
  flex-wrap: wrap;
}
.mock-icon {
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.68rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.mock-icon .tile, .p-icon .tile {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
}
.mock-icon .tile .icon, .p-icon .tile .icon { width: 20px; height: 20px; stroke: #fff; }
.mock-icon.jobstick .tile, .p-icon.jobstick .tile { box-shadow: 0 0 0 1px rgba(255,255,255,0.4), 0 0 12px rgba(255,255,255,0.25); }
.mock-taskbar {
  height: 46px;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
}
.mock-start {
  width: 32px; height: 32px;
  background: #0078d7;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.mock-start .icon { width: 15px; height: 15px; stroke: #fff; }
.mock-tray {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 0.82rem;
}
.tray-item { display: inline-flex; align-items: center; gap: 4px; }
.tray-item .icon { width: 15px; height: 15px; stroke: #fff; }
.mock-clock, .preview-clock { font-variant-numeric: tabular-nums; }

/* Logos strip */
.logos-strip {
  padding: 22px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}

/* Section headings */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  text-align: center;
  margin: 0 0 10px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 44px;
}

/* Features */
.features { padding: 88px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 8px;
  color: var(--navy);
}
.feature-card.pro .feature-icon { background: rgba(150, 12, 28, 0.08); color: var(--maroon); }
.feature-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.feature-card.pro { border-color: rgba(150, 12, 28, 0.35); background: linear-gradient(180deg, #fff 0%, #fff5f5 100%); }
.pro-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--maroon);
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: middle;
}

/* Preview (fake app window) */
.preview { padding: 88px 0; background: var(--bg-alt); }
.preview-window {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}
.preview-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #e9ebef;
}
.preview-titlebar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.preview-title { margin-left: 10px; font-size: 0.82rem; color: var(--muted); font-weight: 600; }

.preview-body {
  position: relative;
  height: 380px;
  background: linear-gradient(180deg, #327adc 0%, #0e1a5e 100%);
  overflow: hidden;
}
.preview-hills {
  position: absolute;
  left: -5%; right: -5%; bottom: 40px;
  height: 130px;
  background: linear-gradient(180deg, #3b895e 0%, #11421c 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.preview-icons {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 88px);
  gap: 6px;
  padding: 26px;
}
.p-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 0.72rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.preview-taskbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42px;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  padding: 0 14px;
}
.preview-start {
  width: 30px; height: 30px;
  background: #0078d7;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.preview-start .icon { width: 14px; height: 14px; stroke: #fff; }
.preview-tray {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 0.78rem;
}

/* Pricing */
.pricing { padding: 88px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--maroon);
  box-shadow: var(--shadow);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--maroon);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0;
}
.price-card h3 { margin: 0 0 6px; color: var(--navy); }
.price { font-size: 2.1rem; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-desc { color: var(--muted); font-size: 0.9rem; margin: 0 0 20px; }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-fineprint {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* FAQ */
.faq { padding: 88px 0; background: var(--bg-alt); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--maroon);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; color: var(--muted); font-size: 0.94rem; }

/* CTA */
.cta { background: var(--navy); padding: 64px 0; }
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { color: rgba(255,255,255,0.75); margin: 0; }

/* Footer */
.site-footer { background: var(--navy-dark); padding: 28px 0; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer .brand { color: #fff; font-weight: 700; letter-spacing: 0.06em; font-size: 0.9rem; }
.footer-copy { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin: 0; }
.footer-support {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-support a { color: rgba(255,255,255,0.85); }
.faq-item a { color: var(--maroon); font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .preview-icons { grid-template-columns: repeat(3, 88px); }
}

@media (max-width: 680px) {
  .header-row { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 18px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.show { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .preview-body { height: 460px; }
  .preview-icons { grid-template-columns: repeat(3, 72px); }
}
