/* ============================================================
   CORVEX — Landing Page
   ============================================================ */

:root {
  /* Cores base — slightly elevated, blueish-cool tone */
  --bg:           #07070a;
  --bg-1:         #0d0e12;
  --bg-2:         #14151b;
  --bg-3:         #1c1e26;
  --line:         rgba(255,255,255,0.07);
  --line-2:       rgba(255,255,255,0.12);
  --line-strong:  rgba(255,255,255,0.22);

  --text:         #f0f0f4;
  --text-2:       #aaabb4;
  --text-3:       #6e6f78;
  --text-4:       #3e3f48;

  /* Acento prata (override via Tweaks) */
  --silver:       #c8c8cc;
  --silver-2:     #8e8e96;
  --silver-glow:  rgba(200,200,204,0.18);

  /* Acentos coloridos */
  --green:        #5fc97a;
  --green-glow:   rgba(95,201,122,0.22);
  --red:          #ee5a5a;
  --red-glow:     rgba(238,90,90,0.22);
  --amber:        #d6a23a;
  --amber-glow:   rgba(214,162,58,0.22);
  --plum:         #8a6fb8;
  --plum-glow:    rgba(138,111,184,0.22);

  /* Density / grain (override via Tweaks) */
  --grid-opacity: 0.10;
  --grain-opacity: 0.05;
  --particle-opacity: 0;

  /* Tipografia */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%,    rgba(95,201,122,0.06), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 30%,   rgba(138,111,184,0.07), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%,  rgba(214,162,58,0.05), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

/* ============================================================
   BACKGROUND TEXTURES (controlled by tweaks)
   ============================================================ */

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: var(--grid-opacity);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
}

.bg-grain {
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

.bg-vignette {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, transparent 0%, rgba(0,0,0,0.6) 100%),
    radial-gradient(ellipse 100% 70% at 50% 100%, transparent 30%, rgba(0,0,0,0.85) 100%);
}

.bg-particles { opacity: var(--particle-opacity); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-glow);
  animation: pulse 2.4s ease-in-out infinite;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  border: 0;
  margin: 0;
}

/* Display headlines */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-variation-settings: "opsz" 144;
}

