/* Brand Colors */
:root {
  --magenta: #A41E5C;
  --magenta-dark: #8A1A4D;
  --yellow: #FFEB3A;
  --yellow-light: #FFF176;
  --orange: #FA7F1E;
  --orange-light: #FFA726;
  --red: #AD1625;
  --red-dark: #8F101E;
  --teal: #1B7D8F;
  --teal-dark: #156A78;
  --gray-light: #E7E6E6;
  --gray-medium: #9E9E9E;
  --gray-dark: #424242;
  --white: #FFFFFF;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: var(--gray-light);
}

/* 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(27, 125, 143, 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.extension-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(27, 125, 143, 0.15);
  border-color: var(--teal);
}

.featured-card {
  border: 3px solid var(--teal);
  background: linear-gradient(135deg, rgba(27, 125, 143, 0.02) 0%, rgba(27, 125, 143, 0.05) 100%);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #1B7D8F 0%, #156A78 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(27, 125, 143, 0.2);
  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: var(--gray-dark);
  font-size: 0.95rem;
}

.coming-soon-badge {
  display: inline-block;
  background-color: var(--gray-light);
  color: var(--gray-medium);
  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, #1B7D8F 0%, #156A78 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(27, 125, 143, 0.3);
  margin-top: auto;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(27, 125, 143, 0.4);
  background: linear-gradient(135deg, #156A78 0%, #1B7D8F 100%);
}

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

.btn-secondary {
  background: var(--yellow);
  color: var(--gray-dark);
  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(255, 235, 59, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(255, 235, 59, 0.5);
  background: var(--yellow-light);
}

/* 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 var(--orange);
  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;
}
