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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

/* Navigation */
.navbar {
  background: white;
  border-bottom: 1px solid #e1e5e9;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo-icon {
  color: #2563eb;
}

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

.nav-menu a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #2563eb;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Home Page Styles */
.hero {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 500;
}

/* What is eSIM Section */
.what-is-esim {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.what-is-esim h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.what-is-esim p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #4b5563;
}

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

.benefit {
  text-align: center;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 0.5rem;
}

.benefit h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.benefit p {
  color: #6b7280;
}

/* Providers Section */
.providers-section {
  margin-bottom: 3rem;
}

.providers-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #1f2937;
}

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

/* Clickable Provider Cards */
.provider-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.provider-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.provider-card h3 {
  margin-bottom: 1rem;
  color: #1f2937;
  font-size: 1.25rem;
}

.provider-card-link:hover .provider-card h3 {
  color: #2563eb;
}

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

.discount {
  background: #ecfdf5;
  color: #059669;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.provider-card p:last-child {
  color: #6b7280;
  margin-bottom: 0;
  margin-top: auto;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #f9fafb;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 1.5rem;
  text-align: center;
  color: #9ca3af;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Provider Page Styles */
.provider-page {
  max-width: 800px;
  margin: 0 auto;
}

.provider-header {
  text-align: center;
  padding: 2rem 0;
  border-bottom: 1px solid #e1e5e9;
  margin-bottom: 2rem;
}

.provider-header h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.provider-header p {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.codes-section h2 {
  font-size: 1.75rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Coupon Cards */
.coupon-card {
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.coupon-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.coupon-card.primary-code {
  border: 2px solid #2563eb;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.coupon-card.primary-code::before {
  content: "🔥 BEST DEAL";
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.coupon-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.coupon-header h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.verified-badge {
  background: #ecfdf5;
  color: #059669;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.verified-badge i {
  color: #10b981;
}

/* Copy Code Button */
.coupon-code {
  margin-bottom: 1rem;
}

.copy-code-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
  justify-content: center;
}

.copy-code-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.copy-code-btn.copied {
  background: #10b981;
}

.coupon-description {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Coming Soon Pages */
.coming-soon-section {
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
}

.coming-soon-card {
  background: white;
  border-radius: 12px;
  padding: 3rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.coming-soon-card h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin: 1rem 0;
}

.coming-soon-card .subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.coming-soon-content h2 {
  font-size: 2rem;
  color: #f59e0b;
  margin-bottom: 1rem;
}

.coming-soon-content h3 {
  font-size: 1.25rem;
  color: #374151;
  margin: 2rem 0 1rem 0;
}

.coming-soon-content p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.coming-soon-content ul {
  text-align: left;
  display: inline-block;
  margin: 1rem 0;
}

.coming-soon-content li {
  margin-bottom: 0.5rem;
}

.coming-soon-content a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.coming-soon-content a:hover {
  text-decoration: underline;
}

.notify-section,
.explore-section {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

/* Provider-specific brand styling */
.provider-page[data-provider="holafly"] .content-section h2 {
  border-bottom-color: #e6485c;
  color: #292b2e;
}

.provider-page[data-provider="holafly"] .content-section h3 {
  color: #e6485c;
}

.provider-page[data-provider="holafly"] .content-section blockquote {
  border-left-color: #e6485c;
  background: #fef2f2;
}

.provider-page[data-provider="holafly"] .content-section table th {
  background: #fef2f2;
  color: #292b2e;
}

.provider-page[data-provider="holafly"] .content-section code {
  background: #fef2f2;
  color: #e6485c;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 1rem;
  padding: 1rem 0;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin-left: 0.5rem;
  color: #6b7280;
}

.breadcrumbs a {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #6b7280;
}

/* Provider Page Header */
.provider-header {
  text-align: center;
  padding: 2rem 0 3rem;
  border-bottom: 1px solid #e1e5e9;
  margin-bottom: 2rem;
}

.provider-header h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin: 1rem 0 0.5rem;
}

.provider-header .subtitle {
  color: #6b7280;
  font-size: 1.1rem;
}

/* Provider logos - completely clean */
.provider-logo {
  text-align: center;
  margin-bottom: 1rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-logo .logo {
  height: 60px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  /* Completely clean - no styling at all */
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Fallback for missing logos */
.provider-logo .logo-fallback {
  width: 120px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Article Page Styling */
.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.article-content {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.article-content h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  border-bottom: 2px solid #e1e5e9;
  padding-bottom: 1rem;
}

.article-content h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e1e5e9;
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-size: 1.5rem;
  color: #374151;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid #3b82f6;
  background: #eff6ff;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
  margin-bottom: 0;
  font-style: italic;
}

.article-content code {
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: "Monaco", "Menlo", monospace;
  font-size: 0.9em;
  color: #e11d48;
}

.article-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.article-content table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.article-content th {
  background: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e1e5e9;
}

.article-content td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #4b5563;
}

.article-content tr:last-child td {
  border-bottom: none;
}

/* Responsive article styling */
@media (max-width: 768px) {
  .article-content {
    padding: 2rem 1.5rem;
  }

  .article-content h1 {
    font-size: 2rem;
  }

  .article-content h2 {
    font-size: 1.75rem;
  }

  .article-content h3 {
    font-size: 1.25rem;
  }
}

/* Coming Soon Pages - Improved Styling */
.coming-soon-section {
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
}

.coming-soon-content h2 {
  font-size: 2.5rem;
  color: #f59e0b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.coming-soon-content h2 i {
  font-size: 2rem;
}

.coming-soon-content > p {
  color: #4b5563;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.explore-section {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
}

.explore-section h3 {
  font-size: 1.5rem;
  color: #374151;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.explore-section > p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.provider-links {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.provider-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #e1e5e9;
  transition: all 0.2s ease;
}

.provider-link:hover {
  border-color: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.provider-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 1.1rem;
}

.provider-offer {
  color: #059669;
  font-size: 0.9rem;
  background: #ecfdf5;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

/* Content Section Styling */
.content-section {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-section h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.content-section h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e1e5e9;
  padding-bottom: 0.5rem;
}

.content-section h3 {
  font-size: 1.5rem;
  color: #374151;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.25rem;
}

.content-section ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.content-section li {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.content-section table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-section th {
  background: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e1e5e9;
}

.content-section td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #4b5563;
}

.content-section tr:last-child td {
  border-bottom: none;
}

.content-section blockquote {
  border-left: 4px solid #3b82f6;
  background: #eff6ff;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.content-section blockquote p {
  margin-bottom: 0;
  font-style: italic;
}

.content-section code {
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: "Monaco", "Menlo", monospace;
  font-size: 0.9em;
  color: #e11d48;
}

.content-section pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.content-section pre code {
  background: none;
  color: inherit;
  padding: 0;
}

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

  .content-section h2 {
    font-size: 1.75rem;
  }

  .content-section h3 {
    font-size: 1.25rem;
  }

  .content-section table {
    font-size: 0.9rem;
  }

  .content-section th,
  .content-section td {
    padding: 0.75rem 0.5rem;
  }
}

/* Disclaimer Section */
.disclaimer-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
  border-top: 1px solid #374151;
}

.disclaimer-card {
  background: rgba(55, 65, 81, 0.5);
  border: 1px solid #4b5563;
  border-radius: 8px;
  padding: 1.5rem;
}

.disclaimer-card h3 {
  color: #f9fafb;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-card p {
  color: #d1d5db;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.disclaimer-card p:last-child {
  margin-bottom: 0;
}

.disclaimer-card i {
  color: #9ca3af;
  margin-right: 0.5rem;
}

/* Provider logos */
.provider-logo {
  text-align: center;
  margin-bottom: 1rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-logo .logo {
  height: 60px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Fallback for missing logos */
.provider-logo .logo-fallback {
  width: 120px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-stats span {
    font-size: 0.9rem;
  }

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

/* Mobile menu improvements */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger {
  width: 100%;
  height: 3px;
  background: #1f2937;
  transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #1f2937;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }

  .nav-menu a:hover {
    background: #f8fafc;
  }

  .logo-text {
    font-size: 1rem;
    /* Smaller on mobile */
  }
}

/* Existing nav styles - make sure these work on desktop */
@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
  }
}

/* Feedback buttons */
.feedback-buttons {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  opacity: 1;
}

.coupon-card {
  position: relative;
}

.feedback-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feedback-btn:hover {
  transform: scale(1.1);
}

.feedback-btn.thumbs-up:hover:not(.selected) {
  background: #059669;
  color: white;
}

.feedback-btn.thumbs-down:hover:not(.selected) {
  background: #dc2626;
  color: white;
}

/* Selected states (persistent after click) */
.feedback-btn.selected.thumbs-up {
  background: #059669;
  color: white;
}

.feedback-btn.selected.thumbs-down {
  background: #dc2626;
  color: white;
}

.feedback-btn.active-up {
  background: #059669;
  color: white;
  animation: celebrate 0.6s ease-out;
}

.feedback-btn.active-down {
  background: #dc2626;
  color: white;
  animation: disappointment 0.6s ease-out;
}

/* Animations */
@keyframes celebrate {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3) rotate(15deg);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes disappointment {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(0.9) rotate(-5deg);
  }

  50% {
    transform: scale(1.1) rotate(5deg);
  }

  75% {
    transform: scale(0.95) rotate(-3deg);
  }

  100% {
    transform: scale(1);
  }
}

/* Fireworks effect */
.firework {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: firework 0.8s ease-out forwards;
  pointer-events: none;
  z-index: 1000;
}

@keyframes firework {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0) translate(var(--dx), var(--dy));
  }
}

/* Poop effect */
.poop-particle {
  position: fixed;
  font-size: 20px;
  animation: poop-fall 1s ease-out forwards;
  pointer-events: none;
  z-index: 1000;
}

@keyframes poop-fall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translateY(50px) rotate(360deg);
  }
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background: #f3f4f6;
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8fafc;
    margin-top: 0.5rem;
    border-radius: 4px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    display: none;
  }
}

