/* ARMAD — styles.css */

:root {
  --bg: #121112;
  --bg-2: #181718;
  --bg-3: #201f21;
  --bg-4: #29282a;
  --ink: #f5f4f0;
  --ink-soft: #d3d1cd;
  --ink-mute: #918f8c;
  --ink-dim: rgba(245, 244, 240, 0.45);
  --accent: #fff200;
  --accent-2: #e0d500;
  --accent-ink: #121112;
  --line: rgba(245, 244, 240, 0.12);
  --line-strong: rgba(245, 244, 240, 0.22);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-soft); }
section { position: relative; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.8em 1.2em; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 1em; top: 1em; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Typography helpers ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1em;
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mono-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.7em;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  cursor: pointer;
  will-change: transform;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); padding: 0.65em 1.4em; font-size: 0.8rem; border-radius: 6px; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: 0; transition: opacity 0.3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid var(--ink); transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out); }
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(18, 17, 18, 0.82);
  border-color: var(--line);
}
@supports (backdrop-filter: blur(14px)) {
  .nav.is-solid { backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 1.1em 1.5em;
  display: flex; align-items: center; gap: 2em;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.nav-badge {
  width: 30px; height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 1.8em; margin-left: 0.5em; flex: 1; }
.nav-links a { font-size: 0.92rem; color: var(--ink-soft); position: relative; padding: 0.2em 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--accent); transition: right 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-cta { flex-shrink: 0; }
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: 1px solid var(--line-strong);
  border-radius: 10px; flex-shrink: 0;
}
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 0 auto; transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out); }
.nav-mobile {
  display: none; flex-direction: column; padding: 0 1.5em 1.5em;
  background: rgba(18, 17, 18, 0.97);
}
.nav-mobile a { padding: 0.8em 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.nav.is-open .nav-mobile { display: flex; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding: 7em 1.5em 4.5em;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 17, 18,0.55) 0%, rgba(18, 17, 18,0.35) 40%, rgba(18, 17, 18,0.92) 100%),
    linear-gradient(90deg, rgba(18, 17, 18,0.75) 0%, transparent 55%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}
.hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; width: 100%; }
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  max-width: 14ch;
  text-wrap: balance;
  margin-bottom: 0.4em;
}
.hero-title em { color: var(--accent); font-style: normal; }
.hero-sub { max-width: 42ch; font-size: 1.15rem; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 1em; flex-wrap: wrap; margin: 1.6em 0 2.2em; }
.hero-trust { display: flex; gap: 1.6em; flex-wrap: wrap; }
.hero-trust li {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--ink-mute); padding-left: 1.1em; position: relative;
}
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6em; transform: translateX(-50%); z-index: 2;
  width: 1px; height: 40px; background: var(--line-strong); overflow: hidden;
}
.hero-scroll span {
  display: block; width: 100%; height: 40%; background: var(--accent);
  animation: scrollDrip 2.2s ease-in-out infinite;
}
@keyframes scrollDrip {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}
@media (prefers-reduced-motion: reduce) { .hero-scroll span { animation: none; } }

/* ---------- Section shared ---------- */
.section-head { max-width: 640px; margin: 0 auto 3em; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

.concept, .protection, .history, .lines, .dealers { padding: 7em 1.5em; }
.concept { background: var(--bg); }
.lines { background: var(--bg-2); }
.protection { background: var(--bg); }
.history { background: var(--bg-2); }

.concept-grid, .protection-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 3em;
  align-items: start;
}
.concept-grid { grid-template-columns: 0.55fr 1fr 1fr; }
.concept-index { display: flex; flex-direction: column; gap: 0.3em; }
.concept-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 0.5em; }
.concept-figure { margin: 0; grid-column: 3; border-radius: 18px; overflow: hidden; align-self: stretch; }
.concept-figure img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) {
  .concept-grid { grid-template-columns: 1fr; }
  .concept-figure { grid-column: 1; max-height: 420px; }
}

