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

:root {
  /* Dark Theme Colors Only */
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --secondary-color: #94a3b8;
  --success-color: #34d399;
  --danger-color: #f87171;
  --warning-color: #fbbf24;
  --bg-color: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.7);
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --border-color: rgba(51, 65, 85, 0.5);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --overlay: rgba(0, 0, 0, 0.7);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: radial-gradient(
    ellipse at center,
    rgba(30, 20, 60, 0.95) 0%,
    rgba(15, 10, 40, 0.98) 50%,
    rgba(5, 5, 20, 1) 100%
  );
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(192, 132, 252, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  font-size: 1.75rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  width: 60px;
  height: 32px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.theme-icon {
  font-size: 1.2rem;
  position: absolute;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sun-icon {
  left: 6px;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.moon-icon {
  right: 6px;
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Sections */
.section {
  display: none;
  padding: 4rem 0;
  min-height: 100vh;
  animation: fadeIn 0.5s ease-in-out;
  position: relative;
}

.section.full-screen {
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section.full-screen .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section.with-navbar {
  padding-top: 0;
  min-height: 100vh;
}

.section.active {
  display: block;
}

.section.full-screen.active {
  display: flex;
}

/* Integrated Navigation (for home page) */
.integrated-navbar {
  display: none;
}

/* Sticky Navigation (for other pages) */
.navbar {
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(192, 132, 252, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

/* Galaxy Background */
.galaxy-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .galaxy-background {
  background: transparent;
}

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

/* Shooting Stars Background */
.shooting-stars-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.section .container {
  position: relative;
  z-index: 3;
}

.section .hero {
  position: relative;
  z-index: 3;
}

.section .features-grid {
  position: relative;
  z-index: 3;
}

.section.active {
  display: block;
}

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

/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem 0 3rem;
  animation: slideUp 0.8s ease-out;
  max-width: 900px;
  margin: 0 auto;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff, #c084fc, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.6));
  animation: gradientShift 3s ease infinite;
  font-weight: 700;
  letter-spacing: -0.02em;
}

#home .hero h1 {
  background: linear-gradient(135deg, #ffffff, #c084fc, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.6));
}

#home .hero-subtitle,
#home .hero-description {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  padding-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.8s ease-in-out 0.4s both;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

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

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }
}

.feature-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(192, 132, 252, 0.2);
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#home .feature-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(192, 132, 252, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c084fc 0%, #60a5fa 50%, #f472b6 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.feature-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(192, 132, 252, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover::after {
  opacity: 1;
}

#home .feature-card::before {
  background: linear-gradient(90deg, #c084fc 0%, #60a5fa 50%, #f472b6 100%);
}

#home .feature-card:hover {
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 20px 60px rgba(192, 132, 252, 0.3),
    0 0 40px rgba(96, 165, 250, 0.2);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

#home .feature-card h3,
#home .feature-card p {
  color: rgba(255, 255, 255, 0.95);
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(192, 132, 252, 0.3),
    0 0 40px rgba(96, 165, 250, 0.2);
  border-color: rgba(192, 132, 252, 0.5);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.feature-card:hover h3 {
  color: #c084fc;
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.5);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.6));
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 30px rgba(192, 132, 252, 0.9));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Feature Stats */
.feature-stats {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  position: relative;
  z-index: 1;
}

.stat-item {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(192, 132, 252, 0.95);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.feature-card:hover .stat-item {
  background: rgba(192, 132, 252, 0.25);
  border-color: rgba(192, 132, 252, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(192, 132, 252, 0.3);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #c084fc, #60a5fa);
  color: white;
  box-shadow: 0 4px 20px rgba(192, 132, 252, 0.5),
    0 0 40px rgba(96, 165, 250, 0.3);
  animation: buttonGlow 2s ease-in-out infinite;
  padding: 0.65rem 1.75rem;
  font-size: 0.95rem;
}

#home .btn-primary {
  background: linear-gradient(135deg, #c084fc, #60a5fa);
  box-shadow: 0 4px 20px rgba(192, 132, 252, 0.5),
    0 0 40px rgba(96, 165, 250, 0.3);
  animation: buttonGlow 2s ease-in-out infinite;
  padding: 0.65rem 1.75rem;
  font-size: 0.95rem;
}

@keyframes buttonGlow {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(192, 132, 252, 0.5),
      0 0 40px rgba(96, 165, 250, 0.3);
  }
  50% {
    box-shadow: 0 4px 30px rgba(192, 132, 252, 0.7),
      0 0 60px rgba(96, 165, 250, 0.5);
  }
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 30px rgba(192, 132, 252, 0.7),
    0 0 80px rgba(96, 165, 250, 0.6);
}

#home .btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 30px rgba(192, 132, 252, 0.7),
    0 0 80px rgba(96, 165, 250, 0.6);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #475569;
  transform: translateY(-2px);
}

