/* ==========================================================================
   wecu.online — landing page
   Accent is set per locale on <html data-locale> (violet EN / lime CZ).
   ========================================================================== */

:root {
  --acc: #7C4DFF;
  --acc-glow: rgba(124, 77, 255, 0.22);
  --cta-panel: linear-gradient(150deg, #16121F, #0E0E10 60%);
  --cta-border: #221C2E;
  --featured-panel: linear-gradient(170deg, #17131F, #101012);

  --bg: #0A0A0B;
  --fg: #F4F4F1;
  --body: #B6B6B1;
  --muted: #91918C;
  --dim: #6E6E69;
  --faint: #2E2E34;
  --line: #1D1D20;
  --line-2: #26262A;
  --line-3: #2A2A2E;
  --line-4: #34343A;
  --surface: #101012;
  --card: linear-gradient(160deg, #131316, #0D0D0F);

  --display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --sans: Manrope, Helvetica, Arial, sans-serif;
}

html[data-locale="cs"] {
  --acc: #C9FF48;
  --acc-glow: rgba(201, 255, 72, 0.22);
  --cta-panel: linear-gradient(150deg, #15170E, #0E0E10 60%);
  --cta-border: #23241C;
  --featured-panel: linear-gradient(170deg, #16180F, #101012);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* the hero glow bleeds past the right edge on purpose — clip it without
     turning html/body into a scroll container, which would kill sticky nav */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--acc); text-decoration: none; }
a:hover { color: #FFFFFF; }
::selection { background: var(--acc); color: var(--bg); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
input, textarea, button { font: inherit; }
img, svg { max-width: 100%; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.section { padding-top: 110px; }
.section--tight { padding-top: 96px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- headings */
.h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1;
  letter-spacing: -0.035em; margin: 0;
}
.section-head {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: 44px;
}
.section-sub { margin: 0; color: var(--muted); max-width: 420px; font-size: 17px; line-height: 1.6; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-block; border-radius: 999px; font-weight: 700;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease, color .25s ease;
}
.btn--accent { background: var(--acc); color: var(--bg); }
.btn--accent:hover { background: var(--fg); color: var(--bg); }
.btn--outline { border: 1px solid var(--line-4); color: var(--fg); font-weight: 600; }
.btn--outline:hover { border-color: var(--fg); color: var(--fg); }
.btn--sm { font-size: 15px; padding: 12px 22px; }
.btn--lg { font-size: 17px; padding: 18px 30px; }
.btn--lg.btn--accent:hover { transform: translateY(-2px); }
.btn--block { display: block; text-align: center; padding: 15px; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 16px 22px;
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 2px;
  font-family: var(--display); font-weight: 700; font-size: 21px;
  letter-spacing: -0.02em; color: var(--fg);
}
.logo:hover { color: var(--fg); }
.logo-eye {
  width: 0.66em; height: 0.66em; border-radius: 50%; background: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
  animation: wcBlink 5.5s infinite; margin: 0 1px;
}
.logo-pupil {
  width: 0.28em; height: 0.28em; border-radius: 50%; background: var(--bg);
  animation: wcPupil 4s ease-in-out infinite;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { color: #A9A9A4; }
.nav-links a:hover { color: var(--fg); }
.lang {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-3); border-radius: 999px; padding: 7px 12px;
  color: #A9A9A4; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  transition: border-color .25s ease, color .25s ease;
}
.lang:hover { border-color: var(--fg); color: var(--fg); }
.flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; display: block; flex-shrink: 0; }
.flag--cz { position: relative; background: linear-gradient(to bottom, #FFFFFF 0 50%, #D7141A 50% 100%); }
.flag--cz::before {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 0;
  border-style: solid; border-width: 7.5px 0 7.5px 11px;
  border-color: transparent transparent transparent #11457E;
}
.burger {
  display: none; background: transparent; border: 1px solid var(--line-3);
  border-radius: 12px; color: var(--fg); padding: 10px 12px; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--fg); margin: 3px 0; }
.mobile-menu {
  border-top: 1px solid var(--line); padding: 18px 22px 26px;
  display: grid; gap: 18px; font-size: 19px; font-weight: 600;
  animation: wcFade .2s both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { color: var(--fg); }
.mobile-menu .mobile-menu__alt { color: #A9A9A4; }
.mobile-menu .btn { padding: 14px; text-align: center; }

@media (max-width: 880px) {
  .nav { display: none; }
  .burger { display: block; }
}

/* --------------------------------------------------------------- hero */
.hero { position: relative; max-width: 1240px; margin: 0 auto; padding: 96px 22px 72px; }
.hero-glow {
  position: absolute; top: -120px; right: -80px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, var(--acc-glow), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #A9A9A4; font-weight: 700;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc);
}
.hero-title {
  position: relative; font-family: var(--display); font-weight: 700;
  font-size: clamp(52px, 12vw, 168px); line-height: 0.88; letter-spacing: -0.045em;
  margin: 26px 0 0; text-transform: uppercase; text-wrap: balance;
}
.hero-title span.line { display: block; animation: wcRise .6s both; }
.hero-title span.line:nth-child(1) { animation-delay: .05s; }
.hero-title span.line:nth-child(2) { animation-delay: .31s; }
.hero-title span.line:nth-child(3) { animation-delay: .44s; }
.acc { color: var(--acc); }
.hero-foot {
  display: flex; flex-wrap: wrap; gap: 40px;
  align-items: flex-end; justify-content: space-between; margin-top: 44px;
}
.lead {
  max-width: 560px; margin: 0; color: var(--body);
  font-size: clamp(17px, 2.2vw, 21px); line-height: 1.55;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------- ticker */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 16px 0;
}
.ticker-track {
  display: flex; width: max-content; animation: wcTicker 26s linear infinite;
  font-family: var(--display); font-size: 15px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--dim);
}
.ticker-track span { padding-right: 34px; }
.ticker-track .sep { color: var(--acc); }

/* --------------------------------------------------------------- grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.grid-work { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }

/* --------------------------------------------------------------- problem */
.problem-title { margin-bottom: 48px; max-width: 780px; }
.quote-card { border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; background: var(--surface); }
.quote-card__num { font-family: var(--display); font-size: 15px; color: var(--acc); font-weight: 700; margin-bottom: 18px; }
.quote-card__quote {
  font-family: var(--display); font-size: 23px; line-height: 1.25;
  margin: 0 0 12px; letter-spacing: -0.02em;
}
.quote-card p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* --------------------------------------------------------------- pillars */
.pillar {
  border: 1px solid var(--line); border-radius: 26px; padding: 38px 32px;
  background: var(--card); transition: transform .25s ease, border-color .25s ease;
}
.pillar:hover { transform: translateY(-6px); border-color: #3A3A40; }
.pillar__title {
  font-family: var(--display); font-size: clamp(30px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px;
}
.pillar p { margin: 0 0 20px; color: var(--body); font-size: 17px; line-height: 1.65; }
.tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--acc);
  border: 1px solid var(--line-3); border-radius: 999px; padding: 7px 14px;
}

/* --------------------------------------------------------------- work (hidden until real cases) */
.work { display: none; }
.work-card {
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: var(--surface); color: var(--fg); display: block; transition: transform .25s ease;
}
.work-card:hover { transform: translateY(-6px); color: var(--fg); }
.work-card__cover {
  aspect-ratio: 4/3; display: flex; align-items: flex-end; padding: 22px;
}
.work-card__cover span {
  font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em;
}
.work-card__meta { padding: 22px; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.work-card__meta span:first-child { color: var(--muted); }
.work-card__meta span:last-child { color: var(--acc); }

/* --------------------------------------------------------------- process */
.process-title { margin-bottom: 48px; }
.step { border-top: 2px solid var(--line-2); padding-top: 22px; }
.step--first { border-top-color: var(--acc); }
.step__num {
  font-family: var(--display); font-size: 56px; font-weight: 700;
  line-height: 1; letter-spacing: -0.04em; color: var(--faint);
}
.step__title { font-family: var(--display); font-size: 22px; margin: 10px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* --------------------------------------------------------------- pricing */
.price-grid { align-items: start; }
.price-card { border: 1px solid var(--line); border-radius: 26px; padding: 34px 30px; background: var(--surface); }
.price-card--featured {
  border-color: var(--acc); background: var(--featured-panel);
  position: relative; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.price-card__badge {
  position: absolute; top: -13px; left: 30px; background: var(--acc); color: var(--bg);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.price-card__name { font-family: var(--display); font-size: 20px; margin-bottom: 6px; }
.price-card__desc { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.price-card__figure { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.price-card--featured .price-card__figure { color: var(--acc); }
.price-card ul {
  list-style: none; padding: 0; display: grid; gap: 12px;
  margin: 26px 0 28px; font-size: 16px; color: var(--body);
}
.price-card--featured ul { color: #E4E4DF; }
.price-card li::before { content: "• "; }
.price-note { margin: 28px 0 0; color: var(--dim); font-size: 15px; }

/* --------------------------------------------------------------- stats */
.stats { max-width: 1240px; margin: 110px auto 0; padding: 0 22px; }
.stats-panel {
  border: 1px solid var(--line); border-radius: 30px; background: var(--surface);
  padding: clamp(34px, 5vw, 64px);
}
.stats-panel h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 44px; max-width: 700px;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.stat__num {
  font-family: var(--display); font-size: clamp(40px, 6vw, 66px); font-weight: 700;
  letter-spacing: -0.04em; color: var(--acc); line-height: 1;
}
.stat p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }

/* --------------------------------------------------------------- faq */
.faq { max-width: 900px; margin: 0 auto; padding: 110px 22px 0; }
.faq h2 { margin-bottom: 40px; }
.faq-list { display: grid; gap: 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: 0; color: var(--fg); text-align: left;
  display: flex; gap: 20px; justify-content: space-between; align-items: center;
  padding: 26px 0; cursor: pointer;
  font-family: var(--display); font-size: clamp(19px, 2.4vw, 24px); letter-spacing: -0.02em;
}
.faq-q__sign { color: var(--acc); font-size: 26px; line-height: 1; }
.faq-a {
  margin: 0 0 26px; color: var(--body); font-size: 17px; line-height: 1.65;
  max-width: 660px; animation: wcFade .2s both;
}
.faq-a[hidden] { display: none; }

/* --------------------------------------------------------------- contact */
.contact { max-width: 1240px; margin: 110px auto 0; padding: 0 22px; }
.cta-panel {
  border-radius: 34px; background: var(--cta-panel); border: 1px solid var(--cta-border);
  padding: clamp(34px, 5vw, 70px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px;
}
.cta-panel h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.6vw, 72px);
  line-height: 0.95; letter-spacing: -0.04em; margin: 0 0 22px; text-transform: uppercase;
}
.cta-panel > div > p { margin: 0 0 30px; color: var(--body); font-size: 18px; line-height: 1.6; max-width: 420px; }
.contact-mail { display: grid; gap: 10px; font-size: 17px; }
.contact-mail a { color: var(--fg); }
.contact-mail a:hover { color: var(--acc); }

.enquiry-form { display: grid; gap: 14px; }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--line-3); border-radius: 14px;
  padding: 15px 16px; color: var(--fg); font-size: 16px;
}
.field textarea { resize: vertical; }
.enquiry-form button[type="submit"] {
  background: var(--acc); color: var(--bg); font-weight: 700; font-size: 17px;
  border: 0; border-radius: 999px; padding: 17px; cursor: pointer; margin-top: 4px;
  transition: background-color .25s ease;
}
.enquiry-form button[type="submit"]:hover { background: var(--fg); }
.enquiry-form button[disabled] { opacity: .6; cursor: progress; }
.form-note { margin: 0; color: var(--dim); font-size: 13px; }
.form-error { margin: 0; color: #FF6B6B; font-size: 15px; line-height: 1.5; }
.form-error[hidden] { display: none; }
.form-success {
  border: 1px solid var(--acc); border-radius: 22px; padding: 36px 30px; animation: wcFade .25s both;
}
.form-success[hidden] { display: none; }
.form-success__title { font-family: var(--display); font-size: 30px; letter-spacing: -0.03em; margin-bottom: 12px; }
.form-success p { margin: 0; color: var(--body); font-size: 17px; line-height: 1.6; }

/* --------------------------------------------------------------- footer */
.site-footer {
  max-width: 1240px; margin: 90px auto 0; padding: 40px 22px 50px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px; align-items: start;
}
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.site-footer p { margin: 8px 0 0; color: var(--dim); font-size: 15px; }
.footer-col { display: grid; gap: 10px; font-size: 15px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--fg); }
.footer-legal { color: #4E4E4A; font-size: 14px; }

/* --------------------------------------------------------------- motion */
@keyframes wcRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes wcBlink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.08); } }
@keyframes wcTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wcPupil { 0%, 100% { transform: translateX(-18%); } 50% { transform: translateX(18%); } }
@keyframes wcFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Scroll reveal only when JS is available, so no-JS visitors see everything. */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-revealed {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .pillar:hover, .work-card:hover { transform: none; }
}
