@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Midnight Tech Palette */
  --bg-dark: #050508;
  --bg-panel: #0d0d12;
  --bg-card: #12121a;
  --primary: #00f3ff;
  --primary-dim: rgba(0, 243, 255, 0.1);
  --secondary: #a855f7;
  --accent: #06b6d4;
  --success: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 243, 255, 0.3);
  --glass-bg: rgba(15, 15, 20, 0.7);
  --glass-bg-hover: rgba(20, 20, 30, 0.8);

  /* Smooth Aesthetics */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-full: 9999px;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px;

  /* Shadows & Glows */
  --glow-primary: 0 0 30px rgba(0, 243, 255, 0.3);
  --glow-secondary: 0 0 30px rgba(168, 85, 247, 0.3);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 40px rgba(0, 243, 255, 0.5);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* ============================================
   BACKGROUND CANVAS (Particles)
   ============================================ */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.bg-gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 243, 255, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(168, 85, 247, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(0, 243, 255, 0.04), transparent);
  pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00d4ff);
  color: #000;
  box-shadow: var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(0, 243, 255, 0.5), 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #c084fc);
  color: #fff;
  box-shadow: var(--glow-secondary);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.5), 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.btn-glow {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.05);
}

.btn-glow:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: var(--glow-primary), inset 0 0 30px rgba(0, 243, 255, 0.1);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 20px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Service Cards with Gradient Border on Hover */
.service-card {
  position: relative;
  text-align: left;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-dim), rgba(168, 85, 247, 0.1));
  border-radius: var(--radius-md);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.service-link:hover {
  gap: 12px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(5, 5, 8, 0.95);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .btn-glow {
  padding: 10px 24px;
}

.nav-links .btn-glow::after {
  display: none;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-dim);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Typing Animation */
.typing-text {
  display: inline;
  border-right: 3px solid var(--primary);
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: var(--primary); }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-bar {
  padding: 4rem 0;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(0, 243, 255, 0.02), transparent);
}

.stats-bar::before,
.stats-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

.stats-bar::before { top: 0; }
.stats-bar::after { bottom: 0; }

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  padding: 2rem;
  text-align: left;
}

.testimonial-content {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: #000;
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ============================================
   PROCESS / HOW IT WORKS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0 auto 1.5rem;
  box-shadow: var(--glow-primary);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-glass);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.faq-question:hover h3 {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  transition: all 0.3s ease;
}

.faq-icon::before {
  width: 16px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0, 243, 255, 0.05), transparent);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.1), var(--glow-primary);
  background: rgba(0, 243, 255, 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-dark);
  color: var(--text-main);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 5rem 0 2rem;
  background: linear-gradient(180deg, var(--bg-dark), #030305);
  border-top: 1px solid var(--border-glass);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo-img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SERVICE PAGE SPECIFIC
   ============================================ */
.service-hero {
  padding: 10rem 0 5rem;
  min-height: auto;
}

.service-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-glass);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
}

.feature-list h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.feature-list p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2rem;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Value Cards */
.value-card {
  padding: 2rem;
  text-align: center;
}

.value-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   CONTACT PAGE SPECIFIC
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  padding-right: 2rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-methods {
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-glass);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-method h4 {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.contact-method p {
  font-size: 1rem;
  color: var(--text-main);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--success);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 14px 24px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */
.page-transition {
  animation: page-fade-in 0.5s ease;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
   AI CREW PAGE
   ============================================ */

/* Bot color tokens */
:root {
  --bot-skryf: #00E5FF;
  --bot-mzansi: #FF2D78;
  --bot-landela: #FF8C00;
  --bot-indaba: #7B2DFF;
  --bot-lungi: #00C853;
}

/* Hero - Bot Parade */
.crew-hero .hero-content {
  padding-bottom: 1rem;
}

.crew-parade {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 3rem;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.crew-parade-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.crew-parade-item img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border-glass);
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.crew-parade-item:hover img {
  transform: translateY(-12px) scale(1.1);
}

.crew-parade-item[data-bot="skryf"]:hover img {
  border-color: var(--bot-skryf);
  filter: drop-shadow(0 0 25px rgba(0, 229, 255, 0.5));
}
.crew-parade-item[data-bot="mzansi"]:hover img {
  border-color: var(--bot-mzansi);
  filter: drop-shadow(0 0 25px rgba(255, 45, 120, 0.5));
}
.crew-parade-item[data-bot="landela"]:hover img {
  border-color: var(--bot-landela);
  filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.5));
}
.crew-parade-item[data-bot="indaba"]:hover img {
  border-color: var(--bot-indaba);
  filter: drop-shadow(0 0 25px rgba(123, 45, 255, 0.5));
}
.crew-parade-item[data-bot="lungi"]:hover img {
  border-color: var(--bot-lungi);
  filter: drop-shadow(0 0 25px rgba(0, 200, 83, 0.5));
}

