/* ==========================================================================
   CoreWeb AI — Main stylesheet
   1. Tokens   2. Base   3. Layout & utilities   4. Buttons & badges
   5. Header & nav   6. Hero   7. Sections & cards   8. Pricing
   9. Industries   10. Portfolio   11. About & process   12. Founder
   13. Contact & form   14. CTA band & footer   15. Animations   16. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --blue-600: #1d6fe0;
  --blue-500: #3b82f6;
  --blue-50: #eef5ff;
  --cyan-500: #14b8c4;
  --cyan-50: #e8fafb;
  --purple-500: #6d5df6;
  --purple-50: #f1efff;

  --ink: #0f1f38;
  --text: #475569;
  --muted: #64748b;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --white: #ffffff;
  --wa: #25d366;

  --grad-brand: linear-gradient(135deg, #1d6fe0 0%, #4f6cf0 55%, #6d5df6 100%);
  --grad-accent: linear-gradient(135deg, #1d6fe0 0%, #14b8c4 100%);
  --grad-dark: radial-gradient(1200px 600px at 85% -10%, rgba(109, 93, 246, .28), transparent 60%),
               radial-gradient(900px 500px at -10% 110%, rgba(20, 184, 196, .18), transparent 60%),
               linear-gradient(180deg, #0b2545 0%, #071a33 100%);

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 56, .06), 0 2px 8px rgba(15, 31, 56, .04);
  --shadow: 0 10px 30px -12px rgba(15, 31, 56, .18), 0 4px 10px -6px rgba(15, 31, 56, .08);
  --shadow-lg: 0 30px 60px -24px rgba(11, 37, 69, .35);

  --container: 1200px;
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(29, 111, 224, .45); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.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; }

.ic { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }

/* 3. Layout & utilities ------------------------------------------------------ */
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--grad-dark); color: #c6d3e6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { font-size: 1.075rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: #a9b9d1; }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-accent); }
.section--dark .eyebrow { color: #7cc4ff; }
.text-grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* 4. Buttons & badges --------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 12px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .975rem; letter-spacing: -.005em;
  background: var(--btn-bg); color: #fff; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(11, 37, 69, .5); }
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn--primary { background: var(--grad-brand); box-shadow: 0 8px 20px -10px rgba(29, 111, 224, .7); }
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(79, 108, 240, .7); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: #c9d5e6; }
.btn--outline:hover { color: var(--navy-800); border-color: var(--navy-800); background: var(--surface); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { color: var(--navy-800); }
.btn--ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { box-shadow: 0 12px 24px -10px rgba(37, 211, 102, .65); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; border-radius: 10px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .93rem; }
.link-arrow .ic { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; font-family: var(--font-head); letter-spacing: .01em;
  background: var(--blue-50); color: var(--blue-600);
}
.badge--cyan { background: var(--cyan-50); color: #0b8a93; }
.badge--purple { background: var(--purple-50); color: var(--purple-500); }
.badge--demo { background: #fff7e6; color: #9a6400; border: 1px solid #f6dfae; }

/* 5. Header & nav -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(15, 31, 56, .25); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a:not(.btn) {
  position: relative; display: block; padding: 10px 14px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
}
.nav-menu a:not(.btn):hover { color: var(--blue-600); background: var(--blue-50); }
.nav-menu a[aria-current="page"] { color: var(--blue-600); }
.nav-menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-accent);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--navy-800); transition: transform .3s var(--ease), opacity .2s; }
.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); }
.nav-mobile-cta { display: none; }

/* 6. Hero ------------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(800px 420px at 92% 8%, rgba(109, 93, 246, .12), transparent 65%),
    radial-gradient(700px 400px at 0% 100%, rgba(20, 184, 196, .12), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11, 37, 69, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 37, 69, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--text); max-width: 560px; margin-bottom: 32px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 500; color: var(--ink); }
.hero-points .ic { color: var(--cyan-500); stroke-width: 2.4; width: 1.05em; height: 1.05em; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 22px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 600; color: var(--ink); font-family: var(--font-head);
}
.hero-pill b { padding: 3px 10px; border-radius: 999px; background: var(--grad-accent); color: #fff; font-size: .75rem; font-weight: 700; }

/* Device mockups */
.mockup-stage { position: relative; padding: 20px 0 40px 0; }
.browser {
  position: relative; border-radius: 14px; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 37, 69, .08);
}
.browser-bar { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d4dbe6; }
.browser-dots i:nth-child(1) { background: #ff6b6b; } .browser-dots i:nth-child(2) { background: #ffc145; } .browser-dots i:nth-child(3) { background: #3ccf75; }
.browser-url { flex: 1; max-width: 300px; height: 22px; margin-inline: auto; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-size: .7rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 5px; }
.browser-url .ic { width: 10px; height: 10px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.mockup-stage .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.phone {
  position: absolute; right: -10px; bottom: 0; width: 30%; min-width: 120px;
  padding: 8px; border-radius: 26px; background: #0b2545; box-shadow: var(--shadow-lg);
}
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 30%; height: 5px; border-radius: 4px; transform: translateX(-50%); background: rgba(255, 255, 255, .18); z-index: 2; }
.phone img { width: 100%; aspect-ratio: 9 / 18; object-fit: cover; object-position: 30% top; border-radius: 19px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: var(--surface-glass); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  font-size: .82rem; line-height: 1.3; color: var(--muted); backdrop-filter: blur(8px);
}
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .9rem; }
.float-card .fc-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); }
.float-card .fc-ic.wa { background: var(--wa); }
.float-card--a { left: -28px; top: 46%; }
.float-card--b { right: 18%; top: -6px; }

/* Trust strip */
.trust-strip { position: relative; z-index: 2; margin-top: -40px; }
.trust-strip .grid { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 8px; gap: 0; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .ti-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.trust-item:nth-child(2) .ti-ic { background: var(--cyan-50); color: #0b8a93; }
.trust-item:nth-child(3) .ti-ic { background: var(--purple-50); color: var(--purple-500); }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; line-height: 1.3; margin-bottom: 2px; }
.trust-item span { font-size: .875rem; color: var(--muted); line-height: 1.5; }

/* 7. Sections & cards ------------------------------------------------------------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3deee; }
.card p { font-size: .95rem; color: var(--muted); }
.card-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--blue-50); color: var(--blue-600);
}
.card-ic .ic { width: 24px; height: 24px; }
.card-ic--cyan { background: var(--cyan-50); color: #0b8a93; }
.card-ic--purple { background: var(--purple-50); color: var(--purple-500); }
.card-ic--navy { background: var(--navy-800); color: #fff; }

.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; }

.why-wrap { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.why-wrap .section-head p { margin-bottom: 28px; }

.service-card { display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { flex: 1; }
.service-card .card-list { margin: 4px 0 22px; display: grid; gap: 8px; }
.card-list li { display: flex; gap: 10px; font-size: .9rem; color: var(--text); line-height: 1.5; }
.card-list .ic { color: var(--cyan-500); stroke-width: 2.4; width: 1em; height: 1em; margin-top: .25em; }
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: #c3cfe0; }

.service-mini { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.service-mini .card-ic { margin: 0; width: 46px; height: 46px; flex: none; }
.service-mini h3 { font-size: 1.02rem; margin-bottom: 4px; }
.service-mini p { font-size: .88rem; margin: 0; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  background: var(--grad-dark); color: #b9c8de;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 70% at 70% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 20%, #000, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.2rem); max-width: 820px; }
.page-hero p { font-size: 1.1rem; max-width: 680px; margin: 0; }
.page-hero .eyebrow { color: #7cc4ff; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: #8aa0bf; }
.crumbs a { color: #c6d3e6; }
.crumbs a:hover { color: #fff; }

/* 8. Pricing ------------------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 32px 26px; }
.price-card .pc-num { font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .1em; color: var(--blue-600); margin-bottom: 10px; }
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card .pc-for { font-size: .9rem; color: var(--muted); min-height: 3em; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px dashed var(--line); }
.price b { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.price small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.price-card .card-list { flex: 1; margin-bottom: 28px; gap: 10px; }
.price-card--featured {
  background: linear-gradient(180deg, #0f2d55 0%, #0b2545 100%); border-color: transparent; color: #c6d3e6;
  box-shadow: 0 30px 60px -28px rgba(11, 37, 69, .65); transform: translateY(-10px);
}
.price-card--featured:hover { transform: translateY(-14px); }
.price-card--featured::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: calc(var(--radius) + 1.5px); padding: 1.5px; pointer-events: none;
  background: linear-gradient(160deg, #3b82f6, #14b8c4 40%, #6d5df6);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.price-card--featured h3, .price-card--featured .price b { color: #fff; }
.price-card--featured .pc-num { color: #7cc4ff; }
.price-card--featured .pc-for, .price-card--featured .price small { color: #9fb2cc; }
.price-card--featured .price { border-color: rgba(255, 255, 255, .14); }
.price-card--featured .card-list li { color: #dbe5f3; }
.price-card--featured .card-list .ic { color: #5fd8e0; }
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; background: var(--grad-accent); color: #fff;
  font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 8px 18px -8px rgba(20, 184, 196, .8);
}
.price-note {
  display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 48px auto 0; padding: 20px 24px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: .93rem; color: var(--text);
}
.price-note .ic { color: var(--blue-600); margin-top: 2px; }
.price-note p { margin: 0; }
.price-cta { text-align: center; margin-top: 36px; }
.price-cta p { color: var(--muted); margin-bottom: 18px; }

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 500; color: var(--blue-600); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--muted); font-size: .95rem; }

/* 9. Industries ------------------------------------------------------------------------ */
.industry-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); isolation: isolate; min-height: 300px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); }
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.industry-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 51, 0) 20%, rgba(7, 26, 51, .55) 55%, rgba(7, 26, 51, .94) 100%); }
.industry-card:hover img { transform: scale(1.06); }
.industry-body { padding: 22px; color: #c9d6e8; }
.industry-body h3 { color: #fff; font-size: 1.08rem; margin-bottom: 6px; }
.industry-body p { font-size: .86rem; line-height: 1.55; margin: 0; }
.industry-tag { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }

/* 10. Portfolio ------------------------------------------------------------------------- */
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-media { position: relative; padding: 18px 18px 0; background: linear-gradient(160deg, var(--blue-50), var(--purple-50)); }
.project-media .browser { border-radius: 10px 10px 0 0; box-shadow: 0 -2px 30px -10px rgba(11, 37, 69, .25), 0 0 0 1px rgba(11, 37, 69, .06); }
.project-media .browser-bar { height: 26px; }
.project-media .browser-dots i { width: 8px; height: 8px; }
.project-media .browser-url { height: 16px; font-size: .62rem; max-width: 200px; }
.project-media .browser img { transition: transform 1.2s var(--ease); }
.project-card:hover .project-media .browser img { transform: scale(1.03); }
.project-media .badge--demo { position: absolute; top: 28px; right: 28px; z-index: 2; box-shadow: var(--shadow-sm); }
.project-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.project-body .badge { align-self: flex-start; margin-bottom: 14px; }
.project-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.project-body p { margin-bottom: 18px; }
.project-body .card-list { margin-bottom: 26px; flex: 1; }
.project-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.project-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.project-row + .project-row { margin-top: clamp(64px, 8vw, 110px); }
.project-row:nth-child(even) .project-visual { order: 2; }
.project-visual { position: relative; padding: clamp(18px, 3vw, 36px); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--blue-50), var(--purple-50)); }
.project-visual .badge--demo { position: absolute; top: 14px; left: 14px; z-index: 2; }
.project-info h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.project-info .card-list { grid-template-columns: 1fr 1fr; display: grid; gap: 10px 20px; margin: 22px 0 30px; }
.demo-disclaimer {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius); margin-bottom: clamp(48px, 6vw, 80px);
  background: #fffaf0; border: 1px solid #f6dfae; color: #6b4a00; font-size: .93rem;
}
.demo-disclaimer .ic { color: #b07400; margin-top: 2px; }
.demo-disclaimer p { margin: 0; }

/* 11. About & process -------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-lead { font-size: 1.1rem; color: var(--text); }
.value-list { display: grid; gap: 16px; margin-top: 28px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list .card-ic { width: 42px; height: 42px; margin: 0; border-radius: 12px; flex: none; }
.value-list .card-ic .ic { width: 20px; height: 20px; }
.value-list strong { display: block; color: var(--ink); font-family: var(--font-head); }
.value-list span { font-size: .92rem; color: var(--muted); }
.about-visual { position: relative; }
.about-visual .browser { transform: none; }
.about-visual .code-card {
  position: absolute; left: -24px; bottom: -32px; width: 62%; padding: 18px 20px; border-radius: 14px;
  background: #0b2545; color: #a9bdd9; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .76rem; line-height: 1.75;
  box-shadow: var(--shadow-lg);
}
.code-card .k { color: #7cc4ff; } .code-card .s { color: #5fd8e0; } .code-card .c { color: #6b82a6; } .code-card .p { color: #b8acff; }

.process { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, border-color .3s, transform .35s var(--ease); }
.step:hover { background: rgba(255, 255, 255, .07); border-color: rgba(124, 196, 255, .35); transform: translateY(-4px); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; margin-bottom: 18px;
  background: linear-gradient(135deg, #7cc4ff, #b8acff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { color: #fff; margin-bottom: 8px; }
.step p { margin: 0; font-size: .93rem; color: #a9b9d1; }
.section:not(.section--dark) .step { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.section:not(.section--dark) .step h3 { color: var(--ink); }
.section:not(.section--dark) .step p { color: var(--muted); }
.section:not(.section--dark) .step::before { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; }

/* 12. Founder ------------------------------------------------------------------------------ */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.founder-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.founder-cover { height: 120px; background: var(--grad-dark); position: relative; }
.founder-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px); background-size: 16px 16px; opacity: .35; }
.founder-avatar {
  width: 112px; height: 112px; margin: -56px auto 0; position: relative; z-index: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-brand); color: #fff; border: 5px solid #fff; box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; letter-spacing: -.02em;
}
.founder-id { text-align: center; padding: 18px 26px 26px; }
.founder-id h3 { font-size: 1.45rem; margin-bottom: 4px; }
.founder-id .role { color: var(--blue-600); font-weight: 600; font-family: var(--font-head); font-size: .95rem; margin-bottom: 14px; }
.founder-id .headline { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
.founder-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.founder-facts div { padding: 16px; text-align: center; }
.founder-facts div + div { border-left: 1px solid var(--line); }
.founder-facts b { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); line-height: 1.2; }
.founder-facts span { font-size: .78rem; color: var(--muted); }
.founder-links { display: grid; gap: 10px; padding: 0 26px 26px; }
.btn--linkedin { background: #0a66c2; }
.btn--linkedin:hover { box-shadow: 0 12px 24px -10px rgba(10, 102, 194, .6); }

.founder-intro p { font-size: 1.02rem; }
.founder-intro .quote {
  position: relative; margin: 28px 0 0; padding: 22px 26px; border-radius: var(--radius); background: var(--blue-50);
  border-left: 4px solid var(--blue-600); font-family: var(--font-head); font-weight: 600; color: var(--navy-800); font-size: 1.05rem; line-height: 1.55;
}
.founder-block { margin-top: 48px; }
.founder-block > h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: 22px; }
.founder-block > h3 .card-ic { width: 40px; height: 40px; margin: 0; border-radius: 11px; }
.founder-block > h3 .card-ic .ic { width: 20px; height: 20px; }
.timeline { position: relative; display: grid; gap: 18px; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue-600), var(--purple-500)); opacity: .35; border-radius: 2px; }
.tl-item { position: relative; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--blue-600); }
.tl-item h4 { font-size: 1.05rem; margin-bottom: 2px; }
.tl-item .org { color: var(--blue-600); font-weight: 600; font-size: .93rem; margin-bottom: 0; }
.tl-roles { margin-top: 10px; display: grid; gap: 6px; }
.tl-roles li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .92rem; color: var(--ink); }
.tl-roles li span { color: var(--muted); font-size: .86rem; }
.cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cert-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: .93rem; color: var(--ink); font-weight: 500; }
.cert-list .ic { color: var(--purple-500); }
.skills { display: flex; flex-wrap: wrap; gap: 10px; }
.skills li { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--navy-800); font-family: var(--font-head); transition: border-color .2s, color .2s, background .2s; }
.skills li:hover { border-color: var(--blue-600); color: var(--blue-600); background: var(--blue-50); }

