@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Dark Mode Default */
:root {
  --background: 222 47% 5%;
  --foreground: 210 20% 98%;
  --card: 222 47% 8%;
  --card-foreground: 210 20% 98%;
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 217 33% 17%;
  --secondary-foreground: 210 20% 98%;
  --muted: 217 33% 17%;
  --muted-foreground: 215 20% 65%;
  --accent: 187 85% 43%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 62% 50%;
  --destructive-foreground: 0 0% 100%;
  --border: 217 33% 17%;
  --input: 217 33% 22%;
  --ring: 217 91% 60%;
  --radius: 0.5rem;
}

.light {
  --background: 210 20% 98%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 214 32% 91%;
  --secondary-foreground: 222 47% 11%;
  --muted: 210 20% 96%;
  --muted-foreground: 215 16% 47%;
  --accent: 187 85% 43%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 214 20% 90%;
  --input: 214 20% 85%;
  --ring: 217 91% 60%;
}

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

/* Accessibility - Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: hsl(var(--primary));
  color: white;
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
}

/* Focus Visible Styles for Accessibility */
*:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --border: 217 33% 40%;
  }
  
  .card {
    border-width: 2px;
  }
  
  a {
    text-decoration: underline;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Neural Grid Background */
.neural-grid {
  background-image: 
    linear-gradient(hsl(var(--primary) / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--primary) / 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
}

.light .neural-grid {
  background-image: 
    linear-gradient(hsl(var(--primary) / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--primary) / 0.03) 1px, transparent 1px);
}

/* Gradient Border */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)), hsl(var(--primary)));
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Glow Effects */
.glow-primary {
  box-shadow: 0 0 20px hsl(var(--primary) / 0.3), 0 0 40px hsl(var(--primary) / 0.1);
}

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

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px hsl(var(--primary) / 0.3);
  }
  50% { 
    box-shadow: 0 0 40px hsl(var(--primary) / 0.6), 0 0 60px hsl(var(--accent) / 0.3);
  }
}

/* Float Animation */
.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--secondary));
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background: hsl(var(--secondary));
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Card */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 30px hsl(var(--primary) / 0.1);
  transform: translateY(-2px);
}

/* Particle Canvas */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

nav a:hover {
  color: hsl(var(--foreground));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: hsl(var(--secondary));
}

.mobile-menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-actions .btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    hsl(var(--primary) / 0.05) 0%,
    transparent 50%,
    hsl(var(--accent) / 0.05) 100%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero p.lead {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 540px;
}