/* ---------- Product lines ---------- */
.line-card {
  max-width: 1160px; margin: 0 auto 4em;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3em;
  align-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4em;
  transform-style: preserve-3d;
  will-change: transform;
}
.line-card:last-child { margin-bottom: 0; }
.line-card--reverse { grid-template-columns: 0.85fr 1.15fr; }
.line-card--reverse .line-media { order: 2; }
.line-media-main { border-radius: 16px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.line-media-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; margin-top: 0.8em; }
.line-media-sub img { border-radius: 12px; aspect-ratio: 3 / 4; object-fit: cover; }
.line-info { padding: 1em 1.4em 1em 0; }
.line-card--reverse .line-info { padding: 1em 0 1em 1.4em; }
.line-info h3 { font-size: 2.2rem; letter-spacing: 0.02em; margin: 0.15em 0 0.5em; }
.line-features { margin-top: 1.2em; display: flex; flex-direction: column; gap: 0.6em; }
.line-features li {
  font-size: 0.9rem; color: var(--ink-soft); padding-left: 1.3em; position: relative;
}
.line-features li::before {
  content: "→"; position: absolute; left: 0; color: var(--accent); font-family: var(--font-mono);
}

@media (max-width: 900px) {
  .line-card, .line-card--reverse { grid-template-columns: 1fr; padding: 1em; }
  .line-card--reverse .line-media { order: 0; }
  .line-info, .line-card--reverse .line-info { padding: 0.4em 0.4em 0.2em; }
}

/* ---------- Protection / spec grid ---------- */
.protection-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.spec-grid {
  max-width: 1160px; margin: 3.5em auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2em;
}
.spec-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.8em 1.5em; transform-style: preserve-3d; will-change: transform;
}
.spec-card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.spec-card p { font-size: 0.88rem; margin: 0; }
.protection-gallery {
  max-width: 1160px; margin: 3em auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em;
}
.protection-gallery img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 900px) {
  .protection-grid { grid-template-columns: 1fr; gap: 1.4em; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .protection-gallery { grid-template-columns: 1fr; }
}

/* ---------- History ---------- */
.history-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5em; align-items: center;
}
.history-figure { margin: 0; border-radius: 20px; overflow: hidden; }
.history-figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.history-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0.2em 0 0.6em; }

@media (max-width: 900px) {
  .history-grid { grid-template-columns: 1fr; }
  .history-figure { max-height: 380px; }
}

/* ---------- Dealers ---------- */
.dealers { padding: 0; }
.dealers-bg { position: absolute; inset: 0; z-index: 0; }
.dealers-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.dealers-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 17, 18,0.88) 0%, rgba(18, 17, 18,0.94) 100%); }
.dealers-inner {
  position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: 7em 1.5em;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5em; align-items: start;
}
.dealers-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }

.dealer-form {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2em;
  display: flex; flex-direction: column; gap: 1.1em;
}
.form-row { display: flex; flex-direction: column; gap: 0.4em; }
.form-row label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.form-row input, .form-row textarea {
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0.85em 1em; color: var(--ink); font-family: var(--font-body); font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.dealer-form .btn { margin-top: 0.4em; }
.form-note { font-size: 0.78rem; color: var(--ink-mute); margin: 0; }
.form-success { color: var(--accent); font-size: 0.9rem; margin: 0; }
.dealer-form.is-sending .btn { pointer-events: none; opacity: 0.7; }

@media (max-width: 900px) {
  .dealers-inner { grid-template-columns: 1fr; }
}

/* ---------- Tilt ---------- */
[data-tilt-card] { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
[data-tilt-card]:hover { box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 3.5em 1.5em 2.5em; }
.footer-inner { max-width: 1160px; margin: 0 auto; text-align: center; }
.footer-brand {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.6em;
}
.footer-statement { color: var(--ink-mute); font-size: 0.9rem; }
.footer-links { display: flex; justify-content: center; gap: 1.6em; margin: 1.4em 0; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.78rem; color: var(--ink-dim); margin: 0; }

/* ---------- Misc responsive ---------- */
@media (max-width: 560px) {
  .hero { padding: 6em 1.2em 3.5em; }
  .concept, .protection, .history, .lines, .dealers-inner { padding-left: 1.2em; padding-right: 1.2em; }
  .spec-grid { grid-template-columns: 1fr; }
}
