/* ============================================
   AI Bridge HQ — "Neural Luxe" Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --midnight: #080c1f;
  --navy: #0d1333;
  --navy-light: #131b42;
  --navy-mid: #1a2355;
  --blue-deep: #1e3a8a;
  --blue-bright: #3b82f6;
  --blue-sky: #38bdf8;
  --blue-glow: #60a5fa;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --orange-warm: #f97316;
  --text-primary: #edf2f7;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glass-bg: rgba(13, 19, 51, 0.6);
  --glass-border: rgba(59, 130, 246, 0.12);
  --card-bg: rgba(19, 27, 66, 0.5);
  --font-display: 'Roboto', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(8, 12, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--glass-border);
}

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

.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand .ai {
  color: var(--amber);
}

.nav-brand .bridge-icon {
  width: 28px;
  height: 16px;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-brand .bridge-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--blue-bright));
  top: 50%;
  border-radius: 2px;
}

.nav-brand .bridge-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 10px;
  border: 2px solid var(--amber);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  top: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--amber), var(--orange-warm));
  color: var(--midnight) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 6px;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
  color: var(--midnight) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 1.5rem 6rem;
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-deep), transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent 70%);
  bottom: -5%;
  left: -5%;
  animation-delay: -4s;
}

.hero-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--amber-dim);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeSlideDown 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  animation: fadeSlideDown 0.8s var(--ease-out-expo) 0.4s both;
}

.hero-title .ai {
  background: linear-gradient(135deg, var(--amber), var(--orange-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .bridge {
  color: var(--text-primary);
}

.hero-title .hq {
  color: var(--blue-sky);
  font-size: 0.55em;
  vertical-align: super;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeSlideDown 0.8s var(--ease-out-expo) 0.55s both;
}

/* Decorative bridge line under title */
.hero-bridge-line {
  width: 200px;
  height: 20px;
  margin: 0 auto 2.5rem;
  position: relative;
  animation: fadeSlideDown 0.8s var(--ease-out-expo) 0.65s both;
}

.hero-bridge-line::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--blue-bright), transparent);
}

.hero-bridge-line::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 100%;
  left: 20%;
  border: 2px solid transparent;
  border-bottom: none;
  border-image: linear-gradient(90deg, var(--amber), var(--blue-bright)) 1;
  border-image-slice: 1;
  border-radius: 0;
  clip-path: polygon(0% 100%, 10% 0%, 90% 0%, 100% 100%);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 3rem;
  animation: fadeSlideDown 0.8s var(--ease-out-expo) 0.75s both;
}

.hero-tagline strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideDown 0.8s var(--ease-out-expo) 0.9s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--amber), var(--orange-warm));
  color: var(--midnight);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
}

.btn-primary .arrow {
  transition: transform 0.3s var(--ease-spring);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--blue-bright);
  background: rgba(59, 130, 246, 0.08);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeSlideDown 0.8s var(--ease-out-expo) 1.2s both;
}

.hero-scroll span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Services Section --- */
.services {
  position: relative;
  padding: 8rem 0;
  background: var(--navy);
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue-sky));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

/* Featured AI card */
.service-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border-color: rgba(245, 158, 11, 0.2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
}

.service-card--featured::before {
  background: linear-gradient(90deg, var(--amber), var(--orange-warm));
  opacity: 1;
}

.service-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(245, 158, 11, 0.08), transparent 50%);
  pointer-events: none;
}

.service-card--featured:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 16px 48px rgba(245, 158, 11, 0.1);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-card--featured .service-icon {
  width: 72px;
  height: 72px;
  background: var(--amber-dim);
  border-radius: 14px;
  margin-bottom: 0;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue-bright);
  stroke-width: 1.8;
  fill: none;
}

.service-card--featured .service-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--amber);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-card--featured h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-card--featured .featured-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.6rem;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 4px;
}