@media (max-width: 968px) {
  .hero p.lead {
    margin: 0 auto;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 968px) {
  .hero-buttons {
    justify-content: center;
  }
}

/* AI Orbit Visual */
/* AI Reality Visual - Enhanced Hero Animation */
.ai-reality-visual {
  position: relative;
  width: 450px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 968px) {
  .ai-reality-visual {
    display: none;
  }
}

/* Constellation Lines */
.constellation-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.constellation-line {
  opacity: 0;
  animation: line-fade-in 2s ease-out forwards;
}

.line-1 { animation-delay: 0.2s; }
.line-2 { animation-delay: 0.4s; }
.line-3 { animation-delay: 0.6s; }
.line-4 { animation-delay: 0.8s; }
.line-5 { animation-delay: 1.0s; }
.line-6 { animation-delay: 1.2s; }
.line-7 { animation-delay: 1.4s; }
.line-8 { animation-delay: 1.6s; }

@keyframes line-fade-in {
  0% { opacity: 0; stroke-dasharray: 200; stroke-dashoffset: 200; }
  100% { opacity: 1; stroke-dasharray: 200; stroke-dashoffset: 0; }
}

/* Orbit Rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  animation: ring-rotate 30s linear infinite;
}

.orbit-ring-1 {
  width: 140px;
  height: 140px;
  border-color: hsl(var(--primary) / 0.15);
  animation-duration: 20s;
}

.orbit-ring-2 {
  width: 220px;
  height: 220px;
  border-color: hsl(var(--primary) / 0.12);
  border-style: dashed;
  animation-duration: 35s;
  animation-direction: reverse;
}

.orbit-ring-3 {
  width: 320px;
  height: 320px;
  border-color: hsl(var(--accent) / 0.1);
  animation-duration: 45s;
}

.orbit-ring-4 {
  width: 420px;
  height: 420px;
  border-color: hsl(var(--primary) / 0.08);
  border-style: dotted;
  animation-duration: 60s;
  animation-direction: reverse;
}

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

/* AI Core - Central Element */
.ai-core {
  position: absolute;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.ai-core-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: core-glow-pulse 3s ease-in-out infinite;
}

.ai-core-inner {
  position: relative;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 40px hsl(var(--primary) / 0.5),
    0 0 80px hsl(var(--primary) / 0.3),
    inset 0 1px 0 hsl(0 0% 100% / 0.2);
  animation: core-float 4s ease-in-out infinite;
  z-index: 2;
}

.ai-core-inner svg {
  width: 36px;
  height: 36px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.ai-core-pulse {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid hsl(var(--primary) / 0.6);
  border-radius: 16px;
  animation: core-pulse-expand 2s ease-out infinite;
}

@keyframes core-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes core-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes core-pulse-expand {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Orbiting Nodes */
.orbit-node {
  position: absolute;
  width: 16px;
  height: 16px;
  background: hsl(var(--primary));
  border-radius: 50%;
  box-shadow: 0 0 20px hsl(var(--primary) / 0.6);
  z-index: 5;
}

.node-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
  animation: node-pulse 2s ease-in-out infinite;
}

.node-1 {
  animation: orbit-path-1 15s linear infinite;
  background: hsl(var(--accent));
  box-shadow: 0 0 20px hsl(var(--accent) / 0.6);
  width: 14px;
  height: 14px;
}

.node-2 {
  animation: orbit-path-2 20s linear infinite reverse;
  width: 10px;
  height: 10px;
}

.node-3 {
  animation: orbit-path-3 25s linear infinite;
  background: hsl(var(--accent));
  box-shadow: 0 0 20px hsl(var(--accent) / 0.6);
  width: 12px;
  height: 12px;
}

.node-4 {
  animation: orbit-path-4 30s linear infinite reverse;
  width: 8px;
  height: 8px;
}

.node-5 {
  animation: orbit-path-5 18s linear infinite;
  width: 6px;
  height: 6px;
  background: hsl(var(--accent));
}

@keyframes orbit-path-1 {
  from { transform: rotate(0deg) translateX(70px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(70px) rotate(-360deg); }
}

@keyframes orbit-path-2 {
  from { transform: rotate(0deg) translateX(110px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(110px) rotate(-360deg); }
}

@keyframes orbit-path-3 {
  from { transform: rotate(45deg) translateX(160px) rotate(-45deg); }
  to { transform: rotate(405deg) translateX(160px) rotate(-405deg); }
}

@keyframes orbit-path-4 {
  from { transform: rotate(90deg) translateX(210px) rotate(-90deg); }
  to { transform: rotate(450deg) translateX(210px) rotate(-450deg); }
}

@keyframes orbit-path-5 {
  from { transform: rotate(180deg) translateX(55px) rotate(-180deg); }
  to { transform: rotate(540deg) translateX(55px) rotate(-540deg); }
}

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

/* Floating Particles */
.floating-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: hsl(var(--primary) / 0.6);
  border-radius: 50%;
  animation: particle-float 8s ease-in-out infinite;
}

.particle-1 { top: 15%; left: 75%; animation-delay: 0s; animation-duration: 7s; }
.particle-2 { top: 25%; left: 85%; animation-delay: 1s; animation-duration: 9s; background: hsl(var(--accent) / 0.5); }
.particle-3 { top: 70%; left: 80%; animation-delay: 2s; animation-duration: 6s; }
.particle-4 { top: 80%; left: 20%; animation-delay: 3s; animation-duration: 10s; background: hsl(var(--accent) / 0.5); }
.particle-5 { top: 20%; left: 15%; animation-delay: 4s; animation-duration: 8s; }
.particle-6 { top: 60%; left: 10%; animation-delay: 1.5s; animation-duration: 7s; width: 3px; height: 3px; }
.particle-7 { top: 40%; left: 90%; animation-delay: 2.5s; animation-duration: 9s; width: 5px; height: 5px; background: hsl(var(--accent) / 0.4); }
.particle-8 { top: 85%; left: 60%; animation-delay: 0.5s; animation-duration: 11s; width: 3px; height: 3px; }

@keyframes particle-float {
  0%, 100% { 
    transform: translateY(0) translateX(0); 
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-15px) translateX(10px); 
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-5px) translateX(-5px); 
    opacity: 0.4;
  }
  75% { 
    transform: translateY(-20px) translateX(-10px); 
    opacity: 0.7;
  }
}

/* Data Stream Effect */
.data-stream {
  position: absolute;
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, transparent 0%, hsl(var(--primary) / 0.6) 50%, transparent 100%);
  border-radius: 2px;
  animation: stream-flow 3s ease-in-out infinite;
}

