/* OptiTrace website — shared stylesheet */
:root {
  --navy: #0B1B33;
  --navy2: #10254a;
  --cyan: #00B4E6;
  --cyan-d: #0090B8;
  --gray: #4A5A6A;
  --lgray: #8A97A5;
  --bg: #F4F7FA;
  --line: #E3E9F0;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-d); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; height: 80px; gap: 32px; }
.brand img { height: 60px; width: auto; }
.main-nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.main-nav a { color: var(--navy); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--cyan-d); text-decoration: none; }
.btn {
  display: inline-block; background: var(--cyan); color: #fff !important;
  padding: 11px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer;
}
.btn:hover { background: var(--cyan-d); text-decoration: none; }
.btn-outline {
  background: transparent; color: var(--navy) !important;
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan-d) !important; }

/* hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 72px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: 2.5px; font-weight: 700;
  color: var(--cyan-d); margin-bottom: 18px;
}
.hero h1 { font-size: 46px; line-height: 1.15; letter-spacing: -1px; margin-bottom: 18px; }
.hero p.lead { font-size: 18px; color: var(--gray); margin-bottom: 28px; max-width: 480px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  background: #E8F7FD; color: var(--cyan-d); font-size: 13.5px; font-weight: 600;
  padding: 7px 16px; border-radius: 999px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero figure img { border-radius: 18px; box-shadow: 0 24px 60px rgba(11,27,51,.14); }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg); }
.section.dark { background: linear-gradient(160deg, var(--navy), var(--navy2)); color: #fff; }
.section h2 { font-size: 32px; letter-spacing: -.5px; margin-bottom: 12px; text-align: center; }
.section .sub { text-align: center; color: var(--gray); font-size: 17px; margin-bottom: 44px; }
.section.dark .sub { color: #B9C6D8; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 28px rgba(11,27,51,.08); border: 1px solid var(--line);
}
.step-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.step-body { padding: 24px 24px 28px; }
.step-num {
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cyan); color: #fff; font-weight: 700; font-size: 15px;
  align-items: center; justify-content: center; margin-bottom: 10px;
}
.step-body h3 { font-size: 19px; margin-bottom: 8px; }
.step-body p { color: var(--gray); font-size: 15px; }

/* pain points */
.pain-rows { display: grid; gap: 18px; max-width: 920px; margin: 0 auto; }
.pain-row { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 0; align-items: stretch; }
.pain-card { border-radius: 12px; padding: 20px 22px; }
.pain-card.before { background: #FDECEC; }
.pain-card.after { background: #E7F9F1; }
.pain-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  padding: 4px 10px; border-radius: 6px; background: #fff; margin-bottom: 10px;
}
.before .pain-tag { color: #C0392B; }
.after .pain-tag { color: #1E8E5A; }
.pain-card p { font-size: 15px; }
.before p { color: var(--gray); }
.after p { color: var(--navy); font-weight: 500; }
.pain-arrow { display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--cyan); font-weight: 700; }

/* workflow */
.flow-img img { border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); margin-bottom: 34px; }
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.flow-steps h4 { font-size: 17px; margin-bottom: 6px; }
.flow-steps p { color: var(--cyan); font-size: 14px; }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.benefit { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.benefit .n {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cyan); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.benefit h3 { font-size: 17px; margin-bottom: 6px; }
.benefit p { color: var(--gray); font-size: 14.5px; }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--cyan-d), var(--cyan)); color: #fff; text-align: center; padding: 64px 24px; }
.cta-band h2 { font-size: 30px; margin-bottom: 10px; }
.cta-band p { opacity: .92; margin-bottom: 26px; font-size: 17px; }
.cta-band .btn { background: #fff; color: var(--navy) !important; }
.cta-band .btn:hover { background: var(--bg); }

/* footer */
.site-footer { background: var(--navy); color: #B9C6D8; padding: 48px 0 28px; font-size: 14px; }
.site-footer .wrap { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.site-footer img { height: 30px; margin-bottom: 12px; background: #fff; padding: 6px 12px; border-radius: 8px; }
.footer-links { margin-left: auto; display: flex; gap: 28px; }
.footer-links a { color: #B9C6D8; }
.footer-bottom { max-width: 1120px; margin: 32px auto 0; padding: 20px 24px 0; border-top: 1px solid #1B3358; color: #7C8DA3; font-size: 13px; }

/* doc pages (privacy / support) */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: 34px; letter-spacing: -.5px; margin-bottom: 8px; }
.doc .effective { color: var(--lgray); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 32px 0 10px; text-align: left; }
.doc p, .doc li { color: #33415C; font-size: 15.5px; margin-bottom: 10px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.confirm {
  background: #FFF8E6; border: 1px dashed #D9A821; border-radius: 8px;
  padding: 10px 14px; font-size: 13.5px; color: #7A5C00; margin: 12px 0;
}
.faq { margin-top: 8px; }
.faq h3 { font-size: 17px; margin: 22px 0 6px; }
.page-hero { background: var(--bg); padding: 52px 0; text-align: center; }
.page-hero h1 { font-size: 36px; letter-spacing: -.5px; }
.page-hero p { color: var(--gray); margin-top: 8px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .steps, .flow-steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .pain-row { grid-template-columns: 1fr; }
  .pain-arrow { transform: rotate(90deg); padding: 4px 0; }
  .main-nav a:not(.btn) { display: none; }
}
