:root {
  --navy-dark: #0A0A1F;
  --navy-darker: #05050F;
  --pink-primary: #FF1493;
  --pink-light: #FF69B4;
  --orange: #FF6347;
  --orange-light: #FF8C00;
  --cyan: #00CED1;
  --cyan-light: #1E90FF;
  --purple: #9370DB;
  --purple-dark: #8A2BE2;
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--navy-darker);
  color: white;
  overflow-x: hidden;
}

.app {
  min-height: 100vh;
}

/* Logo Animation */
.logo-container {
  width: 50px;
  height: 50px;
}

.logo-image {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.logo-image.spinning {
  animation: spin 1s ease-in-out;
}

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

/* Typography */
.berry-text {
  color: white;
  letter-spacing: -0.02em;
}

/* Navigation */
.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink-primary), var(--cyan));
  transition: width 0.3s ease;
}

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

/* Buttons */
.cta-button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--pink-primary), var(--orange));
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 20, 147, 0.4);
}

.cta-button-large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-button-large.primary {
  background: linear-gradient(135deg, var(--pink-primary), var(--orange));
  color: white;
}

.cta-button-large.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--cyan);
  color: white;
}

.cta-button-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 20, 147, 0.5);
}

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

.animated-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 20, 147, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(0, 206, 209, 0.15) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.1) rotate(5deg); opacity: 0.5; }
}

.hero-headline {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
}

.hero-subheadline {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Sections */
.section-padding {
  padding: 8rem 0;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--pink-primary), var(--orange), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 700px;
  margin: 0 auto;
}

/* Vision Cards */
.vision-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(0, 206, 209, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.vision-card:hover {
  transform: translateY(-8px);
  border-color: var(--pink-primary);
  box-shadow: 0 12px 40px rgba(255, 20, 147, 0.3);
}

.vision-card:hover::before {
  opacity: 1;
}

.vision-illustration {
  width: 100%;
  height: 200px;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.vision-illustration img {
  transition: transform 0.4s ease;
}

.vision-card:hover .vision-illustration img {
  transform: scale(1.05);
}

.vision-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--pink-primary), var(--cyan));
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

/* Problem Cards */
.problem-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.problem-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--pink-primary);
  transform: translateX(8px);
}

.problem-card.expanded {
  background: rgba(255, 20, 147, 0.1);
  border-color: var(--pink-primary);
}

/* Roadmap Cards */
.roadmap-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.roadmap-card.delivered {
  border-color: #10B981;
}

.roadmap-card.progress {
  border-color: var(--orange);
  background: rgba(255, 99, 71, 0.05);
}

.roadmap-card.future {
  border-color: rgba(255, 255, 255, 0.2);
}

.roadmap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 20, 147, 0.2);
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-badge.delivered {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.status-badge.progress {
  background: rgba(255, 140, 0, 0.2);
  color: var(--orange-light);
  animation: pulse 2s ease-in-out infinite;
}

.status-badge.future {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Team Section */
.team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  transition: all 0.4s ease;
}

.team-card:hover {
  border-color: var(--pink-primary);
  box-shadow: 0 12px 40px rgba(255, 20, 147, 0.3);
}

.team-avatar {
  flex-shrink: 0;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--cyan);
  padding: 1rem;
  border-radius: 8px;
}

.experience-section {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 12px;
}

.experience-item {
  display: block;
  padding: 0.5rem 0;
}

.experience-item-block {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--pink-primary);
}

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

.social-link:hover {
  background: var(--pink-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(255, 20, 147, 0.4);
}

/* Project Cards */
.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  display: block;
  transition: all 0.4s ease;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 206, 209, 0.3);
}

.tech-badge {
  padding: 0.375rem 0.75rem;
  background: rgba(255, 20, 147, 0.2);
  border: 1px solid var(--pink-primary);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pink-light);
  font-family: 'JetBrains Mono', monospace;
}

/* Philosophy Section */
.philosophy-section {
  background: radial-gradient(circle at center, rgba(255, 20, 147, 0.1), transparent 70%);
}

.philosophy-quote {
  position: relative;
  padding: 3rem 2rem;
}

.quote-icon {
  width: 60px;
  height: 60px;
  color: var(--pink-primary);
  opacity: 0.3;
  margin: 0 auto 2rem;
}

.quote-text {
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* Try It Section */
.try-it-content {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 3rem;
}

.stats-box {
  text-align: center;
  margin-bottom: 2rem;
}

.stat-number {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.instruction-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--pink-primary);
  padding: 1.5rem;
  border-radius: 8px;
}

/* Footer */
.footer {
  background: var(--navy-dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--pink-primary);
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

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

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

/* Berry Mode Easter Egg */
.berry-mode {
  animation: colorShift 2s ease-in-out;
}

@keyframes colorShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(180deg); }
}

.berry-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.berry-emoji {
  position: absolute;
  font-size: 2rem;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .try-it-content {
    padding: 2rem 1.5rem;
  }
  
  .roadmap-card,
  .project-card,
  .vision-card,
  .team-card {
    padding: 1.5rem;
  }

  .vision-illustration {
    height: 150px;
  }
}