/* ================================================================
   ASTRA ETHOS — Design System
   ================================================================ */

:root {
  --bg: #080c18;
  --bg-2: #0d1424;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(99, 102, 241, 0.4);

  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --accent-3: #22d3ee;
  --accent-4: #a78bfa;

  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #22d3ee);
  --gradient-text: linear-gradient(135deg, #a78bfa, #6366f1, #22d3ee);
  --gradient-glow: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;

  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glow: 0 0 40px rgba(99, 102, 241, 0.25);
  --glow-sm: 0 0 20px rgba(99, 102, 241, 0.2);
}

/* ================================================================
   RESET & BASE
   ================================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================================
   LOADING SCREEN
   ================================================================ */

.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.loader-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.loader-hexagon {
  font-size: 48px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.loader-rings {
  position: absolute;
  inset: -40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  animation: spin 3s linear infinite;
}

.r1 { width: 120px; height: 120px; border-top-color: var(--accent); animation-duration: 3s; }
.r2 { width: 160px; height: 160px; border-right-color: var(--accent-2); animation-duration: 4s; animation-direction: reverse; }
.r3 { width: 200px; height: 200px; border-bottom-color: var(--accent-3); animation-duration: 5s; }

.loader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 80px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-glow { 0%, 100% { filter: drop-shadow(0 0 20px rgba(99,102,241,0.6)); } 50% { filter: drop-shadow(0 0 40px rgba(139,92,246,0.8)); } }

/* ================================================================
   APP TRANSITIONS
   ================================================================ */

.app { min-height: 100vh; padding-top: var(--nav-h); }

.page-exit {
  animation: pageExit 0.25s var(--ease) forwards;
}
.page-enter {
  animation: pageEnter 0.4s var(--ease-out) forwards;
}

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

/* ================================================================
   NAVBAR
   ================================================================ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(8, 12, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 40px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.brand-logo { display: flex; align-items: center; }

.brand-icon {
  font-size: 28px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-spring);
}

.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.btn-nav {
  margin-left: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  background: var(--gradient);
  color: white !important;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  flex-shrink: 0;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(8, 12, 24, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 24px 24px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-link {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-link:last-child { border-bottom: none; }
.mobile-link.active, .mobile-link:hover { color: var(--text); }

/* ================================================================
   HERO SECTION
   ================================================================ */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px; height: 600px;
  top: -100px; left: -100px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

.hero-glow-2 {
  width: 500px; height: 500px;
  bottom: -50px; right: -100px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.hero-glow-3 {
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-4);
  margin-bottom: 28px;
}

.hero-badge i { font-size: 11px; color: var(--accent-3); }

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-name {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

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

.hero-typewriter {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 20px;
  min-height: 36px;
}

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent);
  font-weight: 300;
}

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

.hero-description {
  font-size: 17px;
  color: var(--text-3);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

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

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */

.page-hero {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.25s var(--ease-spring);
  cursor: pointer;
  white-space: nowrap;
}

.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.45);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--bg-card);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-submit { width: 100%; justify-content: center; border-radius: var(--radius-sm); }
.btn-submit.loading .btn-text, .btn-submit.loading .btn-icon { display: none; }
.btn-submit .btn-loading { display: none; }
.btn-submit.loading .btn-loading { display: flex; align-items: center; gap: 8px; }

/* ================================================================
   SECTIONS
   ================================================================ */

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-cta {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* ================================================================
   CARDS
   ================================================================ */

.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
  animation-delay: var(--delay, 0ms);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--glow-sm);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

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

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-4);
  margin-bottom: 20px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-spring);
}

.card-icon-lg { width: 64px; height: 64px; font-size: 26px; }

.card:hover .card-icon {
  background: rgba(99, 102, 241, 0.2);
  box-shadow: var(--glow-sm);
  transform: scale(1.1);
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Service card full variant */
.card-service-full .service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.card-service-full .service-card-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

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

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.feature-list li i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 11px;
  color: var(--accent-3);
}

.feature-list-full li { font-size: 14px; }

/* MVV cards */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mvv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s;
}

.mvv-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }

.mvv-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  margin: 0 auto 16px;
}

.mvv-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.mvv-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ================================================================
   ABOUT TEASER
   ================================================================ */

.section-about-teaser { background: var(--bg); }

.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-teaser-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.about-teaser-content p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s;
}

.pillar:hover { border-color: var(--border-hover); color: var(--text); }
.pillar i { color: var(--accent); font-size: 12px; }

/* Animated Visual */
.about-teaser-visual {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 0 auto;
}

.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 120px; height: 120px; border-color: rgba(99,102,241,0.3); }
.ring-2 { width: 220px; height: 220px; border-color: rgba(139,92,246,0.2); animation: rotate-slow 20s linear infinite; }
.ring-3 { width: 340px; height: 340px; border-color: rgba(34,211,238,0.1); animation: rotate-slow 30s linear infinite reverse; }

