/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Grounded + Cutting-Edge Color Palette */
  /* GROUNDED (Feet on the ground) */
  --earth-rich: #6B4423;        /* Rich Chocolate Brown */
  --earth-warm: #8B5A3C;        /* Warm Chestnut */
  --earth-light: #A67C5A;       /* Light Caramel */
  
  /* CUTTING-EDGE (Head in the clouds) */
  --tech-electric: #00D4FF;     /* Electric Cyan */
  --tech-neon: #39FF14;         /* Neon Green */
  --tech-deep: #0A84FF;         /* Deep Electric Blue */
  
  /* GROWTH & NATURE-TECH BRIDGE */
  --growth-emerald: #10B981;    /* Emerald Green */
  --growth-forest: #065F46;     /* Deep Forest */
  --growth-mint: #6EE7B7;       /* Mint Accent */
  
  /* ENERGY & INNOVATION */
  --energy-coral: #FF6B47;      /* Vibrant Coral */
  --energy-gold: #F59E0B;       /* Bright Gold */
  
  /* NEUTRALS (Refined and modern) */
  --neutral-100: #FFFFFF;       /* Pure White */
  --neutral-50: #FAFAF9;        /* Warm White */
  --neutral-200: #F5F4F1;       /* Cream */
  --neutral-300: #E7E5E0;       /* Light Warm Gray */
  --neutral-400: #C4C1BC;       /* Medium Warm Gray */
  --neutral-600: #6B7280;       /* Cool Gray */
  --neutral-800: #1F2937;       /* Dark Gray */
  --neutral-900: #111827;       /* Near Black */

  /* Typography */
  --font-primary: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Crimson Text', Georgia, serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--neutral-100);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  font-weight: 600;
  line-height: 1.2;
  color: var(--neutral-900);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--earth-rich);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(254, 254, 254, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--neutral-300);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--earth-rich);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  text-decoration: none;
  color: var(--neutral-800);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--earth-rich);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tech-electric), var(--growth-emerald));
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, 
    var(--neutral-900) 0%, 
    var(--earth-rich) 20%, 
    var(--growth-forest) 60%, 
    var(--earth-warm) 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 30s linear infinite;
  z-index: 1;
}

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

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--tech-electric);
  border-radius: 50%;
  animation: particleFloat 12s linear infinite;
  opacity: 0.6;
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 40%; left: 80%; animation-delay: 2s; background: var(--growth-emerald); }
.particle-3 { top: 70%; left: 20%; animation-delay: 4s; background: var(--energy-gold); }
.particle-4 { top: 30%; left: 60%; animation-delay: 1s; }
.particle-5 { top: 80%; left: 70%; animation-delay: 3s; background: var(--growth-mint); }
.particle-6 { top: 15%; left: 90%; animation-delay: 5s; background: var(--energy-coral); }

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-30px) scale(1.2);
    opacity: 1;
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 3;
  min-height: 100vh;
}

.hero-content {
  color: var(--neutral-100);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(0, 212, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.4);
  padding: var(--space-sm) var(--space-md);
  border-radius: 50px;
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neutral-100);
}

.badge-icon {
  font-size: 1rem;
}

.badge-text {
  color: var(--tech-electric);
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.title-primary {
  display: block;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--neutral-100);
  line-height: 0.9;
  margin-bottom: var(--space-sm);
}

.title-accent {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  background: linear-gradient(90deg, #D4AF37, var(--energy-coral), var(--tech-electric));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.hero-tagline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--growth-mint);
  margin-bottom: var(--space-lg);
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  padding: 0 var(--space-md);
}

.hero-description strong {
  color: var(--tech-electric);
  font-weight: 600;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--tech-electric);
  font-family: var(--font-accent);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: stretch;
  max-width: 400px;
}

.cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(45deg, var(--growth-emerald), var(--tech-electric));
  color: var(--neutral-100);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

.cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  color: var(--tech-electric);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-lg);
  min-height: 48px;
}

.cta-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--tech-electric);
  transform: translateY(-2px);
}

