/* ============================================================
   RISKTRACE AI — Styles
   Design: Deep space base, violet-to-cyan gradient accent,
   IBM Plex Mono for data, Space Grotesk for display,
   Inter for body. Signature: animated hex-grid orbit visual.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

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

/* ============ TOKENS ============ */
:root {
  /* Backgrounds */
  --bg-base:      #07080F;
  --bg-surface:   #0B0D1A;
  --bg-panel:     #0F1222;
  --bg-card:      #131628;
  --bg-card-h:    #171C30;
  --bg-glass:     rgba(13, 16, 34, 0.75);

  /* Brand gradient: violet → cyan */
  --violet:        #6C63FF;
  --violet-dim:    rgba(108, 99, 255, 0.12);
  --violet-glow:   rgba(108, 99, 255, 0.25);
  --cyan:          #00D4FF;
  --cyan-dim:      rgba(0, 212, 255, 0.1);
  --grad-main:     linear-gradient(135deg, #6C63FF 0%, #00D4FF 100%);
  --grad-subtle:   linear-gradient(135deg, rgba(108,99,255,0.12) 0%, rgba(0,212,255,0.06) 100%);
  --grad-text:     linear-gradient(135deg, #6C63FF 0%, #00D4FF 100%);

  /* Semantic */
  --red:           #FF4D6D;
  --red-dim:       rgba(255, 77, 109, 0.1);
  --amber:         #FFB347;
  --amber-dim:     rgba(255, 179, 71, 0.1);
  --yellow:        #FFD60A;
  --yellow-dim:    rgba(255, 214, 10, 0.1);
  --green:         #00D68F;
  --green-dim:     rgba(0, 214, 143, 0.1);

  /* Borders */
  --border:        rgba(108, 99, 255, 0.12);
  --border-md:     rgba(108, 99, 255, 0.25);
  --border-bright: rgba(108, 99, 255, 0.5);

  /* Text */
  --text-white:    #FFFFFF;
  --text-primary:  #E6E8F4;
  --text-secondary:#9298B8;
  --text-muted:    #545878;
  --text-dim:      #2D3050;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Radii */
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Nav */
  --nav-h: 68px;
}

/* ============ BASE ============ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient glow layers */
body::before {
  content: '';
  position: fixed;
  top: -300px; left: -300px;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(108,99,255,0.055) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,212,255,0.045) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ============ URGENCY BAR ============ */
.urgency-bar {
  background: rgba(108, 99, 255, 0.1);
  border-bottom: 1px solid rgba(108, 99, 255, 0.25);
  padding: 9px 0;
  position: relative;
  z-index: 110;
}
.ub-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.ub-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--violet);
  background: var(--violet-dim);
  border: 1px solid var(--border-md);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
  text-transform: uppercase;
}
.ub-text {
  color: var(--text-secondary);
  font-size: 12.5px;
  flex: 1;
}
.ub-text strong { color: var(--text-white); }
.ub-cta {
  color: var(--cyan);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-mono);
  transition: opacity 0.2s;
}
.ub-cta:hover { opacity: 0.7; }

/* ============ NAV ============ */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 8, 15, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark svg { width: 32px; height: 32px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}
.logo-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  margin-left: auto;
  gap: 0;
}
.nav-links a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: var(--nav-h);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
  border-bottom-color: var(--violet);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  z-index: 95;
  padding-bottom: 1rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul a {
  display: block;
  padding: 14px 2rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu ul a:hover { color: var(--violet); background: var(--violet-dim); }
.mm-actions { padding: 1.25rem 2rem 0.5rem; }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block;
  background: var(--grad-main);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s, filter 0.22s;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.3);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(108, 99, 255, 0.45);
  filter: brightness(1.08);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-md);
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
}
.btn-ghost:hover {
  color: var(--violet);
  border-color: var(--violet);
  background: var(--violet-dim);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 15px 36px; font-size: 15px; }
.btn-full { width: 100%; text-align: center; }

/* ============ SECTION SHARED ============ */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--violet);
  margin-bottom: 1rem;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============ HERO ============ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

/* Subtle grid overlay */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,0.18) 0%, transparent 70%);
  top: -100px; left: -150px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  bottom: -80px; right: 10%;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content { max-width: 620px; }

.hero-eyebrow { margin-bottom: 1.5rem; }
.eyebrow-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--violet);
  background: var(--violet-dim);
  border: 1px solid var(--border-md);
  border-radius: 100px;
  padding: 5px 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}
