:root {
  --bg-canvas: #F9FAFB;
  --bg-panel: #FFFFFF;
  --bg-console: #F3F4F6;

  --ink-charcoal: #111827;
  --slate-gray: #4B5563;
  --slate-light: #9CA3AF;

  --border-light: #F3F4F6;
  --border-medium: #E5E7EB;

  --tech-blue: #2563EB;
  --status-green: #10B981;
  --status-bg: #D1FAE5;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
}

body {
  color: var(--slate-gray);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-canvas);
}

/* Base Typo */
h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--ink-charcoal);
}

a {
  color: inherit;
  text-decoration: none;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-gray);
  margin-bottom: 12px;
}

.eyebrow.accent-blue {
  color: var(--tech-blue);
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 12px 64px;
  background: rgba(249, 250, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-medium);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink-charcoal);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 14px;
  color: var(--slate-gray);
}

.nav-links a {
  position: relative;
  transition: color 0.3s;
  padding-bottom: 4px;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--tech-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--ink-charcoal);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle .chevron {
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 10px 24px !important;
  width: 100%;
  color: var(--slate-gray);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background: var(--bg-canvas);
  color: var(--tech-blue) !important;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink-charcoal);
  padding: 8px;
}

/* Hero */
.hero {
  min-height: 80vh;
  /* Reduced slightly to fit social bar better */
  display: flex;
  align-items: center;
  padding: 160px 80px 120px;
  background: radial-gradient(circle at 85% 40%, #E0E7FF 0%, rgba(224, 231, 255, 0) 50%), #F8FAFC;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.hero-heading {
  font-size: clamp(72px, 7vw, 110px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 48px;
}

.line {
  overflow: hidden;
  padding-bottom: 24px;
  padding-top: 8px;
  margin-bottom: -12px;
}

.reveal-text {
  display: inline-block;
  transform: translateY(100%);
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.line:nth-child(2) .reveal-text {
  animation-delay: 0.1s;
}

.line:nth-child(3) .reveal-text {
  animation-delay: 0.2s;
}

@keyframes revealUp {
  to {
    transform: translateY(0);
  }
}

/* Gradient Highlight */
.gradient-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0;
}

.hero-sub {
  font-size: clamp(22px, 3vw, 28px);
  color: #4B5563;
  max-width: 700px;
  margin-bottom: 64px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

/* Solid Accent Pill Button */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--tech-blue);
  color: #FFFFFF;
  border: 1px solid var(--tech-blue);
  padding: 20px 48px;
  border-radius: 64px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.pill-btn:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
  transform: scale(1.03) translateY(-2px);
}

.pill-btn .arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-btn:hover .arrow {
  transform: translateX(6px);
}

/* Secondary Accent Pill Button */
.pill-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  color: var(--ink-charcoal);
  border: 1px solid var(--border-medium);
  padding: 16px 32px;
  border-radius: 64px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pill-btn-secondary:hover {
  background: var(--bg-canvas);
  border-color: var(--slate-light);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: scale(1.03) translateY(-2px);
}

.pill-btn-secondary .arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-btn-secondary:hover .arrow {
  transform: translateX(6px);
}

/* Social Proof Bar */
.social-proof {
  padding: 40px 80px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-canvas);
}

.proof-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.proof-logo {
  font-weight: 700;
  color: var(--slate-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 14px;
}

.proof-text {
  font-size: 14px;
  color: var(--slate-gray);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 24px;
  background: var(--border-medium);
}

/* FVIC Lab */
.fvic-lab {
  padding: 80px 80px;
  background: #0F172A;
  color: #F3F4F6;
}

.fvic-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.fvic-info h2 {
  font-size: clamp(48px, 5vw, 64px);
  margin-bottom: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: #FFFFFF;
}

.fvic-info p {
  color: #9CA3AF;
  font-size: 22px;
  margin-bottom: 48px;
  max-width: 480px;
  font-weight: 500;
}

.proof-card {
  background: #1E293B;
  padding: 48px;
  border-radius: 16px;
  border: 1px solid #334155;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.proof-card .status-badge {
  margin-bottom: 24px;
}

.proof-card h3 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.proof-card p {
  color: #9CA3AF;
  font-size: 18px;
  line-height: 1.6;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-charcoal);
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 6px;
  transition: all 0.3s;
}

.link-arrow:hover {
  color: var(--tech-blue);
  border-color: var(--tech-blue);
}

