/* AutoExploit – styles.css (<=400 LOC) */
:root {
  --bg: #0b0d12;
  --surface: #101421;
  --text: #e6e9ef;
  --muted: #9aa4b2;
  --border: #1b2233;
  --gradient-from: #20e3ff; /* cyan from logo */
  --gradient-mid: #7c3aed;  /* violet */
  --gradient-to: #ff2ea1;   /* magenta */
  --accent: #7c3aed;
  color-scheme: dark; /* default */
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #f7f8fb;
    --text: #0a0c10;
    --muted: #5a6472;
    --border: #e7eaf1;
    color-scheme: light;
  }
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.muted { color: var(--muted); }

.text-gradient {
  background: linear-gradient(135deg, var(--gradient-from), var(--gradient-mid), var(--gradient-to));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(8px);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { border-radius: 8px; }
.brand-name { font-weight: 700; letter-spacing: 0.2px; }

.nav { display: inline-flex; gap: 18px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; opacity: 0.9; }
.nav a:hover { opacity: 1; }

/* Hero */
.hero { padding-top: clamp(56px, 12vw, 120px); }
.grid-hero {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}
@media (max-width: 900px) { .grid-hero { grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(28px, 5vw, 48px); line-height: 1.1; margin: 0 0 14px; }
.lead { font-size: clamp(16px, 1.8vw, 18px); color: var(--muted); margin: 0 0 22px; max-width: 62ch; }
.trustpoints { display: grid; gap: 8px; padding-left: 18px; margin: 18px 0 0; }

.hero-visual img { filter: drop-shadow(0 24px 60px rgba(0,0,0,.35)); }

/* Buttons */
.btn { --_p: 11px 16px; display: inline-flex; align-items: center; gap: 10px; padding: var(--_p);
  border-radius: 12px; text-decoration: none; border: 1px solid var(--border); color: var(--text);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease; font-weight: 600;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gradient-from), var(--gradient-mid), var(--gradient-to)); color: #fff; border: none; }
.btn-ghost { background: transparent; }

/* Sections */
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(24px, 3.6vw, 34px); margin: 0 0 8px; }

.grid-cards {
  display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-cards { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--gradient-mid) 50%, var(--border)); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card .bullets { margin: 10px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }

/* Steps */
.steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.step-index { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--gradient-from), var(--gradient-mid), var(--gradient-to)); }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

/* Contact */
.contact-card { background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 92%, transparent), var(--surface)); border: 1px solid var(--border); border-radius: 18px; padding: clamp(18px, 4vw, 26px); text-align: center; }
.contact-card .email a { font-weight: 700; text-decoration: none; background: linear-gradient(135deg, var(--gradient-from), var(--gradient-mid), var(--gradient-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-inner { display: flex; align-items: center; justify-content: center; }

/* A11y */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; z-index: 1000; }

:focus-visible { outline: 2px solid color-mix(in oklab, var(--gradient-from) 40%, var(--gradient-mid)); outline-offset: 2px; border-radius: 8px; }

/* Reveal animations (reduced for prefers-reduced-motion) */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { transition: none; transform: none; opacity: 1; }
}