.hero-title-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* Proof row */
.hero-proof-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 80px;
  padding: 0 12px;
}
.hero-proof-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}
.proof-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 4px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.proof-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hex visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hex-grid {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hex-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: hexSpin linear infinite;
}
.ring-outer {
  width: 320px; height: 320px;
  animation-duration: 40s;
}
.ring-mid {
  width: 220px; height: 220px;
  animation-duration: 28s;
  animation-direction: reverse;
  border-color: rgba(108,99,255,0.18);
}
@keyframes hexSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hex-core {
  position: relative;
  width: 120px; height: 120px;
  background: var(--bg-glass);
  border: 1px solid var(--border-md);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 0 60px rgba(108,99,255,0.2), inset 0 0 30px rgba(108,99,255,0.05);
  z-index: 2;
}
.hex-core svg { width: 56px; height: 56px; }
.hex-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-align: center;
  line-height: 1.4;
  margin-top: 4px;
}

/* Orbit nodes */
.orbit-node {
  position: absolute;
  width: 40px; height: 40px;
  background: var(--bg-panel);
  border: 1px solid var(--border-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: default;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: nodeFloat ease-in-out infinite;
}
.orbit-node:hover {
  transform: scale(1.2) !important;
  box-shadow: 0 0 20px var(--violet-glow);
  z-index: 10;
}

/* Distribute nodes around circle */
.on-1 { top: 20px; left: 50%; transform: translateX(-50%); animation-duration: 4s; animation-delay: 0s; }
.on-2 { top: 25%; right: 10px; animation-duration: 5s; animation-delay: -1s; }
.on-3 { bottom: 25%; right: 10px; animation-duration: 4.5s; animation-delay: -2s; }
.on-4 { bottom: 20px; left: 50%; transform: translateX(-50%); animation-duration: 5.5s; animation-delay: -0.5s; }
.on-5 { bottom: 25%; left: 10px; animation-duration: 4s; animation-delay: -3s; }
.on-6 { top: 25%; left: 10px; animation-duration: 5s; animation-delay: -1.5s; }

@keyframes nodeFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -6px; }
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: relative;
  z-index: 1;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.trust-item {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s;
}
.trust-item:hover { color: var(--violet); }
.trust-sep { color: var(--text-dim); }

/* ============ SERVICES ============ */
.services-section {
  padding: 9rem 0;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--border-md);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.service-card:hover::before { opacity: 1; }

.service-card--featured {
  border-color: rgba(108, 99, 255, 0.35);
  background: linear-gradient(135deg, rgba(108,99,255,0.08) 0%, rgba(0,212,255,0.04) 100%);
}
.service-card--featured::before { opacity: 0.6; }

/* Card top row */
.sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.sc-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.sc-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.tier-found  { color: var(--cyan);   background: var(--cyan-dim); }
.tier-rec    { color: var(--violet); background: var(--violet-dim); }
.tier-strat  { color: var(--green);  background: var(--green-dim); }
.tier-urgent { color: var(--amber);  background: var(--amber-dim); }
.tier-reg    { color: var(--cyan);   background: var(--cyan-dim); }
.tier-inc    { color: var(--red);    background: var(--red-dim); }

/* Icon wraps */
.sc-icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.sc-icon-wrap svg { width: 22px; height: 22px; }
.ic-violet { background: var(--violet-dim); color: var(--violet); }
.ic-cyan   { background: var(--cyan-dim);   color: var(--cyan); }
.ic-amber  { background: var(--amber-dim);  color: var(--amber); }
.ic-red    { background: var(--red-dim);    color: var(--red); }
.ic-green  { background: var(--green-dim);  color: var(--green); }

.sc-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.sc-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}
.sc-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
  flex: 1;
}
.sc-deliverables li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.sc-deliverables li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--violet);
  font-size: 10px;
  top: 2px;
}
.sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.sc-outcome-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.sc-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--violet);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.sc-cta:hover { color: var(--cyan); }
.sc-cta--featured {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ METHODOLOGY ============ */
.methodology-section {
  padding: 9rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.method-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.method-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
  flex: 1;
  min-width: 180px;
}
.ms-icon {
  width: 60px; height: 60px;
  background: var(--violet-dim);
  border: 1px solid var(--border-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ms-icon svg { width: 26px; height: 26px; color: var(--violet); }
.ms-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.ms-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 10px;
}
.ms-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.method-connector {
  flex-shrink: 0;
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-top: 30px;
  position: relative;
}
.method-connector::after {
  content: '';
  position: absolute;
  right: -4px; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--violet);
  border-right: 1px solid var(--violet);
  transform: rotate(45deg);
}

/* ============ EU AI ACT ============ */
.euai-section {
  padding: 9rem 0;
  position: relative;
  z-index: 1;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
}

.euai-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 6rem;
  align-items: start;
}