.btn-secondary.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Section Headers */
.section h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(192, 132, 252, 0.5));
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Back Button Style */
.btn-secondary {
  background: rgba(100, 116, 139, 0.8);
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.btn-secondary:hover {
  background: rgba(71, 85, 105, 0.9);
  transform: translateY(-2px);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 4px 20px rgba(192, 132, 252, 0.3);
}

.btn-secondary.active {
  background: linear-gradient(135deg, #c084fc, #60a5fa);
  box-shadow: 0 4px 15px rgba(192, 132, 252, 0.3);
  border-color: transparent;
}

/* Forms */
.requirements-form {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(192, 132, 252, 0.3);
  animation: slideUp 0.6s ease-out;
}

.form-group {
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease-in-out;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="number"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(192, 132, 252, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(15, 23, 42, 0.6);
  color: rgba(255, 255, 255, 0.9);
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: #c084fc;
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.2);
  transform: translateY(-2px);
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
}

.checkbox-label:hover {
  background: rgba(192, 132, 252, 0.1);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #c084fc;
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

/* Comparison Display */
.comparison-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.comparison-display {
  margin-top: 2rem;
}

/* Cards View */
.comparison-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.platform-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(192, 132, 252, 0.3);
  animation: slideUp 0.6s ease-out;
}

.platform-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(192, 132, 252, 0.4);
  border-color: rgba(192, 132, 252, 0.6);
}

.platform-header {
  padding: 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.platform-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.platform-card:hover .platform-header::before {
  left: 100%;
}

.platform-header.aws {
  background: linear-gradient(135deg, #ff9900, #ff6600);
}

.platform-header.gcp {
  background: linear-gradient(135deg, #4285f4, #34a853);
}

.platform-header.azure {
  background: linear-gradient(135deg, #0078d4, #50e6ff);
}

.platform-body {
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.service-item:last-child {
  border-bottom: none;
}

.service-name {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.service-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(192, 132, 252, 0.2);
  border-radius: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.service-pricing {
  color: var(--success-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.service-features {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.pros-cons {
  margin-top: 1rem;
}

.pros-cons h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.pros-list {
  list-style: none;
  font-size: 0.875rem;
}

.pros-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.25rem;
  color: var(--success-color);
  transition: all 0.3s ease;
}

.pros-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.cons-list {
  list-style: none;
  font-size: 0.875rem;
}

.cons-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.25rem;
  color: var(--danger-color);
  transition: all 0.3s ease;
}

.cons-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Table View */
.comparison-table {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow-x: auto;
  border: 1px solid rgba(192, 132, 252, 0.3);
  animation: slideUp 0.6s ease-out;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(192, 132, 252, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.comparison-table th {
  background: rgba(15, 23, 42, 0.6);
  font-weight: 600;
}

.comparison-table tr:hover {
  background: rgba(192, 132, 252, 0.1);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .platform-name {
  font-weight: 600;
  color: #c084fc;
}

/* Recommendations */
.recommendations-display {
  display: grid;
  gap: 2rem;
}

.recommendation-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border: 1px solid rgba(192, 132, 252, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: slideUp 0.6s ease-out;
}

.recommendation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(192, 132, 252, 0.4);
  border-color: rgba(192, 132, 252, 0.6);
}

.recommendation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.recommendation-icon {
  font-size: 3rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.recommendation-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.match-score {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--success-color), #059669);
  color: white;
  border-radius: 20px;
  font-weight: 600;
  margin-left: auto;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.5);
  }
}

.recommendation-body {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.best-fit-scenarios {
  margin-top: 1.5rem;
}

.best-fit-scenarios h4 {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scenario-tag {
  padding: 0.5rem 1rem;
  background: rgba(192, 132, 252, 0.2);
  border-radius: 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(192, 132, 252, 0.3);
  transition: all 0.3s ease;
}

.scenario-tag:hover {
  background: #c084fc;
  color: white;
  border-color: #c084fc;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(192, 132, 252, 0.2);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.7);
  animation: fadeIn 0.6s ease-in-out;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Loading State */
.loading {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.spinner {
  border: 4px solid rgba(192, 132, 252, 0.2);
  border-top: 4px solid #c084fc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .nav-menu {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
  }

  .comparison-cards {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background-color: #c084fc;
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.8);
}

::-webkit-scrollbar-thumb {
  background: rgba(192, 132, 252, 0.5);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c084fc;
}

/* Navigation Styles */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.integrated-navbar .nav-brand {
  font-size: 1.75rem;
  filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.6));
}

.brand-icon {
  font-size: 1.75rem;
  animation: float 3s ease-in-out infinite;
}

.integrated-navbar .brand-icon {
  font-size: 2rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.integrated-navbar .nav-menu {
  gap: 2.5rem;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0;
  font-size: 1rem;
}

.integrated-navbar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #c084fc;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px #c084fc;
}

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

.nav-link:hover,
.nav-link.active {
  color: #c084fc;
}

.integrated-navbar .nav-link:hover,
.integrated-navbar .nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.8);
}

/* Comparison Info */
.comparison-info {
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease-in-out;
}

.comparison-info p {
  margin: 0;
  font-size: 0.95rem;
}

/* Make nav brand clickable */
.nav-brand {
  cursor: pointer;
  user-select: none;
}

.nav-brand:hover {
  opacity: 0.9;
}

/* Search Box Styles */
.search-box-container input[type="text"] {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-box-container input[type="text"]:hover {
  border-color: rgba(192, 132, 252, 0.5) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 6px 12px rgba(192, 132, 252, 0.2);
}

.search-box-container input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-box-container input[type="text"]:focus {
  outline: none;
  box-shadow: 0 8px 16px rgba(192, 132, 252, 0.3);
}

/* Summary Cards */
.summary-card {
  animation: fadeIn 0.6s ease-in-out;
}

.requirements-summary,
.comparison-summary {
  animation: slideUp 0.6s ease-out;
}

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

/* Download Button Styles */
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(192, 132, 252, 0.3);
}

/* Scenario Tags in Summary */
.scenario-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(192, 132, 252, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 6px;
  font-size: 0.85rem;
  color: rgba(192, 132, 252, 0.9);
  transition: all 0.3s ease;
}

.scenario-tag:hover {
  background: rgba(192, 132, 252, 0.3);
  border-color: rgba(192, 132, 252, 0.6);
  transform: scale(1.05);
}
