/* ===================================
   EduCode AI Website - Modern Styles
   =================================== */

:root {
  /* Primary Colors */
  --primary-blue: #2563eb;
  --primary-purple: #7c3aed;
  --primary-indigo: #4f46e5;

  /* Secondary Colors */
  --secondary-green: #10b981;
  --secondary-orange: #f59e0b;
  --secondary-pink: #ec4899;

  /* Pillar Brand Colors */
  --educationhub-primary: #3b82f6;
  --agilecode-primary: #8b5cf6;
  --techhub-primary: #06b6d4;
  --fretal-primary: #10b981;
  --hrm-primary: #f59e0b;

  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-blue: linear-gradient(135deg, #667eea 0%, #2563eb 100%);
  --gradient-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  --gradient-green: linear-gradient(135deg, #34d399 0%, #10b981 100%);

  /* Spacing */
  --section-padding: 6rem 0;
  --container-padding: 0 1.5rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ===================================
   Base Styles
   =================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  background: #ffffff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===================================
   Typography
   =================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.875rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

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

/* ===================================
   Navigation
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.logo-accent {
  color: var(--primary-blue);
  margin-left: 0.15rem;
}

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

.nav-link {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-blue);
}

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

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

.nav-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gradient-blue);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--gradient-purple);
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--gradient-green);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(30px, -30px);
  }
  50% {
    transform: translate(-20px, 20px);
  }
  75% {
    transform: translate(20px, 10px);
  }
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.badge-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-blue);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.125rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ===================================
   Buttons
   =================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ===================================
   Section Headers
   =================================== */

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===================================
   Vision Section
   =================================== */

.vision-section {
  padding: var(--section-padding);
  background: white;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.vision-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--gray-50);
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vision-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 16px;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.vision-card:hover .vision-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

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

.vision-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.vision-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.value-proposition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1.5rem;
  color: white;
}

.value-content h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.check-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.value-list strong {
  color: white;
}

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

.timeline-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
}

.timeline-content {
  display: flex;
  flex-direction: column;
}

.timeline-age {
  font-size: 0.875rem;
  opacity: 0.9;
}

.timeline-pillar {
  font-size: 1.25rem;
  font-weight: 700;
}

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

/* ===================================
   Pillars Section
   =================================== */

.pillars-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pillar-educationhub {
  border-top-color: var(--educationhub-primary);
}
.pillar-agilecode {
  border-top-color: var(--agilecode-primary);
}
.pillar-techhub {
  border-top-color: var(--techhub-primary);
}
.pillar-fretal {
  border-top-color: var(--fretal-primary);
}
.pillar-hrm {
  border-top-color: var(--hrm-primary);
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pillar-logo {
  height: 80px;
  width: auto;
}

.pillar-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pillar-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  background: var(--gray-100);
  color: var(--gray-600);
}

.status-active {
  background: #d1fae5;
  color: #065f46;
}

.pillar-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.pillar-tagline {
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 1rem;
}

.pillar-description {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pillar-features,
.pillar-value {
  margin-bottom: 2rem;
}

.pillar-features h4,
.pillar-value h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.pillar-features ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.pillar-features li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.pillar-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

.pillar-value p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.pillar-value strong {
  color: var(--gray-800);
}

.pillar-metrics {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 0.75rem;
}

.metric {
  flex: 1;
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

.pillar-cta:hover {
  gap: 0.75rem;
  color: var(--primary-purple);
}

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

/* ===================================
   Ecosystem Section
   =================================== */

.ecosystem-section {
  padding: var(--section-padding);
  background: white;
  position: relative;
}

.ecosystem-diagram {
  position: relative;
  height: 600px;
  margin: 4rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#ecosystem-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ecosystem-tooltip {
  position: absolute;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 100;
  min-width: 320px;
  max-width: 400px;
  border-left: 4px solid var(--primary-blue);
}

.ecosystem-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.ecosystem-core {
  width: 200px;
  height: 200px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.ecosystem-core:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 80px rgba(102, 126, 234, 0.6);
}

.core-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.core-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ecosystem-connections {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.connection-line {
  position: absolute;
  height: 3px;
  background: rgba(102, 126, 234, 0.3);
  transform-origin: center;
  transition: all 0.3s ease;
  overflow: visible;
}

.connection-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(102, 126, 234, 0.4) 0%,
    rgba(102, 126, 234, 0.6) 50%,
    transparent 100%
  );
  animation: pulse-line 3s infinite ease-in-out;
}

.connection-line::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--primary-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
  animation: flow 4s infinite linear;
}

@keyframes pulse-line {
  0%,
  100% {
    background: linear-gradient(
      90deg,
      rgba(102, 126, 234, 0.3) 0%,
      rgba(102, 126, 234, 0.5) 50%,
      transparent 100%
    );
  }
  50% {
    background: linear-gradient(
      90deg,
      rgba(102, 126, 234, 0.6) 0%,
      rgba(102, 126, 234, 0.8) 50%,
      transparent 100%
    );
  }
}

@keyframes flow {
  0% {
    left: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Highlight connection lines on ecosystem interaction */
.ecosystem-node:hover ~ .ecosystem-connections .connection-line::before,
.ecosystem-core:hover ~ .ecosystem-connections .connection-line::before {
  background: linear-gradient(
    90deg,
    var(--primary-blue) 0%,
    rgba(102, 126, 234, 0.9) 50%,
    transparent 100%
  );
}

.ecosystem-node:hover ~ .ecosystem-connections .connection-line::after {
  background: #ffffff;
  box-shadow: 0 0 15px var(--primary-blue);
  animation: flow 2s infinite linear;
}

.line-1 {
  top: 50%;
  left: 50%;
  width: 200px;
  transform: rotate(-72deg);
}
.line-1::after {
  animation-delay: 0s;
}

.line-2 {
  top: 50%;
  left: 50%;
  width: 200px;
  transform: rotate(-18deg);
}
.line-2::after {
  animation-delay: 0.8s;
}

.line-3 {
  top: 50%;
  left: 50%;
  width: 200px;
  transform: rotate(36deg);
}
.line-3::after {
  animation-delay: 1.6s;
}

.line-4 {
  top: 50%;
  left: 50%;
  width: 200px;
  transform: rotate(90deg);
}
.line-4::after {
  animation-delay: 2.4s;
}

.line-5 {
  top: 50%;
  left: 50%;
  width: 200px;
  transform: rotate(144deg);
}
.line-5::after {
  animation-delay: 3.2s;
}

.ecosystem-nodes {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.ecosystem-node {
  position: absolute;
  width: 160px;
  height: 160px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: 3px solid transparent;
}

.ecosystem-node:hover {
  transform: scale(1.15);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
  border-color: var(--primary-blue);
  z-index: 10;
}

.ecosystem-node:hover img {
  filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.5));
}

.ecosystem-node img {
  height: 90px;
  width: auto;
  margin-bottom: 0.5rem;
}

.ecosystem-node span {
  display: none;
}

.node-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.node-1 {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}
.node-2 {
  top: 20%;
  right: 2%;
}
.node-3 {
  bottom: 15%;
  right: 3%;
}
.node-4 {
  bottom: 15%;
  left: 3%;
}
.node-5 {
  top: 20%;
  left: 2%;
}

.ecosystem-flows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.flow-card {
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 1rem;
  border-left: 4px solid var(--primary-blue);
}

.flow-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.flow-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.flow-path {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 0.5rem;
}

.flow-step {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 0.375rem 0.75rem;
  background: var(--gray-100);
  border-radius: 0.375rem;
}

.flow-arrow {
  color: var(--primary-blue);
  font-weight: bold;
}

.flow-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

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

.ecosystem-benefits h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  padding: 2rem;
  text-align: center;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border-radius: 16px;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

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

.benefit-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .ecosystem-diagram {
    height: 400px;
  }
  .ecosystem-node {
    width: 80px;
    height: 80px;
  }
  .ecosystem-node img {
    height: 30px;
  }
  .ecosystem-core {
    width: 120px;
    height: 120px;
  }
  .ecosystem-core img {
    height: 50px;
  }
}

/* ===================================
   Value Section
   =================================== */

.value-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

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

.market-card {
  grid-column: 1 / -1;
  background: var(--gradient-primary);
  color: white;
  padding: 3rem;
  border-radius: 1.5rem;
  text-align: center;
}

.market-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.market-value {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.market-label {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.market-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 600px;
  margin: 0 auto;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

.breakdown-pillar {
  font-weight: 600;
}

.breakdown-value {
  font-weight: 700;
}

.traction-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  grid-column: 1 / -1;
}

.traction-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.traction-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.traction-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.traction-card li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
}

.traction-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

.competitive-advantages {
  margin-top: 4rem;
}

.competitive-advantages h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

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

.advantage-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.advantage-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.advantage-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

@media (max-width: 968px) {
  .market-grid,
  .traction-cards {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
  padding: var(--section-padding);
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-option {
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 1rem;
  border-left: 4px solid var(--primary-blue);
}

.contact-option h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contact-option p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.contact-link {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-purple);
}

.active-platforms h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.platform-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  transition: all 0.3s ease;
}

.platform-link:hover {
  border-color: var(--primary-blue);
  transform: translateX(5px);
}

.platform-link img {
  height: 60px;
  width: auto;
}

.contact-form-container {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

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

/* ===================================
   Footer
   =================================== */

.footer {
  background: var(--gray-900);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

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

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.875rem;
}

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

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

.footer-social a:hover {
  color: white;
}

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll-triggered animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.slide-in-left {
  opacity: 0;
  animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
  opacity: 0;
  animation: slideInRight 1s ease forwards;
}

/* ===================================
   Why Choose Section (Marketing Focused)
   =================================== */

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.why-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-blue);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.why-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.why-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.why-card > p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.why-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.why-benefits li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.why-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.125rem;
}

.platform-benefits {
  margin-top: 4rem;
  text-align: center;
}

.platform-benefits h3 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--gray-900);
}

.benefits-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-showcase-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  padding: 2rem;
  border-radius: 1rem;
  text-align: left;
  transition: all 0.3s ease;
}

.benefit-showcase-card:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  transform: translateY(-5px);
}

.benefit-showcase-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--primary-blue);
}

.benefit-showcase-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}