.euai-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.euai-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.euai-risk-tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.euai-tier {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid;
}
.tier-prohibited { background: rgba(255,77,109,0.07); border-color: rgba(255,77,109,0.2); }
.tier-high       { background: rgba(255,179,71,0.07);  border-color: rgba(255,179,71,0.2); }
.tier-limited    { background: rgba(255,214,10,0.07);  border-color: rgba(255,214,10,0.18); }
.tier-minimal    { background: rgba(0,214,143,0.06);   border-color: rgba(0,214,143,0.18); }
.et-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  min-width: 90px;
}
.tier-prohibited .et-label { color: var(--red); }
.tier-high .et-label       { color: var(--amber); }
.tier-limited .et-label    { color: var(--yellow); }
.tier-minimal .et-label    { color: var(--green); }
.et-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Countdown + fines block */
.countdown-block {
  background: var(--bg-glass);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(16px);
  margin-bottom: 16px;
}
.cd-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.cd-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.cd-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.fine-block {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.fb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.fb-row:last-child { border-bottom: none; }
.fb-label { font-size: 12px; color: var(--text-secondary); }
.fb-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.fb-red    { color: var(--red); }
.fb-amber  { color: var(--amber); }
.fb-yellow { color: var(--yellow); }

/* ============ CALCULATOR / RISK SCORER ============ */
.calc-section {
  padding: 9rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

/* Sliders */
.slider-group {
  margin-bottom: 28px;
}
.sg-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.sg-header label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}
.sg-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--violet);
}
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-card);
  outline: none;
  cursor: pointer;
  position: relative;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-main);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(108,99,255,0.5);
  border: 2px solid var(--bg-base);
  transition: transform 0.15s;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-main);
  cursor: pointer;
  border: 2px solid var(--bg-base);
}
.sg-hints {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}
.sg-hints span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}

/* Result panel */
.calc-results {
  background: var(--bg-glass);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  backdrop-filter: blur(20px);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.result-score-ring {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
}
.score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
}
.score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.score-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.result-tier {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.rt-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.rt-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.result-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rm-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.rm-label {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}
.rm-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ============ ABOUT ============ */
.about-section {
  padding: 9rem 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6rem;
  align-items: start;
}
.about-bio {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 1.5rem;
}
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 2.5rem;
}
.exp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s;
  backdrop-filter: blur(8px);
}
.exp-item:hover { border-color: var(--border-md); }
.exp-icon { font-size: 17px; flex-shrink: 0; line-height: 1.4; }
.exp-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 3px;
}
.exp-detail {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* About stats */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 270px;
}
.as-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s;
}
.as-card:hover { border-color: var(--border-md); }
.as-num {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.as-num--alert { font-size: 28px; }
.as-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.5;
}

/* ============ CONTACT ============ */
.contact-section {
  padding: 9rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}
.contact-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  padding: 13px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.contact-item:hover {
  color: var(--cyan);
  border-color: var(--border-md);
  transform: translateX(4px);
}
.ci-icon { font-size: 16px; }
.urgency-reminder {
  background: rgba(108, 99, 255, 0.07);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  padding: 20px;
}
.ur-head {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.urgency-reminder ul { list-style: none; }
.urgency-reminder li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0 5px 16px;
  position: relative;
  font-family: var(--font-mono);
}
.urgency-reminder li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--violet);
  font-size: 10px;
  top: 7px;
}

/* Contact form */
.contact-form-wrap {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
}
.contact-form { display: flex; flex-direction: column; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23545878' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}
.form-success {
  text-align: center;
  padding: 3rem 1.5rem;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
}
.form-success p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: flex;
  gap: 5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 220px;
  margin-top: 1rem;
}
.footer-links {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 150px;
}
.fc-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-white);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--violet); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* ============ FOCUS STYLES (Accessibility) ============ */
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.15ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .euai-inner { grid-template-columns: 1fr; gap: 3rem; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results { position: static; }
  .about-layout { grid-template-columns: 1fr; gap: 4rem; }
  .about-stats { grid-template-columns: repeat(4, 1fr); min-width: auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 4rem; }
  .method-connector { display: none; }
  .method-steps { gap: 2rem; justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-content: flex-start; gap: 2rem; }
  .footer-top { gap: 2.5rem; }
  .hero-proof-row { gap: 0; }
  .hero-proof { padding: 8px; }
  .hero-proof-div { display: none; }
  .trust-scroll { gap: 0.5rem; }
  .contact-form-wrap { padding: 24px 20px; }
  .container { padding: 0 1.25rem; }
  .ub-cta { display: none; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .result-score-ring { width: 120px; height: 120px; }
  .score-num { font-size: 32px; }
  .method-step { min-width: 100%; }
  .hero-title { font-size: 2.4rem; }
}