.copy-code-btn {
  border: 2px solid #3b82f6; /* Add a blue border */
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.07);
}
.copy-code-btn:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.14);
}

/* CTA Section */
.cta-section {
  background: #f5f7fa;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 12px;
  margin: 2rem 0;
}
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.cta-button {
  display: inline-block;
  background: #0070f3;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}
.cta-button:hover {
  background: #005bb5;
}

/* Best Code Section */
.best-code-section {
  background: #fffbe6;
  padding: 2rem 1rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
  border: 1px solid #ffe58f;
}
.best-code-section h2 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: #ad8b00;
}
.best-code-card {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(173, 139, 0, 0.08);
  font-size: 1.15rem;
  color: #ad8b00;
}
.best-code-card strong {
  color: #d48806;
}

.comparison-table-container {
  overflow-x: auto;
  margin: 2rem 0;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 1rem;
  min-width: 600px;
}
.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
}
.comparison-table .provider-logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparison-table .logo-img {
  max-width: 56px;
  max-height: 36px;
}
.comparison-table .logo-fallback {
  font-size: 0.9em;
  color: #888;
  font-weight: 500;
}
.comparison-table .fa-check {
  color: #28a745;
}
.comparison-table .fa-times {
  color: #dc3545;
}
@media (max-width: 700px) {
  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem;
    font-size: 0.95em;
  }
  .comparison-table {
    font-size: 0.95em;
  }
}