/* ===========================================================================
   Base: reset, typography and the components shared by both layouts
   (buttons, labels, stat cards, logo wall, form).
   Layout itself lives in desktop.css / mobile.css.
   =========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* Author rules beat the UA's [hidden] rule, and several components below set
   `display`. Make the attribute authoritative so hidden really means hidden. */
[hidden] { display: none !important; }

html {
  /* cohesity.com uses a 10px root so 1rem == 10px; the scale above assumes it */
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  margin: 0;
  letter-spacing: -0.005em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--c-neon); color: var(--c-black); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--c-neon);
  color: var(--c-black);
  padding: 1.2rem 2rem;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------- type ---- */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-neon);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}
.eyebrow::before {
  content: '';
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--plain::before { display: none; }

.section-title {
  font-size: var(--fs-h2);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.6rem, 1.35vw, 1.9rem);
  line-height: 1.62;
  color: var(--fg-muted);
  max-width: 62ch;
  text-wrap: pretty;
}

.accent { color: var(--c-neon); }
.italic-accent { color: var(--c-neon); font-style: italic; }

/* Inverted (neon green) sections flip the semantic colours wholesale. */
.inverted {
  background: var(--inv-bg);
  color: var(--inv-fg);
}
.inverted .eyebrow { color: rgba(0, 0, 0, 0.68); }
.inverted .lead    { color: rgba(0, 0, 0, 0.72); }
.inverted .accent  { color: var(--c-black); }
.inverted ::selection { background: var(--c-black); color: var(--c-neon); }

/* -------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  padding: 1.6rem 2.8rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease),
              color 0.25s var(--ease),
              border-color 0.25s var(--ease),
              transform 0.25s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-green-bright);
  color: var(--c-black);
  font-weight: 700;
}
.btn--primary:hover { background: var(--c-neon); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--c-neon); color: var(--c-neon); }

.btn--dark {
  background: var(--c-black);
  color: var(--c-white);
}
.btn--dark:hover { background: var(--c-slate); }

.btn--sm { padding: 1.1rem 2rem; font-size: 1.4rem; }
.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Arrow that nudges on hover */
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------- stat blocks --- */

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 5.2vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--c-neon);
  font-variant-numeric: tabular-nums;
}
.inverted .stat-value { color: var(--c-black); }

.stat-tag {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-faint);
}
.inverted .stat-tag { color: rgba(0, 0, 0, 0.55); }

.stat-text {
  font-size: 1.45rem;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* Card shell used by challenge / stage / trait blocks */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(2.4rem, 2.6vw, 3.4rem);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card::after {
  /* hairline of neon that lights up on hover */
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-neon), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card:hover::after { opacity: 1; }

.card__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-neon);
}
.card__title {
  font-size: var(--fs-h4);
  text-transform: uppercase;
  margin-top: 1.2rem;
}
.card__list {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.8rem;
}
.card__list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 1.45rem;
  color: var(--fg-muted);
  line-height: 1.5;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 1px;
  background: var(--c-neon);
}

/* ----------------------------------------------------------- logo wall ---- */

/* Partner marks render as crisp typographic lockups. Drop official artwork
   into assets/img/partners/<slug>.svg and PHP swaps in the real logo. */
.logo-wall {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.logo-wall__item {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 11rem;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.logo-wall__item:hover { background: var(--bg-raised); }

.logo-mark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.1;
  transition: color 0.3s var(--ease);
}
.logo-wall__item:hover .logo-mark { color: var(--c-neon); }

.logo-wall__item img {
  max-height: 3.6rem;
  max-width: 100%;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity 0.3s var(--ease);
}
.logo-wall__item:hover img { opacity: 1; }

/* ---------------------------------------------------------------- form ---- */

.form { display: grid; gap: 1.8rem; }

.field { display: grid; gap: 0.7rem; }

.field__label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.field__label .opt {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.7;
}

.input,
.select,
.textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
  appearance: none;
}
.textarea { min-height: 12rem; resize: vertical; line-height: 1.5; }

.input::placeholder,
.textarea::placeholder { color: rgba(255, 255, 255, 0.32); }

.input:hover, .select:hover, .textarea:hover { border-color: var(--line-strong); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--c-neon);
  background: rgba(0, 253, 146, 0.05);
}

.select {
  /* custom chevron, since appearance is reset */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2300fd92' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
  padding-right: 4.4rem;
  cursor: pointer;
}
.select option { background: var(--c-ink-2); color: var(--fg); }

.field--invalid .input,
.field--invalid .select,
.field--invalid .textarea { border-color: var(--danger); }