/* --- AI Focus Section --- */
.ai-focus {
  position: relative;
  padding: 8rem 0;
  background: var(--midnight);
  overflow: hidden;
}

.ai-focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-focus-content .section-label,
.ai-focus-content .section-title {
  text-align: left;
}

.ai-focus-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.ai-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ai-stat {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.ai-stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.ai-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Visual element: animated network */
.ai-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
}

.ai-visual-ring--1 {
  width: 100%;
  height: 100%;
  animation: ringRotate 30s linear infinite;
}

.ai-visual-ring--2 {
  width: 75%;
  height: 75%;
  border-color: rgba(245, 158, 11, 0.12);
  animation: ringRotate 25s linear infinite reverse;
}

.ai-visual-ring--3 {
  width: 50%;
  height: 50%;
  animation: ringRotate 20s linear infinite;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Nodes on rings */
.ai-visual-ring::before,
.ai-visual-ring::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--blue-bright);
}

.ai-visual-ring--1::before { top: 0; left: 50%; transform: translate(-50%, -50%); }
.ai-visual-ring--1::after { bottom: 0; right: 15%; transform: translate(50%, 50%); background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.ai-visual-ring--2::before { top: 10%; right: 0; transform: translate(50%, -50%); background: var(--blue-sky); box-shadow: 0 0 12px var(--blue-sky); }
.ai-visual-ring--2::after { bottom: 10%; left: 0; transform: translate(-50%, 50%); }
.ai-visual-ring--3::before { top: 50%; right: 0; transform: translate(50%, -50%); background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.ai-visual-ring--3::after { bottom: 0; left: 50%; transform: translate(-50%, 50%); }

.ai-visual-core {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--amber-dim), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.1); }
  50% { box-shadow: 0 0 50px rgba(245, 158, 11, 0.25); }
}

.ai-visual-core svg {
  width: 36px;
  height: 36px;
  stroke: var(--amber);
  stroke-width: 1.5;
  fill: none;
}

/* --- About Section --- */
.about {
  position: relative;
  padding: 8rem 0;
  background: var(--navy);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content .section-label,
.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.credential {
  padding: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.credential:hover {
  border-color: rgba(59, 130, 246, 0.25);
}

.credential-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
}

.credential-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue-bright);
  stroke-width: 1.8;
  fill: none;
}

.credential-icon--amber {
  background: var(--amber-dim);
}

.credential-icon--amber svg {
  stroke: var(--amber);
}

.credential h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.credential p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Contact Section --- */
.contact {
  position: relative;
  padding: 8rem 0;
  background: var(--midnight);
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-inner .section-title {
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-card {
  padding: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--blue-bright));
}

.contact-email-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--amber);
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-all;
}

.contact-email:hover {
  color: var(--amber-light);
}

.contact-email svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  flex-shrink: 0;
}

.contact-divider {
  width: 60px;
  height: 1px;
  background: var(--glass-border);
  margin: 2rem auto;
}

.contact-location {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-location svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  stroke-width: 1.8;
  fill: none;
}

/* Decorative orb behind contact */
.contact-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06), transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

/* --- Footer --- */
.footer {
  padding: 3rem 0;
  background: var(--midnight);
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-brand .ai {
  color: var(--amber);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}

.footer-links a:hover {
  color: var(--amber);
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-page {
  padding: 10rem 0 6rem;
  min-height: 100vh;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-effective {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-content {
  max-width: 740px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2.5rem 0 0.75rem;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal-content ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.legal-content a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}

.legal-content a:hover {
  color: var(--orange-warm);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
  .ai-focus-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ai-visual {
    max-width: 350px;
    margin: 0 auto;
  }

  .service-card--featured {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card--featured .service-icon {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 12, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 7rem 1.5rem 4rem;
    min-height: auto;
  }

  .hero-scroll {
    display: none;
  }

  .services,
  .ai-focus,
  .about,
  .contact {
    padding: 5rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .ai-stats {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }
}
