/* =========================================================
   Excura IT — Website V1
   Design system + components. Vanilla CSS, no frameworks.
   Brand: dark navy base, electric blue + cyan accents.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (sampled from logo + brand assets) */
  --navy-950: #04060f;   /* page background */
  --navy-900: #06091a;   /* deep sections */
  --navy-800: #0a1024;   /* cards */
  --navy-700: #111a35;   /* card hover / borders */
  --navy-600: #1b2545;

  --blue-500: #0274f8;   /* primary accent */
  --blue-400: #2b8bff;
  --cyan-400: #3ce6ff;   /* bright accent */
  --cyan-300: #74efff;

  --ink-100: #f3f7ff;    /* headings */
  --ink-300: #c4cee0;    /* body */
  --ink-400: #9aa8c4;    /* muted */
  --ink-500: #6b7896;    /* faint */

  --line: rgba(120, 160, 230, 0.14);
  --line-strong: rgba(120, 170, 255, 0.30);

  --grad-accent: linear-gradient(135deg, #0274f8 0%, #3ce6ff 100%);
  --grad-hero: radial-gradient(1100px 520px at 50% -10%, rgba(10,90,210,0.45), transparent 60%),
               radial-gradient(700px 400px at 85% 20%, rgba(60,230,255,0.12), transparent 60%);

  --shadow-card: 0 10px 30px -12px rgba(0, 8, 30, 0.7);
  --shadow-glow: 0 8px 28px -8px rgba(2, 116, 248, 0.55);

  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1140px;

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

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--ink-300);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-300); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--cyan-400); }
h1, h2, h3, h4 { color: var(--ink-100); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section-alt { background: var(--navy-900); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan-400); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-300); max-width: 60ch; }
.section-head { max-width: 70ch; margin: 0 auto 48px; }
.section-head.center { text-align: center; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--grad-accent); color: #02122b; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px); color: #02122b; filter: brightness(1.06); }
.btn--ghost { background: rgba(255,255,255,0.03); color: var(--ink-100); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--cyan-400); color: var(--ink-100); background: rgba(60,230,255,0.06); }
.btn--small { padding: 10px 20px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(4, 6, 15, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(4,6,15,0.92); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__cta-mobile { display: none; }
.nav__links a {
  color: var(--ink-300); font-weight: 500; font-size: .98rem;
  padding: 9px 14px; border-radius: 9px;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink-100); background: rgba(255,255,255,0.05); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink-100);
  margin: 0 auto; position: relative; transition: .3s var(--ease);
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 84px; background: var(--grad-hero); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,160,230,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,230,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 1.2rem; color: var(--ink-300); max-width: 58ch; margin: 0 auto 30px; }
.hero .btn-row { justify-content: center; margin-bottom: 30px; }

/* ---------- Trust bar ---------- */
.trustbar {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center;
  list-style: none; font-size: .92rem; color: var(--ink-400);
}
.trustbar li { display: flex; align-items: center; gap: 9px; }
.trustbar li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 10px var(--cyan-400); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-400); margin: 0; font-size: .98rem; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; background: rgba(2,116,248,0.12);
  border: 1px solid var(--line-strong);
}
.card__icon svg { width: 24px; height: 24px; stroke: var(--cyan-400); fill: none; stroke-width: 1.8; }

/* Industry tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tile h3 { font-size: 1.08rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.tile h3 svg { width: 22px; height: 22px; stroke: var(--cyan-400); fill: none; stroke-width: 1.8; flex: none; }
.tile p { font-size: .92rem; color: var(--ink-400); margin: 0 0 8px; }
.tile .tile__services { font-size: .85rem; color: var(--ink-500); margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 24px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-800); }
.stat__num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat__label { font-size: .9rem; color: var(--ink-400); margin-top: 10px; }

/* Steps / how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-800); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font-weight: 800; color: #02122b; background: var(--grad-accent); margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-400); font-size: .96rem; }

/* Two-column "why us" */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--navy-800); }
.panel--pos { border-color: var(--line-strong); }
.panel h3 { margin-bottom: 18px; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .98rem; color: var(--ink-300); }
.checklist li b { color: var(--ink-100); font-weight: 600; }
.checklist .ic { width: 22px; height: 22px; margin-top: 2px; }
.checklist .ic svg { width: 22px; height: 22px; stroke-width: 2; fill: none; }
.checklist--pos .ic svg { stroke: var(--cyan-400); }
.checklist--neg .ic svg { stroke: var(--ink-500); }

/* Logo / platform row */
.platforms { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.platforms span {
  font-size: .92rem; color: var(--ink-300); padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--navy-800);
}

/* Accordion (services) */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--navy-800); }
.accordion + .accordion { margin-top: 14px; }
.accordion__btn {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  color: var(--ink-100); font-size: 1.12rem; font-weight: 600; font-family: inherit;
  padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.accordion__btn:hover { color: var(--cyan-300); }
.accordion__btn .chev { width: 22px; height: 22px; flex: none; transition: transform .3s var(--ease); stroke: var(--cyan-400); fill: none; stroke-width: 2; }
.accordion__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion__panel-inner { padding: 0 24px 24px; color: var(--ink-400); }
.accordion__panel-inner .pain { color: var(--cyan-300); font-size: .9rem; margin-top: 12px; font-style: italic; }

/* FAQ */
.faq dt { font-weight: 600; color: var(--ink-100); margin-top: 22px; font-size: 1.05rem; }
.faq dd { margin: 8px 0 0; color: var(--ink-400); }

/* Engagement model columns */
.models { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.model { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--navy-800); }
.model h3 { margin-bottom: 14px; }
.model dl { margin: 0; display: grid; gap: 10px; }
.model dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); }
.model dd { margin: 0 0 6px; color: var(--ink-300); font-size: .96rem; }

/* About / founder */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: center; }
.founder__photo {
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  aspect-ratio: 1; background: var(--navy-800); display: grid; place-items: center;
  color: var(--ink-500); text-align: center; font-size: .85rem; padding: 20px;
}
.media-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.media-feature img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-card); }

/* CTA band */
.cta-band { text-align: center; background: var(--grad-hero), var(--navy-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band h2 { max-width: 22ch; margin: 0 auto 14px; }
.cta-band p { max-width: 52ch; margin: 0 auto 26px; color: var(--ink-300); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink-100); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink-100);
  background: var(--navy-900); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan-400); outline: none; }
.contact-info { display: grid; gap: 18px; }
.contact-info .row { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.contact-info .row svg { width: 22px; height: 22px; stroke: var(--cyan-400); fill: none; stroke-width: 1.8; margin-top: 2px; }
.contact-info .row b { color: var(--ink-100); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--ink-400); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer img { height: 40px; margin-bottom: 16px; }
.site-footer h4 { color: var(--ink-100); font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer ul a { color: var(--ink-400); font-size: .96rem; }
.site-footer ul a:hover { color: var(--cyan-300); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .88rem; color: var(--ink-500); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .tiles, .steps, .models { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .media-feature { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder__photo { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--navy-900); border-bottom: 1px solid var(--line); padding: 14px 20px 22px;
    gap: 4px; transform: translateY(-130%); transition: transform .35s var(--ease); z-index: 90;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px; font-size: 1.05rem; }
  .nav__links .nav__cta-mobile { display: block; margin-top: 8px; }
  .nav__right .btn { display: none; } /* CTA moves into menu on mobile */
  .section { padding: 60px 0; }
  body { font-size: 16px; }
}
@media (max-width: 540px) {
  .grid--3, .grid--2, .tiles, .steps, .models, .stats { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .container { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn, .card, .tile, .step { transition: none; }
}
