/* Rozpex — AI Agency
   Font: Google Sans (Google Fonts) with Inter/system fallback
   Icons: Hugeicons free icon font (use.hugeicons.com)
   Theme: LIGHT is default. Dark via [data-theme="dark"] on <html>.
   Accent: lime #C8F542 (buttons/tiles) + --accent-ink for text/icons
   (lime is too light for text on white, so light mode uses a deep lime).
*/
:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F7F3;
  --panel: #FFFFFF;
  --panel-2: #F5F7F3;
  --border: #E4E8E0;
  --border-soft: #EDF0EA;
  --text: #101418;
  --muted: #5A6472;
  --muted-2: #8A94A3;
  --accent: #C8F542;
  --accent-ink: #4D7C0F;
  --accent-text: #0A0C10;
  --grad-1: #4D7C0F;
  --grad-2: #0E9F6E;
  --grad-3: #0284C7;
  --ghost-bg: rgba(16, 20, 24, 0.04);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --shadow: 0 30px 80px rgba(16, 20, 24, 0.12);
  --shadow-sm: 0 12px 32px rgba(16, 20, 24, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --font: 'Google Sans', 'Product Sans', Inter, Roboto, -apple-system, 'Segoe UI', sans-serif;
  --max: 1180px;
}
[data-theme="dark"] {
  --bg: #0A0C10;
  --bg-soft: #0E1116;
  --panel: #11141B;
  --panel-2: #161A22;
  --border: #232833;
  --border-soft: #1B2029;
  --text: #F4F3EE;
  --muted: #9AA3B2;
  --muted-2: #6B7382;
  --accent-ink: #C8F542;
  --grad-1: #C8F542;
  --grad-2: #7EE0A3;
  --grad-3: #5EC8F2;
  --ghost-bg: rgba(255, 255, 255, 0.02);
  --nav-bg: rgba(10, 12, 16, 0.72);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 18px 40px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
::selection { background: var(--accent); color: var(--accent-text); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), 92%); margin: 0 auto; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-ink);
  display: flex; align-items: center; gap: 8px;
}
.eyebrow.center { justify-content: center; }
.section-title { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 16px; }
.section-title.center, .section-sub.center { text-align: center; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 640px; }
.section-sub.center { margin: 0 auto; }
.grad {
  background: linear-gradient(92deg, var(--grad-1) 10%, var(--grad-2) 55%, var(--grad-3) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); display: inline-block; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(120, 180, 40, .45); } 55% { box-shadow: 0 0 0 7px rgba(120, 180, 40, 0); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn i { font-size: 18px; line-height: 1; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { transform: translateY(-2px); background: #D6FF5C; }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--ghost-bg); }
.btn-ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px rgba(16, 20, 24, 0.14); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  background: var(--ghost-bg); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; font-size: 20px; transition: border-color .18s ease, transform .18s ease;
}
.theme-toggle:hover { border-color: var(--accent-ink); transform: translateY(-1px); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; font-size: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 110px; overflow: hidden; }
#graphCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 25%, transparent 75%);
  opacity: .55;
}
.hero-glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,245,66,.12), transparent 65%);
  top: -180px; right: -120px; pointer-events: none;
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.orb-1 { width: 420px; height: 420px; background: rgba(200,245,66,.20); top: -120px; right: -80px; animation: drift 12s ease-in-out infinite alternate; }
.orb-2 { width: 360px; height: 360px; background: rgba(94,200,242,.16); bottom: -140px; left: -100px; animation: drift 14s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-30px, 24px) scale(1.08); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; margin: 18px 0 20px; }
.rotator { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.rot-word { display: inline-block; }
.rot-word.anim { animation: wordIn .55s cubic-bezier(.2,.7,.3,1); }
@keyframes wordIn { from { opacity: 0; transform: translateY(65%); } to { opacity: 1; transform: none; } }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin: 30px 0 42px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; }
.hero-stats dt { font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.hero-stats dd { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }

/* Hero live card + floating chips */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .25s ease; will-change: transform;
}
.hero-card-head { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); }
.hero-card-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #FF5F57; } .dot.amber { background: #FEBC2E; } .dot.green { background: #28C840; }
.hero-card-title { margin-left: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.live-badge { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--accent-ink); display: flex; align-items: center; gap: 6px; }
.hero-card-body { padding: 22px; }
.metric-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.metric-value { font-size: 42px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.mini-chart { margin: 8px 0 18px; }
.mini-chart svg { width: 100%; height: 90px; }
.chart-line { fill: none; stroke: var(--accent-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 2.4s ease forwards .4s; }
#chartFill stop { stop-color: var(--accent-ink); }
.chart-area { fill: url(#chartFill); opacity: 0; animation: fadein 1s ease forwards 1.4s; }
.chart-dot { fill: var(--accent-ink); animation: pulse 1.8s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.system-rows { list-style: none; display: grid; gap: 10px; }
.system-rows li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.system-rows li span { color: var(--muted); font-weight: 400; margin-left: auto; font-size: 13px; }
.system-rows i { font-size: 19px; }
.ok { color: var(--accent-ink); }
.float-chip {
  position: absolute; display: flex; gap: 10px; align-items: center; z-index: 2;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow-sm);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip i { font-size: 22px; color: var(--accent-ink); flex: none; }
.float-chip strong { display: block; font-size: 13.5px; line-height: 1.3; }
.float-chip span { font-size: 12px; color: var(--muted); }
.chip-1 { top: -18px; left: -24px; }
.chip-2 { bottom: -16px; right: -12px; animation-delay: 2.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.scroll-cue i { font-size: 18px; color: var(--accent-ink); animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 18px 0; overflow: hidden; background: var(--bg-soft); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee-track i { color: var(--accent-ink); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-text); font-size: 26px; margin-bottom: 20px;
}
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.card ul { list-style: none; display: grid; gap: 7px; }
.card ul li { font-size: 14px; color: var(--text); display: flex; gap: 8px; align-items: baseline; }
.card ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ink); flex: none; transform: translateY(-1px); }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.product {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; display: block; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-5px); border-color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.product-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--accent-text); font-size: 26px; margin-bottom: 20px; }
.product h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.product p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.product-link { color: var(--accent-ink); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.product-link i { font-size: 16px; }

/* ---------- Process ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.step { position: relative; padding: 26px 22px; border: 1px solid var(--border-soft); border-radius: var(--radius); background: var(--panel); transition: transform .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-4px); border-color: var(--accent-ink); }
.step-num { position: absolute; top: 20px; right: 22px; font-size: 13px; font-weight: 700; color: var(--muted-2); letter-spacing: .1em; }
.step-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-text); font-size: 24px; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Results ---------- */
.results-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.outcome-list { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.outcome-list li { display: flex; gap: 12px; align-items: flex-start; }
.outcome-list i { font-size: 22px; flex: none; margin-top: 2px; }
.outcome-list strong { display: block; font-size: 16px; }
.outcome-list div span { color: var(--muted); font-size: 14.5px; }
.results-chart { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.chart-legend { color: var(--muted); font-weight: 400; font-size: 13px; display: flex; align-items: center; gap: 7px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--accent-ink); display: inline-block; }
.growth-chart { width: 100%; height: auto; }
.grid-lines line { stroke: var(--border); }
.growth-line { fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.growth-area { fill: var(--accent-ink); opacity: 0; transition: opacity 1s ease .8s; }
.growth-dots circle { fill: var(--accent-ink); opacity: 0; transition: opacity .4s ease; }
.growth-chart.in-view .growth-line { animation: draw 2.2s ease forwards .2s; }
.growth-chart.in-view .growth-area { opacity: .08; }
.growth-chart.in-view .growth-dots circle { opacity: 1; }
.growth-chart.in-view .growth-dots circle:nth-child(1) { transition-delay: .5s; }
.growth-chart.in-view .growth-dots circle:nth-child(2) { transition-delay: 1s; }
.growth-chart.in-view .growth-dots circle:nth-child(3) { transition-delay: 1.4s; }
.growth-chart.in-view .growth-dots circle:nth-child(4) { transition-delay: 1.8s; }
.growth-chart.in-view .growth-dots circle:nth-child(5) { transition-delay: 2.2s; }
.pulse-dot-svg { animation: svg-pulse 1.8s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes svg-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.chart-labels { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 12.5px; margin-top: 8px; }
.chart-note { color: var(--muted-2); font-size: 12.5px; margin-top: 12px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; align-items: stretch; }
.price-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--accent-ink); background: linear-gradient(170deg, rgba(200,245,66,.10), var(--panel) 55%); }
[data-theme="dark"] .price-card.featured { background: linear-gradient(170deg, rgba(200,245,66,.08), var(--panel) 55%); }
.featured-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-text); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.price-card h3 i { color: var(--accent-ink); font-size: 22px; }
.price { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 14px 0 6px; }
.price .currency { font-size: 22px; vertical-align: top; margin-right: 2px; }
.price .period { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.price-card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.price-card ul li { display: flex; gap: 9px; align-items: center; font-size: 14.5px; }
.price-card ul li i { color: var(--accent-ink); font-size: 17px; flex: none; }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-list { margin-top: 44px; display: grid; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; color: var(--text); font-family: var(--font);
  font-size: 16.5px; font-weight: 600; text-align: left; padding: 20px 22px; cursor: pointer;
}
.faq-q i { color: var(--accent-ink); font-size: 20px; flex: none; transition: transform .25s ease; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-points { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.contact-points li { display: flex; gap: 11px; align-items: center; font-size: 15.5px; font-weight: 500; }
.contact-points i { color: var(--accent-ink); font-size: 20px; }
.contact-form { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; display: grid; gap: 16px; box-shadow: var(--shadow-sm); }
.contact-form label { font-size: 14px; font-weight: 600; display: grid; gap: 7px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: var(--font); font-size: 15px; padding: 12px 14px; outline: none;
  transition: border-color .18s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent-ink); }
.contact-form select { appearance: none; }
.contact-form textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 14px; color: var(--accent-ink); min-height: 20px; }
.form-note.error { color: #D92D20; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); background: var(--bg-soft); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 300px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; transition: color .18s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border-soft); padding: 20px 0; display: flex; justify-content: space-between;
  color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; gap: 8px;
}
.footer-bottom span { display: inline-flex; align-items: center; gap: 7px; }
.footer-bottom i { color: var(--accent-ink); font-size: 16px; }

/* ---------- Sub-pages: hero, projects, case studies, legal ---------- */
.page-hero { padding: 158px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 16px; max-width: 760px; }
.page-hero .section-sub { max-width: 680px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: color .18s; }
.back-link:hover { color: var(--accent-ink); }
.back-link i { font-size: 17px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
.meta-row div { display: grid; gap: 2px; }
.meta-row dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
.meta-row dd { font-size: 15.5px; font-weight: 600; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.project-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-5px); border-color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.project-card h3 { font-size: 20px; font-weight: 700; margin: 16px 0 8px; }
.project-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.project-tags span { font-size: 12px; font-weight: 600; border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; color: var(--muted); }
.project-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border-soft); font-size: 13.5px; color: var(--muted-2); }
.project-foot a { color: var(--accent-ink); font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.project-foot a i { font-size: 15px; }
.cs-block { max-width: 780px; margin: 0 auto; }
.cs-block h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.cs-block p { color: var(--muted); font-size: 16.5px; margin-bottom: 14px; }
.cs-block p strong { color: var(--text); }
.cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 8px; }
.cs-stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.cs-stat b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.cs-stat span { font-size: 13.5px; color: var(--muted); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stack span { border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 500; background: var(--panel); }
.cta-band {
  background: linear-gradient(120deg, #C8F542, #5EC8F2); color: #0A0C10;
  border-radius: 24px; padding: 56px 40px; text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-band p { color: rgba(10, 12, 16, 0.72); max-width: 520px; margin: 0 auto 26px; font-size: 16.5px; }
.cta-band .btn { background: #0A0C10; color: #fff; }
.cta-band .btn:hover { background: #1B2029; }
.legal { max-width: 780px; margin: 0 auto; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin-top: 6px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 7px; margin: 10px 0 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .services-grid, .products-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .cs-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--border-soft); padding: 8px 4%;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--border-soft); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-actions .btn { display: none; }
  .hero { padding: 128px 0 84px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .float-chip { display: none; }
  .services-grid, .products-grid, .projects-grid, .steps-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 24px 18px; }
  .cta-band { padding: 40px 22px; }
  .cs-stats { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .hero h1 { font-size: 42px; }
  .hero-sub { font-size: 16.5px; }
  .metric-value { font-size: 34px; }
  .price { font-size: 38px; }
  .brand-name { font-size: 19px; }
  .page-hero { padding: 132px 0 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