.link-arrow .arrow {
  transition: transform 0.3s ease;
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

.fvic-info .link-arrow {
  color: #FFFFFF;
  border-color: #4B5563;
}

.fvic-info .link-arrow:hover {
  color: var(--tech-blue);
  border-color: var(--tech-blue);
}

.proof-card .link-arrow {
  color: #FFFFFF;
  border-color: #4B5563;
}

.proof-card .link-arrow:hover {
  color: var(--tech-blue);
  border-color: var(--tech-blue);
}

/* FVIC Lab Light Theme */
.fvic-lab.light-theme {
  background: var(--bg-canvas);
  color: var(--slate-gray);
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
}

.fvic-lab.light-theme h2 {
  color: var(--ink-charcoal);
}

.fvic-lab.light-theme p {
  color: var(--slate-gray);
}

.fvic-lab.light-theme .eyebrow {
  color: var(--tech-blue);
}

.fvic-lab.light-theme .proof-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.fvic-lab.light-theme .proof-card h3 {
  color: var(--ink-charcoal);
}

.fvic-lab.light-theme .proof-card p {
  color: var(--slate-gray);
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--status-bg);
  color: #065F46;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  font-family: var(--font-body);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
}

/* Capabilities Strict Grid */
.bento-capabilities {
  padding: 80px 80px;
  background: #0F172A;
  color: #F3F4F6;
}

.capabilities-wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 80px;
  max-width: 800px;
}

.eyebrow-large {
  font-size: 40px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.section-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: #9CA3AF;
}

.strict-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.strict-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.strict-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.industry-card {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 48px;
  scroll-margin-top: 100px;
}

.industry-card:nth-child(even) {
  flex-direction: row-reverse !important;
}

.industry-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.industry-image {
  flex: 0 0 42%;
  max-width: 440px;
  max-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media(max-width: 768px) {
  .industry-card, .industry-card:nth-child(even) {
    flex-direction: column-reverse !important;
    gap: 32px;
  }
}

.bento-item {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--tech-blue);
}

.bento-icon {
  margin-bottom: 32px;
  color: var(--tech-blue);
  width: 28px;
  height: 28px;
}

.bento-item h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.bento-item p {
  color: #9CA3AF;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.bento-capabilities .link-arrow {
  color: #FFFFFF;
  border-color: #4B5563;
}

.bento-capabilities .link-arrow:hover {
  color: var(--tech-blue);
  border-color: var(--tech-blue);
}

.grid-cta {
  display: flex;
  justify-content: center;
}

/* Bento Light */
.bento-light {
  background: var(--bg-canvas);
  color: var(--slate-gray);
  border-top: 1px solid var(--border-medium);
}

.bento-light .eyebrow-large {
  color: var(--ink-charcoal);
}

.bento-light .section-subtitle {
  color: var(--slate-gray);
}

.bento-light .bento-item {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.bento-light .bento-item:hover {
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
}

.bento-light .bento-item h3 {
  color: var(--ink-charcoal);
}

.bento-light .bento-item p {
  color: var(--slate-gray);
}

.bento-light .link-arrow {
  color: var(--tech-blue);
  border-color: var(--tech-blue);
}


/* Stack Section */
.stack-section {
  padding: 80px 80px;
  background: #0F172A;
  border-top: 1px solid #1E293B;
  color: #9CA3AF;
  position: relative;
  overflow: hidden;
}

.stack-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(15, 23, 42, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.stack-wrapper {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stack-section .eyebrow-large {
  color: #FFFFFF;
}

.stack-section .section-subtitle {
  color: #9CA3AF;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.stack-card {
  background: #1E293B;
  backdrop-filter: none;
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stack-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--tech-blue);
}

.stack-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 24px;
}

.stack-icon {
  color: var(--tech-blue);
  flex-shrink: 0;
}

.stack-card-header h3 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 4px 0;
  line-height: 1.2;
  font-family: var(--font-display);
  color: #FFFFFF;
}

.stack-tag {
  font-size: 14px;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stack-card p {
  font-size: 18px;
  color: #9CA3AF;
  line-height: 1.6;
  margin-bottom: 32px;
  flex-grow: 1;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  padding: 6px 16px;
  border-radius: 64px;
  border: 1px solid var(--border-medium);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-gray);
  background: #FFFFFF;
  transition: all 0.3s ease;
}

.pill:hover {
  background: var(--tech-blue);
  color: #FFFFFF;
  border-color: var(--tech-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.stack-section .pill {
  border-color: #4B5563;
  color: #F3F4F6;
  background: #334155;
  padding: 4px 10px;
  font-size: 12px;
}

.stack-section .pill:hover {
  background: var(--tech-blue);
  color: #FFFFFF;
  border-color: var(--tech-blue);
}

/* Process Sticky */
.process-scroll {
  padding: 80px 80px;
  background: #F8FAFC;
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
}

.process-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 120px;
}

.process-left {
  position: sticky;
  top: 160px;
  height: fit-content;
}

.process-left h2 {
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.05;
}

.process-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.process-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: 64px;
  color: var(--slate-gray);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  width: fit-content;
}