.stream-1 {
  top: 10%;
  right: 15%;
  animation-delay: 0s;
  height: 40px;
}

.stream-2 {
  top: 75%;
  right: 25%;
  animation-delay: 1s;
  height: 25px;
  background: linear-gradient(180deg, transparent 0%, hsl(var(--accent) / 0.5) 50%, transparent 100%);
}

.stream-3 {
  top: 50%;
  left: 8%;
  animation-delay: 2s;
  height: 35px;
}

@keyframes stream-flow {
  0% { 
    transform: translateY(-20px); 
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% { 
    transform: translateY(40px); 
    opacity: 0;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid hsl(var(--muted-foreground) / 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: hsl(var(--primary));
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto;
}

.bg-muted {
  background: hsl(var(--muted) / 0.3);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  padding: 2rem;
  text-align: center;
}

.industry-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background: hsl(var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.industry-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.industry-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.industry-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.industry-feature {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: 9999px;
}

/* About Section - Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.expertise-card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.expertise-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.expertise-icon svg {
  width: 24px;
  height: 24px;
}

.expertise-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.expertise-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.london-banner {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.8), hsl(var(--accent) / 0.8));
  border-radius: var(--radius);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  color: white;
}

.london-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.london-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.london-icon svg {
  width: 32px;
  height: 32px;
}

.london-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.london-content p {
  opacity: 0.8;
}

.london-serving {
  text-align: right;
}

@media (max-width: 768px) {
  .london-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .london-content {
    flex-direction: column;
    text-align: center;
  }
  .london-serving {
    text-align: center;
  }
}

/* Expertise Section - SDLC */
.sdlc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .sdlc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .sdlc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sdlc-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sdlc-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
}

.sdlc-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
}

.sdlc-icon svg {
  width: 24px;
  height: 24px;
  color: hsl(var(--primary));
  position: relative;
  z-index: 1;
}

.sdlc-phase h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.sdlc-phase p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* AI Capabilities */
.ai-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .ai-capabilities-grid {
    grid-template-columns: 1fr;
  }
}

.ai-capability-card {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.ai-cap-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.ai-cap-icon svg {
  width: 24px;
  height: 24px;
}

.ai-capability-card h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-capability-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: hsl(var(--accent));
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.ai-first-banner {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--accent) / 0.1));
  border: 1px solid hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ai-first-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  animation: rotate 20s linear infinite;
}

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

.ai-first-icon svg {
  width: 32px;
  height: 32px;
}

