/* TechMinds SSL — shared styles
   Palette: deep indigo/blue trust family
   Fonts: Lexend (headings) + Source Sans 3 (body) */

:root {
  --indigo-900: #11183a;
  --indigo-800: #1a2350;
  --indigo-700: #243069;
  --indigo-600: #2f3f8f;
  --indigo-500: #3b51b8;
  --brand: #3b51b8;
  --brand-600: #2f3f8f;
  --brand-700: #243069;
  --accent: #11b3a3;       /* teal accent for security/SSL cues */
  --accent-600: #0c8d80;
  --cta: #b85600;          /* warm CTA — AA contrast (4.8:1) with white button text */
  --cta-600: #9e4900;
  --ink: #16203a;
  --ink-soft: #44506b;
  --muted: #616a7d;
  --line: #e2e6ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-indigo: #11183a;
  --white: #ffffff;
  --ok: #1f9d62;
  --shadow-sm: 0 1px 2px rgba(17, 24, 58, 0.06), 0 1px 3px rgba(17, 24, 58, 0.08);
  --shadow-md: 0 6px 18px rgba(17, 24, 58, 0.08), 0 2px 6px rgba(17, 24, 58, 0.06);
  --shadow-lg: 0 18px 48px rgba(17, 24, 58, 0.14);
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1180px;
  --space: clamp(3rem, 6vw, 5.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Lexend", system-ui, sans-serif;
  color: var(--indigo-900);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.section { padding: var(--space) 0; }
.section--soft { background: var(--bg-soft); }
.section--indigo { background: var(--bg-indigo); color: #d9deef; }
.section--indigo h2, .section--indigo h3 { color: #fff; }
.section--indigo p { color: #b9c1de; }

.eyebrow {
  display: inline-block;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 0.75rem;
}
.section--indigo .eyebrow { color: #4fd6c8; }

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* Skip link */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cta); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: "Lexend", sans-serif; font-weight: 700; font-size: 1.18rem;
  color: var(--indigo-900); letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark rect { fill: var(--brand); }
.brand span b { color: var(--brand); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 0.5rem 0.6rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { display: block; }

.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 0.55rem 0.85rem; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-family: "Lexend", sans-serif; font-size: 0.97rem;
}
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--brand-600); background: #eef1fb; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  font-family: "Lexend", sans-serif; font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.4rem; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--cta { background: var(--cta); color: #fff; box-shadow: var(--shadow-sm); }
.btn--cta:hover { background: var(--cta-600); box-shadow: var(--shadow-md); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-600); }
.btn--ghost { background: transparent; color: var(--brand-600); border-color: #c7cef0; }
.btn--ghost:hover { background: #eef1fb; }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: #eef1fb; }
.btn--lg { padding: 0.95rem 1.7rem; font-size: 1.05rem; }
.nav .btn { padding: 0.6rem 1.1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(13,18,46,0.93) 0%, rgba(17,24,58,0.86) 45%, rgba(36,48,105,0.74) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero p { color: #d7ddf3; font-size: 1.2rem; max-width: 54ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.7rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; color: #c5cdec; font-size: 0.95rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { flex: none; color: #4fd6c8; }

/* ---------- Page header (sub-pages) ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--indigo-900); }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(13,18,46,0.92), rgba(36,48,105,0.7)); }
.page-hero-inner { position: relative; z-index: 2; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: #d7ddf3; max-width: 60ch; font-size: 1.12rem; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 0.9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); }
.crumbs li::after { content: "/"; color: var(--muted); margin-left: 0.4rem; }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--brand-600); }
.page-hero .crumbs li, .page-hero .crumbs li::after { color: #aab4dc; }
.page-hero .crumbs a { color: #cdd5f3; }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c7cef0; }
.card h3 { margin-bottom: 0.4rem; }
.card h3 a { color: var(--indigo-900); }
.card p { margin-bottom: 0.75rem; }
.card .more { font-family: "Lexend", sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--brand-600); display: inline-flex; align-items: center; gap: 0.35rem; }

.icon-badge {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: #eef1fb; color: var(--brand-600); margin-bottom: 1rem;
}
.icon-badge.is-teal { background: #e2f6f3; color: var(--accent-600); }
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Media split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: "Lexend", sans-serif; font-weight: 700; font-size: clamp(1.9rem, 3.5vw, 2.7rem); color: #fff; }
.stat .lbl { color: #b9c1de; font-size: 0.95rem; }
.section:not(.section--indigo) .stat .num { color: var(--brand-600); }
.section:not(.section--indigo) .stat .lbl { color: var(--muted); }

/* ---------- Checklist ---------- */
.checks { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.7rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); }
.checks svg { flex: none; color: var(--ok); margin-top: 0.25rem; }
.section--indigo .checks li { color: #cfd6ef; }
.section--indigo .checks svg { color: #4fd6c8; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.quote p { color: var(--ink); font-size: 1.05rem; }
.quote .who { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.1rem; }
.quote .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote .who b { display: block; font-family: "Lexend", sans-serif; color: var(--indigo-900); font-size: 0.98rem; }
.quote .who span { color: var(--muted); font-size: 0.88rem; }
.stars { color: #9c6500; letter-spacing: 2px; font-size: 0.95rem; }

/* ---------- Logos / trust strip ---------- */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2.6rem; opacity: 0.85; }
.trust-strip span { font-family: "Lexend", sans-serif; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 0.5rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-700), var(--brand)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.2rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7ddf3; max-width: 52ch; margin-inline: auto; }
.cta-band .actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan.is-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--cta); color: #fff; font-family: "Lexend", sans-serif; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; padding: 0.3rem 0.9rem; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; }
.plan .price { font-family: "Lexend", sans-serif; font-weight: 700; color: var(--indigo-900); font-size: 2.4rem; margin: 0.4rem 0 0; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan .desc { color: var(--muted); min-height: 2.8em; }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 0.6rem; }
.plan ul li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.plan ul svg { flex: none; color: var(--ok); margin-top: 0.25rem; }
.plan .btn { margin-top: auto; }

.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.97rem; }
.cmp th, .cmp td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--bg-soft); font-family: "Lexend", sans-serif; color: var(--indigo-900); }
.cmp td.tick { color: var(--ok); font-weight: 700; }
.cmp td.dash { color: var(--muted); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; margin-bottom: 0.8rem; }
.faq summary { cursor: pointer; font-family: "Lexend", sans-serif; font-weight: 600; color: var(--indigo-900); padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 1rem 0; margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: "Lexend", sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--indigo-900); }
.field .req { color: var(--cta-600); }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.75rem 0.9rem; border: 1px solid #c8cee0; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(59,81,184,0.18); outline-offset: 0; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
fieldset { border: none; padding: 0; margin: 0; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .ic { width: 42px; height: 42px; border-radius: 10px; background: #eef1fb; color: var(--brand-600); display: grid; place-items: center; flex: none; }
.info-list b { font-family: "Lexend", sans-serif; color: var(--indigo-900); display: block; }
.info-list a { color: var(--brand-600); }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-900); color: #aeb7d8; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #aeb7d8; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand span { color: #fff; }
.footer-brand p { color: #9aa4ca; max-width: 34ch; margin-top: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; font-size: 0.88rem; color: #8b95bd; }
.footer-bottom a { color: #8b95bd; text-decoration: underline; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.6rem; }
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2.2rem; }
.maxw-prose { max-width: 62ch; }
.section-head { max-width: 60ch; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; }
.pill { display: inline-flex; align-items: center; gap: 0.45rem; background: #e2f6f3; color: var(--accent-600); font-family: "Lexend", sans-serif; font-weight: 600; font-size: 0.82rem; padding: 0.35rem 0.8rem; border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.25rem 1.2rem; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; }
  .nav-links .btn { width: 100%; }
  .grid-3, .grid-4, .price-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .price-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero p { font-size: 1.08rem; }
  .stats { gap: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .btn:hover, .card--link:hover { transform: none; }
}
