/* ===== YU/GROW palette (from logo) ===== */
:root {
  --bg: #050b1a;          /* near-black, like the logo background */
  --bg-2: #081430;
  --navy: #0b2153;        /* logo wordmark navy */
  --navy-2: #12306e;
  --blue: #1a6dff;        /* slash top */
  --orange: #ff6a45;      /* slash bottom */
  --text: #eef2fb;
  --muted: #9aa8c7;
  --line: rgba(154, 168, 199, 0.16);
  --radius: 16px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(64px, 9vw, 112px) 0; }

/* ===== Logo ===== */
.logo {
  display: inline-block; white-space: nowrap; line-height: 1;
  font-family: var(--font-head); font-weight: 900; font-size: 1.55rem;
  letter-spacing: 0.01em; text-decoration: none; color: #fff;
}
.logo-slash {
  /* traced from the logo: rises above cap height, drops below baseline */
  width: .683em; height: .911em; margin: 0 -.02em 0 -.04em;
  vertical-align: -.072em; display: inline-block; flex: none;
}
.logo-sm { font-size: 1.3rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 106, 69, .7); }
.btn-orange:hover { box-shadow: 0 14px 34px -10px rgba(255, 106, 69, .9); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); }
.btn-sm { padding: .65em 1.2em; font-size: .85rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 11, 26, .8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }

/* Language switcher */
.lang { position: relative; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: .5em .8em;
  background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  font: 600 .85rem var(--font-body); cursor: pointer; transition: border-color .2s;
}
.lang-btn:hover, .lang.open .lang-btn { border-color: var(--blue); }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lang-btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.lang.open .chev { transform: rotate(180deg); }
.lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px;
  list-style: none; margin: 0; padding: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8);
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px;
  background: none; border: 0; border-radius: 8px; color: var(--text); font: 500 .95rem var(--font-body); text-align: left; cursor: pointer;
}
.lang-menu button:hover { background: rgba(26, 109, 255, .14); }
.lang-menu button[aria-checked="true"] { color: var(--orange); }
.lang-menu button[aria-checked="true"]::after { content: "✓"; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .9; pointer-events: none;
}
/* keeps the headline readable: darker on the text side, fades into the next section */
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 11, 26, .85) 0%, rgba(5, 11, 26, .55) 45%, rgba(5, 11, 26, .2) 100%),
    linear-gradient(180deg, rgba(5, 11, 26, 0) 60%, var(--bg) 100%);
}
@media (max-width: 980px) {
  .hero-shade { background: linear-gradient(180deg, rgba(5, 11, 26, .6) 0%, rgba(5, 11, 26, .75) 60%, var(--bg) 100%); }
}
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(26, 109, 255, .28), transparent 60%);
  pointer-events: none;
}
.hero-glow::after {
  content: ""; position: absolute; left: -40%; top: 55%; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(255, 106, 69, .16), transparent 65%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .45em 1em; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; color: var(--muted); background: rgba(11, 33, 83, .4);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 69, .2); }