.process-btn:hover {
  border-color: var(--slate-light);
  color: var(--ink-charcoal);
  background: #FFFFFF;
}

.process-btn.active {
  background: var(--tech-blue);
  color: #FFFFFF;
  border-color: var(--tech-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.process-step {
  scroll-margin-top: 160px;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 60px;
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(40px);
}

.process-step.active {
  opacity: 1;
  transform: translateY(0);
}

.step-num {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 280px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--tech-blue);
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}

.step-content {
  position: relative;
  z-index: 1;
}

.process-right {
  position: relative;
}

.process-right::before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 0;
  left: 0px;
  width: 2px;
  background: linear-gradient(to bottom, var(--tech-blue), #0D9488, rgba(13, 148, 136, 0));
  opacity: 0.3;
  z-index: 0;
}

.step-content h3 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 600;
}

.time-box {
  color: var(--tech-blue);
  font-size: 24px;
  font-weight: 500;
  margin-left: 12px;
}

.step-content p {
  color: var(--slate-gray);
  font-size: 20px;
  max-width: 400px;
  margin-bottom: 24px;
}

.outcome {
  display: inline-block;
  padding: 12px 16px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 4px;
  font-size: 14px;
  color: var(--tech-blue);
}

.outcome strong {
  color: #1E3A8A;
}

/* Process Sticky Dark Theme */
.process-scroll.dark-theme {
  background: #0F172A;
  color: #F3F4F6;
  border-color: #1E293B;
}

.process-scroll.dark-theme h2 {
  color: #FFFFFF;
}

.process-scroll.dark-theme .eyebrow {
  color: #9CA3AF;
}

.process-scroll.dark-theme .process-btn {
  border-color: #334155;
  color: #9CA3AF;
}

.process-scroll.dark-theme .process-btn:hover {
  border-color: #4B5563;
  color: #FFFFFF;
  background: #1E293B;
}

.process-scroll.dark-theme .process-btn.active {
  background: var(--tech-blue);
  color: #FFFFFF;
  border-color: var(--tech-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.process-scroll.dark-theme .step-content h3 {
  color: #FFFFFF;
}

.process-scroll.dark-theme .step-content p {
  color: #9CA3AF;
}

.process-scroll.dark-theme .outcome {
  background: #1E293B;
  border-color: #334155;
  color: #60A5FA;
}

.process-scroll.dark-theme .outcome strong {
  color: #93C5FD;
}

/* Contact Portal */
.contact-portal {
  padding: 80px 80px;
  display: flex;
  justify-content: center;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-light);
}

.contact-inner {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.contact-inner h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--slate-gray);
}

.huge-email {
  font-size: clamp(24px, 6vw, 80px);
  font-weight: 600;
  word-break: break-word;
  color: var(--ink-charcoal);
  letter-spacing: -0.03em;
  font-family: var(--font-display);
  position: relative;
  display: inline-block;
}

.huge-email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 4px;
  background: var(--tech-blue);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.huge-email:hover::after {
  transform: scaleX(1);
}

/* Footer */
footer {
  padding: 64px 80px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-canvas);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: var(--slate-gray);
  font-size: 14px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 32px;
}

/* Utilities */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.4s;
}

/* Responsive */
@media(max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .proof-container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .proof-divider {
    width: 100%;
    height: 1px;
  }

  .strict-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .strict-grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-container {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .process-left {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }

  .process-step {
    height: auto;
    margin-bottom: 64px;
    opacity: 0.3;
    transform: none;
  }

  .process-step.active {
    opacity: 1;
  }

  .fvic-wrapper {
    grid-template-columns: 1fr;
  }

  nav,
  .hero,
  .social-proof,
  .bento-capabilities,
  .stack-section,
  .process-scroll,
  .fvic-lab,
  .contact-portal,
  footer {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media(max-width: 768px) {
  .hero {
    padding: 100px 24px 60px;
  }

  nav,
  .social-proof,
  .bento-capabilities,
  .stack-section,
  .process-scroll,
  .fvic-lab,
  .contact-portal,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(249, 250, 251, 0.95);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-bottom: 1px solid var(--border-medium);
    gap: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
    width: 100%;
    text-align: center;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-heading {
    font-size: clamp(40px, 8vw, 56px);
  }

  .huge-email {
    font-size: clamp(24px, 7vw, 40px);
    word-break: break-all;
  }

  .structural-input {
    font-size: 18px;
    padding: 16px;
  }

  .input-group label {
    font-size: 24px;
  }

  .metrics-row {
    flex-direction: column;
    gap: 32px;
  }

  .bento-item {
    padding: 24px !important;
  }

  .stack-card {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}