.display em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(180deg, var(--silver) 0%, var(--silver-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(180deg, #e8e8ec 0%, #b8b8c0 100%);
  color: #0a0a0b;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset,
    0 8px 24px var(--silver-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset,
    0 12px 32px rgba(200,200,204,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--silver);
  background: rgba(255,255,255,0.02);
}

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1100px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 12px 20px;
  background: rgba(10,10,11,0.7);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--line-2);
  border-radius: 4px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav-brand img {
  width: 28px; height: 28px;
  filter: drop-shadow(0 0 8px var(--silver-glow));
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--text-2);
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 8px 14px;
  background: var(--silver);
  color: #0a0a0b;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}
.nav-cta:hover { background: white; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding: 180px 0 120px;
  text-align: center;
}

.hero-tag {
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 112px);
  margin: 0 auto 28px;
  max-width: 1000px;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-meta {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta div:nth-child(1) span { color: var(--green); }
.hero-meta div:nth-child(2) span { color: var(--silver); }
.hero-meta div:nth-child(3) span { color: var(--amber); }

/* Hero crow watermark — variant cinema */
.hero-crow {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  max-width: 90vw;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(1);
}

.hero-crosshair {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1px; height: 1px;
  pointer-events: none;
}
.hero-crosshair::before, .hero-crosshair::after {
  content: "";
  position: absolute;
  background: var(--line-2);
}
.hero-crosshair::before { width: 100vw; height: 1px; left: -50vw; }
.hero-crosshair::after  { height: 100vh; width: 1px; top: -50vh; }

/* corner brackets variant */
.hero-bracket {
  position: absolute;
  width: 32px; height: 32px;
  border: 1px solid var(--silver-2);
  opacity: 0.4;
}
.hero-bracket.tl { top: 140px; left: 60px; border-right: 0; border-bottom: 0; }
.hero-bracket.tr { top: 140px; right: 60px; border-left: 0; border-bottom: 0; }
.hero-bracket.bl { bottom: 80px; left: 60px; border-right: 0; border-top: 0; }
.hero-bracket.br { bottom: 80px; right: 60px; border-left: 0; border-top: 0; }

@media (max-width: 720px) {
  .hero-bracket { display: none; }
}

/* ============================================================
   SECTIONS
   ============================================================ */

section {
  position: relative;
  padding: 100px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 64px;
  gap: 20px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  max-width: 760px;
}

.section-head p {
  max-width: 560px;
  color: var(--text-2);
  margin: 0;
  font-size: 16px;
}

/* ============================================================
   METRICS STRIP
   ============================================================ */

.metrics {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric {
  padding: 24px 32px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.metric:last-child { border-right: 0; }

.metric-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric:nth-child(1) .metric-value { color: var(--text); }
.metric:nth-child(2) .metric-value { background: linear-gradient(180deg, var(--green), #3da55c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric:nth-child(3) .metric-value { background: linear-gradient(180deg, var(--silver), var(--silver-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric:nth-child(4) .metric-value { background: linear-gradient(180deg, var(--amber), #a37a26); -webkit-background-clip: text; background-clip: text; color: transparent; }

.metric-value .unit {
  font-size: 18px;
  color: var(--silver-2);
  -webkit-text-fill-color: var(--silver-2);
}

.metric-label {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

@media (max-width: 720px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { border-bottom: 1px solid var(--line); padding: 20px; }
  .metric:nth-child(even) { border-right: 0; }
  .metric-value { font-size: 36px; }
}

/* ============================================================
   FEATURES — 4 modules
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  background: var(--bg-1);
  padding: 48px 40px;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}

.feature:hover { background: var(--bg-2); }

.feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.2em;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 16px 0 12px;
}

.feature-desc {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
  flex-grow: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06), transparent 70%),
    var(--bg-2);
  position: relative;
}

.feature:nth-child(1) .feature-icon { color: var(--green);  box-shadow: 0 0 24px -4px var(--green-glow); border-color: rgba(95,201,122,0.3); }
.feature:nth-child(2) .feature-icon { color: var(--plum);   box-shadow: 0 0 24px -4px var(--plum-glow);  border-color: rgba(138,111,184,0.3); }
.feature:nth-child(3) .feature-icon { color: var(--amber);  box-shadow: 0 0 24px -4px var(--amber-glow); border-color: rgba(214,162,58,0.3); }
.feature:nth-child(4) .feature-icon { color: var(--red);    box-shadow: 0 0 24px -4px var(--red-glow);   border-color: rgba(238,90,90,0.3); }

.feature:nth-child(1) .feature-num { color: var(--green); }
.feature:nth-child(2) .feature-num { color: var(--plum); }
.feature:nth-child(3) .feature-num { color: var(--amber); }
.feature:nth-child(4) .feature-num { color: var(--red); }

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.feature-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: 36px 28px; min-height: auto; }
}

/* ============================================================
   FLOW — How it works
   ============================================================ */

.flow {
  position: relative;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.flow-track::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    var(--silver-2) 10%,
    var(--silver-2) 90%,
    transparent);
  opacity: 0.4;
}

.flow-step {
  position: relative;
  text-align: center;
  padding: 0 16px;
}

.flow-dot {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--silver);
  position: relative;
  z-index: 2;
}
.flow-step:nth-child(1) .flow-dot { color: var(--green); border-color: rgba(95,201,122,0.4);  box-shadow: 0 0 24px -4px var(--green-glow); }
.flow-step:nth-child(2) .flow-dot { color: var(--silver); }
.flow-step:nth-child(3) .flow-dot { color: var(--plum);  border-color: rgba(138,111,184,0.4); box-shadow: 0 0 24px -4px var(--plum-glow); }
.flow-step:nth-child(4) .flow-dot { color: var(--amber); border-color: rgba(214,162,58,0.4);  box-shadow: 0 0 24px -4px var(--amber-glow); }
.flow-step:nth-child(5) .flow-dot { color: var(--red);   border-color: rgba(238,90,90,0.4);   box-shadow: 0 0 24px -4px var(--red-glow); }
.flow-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.flow-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 8px;
}

.flow-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .flow-track { grid-template-columns: 1fr; gap: 32px; }
  .flow-track::before { display: none; }
  .flow-step { display: flex; align-items: center; gap: 20px; text-align: left; }
  .flow-dot { margin: 0; flex-shrink: 0; }
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */

.compare-wrap {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-1);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare th, .compare td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-2);
}

.compare thead th.col-corvex {
  color: var(--silver);
  background: linear-gradient(180deg, rgba(200,200,204,0.05), transparent);
}

.compare tbody tr:last-child td { border-bottom: 0; }

.compare td.feature-name {
  color: var(--text);
  font-weight: 500;
}

.compare td.col-corvex {
  color: var(--text);
  background: rgba(200,200,204,0.025);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.compare .check  { color: var(--green); font-family: var(--font-mono); font-size: 18px; line-height: 1; text-shadow: 0 0 12px var(--green-glow); }
.compare .x      { color: var(--red); font-family: var(--font-mono); opacity: 0.7; }
.compare .partial{ color: var(--amber); font-family: var(--font-mono); font-size: 10px; padding: 2px 8px; border: 1px solid rgba(214,162,58,0.3); border-radius: 2px; }

@media (max-width: 720px) {
  .compare th, .compare td { padding: 12px 14px; font-size: 13px; }
  .compare th:nth-child(2), .compare td:nth-child(2) { display: none; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tcard {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tcard::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 40px; height: 1px;
  background: var(--silver);
  opacity: 0.6;
}
.testimonials .tcard:nth-child(1)::before { background: var(--green); box-shadow: 0 0 12px var(--green-glow); }
.testimonials .tcard:nth-child(2)::before { background: var(--silver); }
.testimonials .tcard:nth-child(3)::before { background: var(--amber); box-shadow: 0 0 12px var(--amber-glow); }
.testimonials .tcard:nth-child(1) .tavatar { color: var(--green); border-color: rgba(95,201,122,0.4); }
.testimonials .tcard:nth-child(3) .tavatar { color: var(--amber); border-color: rgba(214,162,58,0.4); }

.tquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-grow: 1;
  margin-bottom: 28px;
}

.tperson {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.tavatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a2e, #16161a);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--silver);
}

.tname {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.trole {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 2px;
}

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

/* ============================================================
   CTA FINAL
   ============================================================ */

.final {
  text-align: center;
  padding: 140px 0;
  position: relative;
}

.final-frame {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--line-2);
  padding: 80px 40px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(95,201,122,0.07), transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(138,111,184,0.07), transparent 60%),
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(200,200,204,0.04), transparent 70%),
    var(--bg-1);
}

.final-frame::before, .final-frame::after,
.final-frame > .corner-tl, .final-frame > .corner-tr,
.final-frame > .corner-bl, .final-frame > .corner-br {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--silver);
}
.final-frame > .corner-tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-color: var(--green); box-shadow: 0 0 12px var(--green-glow); }
.final-frame > .corner-tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; border-color: var(--silver); }
.final-frame > .corner-bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; border-color: var(--amber); box-shadow: 0 0 12px var(--amber-glow); }
.final-frame > .corner-br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-color: var(--red); box-shadow: 0 0 12px var(--red-glow); }
.final-frame::before, .final-frame::after { display: none; }

.final h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
}

.final p {
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand img {
  width: 40px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 12px var(--silver-glow));
}

.footer-brand p {
  color: var(--text-3);
  font-size: 13px;
  max-width: 280px;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.pulse { animation: pulse 2.4s ease-in-out infinite; }

@keyframes sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================================
   PARTICLES (canvas-driven via JS) — only canvas styling here
   ============================================================ */

#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--particle-opacity);
}

/* ============================================================
   MISC
   ============================================================ */

.scrolling-stamp {
  position: fixed;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
  z-index: 50;
  pointer-events: none;
}

::selection { background: var(--silver); color: var(--bg); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-4); }
