/* ============================================================
   Tathya Technologies — corporate / trustworthy theme
   Navy + professional blue, light surfaces, Inter throughout.
   Static, dependency-free.
   ============================================================ */

:root {
  --navy:      #0b2545;   /* deep navy — hero, headings */
  --navy-2:    #102f57;
  --navy-3:    #16335c;
  --blue:      #2563eb;   /* primary accent */
  --blue-d:    #1d4ed8;
  --blue-l:    #3b82f6;
  --blue-tint: #eef4ff;   /* light blue wash */

  --ink:    #0f1b2d;      /* headings on light */
  --slate:  #33415a;      /* body text */
  --muted:  #64748b;      /* secondary text */
  --line:   #e4e9f2;      /* borders */
  --bg:     #ffffff;
  --bg-soft:#f5f8fd;      /* alt sections */

  --text-d: #dbe6f5;      /* text on navy */
  --muted-d:#9fb3d1;      /* muted on navy */

  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 1px 2px rgba(11,37,69,.05), 0 16px 40px -18px rgba(11,37,69,.20);
  --shadow-sm: 0 1px 2px rgba(11,37,69,.05), 0 6px 18px -12px rgba(11,37,69,.18);
  --maxw:      1140px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-d); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.18; margin: 0; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-inline: auto; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-family: var(--font); border-radius: 8px;
  padding: 11px 20px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; font-size: 15px;
}
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px -8px rgba(37,99,235,.6); }
.btn--primary:hover { background: var(--blue-d); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(37,99,235,.7); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(219,230,245,.4); }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-d); }

/* ---------- Eyebrow ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-d); margin: 0 0 14px; }
.hero .eyebrow { color: #7fb0ff; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: inline-flex; }
.brand__name { font-family: var(--font); font-weight: 800; font-size: 21px; color: var(--navy); letter-spacing: -.02em; }
.brand__name--light { color: #fff; font-size: 18px; }
.brand__tail { color: var(--muted); font-weight: 600; }
@media (max-width: 560px) { .brand__tail { display: none; } }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--slate); font-weight: 500; font-size: 15px; transition: color .15s ease; }
.nav__links a:hover { color: var(--blue-d); }
.nav__links .btn { margin-left: 4px; color: #fff; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
.nav__mobile { display: none; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
.nav__mobile a { color: var(--slate); padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.nav__mobile a:last-child { border-bottom: 0; }

/* ---------- HERO ---------- */
.hero { position: relative; background: linear-gradient(160deg, #0b2545 0%, #102f57 55%, #16335c 100%); color: var(--text-d); padding: 92px 0 60px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 50% at 85% 0%, rgba(59,130,246,.28), transparent 60%),
    radial-gradient(45% 45% at 8% 100%, rgba(37,99,235,.20), transparent 65%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 860px; margin-inline: auto; }
.hero__title { color: #fff; font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 800; margin-bottom: 22px; line-height: 1.08; letter-spacing: -.03em; }
.grad { color: #7fb0ff; }
.hero__lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text-d); max-width: 720px; margin: 0 auto 32px; }
.hero__lede strong { color: #fff; font-weight: 700; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 24px; font-size: 14px; color: var(--muted-d); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.stat { position: relative; z-index: 1; text-align: left; padding: 22px 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(127,176,255,.18); border-radius: var(--radius); }
.stat__num { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat__label { display: block; font-size: 13.5px; color: var(--muted-d); margin-top: 6px; line-height: 1.4; }

/* ---------- STRIP ---------- */
.strip { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-block: 20px; }
.strip__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.strip__items { display: flex; gap: 30px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.strip__items li { color: var(--slate); font-weight: 600; font-size: 15px; }

/* ---------- SECTIONS ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.section__lede { font-size: 1.08rem; color: var(--muted); margin: 16px 0 0; }

/* ---------- 3-up cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard, .wcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.pcard h3, .wcard h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pcard p, .wcard p { color: var(--muted); margin: 0; font-size: 15.5px; }
.wcard { position: relative; }
.wcard__num { font-weight: 800; font-size: 1.3rem; color: var(--blue); display: inline-block; margin-bottom: 10px; padding: 4px 12px; background: var(--blue-tint); border-radius: 8px; letter-spacing: 0; }

/* ---------- VERTICALS / SOLUTIONS ---------- */
.verticals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vert { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.vert:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d8f0; }
.vert__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 11px; color: var(--blue-d); background: var(--blue-tint); margin-bottom: 16px; }
.vert h3 { font-size: 1.18rem; margin-bottom: 8px; }
.vert p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- FEATURES ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--blue); margin-bottom: 15px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- ARCHITECTURE SPLIT ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__text .section__title, .split__text .section__lede { text-align: left; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 30px; color: var(--slate); font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; background: var(--blue); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ticks em { color: var(--blue-d); font-style: italic; }

.diagram { background: var(--navy); border-radius: 16px; padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow); border: 1px solid var(--navy-3); }
.diagram__row { display: grid; grid-auto-flow: column; gap: 10px; }
.diagram__api { text-align: center; font-weight: 700; color: #fff; background: var(--blue); border-radius: 9px; padding: 12px; font-size: 14.5px; letter-spacing: -.01em; }
.node { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--text-d); background: rgba(127,176,255,.08); border: 1px solid rgba(127,176,255,.18); border-radius: 8px; padding: 11px 6px; }
.node--portal { color: #fff; background: rgba(59,130,246,.22); border-color: rgba(59,130,246,.4); }
.node--infra { color: #bcd4f7; background: rgba(127,176,255,.1); border-color: rgba(127,176,255,.22); }
.node--nas { color: var(--muted-d); }

/* ---------- IN PRODUCTION / CAPS ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cap { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); text-align: left; }
.cap__num { display: block; font-weight: 800; font-size: 2.4rem; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.cap__unit { font-size: 1.3rem; color: var(--blue); }
.cap h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.cap p { color: var(--muted); margin: 0; font-size: 14.5px; }
.proof__foot { text-align: center; color: var(--muted); margin-top: 36px; font-size: 15px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(160deg, #0b2545, #16335c); color: var(--text-d); }
.cta__title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.cta__lede { font-size: 1.08rem; color: var(--text-d); margin: 16px 0 0; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; text-align: left; background: rgba(255,255,255,.05); border: 1px solid rgba(127,176,255,.2); border-radius: var(--radius); padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-d); }
.field input, .field textarea { font-family: var(--font); font-size: 15px; padding: 11px 13px; border: 1px solid rgba(127,176,255,.25); border-radius: var(--radius-sm); background: rgba(11,37,69,.45); color: #fff; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7e93b5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-l); box-shadow: 0 0 0 3px rgba(59,130,246,.25); }
.form__hint { font-size: 14px; color: var(--muted-d); margin: 12px 0 0; }
.form__hint a { color: #7fb0ff; }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy); color: var(--muted-d); padding: 56px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(127,176,255,.14); }
.footer__brand { max-width: 340px; }
.footer__brand .brand { margin-bottom: 12px; }
.footer__brand p { font-size: 14.5px; color: var(--muted-d); margin: 0; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__cols h4 { color: #fff; font-size: 13px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.footer__cols a { display: block; color: var(--muted-d); font-size: 14.5px; padding: 5px 0; }
.footer__cols a:hover { color: #fff; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: #6f86a8; }
.footer__base p { margin: 0; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.open { display: flex; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .verticals, .features, .caps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .cta__form { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 28px; }
}
@media (max-width: 460px) {
  .verticals, .features, .caps { grid-template-columns: 1fr; }
}
