@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --color-space-gray: #F0F2F5;
  --color-white: #FFFFFF;
  --color-vibrant-orange: #FF6B35;
  --color-tech-cyan: #2DCFB4;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

.smooth-scroll {
  scroll-behavior: smooth;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--color-tech-cyan) 0%, var(--color-vibrant-orange) 100%);
}

.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tab-button {
  position: relative;
  transition: color 0.3s ease;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-vibrant-orange);
}

.hexagon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
}

.hexagon-item {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hexagon-item:hover {
  transform: scale(1.1);
}

.hexagon-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.counter-animation {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-vibrant-orange);
}

.timeline-vertical {
  position: relative;
  padding-left: 2rem;
}

.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-tech-cyan), var(--color-vibrant-orange));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-vibrant-orange);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-space-gray);
}

.timeline-horizontal {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 2rem 0;
}

.timeline-horizontal::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(to right, var(--color-tech-cyan), var(--color-vibrant-orange));
}

.timeline-step {
  position: relative;
  text-align: center;
  flex: 1;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-vibrant-orange);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-space-gray);
}

.silhouette-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.silhouette-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 207, 180, 0.1), rgba(255, 107, 53, 0.1));
  z-index: 1;
}

.btn-primary {
  background: var(--color-vibrant-orange);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: var(--color-tech-cyan);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #25b89f;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(45, 207, 180, 0.3);
}

.grid-bg {
  background-image: 
    linear-gradient(rgba(45, 207, 180, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 207, 180, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

@media (max-width: 768px) {
  .hexagon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .timeline-horizontal {
    flex-direction: column;
  }
  
  .timeline-horizontal::before {
    top: 0;
    left: 1rem;
    right: auto;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  
  .timeline-step {
    text-align: left;
    padding-left: 3rem;
    margin-bottom: 2rem;
  }
  
  .timeline-step::before {
    left: 0.5rem;
    top: 0.5rem;
  }
  
  .counter-animation {
    font-size: 2rem;
  }
}