@keyframes rotate-slow { to { transform: translate(-50%, -50%) rotate(360deg); } }

.visual-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.visual-center i {
  font-size: 40px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 6px;
}

.visual-center span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.visual-orbit {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent-4);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s;
}

.visual-orbit:hover {
  border-color: var(--accent);
  transform: scale(1.2);
  box-shadow: var(--glow-sm);
}

.orbit-1 { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-2 { top: 50%; right: 0; transform: translateY(-50%); }
.orbit-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit-4 { top: 50%; left: 0; transform: translateY(-50%); }

/* ================================================================
   CTA SECTION
   ================================================================ */

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.section-cta .section-cta { padding: 0; }

/* ================================================================
   SECTION CTA
   ================================================================ */

.section-cta { text-align: center; margin-top: 48px; }

/* ================================================================
   ABOUT PAGE
   ================================================================ */

.who-we-are {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.who-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.who-content p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
}

/* Approach timeline */
.approach-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.approach-timeline::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.timeline-connector { display: none; }

.timeline-step {
  position: relative;
  margin-bottom: 24px;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 8px;
}

.step-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(99,102,241,0.1);
  border: 2px solid rgba(99,102,241,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-spring);
  position: relative;
  z-index: 1;
}

.timeline-item:hover .step-icon {
  background: rgba(99,102,241,0.2);
  box-shadow: var(--glow-sm);
  transform: scale(1.1);
}

.timeline-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ================================================================
   INDUSTRIES PAGE
   ================================================================ */

.industries-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.industry-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: transform 0.25s var(--ease-spring), border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.industry-chip:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  color: var(--text);
  box-shadow: var(--glow-sm);
}

.industry-chip i { color: var(--accent); font-size: 16px; }

/* Capabilities grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.capability-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease-spring), border-color 0.2s;
}

.capability-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.cap-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-4);
  flex-shrink: 0;
}

.cap-content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cap-content p { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap h2, .contact-info-wrap h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-form-desc {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option { background: var(--bg-2); color: var(--text); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.form-group label {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 15px;
  color: var(--text-3);
  pointer-events: none;
  transition: all 0.2s var(--ease);
  background: transparent;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 12px;
  font-size: 12px;
  color: var(--accent);
  background: var(--bg-2);
  padding: 0 6px;
  border-radius: 4px;
}

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

/* Contact info */
.contact-info-wrap h2 { margin-bottom: 24px; }

.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.contact-card:hover { border-color: var(--border-hover); }

.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(99,102,241,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-card-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-card-content a,
.contact-card-content p {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  transition: color 0.2s;
}

.contact-card-content a:hover { color: var(--accent); }

/* FAQ */
.faq-section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open { border-color: rgba(99,102,241,0.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent-4); }

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--text-3);
  font-size: 12px;
}

.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse at center top, rgba(99,102,241,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  gap: 80px;
  padding: 64px 0 48px;
}

.footer-brand { flex-shrink: 0; max-width: 280px; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo i {
  font-size: 26px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-2);
  transition: transform 0.25s var(--ease-spring), border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social a:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99,102,241,0.08);
}

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

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col a,
.footer-col span {
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.2s;
  cursor: pointer;
}

.footer-col a:hover { color: var(--accent-4); }

.footer-hours { font-size: 13px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}

.footer-built { font-style: italic; }

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

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

/* ================================================================
   TOAST
   ================================================================ */

.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  z-index: 9000;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { border-color: rgba(34, 197, 94, 0.3); }
.toast-success i { color: #22c55e; }
.toast-error { border-color: rgba(239, 68, 68, 0.3); }
.toast-error i { color: #ef4444; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: 1fr; }
  .who-we-are { grid-template-columns: 1fr; gap: 40px; }
  .about-teaser { grid-template-columns: 1fr; gap: 48px; }
  .about-teaser-visual { display: none; }
  .approach-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .approach-timeline::before { display: none; }
  .footer-top { gap: 40px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .cards-grid { gap: 16px; }

  .hero { padding: 60px 20px 100px; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 20px; }
  .stat-num { font-size: 28px; }

  .section { padding: 64px 0; }

  .approach-timeline { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

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

  .footer-top { flex-direction: column; gap: 40px; padding: 48px 0 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section-title { font-size: 28px; }
  .page-hero { padding: 80px 20px 60px; }
}

@media (max-width: 480px) {
  .stat-divider { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat { padding: 0 8px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ================================================================
   LOADER ERROR
   ================================================================ */

.loader-error {
  text-align: center;
  color: var(--text-2);
}

.loader-error i { font-size: 36px; color: #f59e0b; margin-bottom: 12px; display: block; }