.cta-icon {
  font-size: 1.2rem;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tech-ecosystem {
  position: relative;
  width: 400px;
  height: 400px;
}

.ecosystem-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--tech-electric), var(--growth-emerald));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
  z-index: 3;
}

.center-icon {
  font-size: 2rem;
}

.ecosystem-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 200px;
  height: 200px;
  animation: rotate 20s linear infinite;
}

.orbit-2 {
  width: 320px;
  height: 320px;
  animation: rotate 30s linear infinite reverse;
}

.orbit-node {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  animation: counterRotate 20s linear infinite;
}

.orbit-2 .orbit-node {
  animation: counterRotate 30s linear infinite;
}

.node-1 { top: -20px; left: calc(50% - 20px); }
.node-2 { top: calc(50% - 20px); right: -20px; }
.node-3 { bottom: -20px; left: calc(50% - 20px); }
.node-4 { top: calc(50% - 20px); left: -20px; }

.node-5 { top: -20px; left: calc(50% - 20px); }
.node-6 { top: calc(25% - 20px); right: calc(25% - 20px); }
.node-7 { top: calc(50% - 20px); right: -20px; }
.node-8 { top: calc(75% - 20px); right: calc(25% - 20px); }

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

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

/* Section Styles */
section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--tech-electric), var(--growth-emerald), var(--energy-gold));
  margin: var(--space-md) auto;
  border-radius: var(--radius-sm);
}

/* About Section */
.about {
  background-color: var(--neutral-100);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-text p {
  margin-bottom: var(--space-md);
}

.testimonial {
  background: var(--neutral-200);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--tech-electric);
  font-style: italic;
  margin-top: var(--space-lg) !important;
  color: var(--neutral-600);
  position: relative;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--tech-electric), var(--growth-emerald));
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.value-item {
  padding: var(--space-lg);
  background: var(--neutral-200);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--growth-emerald);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--tech-electric), transparent);
}

.value-item h3 {
  color: var(--earth-rich);
  margin-bottom: var(--space-sm);
}

/* Services Section */
.services {
  background: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-200) 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--neutral-100);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-300);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.service-card h3 {
  color: var(--earth-rich);
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--neutral-600);
  line-height: 1.6;
}

/* Future Sections */
.future-sections {
  background-color: var(--neutral-200);
  padding: var(--space-2xl) 0;
}

.coming-soon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.coming-soon-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--neutral-300);
  border-radius: var(--radius-lg);
  opacity: 0.6;
}

.coming-soon-item h3 {
  color: var(--neutral-600);
  margin-bottom: var(--space-sm);
}

.coming-soon-item p {
  color: var(--neutral-600);
  font-style: italic;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--earth-rich) 0%, var(--growth-forest) 50%, var(--earth-warm) 100%);
  color: var(--neutral-100);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(57, 255, 20, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.contact h2 {
  color: var(--neutral-100);
  margin-bottom: var(--space-md);
}

.contact-text p {
  color: var(--neutral-200);
  font-size: 1.1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-details h3 {
  color: var(--neutral-100);
  margin-bottom: var(--space-xs);
}

.contact-details a {
  color: var(--tech-electric);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--neutral-100);
}

/* Footer */
.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-400);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.footer-brand .logo {
  color: var(--energy-gold);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: var(--neutral-400);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: var(--neutral-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--neutral-600);
}

.footer-bottom p {
  color: var(--neutral-600);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .nav-container {
    padding: 0 var(--space-md);
  }
  
  .nav-links {
    gap: var(--space-md);
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
    display: none; /* Hide complex animations on mobile */
  }
  
  .hero-description {
    padding: 0;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .stat-item {
    min-width: auto;
  }
  
  .hero-actions {
    max-width: 100%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
  
  .hero-container {
    padding: var(--space-lg) var(--space-md);
  }
  
  .hero-badge {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.85rem;
  }
  
  .hero-tagline {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    letter-spacing: 1px;
  }
  
  .service-card {
    padding: var(--space-lg);
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
  }
}
  