/* ==========================================================================
   Base styles & CSS Variables
   ========================================================================== */
:root {
  /* Colors */
  --bg-dark: #0F172A;
  --bg-panel: #111827;
  --bg-glass: rgba(17, 24, 39, 0.7);
  --bg-glass-light: rgba(255, 255, 255, 0.05);
  
  --accent-primary: #3B82F6; /* Blue */
  --accent-secondary: #9333EA; /* Purple */
  --accent-neon: #06B6D4; /* Cyan/Teal from logo */
  
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #9CA3AF;
  
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glass: rgba(255, 255, 255, 0.08);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --glow-primary: 0 0 20px rgba(59, 130, 246, 0.5);
  --glow-neon: 0 0 20px rgba(6, 182, 212, 0.6);

  /* Typography */
  --font-heading: 'Satoshi', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --section-padding: 6rem;
}

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

html {
  scroll-padding-top: 80px; /* Offset for fixed header */
}

body.dark-theme {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Base Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.text-muted {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hover-link:hover {
  color: var(--accent-neon);
}

/* ==========================================================================
   Utilities & Layout
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: var(--section-padding) 0;
}

.bg-panel {
  background-color: var(--bg-panel);
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.border-top {
  border-top: 1px solid var(--border-color);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ==========================================================================
   Glassmorphism & Components
   ========================================================================== */
.glass-panel, .glass-card, .glass-pill {
  background: var(--bg-glass-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow-primary);
  border-color: rgba(59, 130, 246, 0.3);
}

.glass-panel {
  border-radius: 1.5rem;
  padding: 3rem;
}

.glass-pill {
  border-radius: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-body);
}

.btn-sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.2rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

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

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.glass-btn {
  background: var(--bg-glass-light);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-glass);
}

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

.logo img {
  height: 74px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.5));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.logo:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.8));
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-neon);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 2000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 3rem;
}

.mobile-menu-close button {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.mobile-link {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Abstract AI nodes effect */
.neural-network {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 85% 30%, rgba(147, 51, 234, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 20%);
}

.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.5;
}

.glow-orb.top-right {
  top: -100px;
  right: -100px;
  background: var(--accent-secondary);
}

.glow-orb.bottom-left {
  bottom: -100px;
  left: -100px;
  background: var(--accent-primary);
}

.hero-grid, .hero-content {
  transition: opacity 1s ease, transform 1s ease;
}

.hero-content {
  text-align: center;
  max-width: 900px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text-content {
  text-align: left;
}

.hero-text-content .hero-subheading {
  margin: 0 0 3rem 0;
}

.hero-text-content .hero-buttons {
  justify-content: flex-start;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 2rem;
  color: var(--accent-neon);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: float 4s ease-in-out infinite;
}

.hero-heading {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-subheading {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  font-weight: 500;
  margin-top: 1rem;
  color: var(--accent-neon);
}

.abstract-dashboard {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.dash-header {
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.dash-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 0.25rem;
}

.dash-line { height: 1.5rem; width: 100%; }
.dash-line.short { width: 60%; }
.dash-chart { height: 150px; width: 100%; margin-top: 1rem; border-radius: 0.5rem; }

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-neon);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-desc {
  margin-bottom: 0;
  font-size: 1rem;
}

/* ==========================================================================
   Industries Section
   ========================================================================== */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.industry-item {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: default;
}

.industry-item i {
  color: var(--accent-primary);
}

.industry-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--glow-primary);
}

/* ==========================================================================
   How It Works (Timeline)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--border-glass);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent-neon);
  z-index: 2;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.timeline-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  margin-bottom: 0;
}

/* ==========================================================================
   Leadership Team Section
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.team-card {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-avatar-wrapper {
  margin: 0 auto 1.5rem auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.team-card:hover .team-avatar-wrapper {
  background: var(--gradient-primary);
  box-shadow: var(--glow-primary);
  transform: scale(1.05);
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  background: var(--bg-dark);
}

.team-avatar.gradient-bg {
  background: var(--gradient-primary);
}

.team-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.team-desc {
  font-size: 1rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Why Us & Stats Section
   ========================================================================== */
.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.feature-list li {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ai-color {
  color: var(--accent-neon);
  margin-top: 0.25rem;
}

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

.stat-card {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-primary);
  border-color: rgba(59, 130, 246, 0.3);
}

.stat-value {
  font-size: 4rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card .stars {
  color: #F59E0B;
  margin-bottom: 1.5rem;
}

.quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

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

.author-avatar {
  font-size: 3rem;
  color: var(--text-muted);
}

.author-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.large-glass {
  padding: 4rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-desc {
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.c-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-neon);
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.contact-item p, .contact-item a {
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 500;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.glass-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 0.5rem;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.glass-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

textarea.glass-input {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: rgba(0, 0, 0, 0.3);
  padding-top: 5rem;
  border-top: 1px solid var(--border-glass);
}

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

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-desc {
  margin-bottom: 2rem;
  max-width: 300px;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
}

.footer-links h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-neon);
  padding-left: 5px;
}

.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 4rem;
  }
  
  .hero-heading {
    font-size: 3.5rem;
  }
  
  .about-container, .why-container, .contact-container, .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-text-content {
    text-align: center;
  }
  
  .hero-text-content .hero-subheading {
    margin: 0 auto 3rem auto;
  }

  .hero-text-content .hero-buttons {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-heading {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-item {
    padding-left: 4rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .large-glass {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .hero-badge {
    font-size: 0.75rem;
  }
}