.grad { background: linear-gradient(90deg, var(--blue), #4f8dff 45%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 580px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Dashboard card */
.hero-card {
  background: linear-gradient(160deg, var(--navy), var(--bg-2));
  border: 1px solid var(--line); border-radius: 22px; padding: 24px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(26, 109, 255, .08) inset;
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-title { font-family: var(--font-head); font-weight: 800; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.live .dot { background: #31d07f; box-shadow: 0 0 0 4px rgba(49, 208, 127, .2); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(49, 208, 127, 0); } }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dash-kpis > div { background: rgba(5, 11, 26, .5); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.dash-kpis small { display: block; color: var(--muted); font-size: .72rem; }
.dash-kpis strong { display: block; font-family: var(--font-head); font-size: 1.45rem; font-weight: 900; }
.dash-kpis em { font-style: normal; font-size: .75rem; font-weight: 600; }
.up { color: #31d07f; }
.dash-chart { width: 100%; height: 120px; margin-bottom: 16px; }
.dash-chart .line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2s .3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash-pipeline { display: grid; gap: 8px; }
.dash-pipeline div { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.dash-pipeline b { height: 8px; border-radius: 99px; background: var(--blue); width: var(--w); }
.dash-pipeline b.won { background: var(--orange); }
.dash-note { margin: 14px 0 0; font-size: .75rem; color: var(--muted); opacity: .8; }

/* ===== Trust strip ===== */
.trust { border-block: 1px solid var(--line); padding: 28px 0; background: rgba(8, 20, 48, .5); }
.trust p { text-align: center; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.platforms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.platforms li { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #c7d2ea; opacity: .75; }

/* ===== Stats ===== */
.stats { padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; }
.stat:nth-child(odd) strong { color: var(--blue); }
.stat:nth-child(even) strong { color: var(--orange); }
.stat > span { color: var(--muted); font-size: .95rem; }

/* ===== Shared section bits ===== */
.kicker { font-family: var(--font-head); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 12px; }
.kicker-orange { color: var(--orange); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p:last-child { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.align-center { align-items: center; }
.two-col > div > p { color: var(--muted); }
.panel { background: linear-gradient(160deg, var(--navy), var(--bg-2)); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 32px; }
.panel p { color: var(--muted); }
.text-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.problem { background: var(--bg-2); }

/* ===== Services ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(26, 109, 255, .5); }
.card p { color: var(--muted); font-size: .95rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(26, 109, 255, .14); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--orange); background: rgba(255, 106, 69, .1); border: 1px solid rgba(255, 106, 69, .3); padding: .3em .8em; border-radius: 999px; }

/* ===== AI band ===== */
.ai-band { background: linear-gradient(135deg, var(--navy) 0%, var(--bg-2) 70%); border-block: 1px solid var(--line); }
.ai-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-list li { background: rgba(5, 11, 26, .55); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.ai-list strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.ai-list span { color: var(--muted); font-size: .92rem; }

/* ===== Process ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.steps li::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--orange)); border-radius: 0 0 3px 3px; }
.steps .num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 2.2rem; color: rgba(26, 109, 255, .4); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ===== Results ===== */
.results { background: var(--bg-2); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.case-tag { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.case-num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 3.2rem; line-height: 1; margin-bottom: 12px; color: var(--orange); }
.case:nth-child(2) .case-num { color: var(--blue); }
.case p:last-child { color: var(--muted); margin: 0; }

/* ===== Testimonials ===== */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.stars { color: var(--orange); letter-spacing: 3px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 24px; font-size: 1.05rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--navy-2)); flex: none; }
.quote:nth-child(even) .avatar { background: linear-gradient(135deg, var(--orange), #c4421f); }
.quote small { display: block; color: var(--muted); }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
.faq details[open] { border-color: rgba(26, 109, 255, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-family: var(--font-head); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ===== CTA / Form ===== */
.cta { background: radial-gradient(ellipse at 20% 0%, rgba(26, 109, 255, .22), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(255, 106, 69, .16), transparent 55%), var(--bg-2); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-grid > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list span { width: 64px; color: var(--muted); font-size: .9rem; flex: none; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--orange); }
.form { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.form h3 { font-size: 1.4rem; }
.form label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); font-weight: 500; }
.form input, .form select {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 1rem;
}
.form input:focus, .form select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form-note { margin: 0; text-align: center; font-size: .82rem; color: var(--muted); }
.form-note.ok { color: #31d07f; }

/* ===== Footer ===== */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer .footer-tagline { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.1rem, 2.2vw, 1.5rem); text-transform: uppercase; letter-spacing: .01em; color: #fff; }

/* ===== Thank-you page ===== */
.ty { position: relative; overflow: hidden; min-height: calc(100vh - 72px - 120px); }
.ty-inner { position: relative; text-align: center; max-width: 980px; }
.ty-inner .lead { margin: 0 auto 40px; }
.ty-check { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--orange)); box-shadow: 0 16px 40px -12px rgba(26, 109, 255, .7); }
.ty-check svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.steps-3 { grid-template-columns: repeat(3, 1fr); text-align: left; margin-bottom: 40px; }
.ty-ctas { justify-content: center; }
.ty-page .lang { margin-left: auto; }
@media (max-width: 980px) { .steps-3 { grid-template-columns: 1fr; } }

/* ===== Cookie consent ===== */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 560px; margin-left: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9);
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 260px; margin: 0; font-size: .9rem; color: var(--muted); }
.consent-actions { display: flex; gap: 10px; }
.cookie-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.cookie-link:hover { color: #fff; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dash-chart .line { animation: none; stroke-dashoffset: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid, .two-col, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .cases { grid-template-columns: 1fr 1fr; }
  .steps, .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .lang { margin-left: auto; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .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); }
  .cards, .cases, .quotes, .ai-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .dash-kpis strong { font-size: 1.15rem; }
  .form, .panel, .quote, .case { padding: 24px; }
}
