@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Header */
header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background: rgba(255,255,255,0.2);
}

/* Main content */
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

article {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

/* Card styles for sections */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #667eea;
}

.card h3 {
  color: #333;
  margin-bottom: 1rem;
  font-weight: 500;
}

.card ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.card ul li {
  margin-bottom: 0.5rem;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background: #f8f9fa;
  font-weight: 500;
  color: #333;
}

tr:hover {
  background: #f8f9fa;
}

/* Affiliate buttons */
.affiliate-btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  margin: 0.5rem 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  color: #fff;
}

/* FAQ styles */
.faq {
  margin-top: 2rem;
}

.faq h3 {
  color: #333;
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: center;
}

.faq details {
  margin-bottom: 1rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq details:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  padding: 1rem;
  background: #f8f9fa;
  color: #333;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  background: #e9ecef;
}

.faq p {
  padding: 1rem;
  background: #fff;
}

/* Ratings */
.rating {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.rating-score {
  font-weight: 700;
  color: #667eea;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #333;
  color: #fff;
  margin-top: 3rem;
}

footer p {
  margin: 0;
  opacity: 0.9;
}

/* Responsive design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 0.25rem 0;
  }
  
  main {
    margin: 1rem;
    padding: 0;
  }
  
  article, .card {
    padding: 1rem;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
  }
  
  .affiliate-btn {
    width: 100%;
    text-align: center;
  }
}
/* Providers Comparison */
.providers-comparison {
    margin: 2rem 0;
}

.providers-comparison h3 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 500;
}

.provider-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.provider-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #667eea;
}

.provider-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.provider-box h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.provider-box ul {
    text-align: left;
    margin-bottom: 1rem;
    list-style-type: none;
    padding: 0;
}

.provider-box ul li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.provider-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Responsive for provider boxes */
@media (max-width: 768px) {
    .provider-boxes {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .provider-box {
        padding: 1rem;
    }
}