/* ===== Tech Verses — brand stylesheet ===== */
:root {
  --blue:    #2f80c4;
  --teal:    #17a89b;
  --green:   #5cb85c;
  --ink:     #14233a;
  --text:    #1b2b40;
  --muted:   #5c6b7e;
  --bg:      #ffffff;
  --bg-alt:  #f4f9fa;
  --surface: #ffffff;
  --border:  #e2ecef;

  --grad:      linear-gradient(120deg, #2f80c4 0%, #17a89b 55%, #5cb85c 100%);
  --grad-soft: linear-gradient(120deg, #eef6fb 0%, #eef8f5 55%, #f0f8ee 100%);

  --radius:  18px;
  --maxw:    1120px;
  --ease:    cubic-bezier(.22,.61,.36,1);
  --shadow:  0 18px 42px -24px rgba(20,35,58,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

h1, h2, h3, .brand-name {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em; line-height: 1.12; margin: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { color: var(--teal); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -12px rgba(23,168,155,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(23,168,155,.85); }
.btn-outline { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -14px rgba(20,35,58,.5); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(20,35,58,.6); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(20,35,58,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { border-radius: 8px; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--ink); border: 1px solid var(--border); padding: 9px 20px; border-radius: 999px; }
.nav .nav-cta:hover { border-color: var(--teal); color: var(--teal); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero: full-width centered + waveform backdrop ===== */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 170px 0 120px; background: var(--grad-soft); border-bottom: 1px solid var(--border);
}
.hero-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; }
.hero-wave .wave { stroke-width: 2.2; }
.hero-wave .wave-1 { opacity: .9; }
.hero-wave .wave-2 { opacity: .55; }
.hero-wave .wave-3 { opacity: .35; }
.hero-wave .wave-4 { opacity: .25; }
.js .hero-wave .wave-1 { animation: waveShift 9s ease-in-out infinite; }
.js .hero-wave .wave-2 { animation: waveShift 11s ease-in-out infinite reverse; }
.js .hero-wave .wave-3 { animation: waveShift 13s ease-in-out infinite; }
.js .hero-wave .wave-4 { animation: waveShift 15s ease-in-out infinite reverse; }
@keyframes waveShift {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-40px) scaleY(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-wave .wave { animation: none; }
}

.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 0 0 20px; font-weight: 700; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; color: var(--ink); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); margin: 26px auto 0; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

/* ===== Marquee strip ===== */
.strip { border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; padding: 18px 0; }
.strip-track { display: flex; align-items: center; gap: 26px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; font-family: "Space Grotesk", sans-serif; font-size: 15px; color: var(--ink); font-weight: 500; }
.strip-track .dot { color: var(--teal); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin: 0 0 14px; }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); color: var(--ink); }
.section-head .lead { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }

/* ===== Bento grid ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento-tile {
  position: relative; overflow: hidden; padding: 30px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.bento-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.bento-tile:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 26px 50px -26px rgba(20,35,58,.4); }
.bento-tile:hover::before { transform: scaleX(1); }
/* mixed sizes */
.tile-ai   { grid-column: span 2; }
.tile-dx   { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 6px 26px; align-items: start; }
.tile-dx .tile-icon { grid-row: span 2; }
.tile-dx h3 { align-self: center; }

.tile-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--teal); }
.tile-icon svg { width: 27px; height: 27px; }
.bento-tile h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--ink); }
.bento-tile p { color: var(--muted); margin: 0; font-size: .98rem; }
.tile-dx p { grid-column: 2; }
.tile-cloud .tile-icon { color: var(--blue); }
.tile-data .tile-icon { color: var(--teal); }
.tile-cyber .tile-icon { color: var(--green); }
.tile-dx .tile-icon { color: var(--blue); }

/* ===== Horizontal step flow ===== */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.flow::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: var(--grad); opacity: .4; z-index: 0; }
.flow-step { position: relative; z-index: 1; text-align: center; padding: 0 16px; }
.flow-node {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 1.25rem; color: #fff; background: var(--grad);
  box-shadow: 0 14px 30px -14px rgba(23,168,155,.7); border: 4px solid var(--bg-alt);
}
.flow-step h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--ink); }
.flow-step p { color: var(--muted); margin: 0; font-size: .98rem; max-width: 300px; margin-inline: auto; }

/* ===== Belief ===== */
.belief-section { text-align: center; }
.belief { margin: 0 auto; max-width: 880px; }
.belief blockquote { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.32; letter-spacing: -.02em; color: var(--ink); margin: 6px 0 22px; }
.belief blockquote .grad { display: block; margin-bottom: 6px; }
.belief figcaption { font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item.open { border-color: var(--teal); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left; padding: 20px 22px;
  font-family: "Space Grotesk", sans-serif; font-size: 1.06rem; font-weight: 600; color: var(--ink);
}
.faq-q:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 18px; height: 2px; background: var(--teal); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon::after { transform: rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: .98rem; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }

/* ===== CTA band ===== */
.cta-band { background: var(--grad); color: #fff; padding: 84px 0; }
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.cta-inner h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); color: #fff; max-width: 780px; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; color: var(--ink); }
.contact-copy p { color: var(--muted); margin-bottom: 22px; }
.contact-email { display: inline-block; font-family: "Space Grotesk", sans-serif; font-size: 1.2rem; color: var(--blue); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-email:hover { border-bottom-color: var(--teal); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: 12px 14px; font: inherit; font-size: 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,168,155,.15); }
.contact-form .btn { margin-top: 4px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--ink); color: #fff; padding: 0 0 30px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name .accent { color: var(--green); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding: 48px 0 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-tag { color: rgba(255,255,255,.7); margin: 14px 0 0; font-size: .95rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: 15px; transition: color .2s; }
.footer-nav a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: rgba(255,255,255,.6); font-size: 14px; padding-top: 22px; }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { padding: 148px 0 96px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-ai { grid-column: span 2; }
  .tile-dx { grid-column: span 2; }
  .flow { grid-template-columns: 1fr; gap: 36px; }
  .flow::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 4px; align-items: stretch; background: rgba(255,255,255,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: 90; box-shadow: 0 12px 30px -18px rgba(20,35,58,.5); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border: 1px solid var(--teal) !important; color: var(--teal) !important; }
  .section { padding: 72px 0; }
  .cta-band { padding: 64px 0; }
}
@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .tile-ai, .tile-dx { grid-column: span 1; }
  .tile-dx { grid-template-columns: 1fr; }
  .tile-dx .tile-icon { grid-row: auto; }
  .tile-dx p { grid-column: 1; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; }
}
