body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: #B3BDBB;
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 1s ease-out;
}

/* Extension Cards */
.extension-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid rgba(33, 66, 71, 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.extension-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  border-color: rgba(33, 66, 71, 0.3);
}

.featured-card {
  border: 3px solid #214247;
  background: linear-gradient(135deg, rgba(33, 66, 71, 0.02) 0%, rgba(40, 112, 124, 0.02) 100%);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #214247 0%, #28707C 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.extension-icon {
  width: 80px;
  height: 80px;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.extension-card:hover .extension-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.95rem;
}

.coming-soon-badge {
  display: inline-block;
  background-color: #F1F5F9;
  color: #64748B;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
  margin-top: auto;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #214247 0%, #28707C 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-top: auto;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .extension-card {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }
}

/* Smooth scroll offset for fixed header */
section {
  scroll-margin-top: 100px;
}

/* Card grid responsiveness */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Hover effects for links */
a {
  text-decoration: none;
}

nav a {
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero section text shadow for better readability */
section h1 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Card content spacing */
.extension-card h3 {
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.extension-card p {
  line-height: 1.6;
}

/* Icon animations */
svg {
  transition: transform 0.3s ease;
}

.extension-card:hover svg {
  transform: scale(1.05);
}

/* Gradient overlays for depth */
.extension-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: inherit;
}

/* Focus states for accessibility */
button:focus,
a:focus {
  outline: 3px solid #28707C;
  outline-offset: 2px;
}

/* Loading state */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