/* 13. Contact & form ----------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-panel { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); background: var(--grad-dark); color: #b9c8de; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.contact-panel h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.contact-list { display: grid; gap: 14px; margin: 28px 0; }
.contact-list a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background .25s, border-color .25s, transform .25s var(--ease); word-break: break-word; }
.contact-list a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(124, 196, 255, .4); transform: translateX(4px); color: #fff; }
.contact-list .cl-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(124, 196, 255, .14); color: #7cc4ff; }
.contact-list small { display: block; font-size: .75rem; color: #8aa0bf; text-transform: uppercase; letter-spacing: .08em; }
.contact-list span { font-weight: 600; font-size: .96rem; }
.contact-areas { font-size: .88rem; color: #9fb2cc; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; margin-top: 28px; }
.contact-areas strong { color: #fff; display: block; margin-bottom: 6px; font-family: var(--font-head); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label .req { color: #d14343; }
.field label .opt { color: var(--muted); font-weight: 500; font-family: var(--font-body); font-size: .8rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 12px; border: 1.5px solid var(--field-line); background: var(--field-bg);
  font-size: .97rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; cursor: pointer;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #9aa8bb; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: var(--surface); box-shadow: 0 0 0 4px rgba(29, 111, 224, .12); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d14343; background: #fffafa; }
.field.is-invalid input:focus, .field.is-invalid select:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(209, 67, 67, .12); }
.field-error { font-size: .8rem; color: #c13030; min-height: 0; display: none; }
.field.is-invalid .field-error { display: block; }
.field-hint { font-size: .78rem; color: var(--muted); }
.phone-input { display: flex; }
.phone-input span { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--field-line); border-right: 0; border-radius: 12px 0 0 12px; background: var(--surface-2); font-weight: 600; font-size: .93rem; color: var(--ink); }
.phone-input input { border-radius: 0 12px 12px 0; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.form-foot { margin-top: 16px; font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.form-foot .ic { color: var(--blue-600); width: 1.05em; height: 1.05em; margin-top: .2em; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: .92rem; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #ecfbf3; border: 1px solid #bfeed3; color: #146c3c; }
.form-status--err { background: #fff4f4; border: 1px solid #f6caca; color: #a02828; }
.form-status a { font-weight: 600; }

/* 14. CTA band & footer --------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); background: var(--grad-dark); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; color: #b9c8de; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(124, 196, 255, .15); box-shadow: 0 0 0 50px rgba(124, 196, 255, .04), 0 0 0 100px rgba(124, 196, 255, .03); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.05rem; max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

.site-footer { background: var(--navy-900); color: #93a6c1; padding: 72px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.footer-tagline { font-family: var(--font-head); color: #fff; font-weight: 700; margin-bottom: 10px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: #93a6c1; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.footer-contact .ic { color: #7cc4ff; margin-top: .2em; width: 1.05em; height: 1.05em; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #c6d3e6; transition: background .25s, color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.social .ic { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float .ic { width: 28px; height: 28px; }
.to-top {
  position: fixed; right: 26px; bottom: 88px; z-index: 89; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--navy-800); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .ic { transform: rotate(-90deg); }

/* 15. Animations -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-card--a { animation: floaty 6s ease-in-out infinite; }
.float-card--b { animation: floaty 7s ease-in-out -2s infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 16. Responsive ------------------------------------------------------------------------- */
@media (max-width: 1140px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card--a { left: -8px; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 16px 24px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(15, 31, 56, .3);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu a:not(.btn) { padding: 14px 16px; font-size: 1.02rem; }
  .nav-menu a[aria-current="page"] { background: var(--blue-50); }
  .nav-menu a[aria-current="page"]::after { display: none; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav-mobile-cta .btn { color: #fff; }
  .hero-grid, .about-grid, .why-wrap, .contact-grid, .project-row { grid-template-columns: 1fr; }
  .why-wrap .section-head { position: static; }
  .project-row:nth-child(even) .project-visual { order: 0; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .mockup-stage { max-width: 680px; margin-inline: auto; width: 100%; }
  .founder { grid-template-columns: 1fr; }
  .founder-card { position: static; max-width: 460px; margin-inline: auto; width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .process { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; }
  .about-visual { max-width: 620px; margin: 0 auto 32px; width: 100%; }
}
@media (max-width: 680px) {
  :root { --header-h: 68px; }
  body { font-size: 15.5px; }
  .brand img { height: 32px; }
  .grid-2, .grid-3, .grid-4, .process, .pricing-grid, .cert-list, .project-info .card-list { grid-template-columns: 1fr; }
  .form-grid, .form-actions { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .hero-actions .btn { width: 100%; }
  .float-card { display: none; }
  .phone { width: 28%; min-width: 92px; right: -4px; padding: 5px; border-radius: 18px; }
  .phone img { border-radius: 13px; }
  .mockup-stage .browser { transform: none; }
  .browser-url { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .industry-card { min-height: 260px; }
  .about-visual .code-card { position: relative; left: auto; bottom: auto; width: auto; margin-top: -20px; margin-inline: 12px; }
  .cta-band .cta-actions .btn { width: 100%; }
  .wa-float { right: 14px; bottom: 14px; }
  .to-top { right: 20px; bottom: 80px; }
  .price-note { flex-direction: column; gap: 8px; }
}

/* Hero entrance (above the fold, no scroll trigger needed) */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-pill, .hero-copy h1, .hero-copy .lead { animation: rise .7s var(--ease) both; }
.hero-copy h1 { animation-delay: .05s; }
.hero-copy .lead { animation-delay: .1s; }
.hero-pill b { white-space: nowrap; }

/* ==========================================================================
   17. Theme tokens (light default + dark mode)
   ========================================================================== */
:root {
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --surface-glass: rgba(255, 255, 255, .95);
  --field-bg: #fbfcfe;
  --field-line: #d6dfeb;
  --header-bg: rgba(255, 255, 255, .82);
  --hero-top: #f7faff;
  --grid-line: rgba(11, 37, 69, .045);
  --strong: var(--navy-800);
  color-scheme: light;
}
html[data-theme="dark"] {
  --ink: #eaf0fa;
  --text: #b6c3d8;
  --muted: #8d9db7;
  --line: #213456;
  --bg: #08121f;
  --bg-soft: #0c1829;
  --surface: #0f1d33;
  --surface-2: #15263f;
  --surface-glass: rgba(15, 29, 51, .94);
  --field-bg: #0b1828;
  --field-line: #26395c;
  --header-bg: rgba(8, 18, 31, .82);
  --hero-top: #0b1729;
  --grid-line: rgba(255, 255, 255, .04);
  --strong: #eaf0fa;
  --blue-50: rgba(59, 130, 246, .14);
  --cyan-50: rgba(20, 184, 196, .14);
  --purple-50: rgba(124, 108, 255, .16);
  --blue-600: #4d8fff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .75);
  color-scheme: dark;
}
html { background: var(--bg); }
body { transition: background-color .3s, color .3s; }
.site-header { background: var(--header-bg); }
.hero {
  background:
    radial-gradient(800px 420px at 92% 8%, rgba(109, 93, 246, .12), transparent 65%),
    radial-gradient(700px 400px at 0% 100%, rgba(20, 184, 196, .12), transparent 60%),
    linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 100%);
}
.hero::before { background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); }
.btn--outline, .btn--outline:hover, .skills li, .to-top, .founder-intro .quote { color: var(--strong); }
.btn--outline:hover { border-color: var(--strong); }
.nav-toggle span { background: var(--strong); }
.tl-item::before { background: var(--surface); }

/* Logo variant per theme (official white logo on dark backgrounds) */
.logo-dark { display: none; }
html[data-theme="dark"] .logo-light { display: none; }
html[data-theme="dark"] .logo-dark { display: block; }

/* Dark-only adjustments */
html[data-theme="dark"] .section--dark,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .cta-band { background: radial-gradient(1200px 600px at 85% -10%, rgba(109, 93, 246, .22), transparent 60%), linear-gradient(180deg, #0d2140 0%, #0a1830 100%); }
html[data-theme="dark"] .cta-band,
html[data-theme="dark"] .contact-panel { border: 1px solid var(--line); }
html[data-theme="dark"] .site-footer { background: #050c16; border-top: 1px solid var(--line); }
html[data-theme="dark"] .btn--outline { border-color: #34496f; }
html[data-theme="dark"] .card:hover { border-color: #2d4570; }
html[data-theme="dark"] .badge--demo { background: rgba(246, 184, 60, .12); color: #f4c46a; border-color: rgba(246, 184, 60, .3); }
html[data-theme="dark"] .project-media .badge--demo,
html[data-theme="dark"] .project-visual .badge--demo { background: #2a2414; }
html[data-theme="dark"] .demo-disclaimer { background: rgba(246, 184, 60, .08); border-color: rgba(246, 184, 60, .25); color: #ecd29b; }
html[data-theme="dark"] .demo-disclaimer .ic { color: #f4c46a; }
html[data-theme="dark"] .form-status--ok { background: rgba(37, 211, 102, .1); border-color: rgba(37, 211, 102, .3); color: #7fe3a8; }
html[data-theme="dark"] .form-status--err { background: rgba(209, 67, 67, .12); border-color: rgba(209, 67, 67, .35); color: #ff9c9c; }
html[data-theme="dark"] .field.is-invalid input,
html[data-theme="dark"] .field.is-invalid select,
html[data-theme="dark"] .field.is-invalid textarea { background: rgba(209, 67, 67, .08); }
html[data-theme="dark"] .field-error { color: #ff8a8a; }
html[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9db7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
html[data-theme="dark"] .price-card--featured { background: linear-gradient(180deg, #16325e 0%, #0f2547 100%); }
html[data-theme="dark"] .browser { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); }
html[data-theme="dark"] .browser-dots i { background: #2a3c5e; }
html[data-theme="dark"] .text-grad { background: linear-gradient(135deg, #5b9bff 0%, #7d8cff 55%, #9d8cff 100%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="dark"] .eyebrow { color: #6fb0ff; }
html[data-theme="dark"] .service-num { color: #2f4469; }
html[data-theme="dark"] .industry-card { box-shadow: none; }
html[data-theme="dark"] .faq details[open] { box-shadow: none; border-color: #2d4570; }
html[data-theme="dark"] .project-media,
html[data-theme="dark"] .project-visual { background: linear-gradient(160deg, rgba(59, 130, 246, .12), rgba(124, 108, 255, .12)); }

/* Theme toggle button */
.theme-toggle {
  position: relative; width: 44px; height: 44px; flex: none; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--strong);
  display: inline-grid; place-items: center; transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.theme-toggle:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-1px); }
.theme-toggle .ic { grid-area: 1 / 1; width: 20px; height: 20px; transition: transform .4s var(--ease), opacity .3s; }
.theme-toggle .ic-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
html[data-theme="dark"] .theme-toggle .ic-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
html[data-theme="dark"] .theme-toggle .ic-sun { opacity: 1; transform: none; }

/* ==========================================================================
   18. Inner page hero — tighter spacing + side panel
   ========================================================================== */
.page-hero { padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 60px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero-panel {
  display: grid; gap: 4px; padding: 10px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.page-hero-panel li { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; transition: background .25s; }
.page-hero-panel li:hover { background: rgba(255, 255, 255, .05); }
.page-hero-panel li + li { border-top: 1px solid rgba(255, 255, 255, .07); }
.ph-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(124, 196, 255, .14); color: #7cc4ff; }
.page-hero-panel strong { display: block; color: #fff; font-family: var(--font-head); font-size: .98rem; line-height: 1.3; }
.page-hero-panel span:not(.ph-ic) { font-size: .85rem; color: #9fb2cc; }

/* ==========================================================================
   19. Pricing tweaks, founder photo, founder teaser, form extras
   ========================================================================== */
.price-card--quote .price b { font-size: 1.9rem; }
.price-card--quote .price small { flex-basis: 100%; }

.founder-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.founder-card:hover .founder-photo img { transform: scale(1.03); }
.founder-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(7, 26, 51, .55)); pointer-events: none; }
.founder-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0b2545;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.founder-badge .ic { width: 14px; height: 14px; color: #1d6fe0; }
.founder-id { padding-top: 22px; }
.founder-contact { display: grid; gap: 10px; padding: 18px 26px; border-top: 1px solid var(--line); font-size: .88rem; }
.founder-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); word-break: break-word; }
.founder-contact .ic { color: var(--blue-600); width: 1.05em; height: 1.05em; margin-top: .2em; }
.founder-contact a { color: var(--ink); }
.founder-contact a:hover { color: var(--blue-600); }
.founder-links { padding-top: 4px; }

.founder-teaser {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.founder-teaser img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.founder-teaser h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.founder-teaser p { margin-bottom: 22px; }
.founder-teaser p strong { color: var(--ink); }
#founder-teaser { padding-block: calc(var(--section-y) * .6); }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.is-loading .ic { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-panel { grid-template-columns: repeat(3, 1fr); }
  .page-hero-panel li + li { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .07); }
  .theme-toggle { width: 46px; height: 46px; }
}
@media (max-width: 680px) {
  .page-hero-panel { grid-template-columns: 1fr; }
  .page-hero-panel li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
  .founder-teaser { grid-template-columns: 1fr; }
  .founder-teaser img { max-width: 200px; }
  .founder-teaser .hero-actions .btn { width: 100%; }
}

.founder-card { position: relative; top: auto; }
html[data-theme="dark"] .page-hero { border-bottom: 1px solid var(--line); }
@media (max-width: 680px) { .page-hero-panel { display: none; } }
