/* =========================================================
   VANTA GROUP — Design System
   Dark · Glass · Luxury Tech
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #05060a;
  --bg-2: #080a10;
  --bg-3: #0b0e16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --surface-3: rgba(255, 255, 255, 0.08);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(201, 184, 144, 0.35);

  /* Text */
  --text: #f3f4f7;
  --text-dim: #aab0bd;
  --text-faint: #6c7280;

  /* Accents */
  --gold: #c9b88f;
  --gold-soft: #e3d6b4;
  --gold-deep: #a8965f;
  --blue: #7e8cff;
  --violet: #b48cff;

  /* Glows */
  --glow-gold: rgba(201, 184, 143, 0.18);
  --glow-blue: rgba(126, 140, 255, 0.22);
  --glow-violet: rgba(180, 140, 255, 0.18);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #e3d6b4 0%, #c9b88f 45%, #a8965f 100%);
  --grad-cool: linear-gradient(135deg, #8a93ff 0%, #b48cff 100%);
  --grad-text: linear-gradient(180deg, #ffffff 0%, #b9bdc8 100%);

  /* Geometry */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Spacing rhythm */
  --section-pad: clamp(5rem, 11vw, 11rem);
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --maxw: 1240px;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Sora", var(--font-sans);
  --font-serif: "Instrument Serif", Georgia, serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;

  /* Shadows */
  --shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 20px 60px -20px rgba(201, 184, 143, 0.25);

  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  font-feature-settings: "cv11", "ss01";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(201, 184, 143, 0.28); color: #fff; }

/* ---------- Ambient background ---------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(126, 140, 255, 0.12), transparent 60%),
    radial-gradient(1000px 800px at 8% 12%, rgba(180, 140, 255, 0.08), transparent 55%),
    radial-gradient(1100px 900px at 50% 110%, rgba(201, 184, 143, 0.07), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  opacity: 0.6;
}
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Floating glow orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  will-change: transform;
}
.orb-1 { width: 480px; height: 480px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(126, 140, 255, 0.4), transparent 70%); animation: float1 18s var(--ease) infinite alternate; }
.orb-2 { width: 420px; height: 420px; bottom: 8%; left: -120px; background: radial-gradient(circle, rgba(180, 140, 255, 0.3), transparent 70%); animation: float2 22s var(--ease) infinite alternate; }
.orb-3 { width: 360px; height: 360px; top: 45%; left: 55%; background: radial-gradient(circle, rgba(201, 184, 143, 0.22), transparent 70%); animation: float1 26s var(--ease) infinite alternate; }

@keyframes float1 { to { transform: translate(-60px, 50px) scale(1.1); } }
@keyframes float2 { to { transform: translate(70px, -40px) scale(1.08); } }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { position: relative; }
.section-pad { padding-block: var(--section-pad); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: #000;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center::before { display: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h-display {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-section {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-dim);
  max-width: 56ch;
}
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.25rem; }

/* ---------- Glass primitive ---------- */
.glass {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--grad-gold);
  color: #16130b;
  box-shadow: 0 10px 30px -10px rgba(201, 184, 143, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(201, 184, 143, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--border-glow); background: var(--surface-2); }

.btn-block { width: 100%; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 8, 13, 0.7);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
}
.brand .mark { width: 30px; height: 30px; }
.brand span { color: var(--text); }
.brand .sub { color: var(--gold); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-login {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.nav-login:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
.nav-cta .btn { padding: 0.6rem 1.3rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: rgba(6, 7, 11, 0.92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: 2rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a .idx { color: var(--gold); font-size: 0.8rem; font-family: var(--font-sans); }
.mobile-menu .btn { margin-top: 1.5rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  position: relative;
}
.hero-inner { width: 100%; }
.hero-content { max-width: 880px; }
.hero .eyebrow { margin-bottom: 1.6rem; }
.hero h1 { margin-bottom: 1.6rem; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); max-width: 60ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}
.hero-meta {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* Pillars */
.pillars {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
}
.pillar {
  background: var(--bg-2);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.pillar:hover { background: var(--bg-3); }
.pillar h3 {
  font-size: 1.15rem;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pillar h3 .num { color: var(--gold); font-size: 0.8rem; font-weight: 600; }
.pillar p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }
.pillar::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 120%;
  height: 80%;
  background: radial-gradient(circle, var(--glow-gold), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.pillar:hover::after { opacity: 1; }

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .principle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  max-width: 24ch;
  margin-inline: auto;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-copy p + p { margin-top: 1.2rem; }
.about-copy .lead { margin-bottom: 1.5rem; }
.about-list { margin-top: 2rem; display: grid; gap: 1rem; }
.about-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.about-list .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 184, 143, 0.12);
  border: 1px solid var(--border-glow);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.about-list .tick svg { width: 12px; height: 12px; color: var(--gold); }

.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.about-visual .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.about-visual .ring.r1 { inset: 8%; }
.about-visual .ring.r2 { inset: 22%; border-color: var(--border-strong); }
.about-visual .ring.r3 { inset: 36%; }
.about-visual .core {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-gold);
  filter: blur(2px);
  opacity: 0.9;
  box-shadow: 0 0 80px 10px var(--glow-gold);
  animation: pulse 5s var(--ease) infinite;
}
@keyframes pulse { 50% { transform: scale(1.06); opacity: 1; } }
.about-visual .mono {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.1em;
}

/* =========================================================
   CARD GRID (Solutions / Why / Capabilities)
   ========================================================= */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
  box-shadow: var(--shadow-sm);
}
.card::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::after { opacity: 1; }

.card .ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(201, 184, 143, 0.16), rgba(201, 184, 143, 0.04));
  border: 1px solid var(--border-glow);
  margin-bottom: 1.5rem;
  color: var(--gold-soft);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; }
.card .tag {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Solution feature row (Capital + Advisory) */
.solutions-feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.feature-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.feature-card .glow {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  filter: blur(60px);
  top: -120px; right: -80px;
  opacity: 0.5;
}
.feature-card.cap .glow { background: radial-gradient(circle, var(--glow-gold), transparent 70%); }
.feature-card.adv .glow { background: radial-gradient(circle, var(--glow-blue), transparent 70%); }
.feature-card .num-big {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  position: relative;
  margin-bottom: auto;
}
.feature-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.9rem; position: relative; }
.feature-card p { color: var(--text-dim); position: relative; max-width: 42ch; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.4rem, 2.5vw, 1.9rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s;
}
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.step .step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.08));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }
.step p { color: var(--text-dim); font-size: 0.9rem; }
.step .connector {
  position: absolute;
  top: 2.6rem;
  right: -0.7rem;
  color: var(--gold);
  opacity: 0.4;
  z-index: 2;
}