.field__error {
  font-size: 1.3rem;
  color: var(--danger);
  min-height: 0;
}
.field__error:empty { display: none; }

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--fg-muted);
}
.checkbox input {
  appearance: none;
  width: 2rem; height: 2rem;
  margin: 0.1rem 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.checkbox input:checked {
  background: var(--c-neon);
  border-color: var(--c-neon);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.2 3.2L11 1.4' stroke='%23080808' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.field--invalid .checkbox input { border-color: var(--danger); }

/* Honeypot — kept in the layout flow for bots, invisible to people and to
   assistive technology. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  border: 1px solid var(--danger);
  background: rgba(255, 90, 77, 0.08);
  color: #ffb3ac;
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  font-size: 1.45rem;
}

.form-success {
  border: 1px solid rgba(0, 253, 146, 0.4);
  background: rgba(0, 253, 146, 0.07);
  border-radius: var(--radius-card);
  padding: clamp(2.6rem, 3vw, 4rem);
  display: grid;
  gap: 1.2rem;
  justify-items: start;
}
.form-success__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  color: var(--c-neon);
}
.form-success__text { color: var(--fg-muted); font-size: 1.55rem; }

/* Small spinner shown while the request is in flight */
.btn.is-busy { pointer-events: none; opacity: 0.75; }
.btn.is-busy .btn__label::after {
  content: '';
  display: inline-block;
  width: 1.2rem; height: 1.2rem;
  margin-left: 0.9rem;
  vertical-align: -0.15rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------ language switch flag --- */
/* The flag shown is the language you are switching TO, matching the "TR"/"EN"
   code beside it. Source SVGs are cropped to the artwork (viewBox 0 5 36 26)
   so no transparent margin creeps in at icon size. */
.lang-switch__flag {
  width: 20px;
  height: auto;
  border-radius: 2px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.inverted .lang-switch__flag { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }

/* ------------------------------------------------- shared section pieces -- */
/* Treatment (colour, border, shape) lives here so both layouts inherit it.
   desktop.css and mobile.css only override size and placement. */

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  border: 1px solid rgba(0, 253, 146, 0.35);
  background: rgba(0, 253, 146, 0.06);
  color: var(--c-neon);
  border-radius: 100px;
  padding: 0.8rem 1.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-neon);
  flex: none;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 253, 146, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(0, 253, 146, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 253, 146, 0); }
}

.pillar__mark {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 253, 146, 0.4);
  display: grid;
  place-items: center;
  color: var(--c-neon);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  flex: none;
}

.stage__step {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-faint);
}
.stage__bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-green) 0%, var(--c-neon) 100%);
  opacity: 0.35;
  transition: opacity 0.4s var(--ease);
}
.stage:nth-child(2) .stage__bar { opacity: 0.65; }
.stage:nth-child(3) .stage__bar { opacity: 1; }

.maestro__badge {
  display: inline-block;
  background: var(--c-neon);
  color: var(--c-black);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 3px;
}
.maestro__kicker {
  margin-top: 1.8rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-faint);
}

.outcome__key {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-neon);
}

.stand-card {
  border: 1px solid rgba(0, 253, 146, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(0, 253, 146, 0.05);
  padding: 2.4rem 2.8rem;
  display: grid;
  gap: 0.6rem;
}
.stand-card__label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-faint);
}
.stand-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-neon);
}

/* ------------------------------------------------- hero team shortcut ----- */
/* Sends the visitor straight to the team panel from the first screen. */

.hero__team {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.2rem 1.8rem 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
              transform 0.3s var(--ease);
}
.hero__team:hover {
  border-color: rgba(0, 253, 146, 0.45);
  background: rgba(0, 253, 146, 0.07);
  transform: translateY(-2px);
}
.hero__team .arrow {
  color: var(--c-neon);
  font-size: 1.6rem;
  transition: transform 0.25s var(--ease);
}
.hero__team:hover .arrow { transform: translateX(3px); }

/* Overlapping initial discs, drawn from the roster */
.hero__team__stack { display: inline-flex; flex: none; }
.hero__team__disc {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-neon);
  background: #14181b;
  border: 1px solid rgba(0, 253, 146, 0.35);
  /* Ring in the page background so the overlap reads cleanly */
  box-shadow: 0 0 0 2px var(--c-black);
}
.hero__team__disc + .hero__team__disc { margin-left: -1.1rem; }
.hero__team__disc--more {
  color: var(--fg-muted);
  border-color: var(--line-strong);
  font-size: 1.1rem;
}

.hero__team__body { display: grid; gap: 0.2rem; line-height: 1.2; }
.hero__team__body strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg);
}
.hero__team__body span {
  font-size: 1.25rem;
  color: var(--fg-muted);
}

/* ----------------------------------------------------------------- team --- */

.team-group + .team-group { margin-top: clamp(3.2rem, 4vw, 5rem); }

.team-group__title {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-neon);
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.team-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.team-card:hover {
  border-color: rgba(0, 253, 146, 0.35);
  background: rgba(0, 253, 146, 0.04);
}

.team-card__avatar {
  width: 4.4rem;
  height: 4.4rem;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-neon);
  background: rgba(0, 253, 146, 0.09);
  border: 1px solid rgba(0, 253, 146, 0.30);
}

.team-card__body { min-width: 0; }

/* Deliberately not uppercased: a Turkish page would render "Nikolai" as
   "NİKOLAİ", and the roster mixes Turkish and non-Turkish names. */
.team-card__name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
}
.team-card__role {
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--fg-muted);
  margin-top: 0.3rem;
}
.team-card__mail {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 1.25rem;
  color: var(--fg-faint);
  /* Break only at the <wbr> the template puts after the @ — never mid-word. */
  overflow-wrap: normal;
  word-break: normal;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.team-card__mail:hover {
  color: var(--c-neon);
  border-bottom-color: rgba(0, 253, 146, 0.5);
}

/* --------------------------------------------------------- reveal on view - */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
