/* ===== Reset & base ===== */
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: #080808;
    color: #ffffff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  ::selection { background: #7c3aed; color: #fff; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  input, textarea, select, button { font-family: inherit; color: inherit; }

  :root {
    --bg: #080808;
    --bg-2: #0e0e0e;
    --bg-3: #141414;
    --line: rgba(255,255,255,.08);
    --line-2: rgba(255,255,255,.14);
    --mute: rgba(255,255,255,.55);
    --mute-2: rgba(255,255,255,.4);
    --accent: #7c3aed;
    --accent-soft: rgba(124,58,237,.15);
    --ok: #10b981;
    --warn: #f59e0b;
    --danger: #ef4444;
  }

  .container {
    width: min(1240px, 100% - 48px);
    margin-inline: auto;
  }
  @media (max-width: 640px) {
    .container { width: calc(100% - 32px); }
  }

  /* ===== Typography ===== */
  h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.05; font-weight: 700; }
  p { margin: 0; }
  .mono { font-family: 'DM Mono', ui-monospace, monospace; }
  .eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
    display: inline-flex; align-items: center; gap: 10px;
  }
  .eyebrow::before {
    content: ""; width: 28px; height: 1px; background: var(--accent);
  }

  /* ===== Logo ===== */
  .logo {
    display: inline-flex; align-items: center;
  }
  .logo img { display: block; }

  /* ===== Navbar ===== */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
    background: transparent;
    border-bottom: 1px solid transparent;
  }
  .nav.scrolled {
    background: rgba(8,8,8,.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
  }
  .nav-links {
    display: flex; gap: 28px; align-items: center;
    font-size: 14px;
  }
  .nav-links a {
    color: var(--mute);
    transition: color .18s ease;
  }
  .nav-links a:hover { color: #fff; }

  .nav-right {
    display: flex; align-items: center; gap: 20px;
  }

  .lang-toggle {
    border: 1px solid var(--line-2);
    border-radius: 999px;
    padding: 4px;
    display: inline-flex;
    background: rgba(255,255,255,.02);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .lang-toggle button {
    background: none; border: 0;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--mute-2);
    transition: color .18s ease, background .18s ease;
  }
  .lang-toggle button.active {
    color: #fff;
    background: rgba(255,255,255,.08);
  }

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    border: 0; border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px; font-weight: 500;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  }
  .btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 rgba(124,58,237,0);
  }
  .btn-primary:hover {
    background: #8b4cf0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(124,58,237,0.6);
  }
  .btn-ghost {
    background: transparent;
    border: 1px solid var(--line-2);
    color: #fff;
  }
  .btn-ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
  }

  .nav-burger {
    display: none;
    background: none; border: 0;
    color: #fff;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
  }

  @media (max-width: 900px) {
    .nav-links, .nav-right .btn-primary { display: none; }
    .nav-burger { display: inline-flex; }
  }

  /* ===== Mobile Nav ===== */
  .mobile-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 100svh;
    background: rgba(8,8,8,0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex; flex-direction: column;
  }
  .mobile-nav.open { opacity: 1; pointer-events: auto; }
  .mobile-nav-inner {
    padding: 24px;
    display: flex; flex-direction: column; height: 100%;
  }
  .mobile-nav-close {
    align-self: flex-end;
    background: none; border: 0; color: #fff;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    margin-bottom: 20px;
  }
  .mobile-nav-links {
    flex: 1;
    display: flex; flex-direction: column; justify-content: center; gap: 32px;
    font-size: 24px; font-weight: 500;
    text-align: center;
  }
  .mobile-nav-links a { color: var(--mute); transition: color 0.2s; }
  .mobile-nav-links a.active, .mobile-nav-links a:hover { color: #fff; }

  /* ===== Hero ===== */
  .hero {
    position: relative;
    min-height: 100svh;
    display: flex; align-items: center;
    overflow: hidden;
    padding-top: 72px;
  }
  #hero-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
  }
  .hero-vignette {
    position: absolute; inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 30% 50%, transparent 0%, transparent 40%, rgba(8,8,8,.7) 80%, #080808 100%);
  }
  .hero-content {
    position: relative; z-index: 2;
    width: 100%;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-meta {
    display: flex; gap: 16px; align-items: center;
    margin-bottom: 28px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--mute);
    text-transform: uppercase;
  }
  .hero-meta .pulse {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(124,58,237,.6);
    animation: pulse 2.4s infinite;
  }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(124,58,237,.6); }
    70% { box-shadow: 0 0 0 12px rgba(124,58,237,0); }
    100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
  }
  h1.hero-title {
    font-size: clamp(56px, 9vw, 144px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    max-width: 14ch;
    text-align: center;
  }
  h1.hero-title .accent { color: var(--accent); }
  .hero-sub {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 500;
    margin-top: 32px;
    max-width: 28ch;
    color: #fff;
    line-height: 1.25;
    text-align: center;
  }
  .hero-body {
    margin-top: 20px;
    color: var(--mute);
    max-width: 56ch;
    font-size: 16px;
    text-align: center;
  }
  .hero-cta {
    margin-top: 40px;
    display: flex; gap: 14px; flex-wrap: wrap;
    justify-content: center;
  }
  .hero-cta .btn-primary { padding: 14px 22px; font-size: 15px; }

  .scroll-indicator {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--mute-2);
    text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
  }
  .scroll-indicator .line {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scroll-line 2s ease-in-out infinite;
    transform-origin: top;
  }
  @keyframes scroll-line {
    0% { transform: scaleY(0); }
    50% { transform: scaleY(1); }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }

  /* ===== Sections ===== */
  section { position: relative; }
  .section-pad {
    padding: clamp(80px, 12vw, 160px) 0;
  }
  .section-head {
    margin-bottom: 64px;
    max-width: 720px;
  }
  .section-head h2 {
    font-size: clamp(36px, 5vw, 64px);
    margin-top: 16px;
    letter-spacing: -0.03em;
  }
  .section-head .lead {
    margin-top: 18px;
    color: var(--mute);
    font-size: 18px;
    max-width: 56ch;
  }

  /* ===== Stats ===== */
  .stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .stat {
    padding: 64px 36px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .stat:last-child { border-right: 0; }
  .stat-num {
    font-size: clamp(64px, 9vw, 128px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: #fff;
    text-shadow: 0 0 40px rgba(255,255,255,0.15);
  }
  .stat-num .unit { color: var(--accent); }
  .stat-desc {
    margin-top: 18px;
    color: var(--mute);
    font-size: 16px;
    max-width: 32ch;
  }
  @media (max-width: 820px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 48px 24px; }
    .stat:last-child { border-bottom: 0; }
  }

  /* ===== Services ===== */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .service {
    background: var(--bg);
    padding: 40px 32px;
    min-height: 240px;
    display: flex; flex-direction: column;
    gap: 16px;
    transition: all .35s cubic-bezier(.16,1,.3,1);
    position: relative;
    overflow: hidden;
  }
  .service::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(124,58,237,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
  }
  .service:hover { background: var(--bg-2); transform: translateY(-2px); }
  .service:hover::before { opacity: 1; }
  .service .ic {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--accent);
    transition: transform .35s cubic-bezier(.16,1,.3,1);
  }
  .service:hover .ic { transform: scale(1.1); }
  .service .ic svg { width: 28px; height: 28px; }
  .service h3 {
    font-size: 20px;
    font-weight: 600;
  }
  .service p {
    color: var(--mute);
    font-size: 15px;
    line-height: 1.55;
    margin-top: auto;
  }
  .service-num {
    position: absolute;
    top: 24px; right: 28px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--mute-2);
    letter-spacing: 0.1em;
  }
  @media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 580px) {
    .services-grid { grid-template-columns: 1fr; }
  }

  /* ===== Tools ===== */
  .tools {
    background: linear-gradient(to bottom, #080808 0%, #0a0a0a 50%, #080808 100%);
  }
  .tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .tool-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    display: flex; flex-direction: column;
    gap: 20px;
    min-height: 460px;
    transition: all .35s cubic-bezier(.16,1,.3,1);
    position: relative;
    overflow: hidden;
  }
  .tool-card::before {
    content: '';
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(124,58,237,0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    z-index: 0;
  }
  .tool-card > * { position: relative; z-index: 1; }
  .tool-card:hover { 
    border-color: rgba(124,58,237,0.3); 
    transform: translateY(-4px); 
    box-shadow: 0 12px 32px -12px rgba(0,0,0,0.5); 
  }
  .tool-card:hover::before { opacity: 1; }
  .tool-head {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px;
  }
  .tool-title {
    font-size: 20px; font-weight: 600;
  }
  .tool-sub {
    color: var(--mute); font-size: 14px; margin-top: 6px;
  }
  .tool-badge {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(124,58,237,.3);
    flex-shrink: 0;
  }
  @media (max-width: 820px) {
    .tools-grid { grid-template-columns: 1fr; }
  }

  /* Inputs */
  .inp {
    width: 100%;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: #fff;
    transition: border-color .15s ease;
    outline: none;
  }
  .inp:focus { border-color: var(--accent); }
  .inp::placeholder { color: var(--mute-2); }
  .inp-wrap { position: relative; }
  .inp-wrap .toggle-vis {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: 0; color: var(--mute);
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
  }
  .inp-wrap .toggle-vis:hover { color: #fff; }

  /* Password tool */
  .pw-meter {
    height: 6px;
    background: rgba(255,255,255,.06);
    border-radius: 999px;
    overflow: hidden;
  }
  .pw-meter-fill {
    height: 100%; width: 0;
    background: var(--accent);
    border-radius: 999px;
    transition: width .35s ease, background-color .25s ease;
  }
  .pw-stats {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
  }
  .pw-stat {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
  }
  .pw-stat .label { color: var(--mute-2); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; }
  .pw-stat .val { color: #fff; margin-top: 4px; font-size: 13px; }
  .pw-checks {
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .pw-check {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,.04);
    color: var(--mute);
    border: 1px solid var(--line);
    display: inline-flex; align-items: center; gap: 6px;
    transition: all .2s ease;
  }
  .pw-check.ok {
    background: rgba(16,185,129,.1);
    color: #34d399;
    border-color: rgba(16,185,129,.3);
  }
  .pw-check::before {
    content: "○"; font-size: 10px;
  }
  .pw-check.ok::before { content: "●"; }

  /* Risk calc */
  .risk-step h4 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
  .risk-options { display: flex; flex-direction: column; gap: 8px; }
  .risk-opt {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: left;
    color: #fff;
    font-size: 14px;
    transition: all .15s ease;
  }
  .risk-opt:hover { border-color: var(--accent); background: rgba(124,58,237,.06); }
  .risk-progress {
    display: flex; gap: 4px; margin-bottom: 18px;
  }
  .risk-progress .seg {
    flex: 1; height: 3px; border-radius: 999px;
    background: rgba(255,255,255,.08);
    transition: background .25s ease;
  }
  .risk-progress .seg.done { background: var(--accent); }
  .risk-result-bar {
    height: 8px; border-radius: 999px;
    background: rgba(255,255,255,.06);
    overflow: hidden;
    margin: 16px 0;
  }
  .risk-result-fill {
    height: 100%; width: 0;
    border-radius: 999px;
    transition: width .8s cubic-bezier(.16,1,.3,1);
  }
  .risk-score-label {
    font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
  }

  /* Phishing */
  .quiz-mail {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    font-size: 13px;
  }
  .quiz-mail .row {
    display: flex; gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--line);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
  }
  .quiz-mail .row:last-of-type { border-bottom: 0; }
  .quiz-mail .row .k { color: var(--mute-2); width: 60px; flex-shrink: 0; }
  .quiz-mail .row .v { color: #fff; word-break: break-all; }
  .quiz-mail .body {
    margin-top: 12px;
    color: var(--mute);
    line-height: 1.55;
    white-space: pre-line;
    font-size: 13px;
  }
  .quiz-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .quiz-btn {
    background: var(--bg-3);
    border: 1px solid var(--line);
    color: #fff;
    border-radius: 10px;
    padding: 12px;
    font-weight: 500;
    transition: all .15s ease;
  }
  .quiz-btn:hover { border-color: var(--accent); background: rgba(124,58,237,.06); }
  .quiz-feedback {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
  }
  .quiz-feedback.ok { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.3); color: #6ee7b7; }
  .quiz-feedback.bad { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
  .quiz-progress {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--mute);
    letter-spacing: 0.14em;
  }

  /* Headers scanner */
  .headers-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
  .header-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
  }
  .header-row.found { border-color: rgba(16,185,129,.25); background: rgba(16,185,129,.05); }
  .header-row.missing { border-color: rgba(239,68,68,.25); background: rgba(239,68,68,.05); }
  .header-row .name { color: #fff; }
  .header-row .ind { font-weight: 700; }
  .header-row.found .ind { color: #10b981; }
  .header-row.missing .ind { color: #ef4444; }

  /* ===== How it works ===== */
  .how-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
  }
  .how-line {
    position: absolute;
    top: 28px;
    left: 8%; right: 8%;
    height: 1px;
    background: rgba(255,255,255,.08);
    z-index: 0;
  }
  .how-line::after {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 0;
    background: var(--accent);
    transition: width 1.6s cubic-bezier(.65,.05,.36,1);
  }
  .how-track.in-view .how-line::after { width: 100%; }
  .how-step {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 0;
  }
  .how-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    color: var(--mute);
    transition: all .4s ease;
  }
  .how-step.active .how-num {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 0 4px rgba(124,58,237,.12);
  }
  .how-step h3 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .how-step p {
    color: var(--mute);
    font-size: 15px;
    max-width: 32ch;
  }
  @media (max-width: 820px) {
    .how-track { grid-template-columns: 1fr; gap: 40px; }
    .how-line { display: none; }
  }

  /* ===== Partners ===== */
  .partners { padding-top: 60px; padding-bottom: 100px; overflow: hidden; }
  .partners-label {
    text-align: center; font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: 0.15em;
    color: var(--mute); margin-bottom: 48px;
  }
  
  /* Infinite Marquee Slider */
  .marquee-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    transform: translateZ(0); /* Hardware acceleration */
  }
  .marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-x 40s linear infinite;
    will-change: transform;
    transform: translateZ(0); /* Hardware acceleration */
  }
  .marquee-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding-right: 80px;
  }
  .partner-logo {
    font-family: 'DM Mono', monospace;
    font-size: 24px;
    font-weight: 500;
    color: var(--mute-2);
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    display: flex;
    align-items: center;
    gap: 12px;
    will-change: transform, color;
  }
  .partner-logo span {
    color: var(--accent);
    font-size: 18px;
  }
  .partner-logo:hover {
    color: #fff;
    transform: scale(1.05);
  }
  @keyframes scroll-x {
    0% { transform: translateX(0) translateZ(0); }
    100% { transform: translateX(-50%) translateZ(0); }
  }

  .tech-card-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
  }
  .tech-card-icon svg { width: 20px; height: 20px; }
  .tech-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
  }
  .tech-card-desc {
    font-size: 13px;
    color: var(--mute);
    line-height: 1.5;
  }
  @media (max-width: 820px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px) {
    .tech-grid { grid-template-columns: 1fr; }
  }

  /* ===== Contact ===== */
  .contact {
    border-top: 1px solid var(--line);
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .contact h2 {
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -0.03em;
  }
  .contact-info {
    margin-top: 32px;
    display: flex; flex-direction: column; gap: 8px;
    background: rgba(255,255,255,.03);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--line);
  }
  .contact-email {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    width: fit-content;
    transition: color .15s ease;
  }
  .contact-email:hover { color: var(--accent); }
  .contact-meta {
    color: var(--mute);
    font-size: 14px;
    display: flex; align-items: center; gap: 10px;
  }
  .contact-meta::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--ok);
  }
  .contact-left {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px;
    overflow: hidden;
  }
  .contact-left::before {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
  }
  .contact-desc {
    margin-top: 16px;
    color: var(--mute);
    font-size: 16px;
    line-height: 1.6;
    max-width: 38ch;
  }
  .contact-perks {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .perk {
    display: flex; align-items: center; gap: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
  }
  .perk i {
    color: var(--accent);
    width: 20px; height: 20px;
  }
  .form { display: flex; flex-direction: column; gap: 16px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field label {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--mute-2);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  textarea.inp { min-height: 120px; resize: vertical; }
  .form button[type="submit"] { margin-top: 8px; align-self: flex-start; padding: 14px 24px; }
  @media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .form-row { grid-template-columns: 1fr; }
  }

  /* ===== Footer ===== */
  footer {
    border-top: 1px solid var(--line);
    padding: 48px 0 60px;
  }
  .footer-grid {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 32px; flex-wrap: wrap;
  }
  .footer-tag {
    color: var(--mute);
    font-size: 13px;
    margin-top: 14px;
    max-width: 30ch;
  }
  .footer-links {
    display: flex; gap: 24px;
    font-size: 13px;
    color: var(--mute);
    flex-wrap: wrap;
  }
  .footer-links a:hover { color: #fff; }
  .footer-bottom {
    margin-top: 32px;
    display: flex; justify-content: space-between;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--mute);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex-wrap: wrap;
    gap: 16px;
  }

  /* ===== Reveal animations ===== */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal[data-delay="1"] { transition-delay: .08s; }
  .reveal[data-delay="2"] { transition-delay: .16s; }
  .reveal[data-delay="3"] { transition-delay: .24s; }
  .reveal[data-delay="4"] { transition-delay: .32s; }
  .reveal[data-delay="5"] { transition-delay: .40s; }
  .reveal[data-delay="6"] { transition-delay: .48s; }

  @media (prefers-reduced-motion: reduce) {
    .reveal, .marquee-track, .pulse { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
  }