/* =========================================================
   TRUST
   ========================================================= */
.trust-panel {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.trust-points { display: grid; gap: 1.4rem; margin-top: 2rem; }
.trust-point { display: flex; gap: 1rem; }
.trust-point .ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--gold-soft);
}
.trust-point .ico svg { width: 20px; height: 20px; }
.trust-point h4 { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 0.25rem; font-weight: 600; }
.trust-point p { color: var(--text-dim); font-size: 0.88rem; }

.quote-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
}
.quote-card .mark { font-family: var(--font-serif); font-size: 4rem; line-height: 0.5; color: var(--gold); height: 2rem; display: block; }
.quote-card blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-style: italic;
  line-height: 1.35;
  margin: 1rem 0 1.6rem;
  color: var(--text);
}
.quote-card cite { font-style: normal; color: var(--text-dim); font-size: 0.9rem; }
.quote-card cite strong { color: var(--text); font-weight: 600; display: block; font-family: var(--font-display); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-panel {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.contact-info .lead { margin: 1.2rem 0 2rem; }
.contact-channels { display: grid; gap: 1rem; }
.channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease);
}
.channel:hover { border-color: var(--border-glow); background: var(--surface-2); transform: translateX(4px); }
.channel .ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: var(--gold-soft);
  background: rgba(201, 184, 143, 0.1); border: 1px solid var(--border-glow);
}
.channel .ico svg { width: 18px; height: 18px; }
.channel .label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.channel .val { font-weight: 500; color: var(--text); }

