/* ===== Arventoa — brand stylesheet ===== */
:root {
  --cyan:    #1fc0ef;
  --blue:    #2f6fe0;
  --purple:  #8322c9;
  --orange:  #f57e20;

  --grad:      linear-gradient(120deg, #1fc0ef 0%, #2f6fe0 45%, #8322c9 100%);
  --grad-soft: linear-gradient(120deg, #eaf7fe 0%, #eef3fe 55%, #f4ecfb 100%);

  --bg:      #ffffff;
  --bg-alt:  #f7f8fc;
  --surface: #ffffff;
  --border:  #e6e8f0;
  --text:    #171a2b;
  --muted:   #5b6072;

  --radius:  16px;
  --maxw:    1120px;
  --ease:    cubic-bezier(.22,.61,.36,1);
  --shadow:  0 20px 44px -24px rgba(47,111,224,.34);
}

* { 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.1; 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(--blue); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--blue); 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 27px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  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 -10px rgba(47,111,224,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(131,34,201,.7); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue); box-shadow: 0 14px 34px -14px rgba(15,18,32,.55); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(15,18,32,.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,.86); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(23,26,43,.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: 9px; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--text); }

/* Header text turns white while over the hero (top, not scrolled) */
.site-header:not(.scrolled) .nav a { color: rgba(255,255,255,.85); }
.site-header:not(.scrolled) .nav a:hover { color: #fff; }
.site-header:not(.scrolled) .brand-name { color: #fff; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.site-header:not(.scrolled) .nav .nav-cta { color: #fff; border-color: rgba(255,255,255,.5); }
.site-header:not(.scrolled) .nav .nav-cta:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

.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(--text); border: 1px solid var(--border); padding: 9px 20px; border-radius: 999px; font-weight: 600; }
.nav .nav-cta:hover { border-color: var(--blue); color: var(--blue); }

.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(--text); 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-bleed gradient, oversized type, diagonal ascending arrow ===== */
.hero { position: relative; padding: 200px 0 148px; overflow: hidden; background: var(--grad); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .ascend { width: 100%; height: 100%; }
/* dual radial glows */
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 62% at 84% 6%, rgba(245,126,32,.42), transparent 58%); z-index: 1; pointer-events: none; }
.hero::after  { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 95% 85% at 8% 104%, rgba(31,192,239,.42), transparent 60%); z-index: 1; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; text-align: left; max-width: 960px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 0 0 26px; font-weight: 600; padding: 7px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.08); }
.hero-title { font-size: clamp(2.9rem, 9vw, 6.4rem); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; text-shadow: 0 8px 40px rgba(15,18,32,.28); }
.hero-title .amp { font-weight: 400; opacity: .85; font-size: .82em; padding: 0 .06em; }
.hero .grad { background: linear-gradient(120deg, #bff0ff, #ffd8b8 55%, #f3c9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.24rem); color: rgba(255,255,255,.92); margin: 30px 0 0; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; justify-content: flex-start; margin-top: 42px; flex-wrap: wrap; }

/* ===== Keyword strip / marquee ===== */
.strip { border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; padding: 18px 0; }
.strip-track { display: flex; align-items: center; gap: 28px; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; font-family: "Space Grotesk", sans-serif; font-size: 15px; color: var(--text); font-weight: 600; letter-spacing: .01em; }
.strip-track .dot { color: var(--orange); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ===== Shared section head ===== */
.section { padding: 98px 0; }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: 0 0 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.kicker.center { display: block; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section-head .lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ===== Statement / About ===== */
.statement { padding: 104px 0; position: relative; overflow: hidden; }
.statement::before { content: ""; position: absolute; top: -40%; right: -8%; width: 46%; height: 180%; background: radial-gradient(ellipse at center, rgba(31,192,239,.12), transparent 62%); pointer-events: none; }
.statement-inner { position: relative; max-width: 940px; }
.statement-head { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 780px; margin-bottom: 34px; }
.statement-body { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.statement-body p { color: var(--muted); margin: 0; font-size: 1.06rem; }
.statement-body p:first-child { border-left: 3px solid; border-image: var(--grad) 1; padding-left: 22px; }

/* ===== Showcase — 2x2 pillar grid ===== */
.showcase { padding: 100px 0; background: var(--bg-alt); border-block: 1px solid var(--border); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile {
  position: relative; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); border-radius: 22px; padding: 44px 40px;
  min-height: 250px; display: flex; align-items: flex-end;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.tile::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--grad); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.tile::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: var(--grad-soft); opacity: .0; transition: opacity .4s var(--ease); }
.tile:hover { transform: translateY(-8px); border-color: transparent; box-shadow: var(--shadow); }
.tile:hover::before { transform: scaleY(1); }
.tile:hover::after { opacity: .9; }
.tile-num {
  position: absolute; top: 24px; right: 30px; z-index: 1;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; line-height: 1;
  font-size: clamp(4.4rem, 9vw, 7rem); letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .18; transition: opacity .4s var(--ease);
}
.tile:hover .tile-num { opacity: .34; }
.tile-2 .tile-num, .tile-3 .tile-num { background: linear-gradient(120deg, var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; }
.tile-body { position: relative; z-index: 2; max-width: 460px; }
.tile-body h3 { font-size: 1.5rem; margin-bottom: 12px; }
.tile-body p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ===== Flow — horizontal step timeline ===== */
.flow { padding: 100px 0; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.flow-line { position: absolute; top: 33px; left: 12%; right: 12%; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--blue) 50%, var(--purple)); border-radius: 3px; opacity: .5; z-index: 0; }
.flow-step { position: relative; z-index: 1; text-align: center; padding: 0 14px; }
.flow-node {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.45rem;
  box-shadow: 0 14px 30px -10px rgba(47,111,224,.7); border: 4px solid var(--bg);
}
.flow-step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.flow-step p { color: var(--muted); margin: 0; font-size: .98rem; max-width: 320px; margin-inline: auto; }

/* ===== Metrics band ===== */
.metrics { background: var(--grad); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.metrics::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 120% at 90% 0%, rgba(245,126,32,.3), transparent 60%); pointer-events: none; }
.metrics-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.metric { padding: 4px 22px; border-left: 2px solid rgba(255,255,255,.35); }
.metric strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; margin-bottom: 8px; letter-spacing: -.01em; }
.metric span { color: rgba(255,255,255,.9); font-size: 1rem; }

/* ===== CTA band ===== */
.cta-band { padding: 96px 0; background: #0f1220; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 90% at 15% 0%, rgba(31,192,239,.28), transparent 58%), radial-gradient(ellipse 60% 90% at 90% 100%, rgba(131,34,201,.34), transparent 58%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,.82); font-size: 1.08rem; margin: 0 auto 30px; max-width: 560px; }

/* ===== Contact ===== */
.contact { padding: 98px 0; background: var(--bg-alt); border-top: 1px solid var(--border); }
.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; }
.contact-copy p { color: var(--muted); margin-bottom: 22px; }
.contact-email { display: inline-block; font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; color: var(--blue); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-email:hover { border-bottom-color: var(--cyan); }
.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(--blue); box-shadow: 0 0 0 3px rgba(47,111,224,.15); }
.contact-form .btn { margin-top: 4px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: #0f1220; color: #fff; padding: 54px 0 30px; }
.site-footer .brand-name { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-tag { color: rgba(255,255,255,.72); margin: 14px 0 0; font-size: .95rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.78); font-size: 15px; transition: color .2s; }
.footer-nav a:hover { color: var(--cyan); }
.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 (only when JS active, so content is never hidden without it) ===== */
.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: 168px 0 116px; }
  .statement-body { grid-template-columns: 1fr; gap: 20px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .tile { min-height: 210px; padding: 38px 32px; }
  .contact-inner { grid-template-columns: 1fr; gap: 38px; }
  /* horizontal steps stack vertically */
  .flow-track { grid-template-columns: 1fr; gap: 40px; max-width: 460px; margin: 0 auto; }
  .flow-line { display: none; }
  .metrics-grid { grid-template-columns: 1fr; gap: 24px; }
}
@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(23,26,43,.5); }
  .nav.open { transform: translateY(0); }
  /* Force dark nav text in the open mobile panel even over hero */
  .site-header:not(.scrolled) .nav.open a { color: var(--muted); }
  .site-header:not(.scrolled) .nav.open a:hover { color: var(--text); }
  .site-header:not(.scrolled) .nav.open .nav-cta { color: var(--blue); border-color: var(--border); }
  .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(--blue) !important; color: var(--blue) !important; }
  .hero { padding: 138px 0 88px; }
  .hero-inner { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .statement, .showcase, .flow, .contact, .metrics, .cta-band { padding-block: 68px; }
}
@media (max-width: 480px) {
  .footer-inner { flex-direction: column; }
  .tile { padding: 32px 24px; }
  .tile-body h3 { font-size: 1.3rem; }
  .metric { padding-left: 16px; }
}
