/* Supreme Coding — business + tech, light theme v3 */
:root {
  --bg: #ffffff;
  --bg-soft: #edf1fa;
  --navy: #16204a;
  --ink: #232c50;
  --muted: #5b6480;
  --line: #e4e8f2;
  --cyan: #05baf2;
  --violet: #7547ff;
  --green: #12a86c;
  --grad: linear-gradient(100deg, #05baf2, #7547ff);
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(22, 32, 74, 0.07);
  --shadow-md: 0 10px 32px rgba(22, 32, 74, 0.12);
  --shadow-lg: 0 24px 60px rgba(22, 32, 74, 0.18);
  --font-head: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 770px; margin: 0 auto 56px; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--grad); border-radius: 2px; margin: 18px auto 0; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s;
  cursor: pointer; border: 0; white-space: nowrap;
}
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(84, 90, 255, 0.3); }
.btn-grad:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cdd4ec; font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .usa { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.topbar .usa::before { content: "🇺🇸"; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.93); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--violet); }
.nav-cta {
  display: inline-block; background: var(--grad); color: #fff !important;
  padding: 12px 26px; border-radius: 12px; white-space: nowrap; line-height: 1.2;
  box-shadow: 0 6px 18px rgba(84, 90, 255, 0.3);
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 46px; padding: 11px; border-radius: 12px; transition: background 0.2s; }
.nav-burger:hover { background: rgba(22, 32, 74, 0.06); }
.nav-burger span { display: block; width: 24px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-burger span + span { margin-top: 5px; }
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #eaf1ff 0%, #f7f9ff 70%, #ffffff 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 380px at 12% 8%, rgba(5, 186, 242, 0.16), transparent 70%),
    radial-gradient(560px 380px at 88% 20%, rgba(117, 71, 255, 0.16), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: center; padding: 88px 0 92px; }
.hero-sub { color: var(--muted); font-size: 1.15rem; margin: 22px 0 30px; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.chip svg { width: 15px; height: 15px; color: var(--green); }
.hero-visual { position: relative; }
.hero-visual img { position: relative; animation: float 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust strip ---------- */
.truststrip { background: var(--navy); color: #fff; }
.truststrip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; padding: 30px 0; }
.tstat b { font-family: var(--font-head); font-size: 1.9rem; display: block; line-height: 1.15; background: linear-gradient(100deg, #6fd8fb, #b39bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tstat span { font-size: 0.85rem; color: #b7c0de; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: block; position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfc5f7; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(84, 90, 255, 0.28);
}
.card .icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 0.9rem; color: var(--violet); }
.card.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.card .badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em;
  color: #fff; background: var(--grad); padding: 4px 12px; border-radius: 999px;
}

/* ---------- Outside-the-box highlight ---------- */
.otb { padding: 0 24px; margin: 96px auto; max-width: 1180px; }
.otb-inner {
  position: relative; overflow: hidden;
  background: radial-gradient(700px 380px at 85% 115%, rgba(255,255,255,0.16), transparent 70%), var(--grad);
  border-radius: 24px; color: #fff;
  padding: 64px 56px;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center;
  box-shadow: 0 24px 60px rgba(84, 90, 255, 0.35);
}
.otb-inner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(115deg, transparent 45%, black 90%);
}
.otb-copy { position: relative; }
.otb-copy .kicker { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.85); display: block; margin-bottom: 12px; }
.otb-copy h2 { color: #fff; margin-bottom: 16px; }
.otb-copy p { color: rgba(255,255,255,0.92); font-size: 1.08rem; max-width: 560px; }
.otb-quote {
  position: relative;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px; padding: 26px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.4;
  backdrop-filter: blur(4px);
}
.otb-quote small { display: block; margin-top: 12px; font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.otb-actions { position: relative; margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.otb .btn-white { background: #fff; color: var(--violet); }
.otb .btn-white:hover { transform: translateY(-2px); }
.otb .btn-clear { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.otb .btn-clear:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
@media (max-width: 960px) {
  .otb-inner { grid-template-columns: 1fr; padding: 44px 30px; }
}

/* ---------- Navy band section ---------- */
.section.navy { background: radial-gradient(800px 500px at 80% -20%, #27367c 0%, var(--navy) 60%); }
.section.navy h2 { color: #fff; }
.section.navy .section-head p { color: #b7c0de; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-md);
  border-left: 4px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.industry .icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(117, 71, 255, 0.1); color: var(--violet);
}
.industry .icon svg { width: 23px; height: 23px; }
.industry h3 { font-size: 1.02rem; margin-bottom: 3px; }
.industry p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* ---------- AI band ---------- */
.ai-band { background: linear-gradient(120deg, #ece6ff 0%, #e2f2ff 100%); border-block: 1px solid var(--line); overflow: hidden; }
.ai-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; padding: 96px 0; }
.ai-media img { animation: float 9s ease-in-out infinite; }
.ai-copy h2 { margin-bottom: 18px; }
.ai-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.checklist { list-style: none; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; padding: 9px 0; font-size: 1rem; }
.checklist li svg { width: 21px; height: 21px; color: var(--green); flex: none; margin-top: 3px; }
.checklist li b { font-weight: 700; color: var(--navy); }
.ai-copy .btn { margin-top: 28px; }

/* ---------- Split (DIY) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; display: flex; justify-content: center; }
.split-media img { border-radius: var(--radius); }
.split-copy h2 { margin-bottom: 18px; }
.split-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 34px; box-shadow: var(--shadow-sm); overflow: hidden; position: relative; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad); }
.step .num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Products ---------- */
.product-card h3 { font-size: 1.3rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.contact-form label { display: block; font-weight: 600; font-size: 0.9rem; margin: 16px 0 6px; color: var(--navy); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(117, 71, 255, 0.14); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 22px; }
.form-note { margin-top: 14px; font-size: 0.9rem; text-align: center; color: var(--muted); }
.form-note.ok { color: var(--green); font-weight: 600; }
.form-note.err { color: #cc2b2b; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.contact-cards { display: grid; gap: 18px; }
.contact-cards .card { display: flex; gap: 18px; align-items: center; }
.contact-cards .icon { margin: 0; flex: none; }
.contact-cards h3 { margin-bottom: 2px; font-size: 1.05rem; }
.contact-cards a { font-weight: 700; }
.contact-cards p { font-size: 0.9rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; text-align: center; padding: 92px 24px; overflow: hidden;
  background: radial-gradient(700px 420px at 25% 120%, rgba(5, 186, 242, 0.35), transparent 70%),
              radial-gradient(700px 420px at 75% 120%, rgba(117, 71, 255, 0.4), transparent 70%),
              var(--navy);
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.cta-band p { color: #c3cbe8; font-size: 1.1rem; margin-bottom: 34px; }

/* ---------- Footer ---------- */
footer { background: #10183a; color: #9aa3c4; padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid h4 { font-family: var(--font-head); color: #fff; font-size: 0.98rem; margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #9aa3c4; font-size: 0.95rem; }
.footer-grid a:hover { color: #fff; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 32px; }
.footer-about { font-size: 0.92rem; max-width: 300px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 17px; height: 17px; color: var(--cyan); flex: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: 0.85rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; text-align: center; padding: 78px 24px 68px; overflow: hidden;
  background: linear-gradient(180deg, #eaf1ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 300px at 25% 0%, rgba(5, 186, 242, 0.1), transparent 70%),
    radial-gradient(520px 300px at 75% 0%, rgba(117, 71, 255, 0.1), transparent 70%);
}
.page-hero > * { position: relative; }
.page-hero p { color: var(--muted); max-width: 660px; margin: 14px auto 0; font-size: 1.08rem; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 44px; align-items: start; }
.detail-grid h2 { margin-bottom: 16px; }
.detail-grid .lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.side-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-md); position: sticky; top: 104px; }
.side-card h3 { color: #fff; margin-bottom: 10px; }
.side-card p { color: #b7c0de; font-size: 0.95rem; margin-bottom: 20px; }
.side-card .btn { width: 100%; }
.side-card .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.25); }
.side-card .or { display: block; text-align: center; margin: 12px 0; color: #7d87ac; font-size: 0.85rem; }
.longcopy { max-width: 800px; }
.longcopy p { color: var(--ink); font-size: 1.06rem; margin-bottom: 20px; }

/* ---------- Reveal (JS only) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .topbar-inner { justify-content: center; gap: 18px; }
  .topbar .tagline { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-chips { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .ai-inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cards, .steps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .industries { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .truststrip-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    background: #fff;
    flex-direction: column; gap: 0;
    padding: 14px 22px calc(26px + env(safe-area-inset-bottom));
    border-bottom: 3px solid var(--violet);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 30px 60px rgba(22, 32, 74, 0.25);
    display: flex; visibility: hidden; opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links li { width: 100%; }
  .nav-links li + li { border-top: 1px solid var(--line); }
  .nav-links li:has(.nav-cta) { border-top: 0; }
  .nav-links a { display: block; padding: 16px 6px; font-size: 1.05rem; }
  .nav-links a.active::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-right: 10px; vertical-align: 2px; }
  .nav-links .nav-cta { display: block; width: 100%; margin: 16px 0 0; padding: 16px 28px; text-align: center; font-size: 1.05rem; border-radius: 14px; }
  .nav-burger { display: block; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .footer-grid, .truststrip-inner { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
}