.ai-first-banner h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.ai-first-banner p {
  color: hsl(var(--muted-foreground));
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

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

.product-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.product-card.blue::before {
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
}

.product-card.purple::before {
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.product-icon.blue {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
}

.product-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.product-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.product-card > p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.product-highlights {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.product-highlights .check {
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Advisor Section */
#advisors {
  padding: 6rem 0;
  position: relative;
}

#advisors::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsl(var(--primary) / 0.05), transparent);
  pointer-events: none;
}

.advisor-card {
  max-width: 56rem;
  margin: 0 auto;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 2fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advisor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px hsl(var(--primary) / 0.15);
}

@media (max-width: 768px) {
  .advisor-card {
    grid-template-columns: 1fr;
  }
}

.advisor-profile {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--accent) / 0.2));
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.advisor-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  padding: 3px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advisor-avatar > div,
.advisor-avatar > svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: hsl(var(--card));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.advisor-profile h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.advisor-title {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.advisor-details {
  padding: 2rem;
}

.advisor-credential {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.advisor-credential svg {
  color: hsl(var(--primary));
  margin-top: 0.125rem;
}

.credential-title {
  font-weight: 500;
  margin-bottom: 0.125rem;
}

.credential-subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.advisor-expertise {
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  margin-top: 0.5rem;
}

.expertise-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  font-size: 0.75rem;
  color: hsl(var(--foreground));
}

.advisor-links {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.profile-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.advisor-stats {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.advisor-links > span:first-of-type::before {
  content: '|';
  margin-right: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-info h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.contact-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.contact-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.footer-brand p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-links h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: hsl(var(--foreground));
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s;
}

.footer-social a:hover {
  background: hsl(var(--primary));
  color: white;
}

/* Product Page Styles */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.back-btn {
  margin-bottom: 2rem;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 968px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
  }
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.product-badge.blue {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.product-badge.purple {
  background: hsl(271 91% 65% / 0.1);
  color: #a855f7;
}

.product-hero-grid h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-hero-grid .lead {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.product-hero-grid .desc {
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
}

.stat-card.crisis {
  border-color: hsl(var(--destructive) / 0.5);
  background: hsl(var(--destructive) / 0.05);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stats-row .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stats-row .stat-value.red {
  color: hsl(var(--destructive));
}

.stats-row .stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Modules Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.module-card {
  padding: 1.5rem;
}

.module-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.module-icon.blue {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
}

.module-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.module-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.module-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.advantage-card {
  padding: 1.5rem;
}

.advantage-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.advantage-number.blue {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
}

.advantage-number.purple {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.advantage-content {
  display: flex;
  gap: 1rem;
}

.advantage-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.advantage-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Comparison Table */
.comparison-table {
  overflow-x: auto;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border));
}

.comparison-table th {
  font-weight: 600;
}

.comparison-table .legacy {
  color: hsl(var(--muted-foreground));
}

.comparison-table .highlight {
  color: hsl(var(--primary));
  font-weight: 500;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  padding: 1.5rem;
  text-align: center;
}

.pricing-card.popular {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

.pricing-tier {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-unit {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.pricing-features {
  text-align: left;
  font-size: 0.875rem;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pricing-features .check {
  color: hsl(var(--primary));
  flex-shrink: 0;
}

/* Trip Types Grid */
.trip-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.trip-type {
  padding: 0.75rem 1rem;
  background: hsl(var(--secondary));
  border-radius: var(--radius);
  font-size: 0.875rem;
  text-align: center;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.value-card {
  padding: 1rem;
  text-align: center;
}

.value-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.value-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.value-before {
  text-decoration: line-through;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.value-after {
  font-size: 1.125rem;
  font-weight: 700;
}

/* Two Column Grid */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr;
  }
}

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.check-list .check-icon {
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.bullet-list {
  list-style: none;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bullet-list .bullet {
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(var(--primary));
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.impl-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.impl-stat {
  padding: 1.5rem;
  background: hsl(var(--background));
  border-radius: var(--radius);
}

.impl-stat .value {
  font-size: 2rem;
  font-weight: 700;
}

.impl-stat .label {
  font-size: 0.875rem;
}

.impl-stat .note {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* CTA Section */
.cta-section {
  padding: 4rem;
  border-radius: var(--radius);
  text-align: center;
  color: white;
}

.cta-section.blue {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
}

.cta-section.purple {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
  background: white;
  color: #1e293b;
  border-color: white;
}

.cta-buttons .btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.cta-buttons .btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}

/* Icon sizing */
svg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-sm svg {
  width: 1rem;
  height: 1rem;
}

.icon-lg svg {
  width: 1.5rem;
  height: 1.5rem;
}