/* Form */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.82rem; color: var(--text-dim); letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--border-glow);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 4px rgba(201, 184, 143, 0.08);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form .btn { margin-top: 0.5rem; }
.form-note { font-size: 0.8rem; color: var(--text-faint); text-align: center; }
.form-status { font-size: 0.9rem; padding: 0.8rem 1rem; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(201, 184, 143, 0.12); border: 1px solid var(--border-glow); color: var(--gold-soft); }
.form-status.err { background: rgba(255, 120, 120, 0.1); border: 1px solid rgba(255,120,120,0.3); color: #ffb3b3; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 6vw, 5rem) 2.5rem;
  margin-top: 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 34ch; }
.footer-col h5 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col a, .footer-col li {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 0.35rem 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  color: var(--text-faint);
  font-size: 0.83rem;
}
.footer-bottom .legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text-dim); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Scroll progress bar */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--grad-gold);
  z-index: 101;
  box-shadow: 0 0 12px var(--gold);
  transition: width 0.1s linear;
}

/* =========================================================
   LOGIN PAGE
   ========================================================= */
.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem var(--gutter);
}
.login-shell {
  width: 100%;
  max-width: 440px;
}
.login-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 1.6rem;
  transition: color 0.3s;
}
.login-back:hover { color: var(--text); }
.login-back svg { width: 15px; height: 15px; }
.login-card {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.login-card .brand { justify-content: center; margin-bottom: 0.4rem; font-size: 1.2rem; }
.login-head { text-align: center; margin-bottom: 2rem; }
.login-head h1 {
  font-size: 1.7rem;
  margin: 1rem 0 0.5rem;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-head p { color: var(--text-dim); font-size: 0.92rem; }
.login-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-top: -0.2rem;
}
.login-meta a { color: var(--gold-soft); }
.login-meta a:hover { text-decoration: underline; }
.login-check { display: flex; align-items: center; gap: 0.5rem; color: var(--text-dim); cursor: pointer; }
.login-check input { width: 16px; height: 16px; accent-color: var(--gold); }
.login-foot {
  text-align: center;
  margin-top: 1.6rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-faint);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 1.6rem 0;
}
.login-divider::before, .login-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.login-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 1.4rem;
  justify-content: center;
  width: 100%;
}
.login-secure svg { width: 13px; height: 13px; color: var(--gold); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .step .connector { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .about-grid, .trust-grid, .contact-grid { grid-template-columns: 1fr; }
  /* justify-self (not margin:auto) so the grid item keeps its width instead of
     shrinking to content — that shrink is what broke the animated emblem. */
  .about-visual { width: 100%; max-width: 320px; justify-self: center; order: -1; }
  .solutions-feature { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .grid-2, .grid-4, .process-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom .legal { justify-content: center; }
  .orb { opacity: 0.35; }

  /* Tighter, right-sized cards on phones */
  .card { padding: 1.5rem; }
  .card .ico { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 1.1rem; }
  .card .ico svg { width: 21px; height: 21px; }
  .card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
  .card p { font-size: 0.9rem; }
  .card .tag { top: 1.3rem; right: 1.3rem; }

  .feature-card { padding: 1.6rem; }
  .feature-card h3 { font-size: 1.5rem; }
  .feature-card .num-big { margin-bottom: 1.4rem; }

  .pillar { padding: 1.4rem 1.5rem; }
  .pillar h3 { font-size: 1.08rem; }

  .step { padding: 1.5rem; }
  .step .step-num { font-size: 2.1rem; margin-bottom: 0.8rem; }
  .step h3 { font-size: 1.1rem; }

  .trust-panel, .contact-panel { padding: 1.6rem; border-radius: 22px; }
  .quote-card { padding: 1.6rem; }
  .channel { padding: 0.85rem 1rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .orb { animation: none; }
}