.crew-parade-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.crew-parade-item:hover .crew-parade-name { color: var(--text-main); }

/* Floating animation for parade */
@keyframes crew-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.crew-parade-item:nth-child(1) img { animation: crew-float 3s ease-in-out infinite; }
.crew-parade-item:nth-child(2) img { animation: crew-float 3s ease-in-out 0.3s infinite; }
.crew-parade-item:nth-child(3) img { animation: crew-float 3s ease-in-out 0.6s infinite; }
.crew-parade-item:nth-child(4) img { animation: crew-float 3s ease-in-out 0.9s infinite; }
.crew-parade-item:nth-child(5) img { animation: crew-float 3s ease-in-out 1.2s infinite; }

/* Free Bot Showcase Card */
.free-bot-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: visible;
}

.free-bot-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.free-bot-image img {
  width: 100%;
  max-width: 350px;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.2));
}

.free-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--bot-skryf), #00d4ff);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  animation: pulse-glow 2s ease-in-out infinite;
}

.feature-checks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.feature-checks li {
  color: var(--text-muted);
  font-size: 1rem;
  padding: 4px 0;
}

.feature-checks li::first-letter {
  color: var(--bot-skryf);
}

/* Meet the Crew Grid */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.crew-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: visible;
}

.crew-card-image {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  position: relative;
}

.crew-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.crew-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.crew-card-role {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.crew-card-skills {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  text-align: left;
}

.crew-card-skills li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.crew-card-skills li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* Per-bot card hover glows */
.crew-card--skryf:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.15), var(--shadow-card);
}
.crew-card--skryf .crew-card-role { color: var(--bot-skryf); }
.crew-card--skryf .crew-card-skills li::before { color: var(--bot-skryf); }

.crew-card--mzansi:hover {
  border-color: rgba(255, 45, 120, 0.3);
  box-shadow: 0 0 40px rgba(255, 45, 120, 0.15), var(--shadow-card);
}
.crew-card--mzansi .crew-card-role { color: var(--bot-mzansi); }
.crew-card--mzansi .crew-card-skills li::before { color: var(--bot-mzansi); }

.crew-card--landela:hover {
  border-color: rgba(255, 140, 0, 0.3);
  box-shadow: 0 0 40px rgba(255, 140, 0, 0.15), var(--shadow-card);
}
.crew-card--landela .crew-card-role { color: var(--bot-landela); }
.crew-card--landela .crew-card-skills li::before { color: var(--bot-landela); }

.crew-card--indaba:hover {
  border-color: rgba(123, 45, 255, 0.3);
  box-shadow: 0 0 40px rgba(123, 45, 255, 0.15), var(--shadow-card);
}
.crew-card--indaba .crew-card-role { color: var(--bot-indaba); }
.crew-card--indaba .crew-card-skills li::before { color: var(--bot-indaba); }

.crew-card--lungi:hover {
  border-color: rgba(0, 200, 83, 0.3);
  box-shadow: 0 0 40px rgba(0, 200, 83, 0.15), var(--shadow-card);
}
.crew-card--lungi .crew-card-role { color: var(--bot-lungi); }
.crew-card--lungi .crew-card-skills li::before { color: var(--bot-lungi); }

/* Crew badges */
.crew-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.crew-badge--free {
  background: linear-gradient(135deg, var(--bot-skryf), #00d4ff);
  color: #000;
}

.crew-badge--starter {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}

.pricing-card--featured {
  border-color: rgba(0, 243, 255, 0.3);
  box-shadow: var(--glow-primary);
  transform: scale(1.03);
}

.pricing-card--featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.pricing-tier-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 0.5rem;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
}

.pricing-amount {
  font-size: 4rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-left: 4px;
}

.pricing-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-features li.included {
  color: var(--text-muted);
}

.pricing-features li.included .check {
  color: var(--success);
  font-weight: 700;
}

.pricing-features li.highlight {
  color: var(--text-main);
}

.pricing-features li.locked {
  color: var(--text-dim);
  opacity: 0.5;
}

.pricing-features li .lock {
  font-size: 0.8rem;
}

/* Code styling in FAQ */
.faq-answer code {
  background: var(--primary-dim);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================
   AI CREW — RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .free-bot-card {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .free-bot-image {
    order: -1;
  }

  .free-bot-image img {
    max-width: 250px;
  }

  .feature-checks {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .crew-parade-item img {
    width: 90px;
    height: 90px;
  }

  .pricing-card--featured {
    transform: scale(1);
  }

  .crew-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .crew-parade {
    gap: 0.5rem;
  }

  .crew-parade-item img {
    width: 60px;
    height: 60px;
  }

  .crew-parade-name {
    font-size: 0.7rem;
  }

  .crew-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .crew-card-image {
    width: 120px;
    height: 120px;
  }
}