/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

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

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 2rem;
}

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

.nav-link:hover,
.nav-link.active {
  color: #2563eb;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #4b5563;
  transition: all 0.3s;
}

.mobile-nav-open {
  display: flex !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  flex-direction: column;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 0;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  background: #2563eb;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.cta-button:hover {
  background: #1d4ed8;
}

.secondary-button {
  background: transparent;
  color: #2563eb;
  padding: 0.875rem 2rem;
  border: 2px solid #2563eb;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.secondary-button:hover {
  background: #2563eb;
  color: white;
}

/* Features section */
.features {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #1e293b;
}

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

.feature-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.feature-card p {
  color: #475569;
  line-height: 1.7;
}

/* Latest posts section */
.latest-posts {
  background: #f8fafc;
  padding: 4rem 0;
}

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

.post-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card.featured {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 2px solid #2563eb;
  margin-bottom: 3rem;
  position: relative;
}

.post-card.featured .post-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-content {
  padding: 2rem;
}

.post-header {
  margin-bottom: 1rem;
}

.post-header h2 {
  margin-bottom: 0.75rem;
}

.post-header h2 a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}

.post-header h2 a:hover {
  color: #2563eb;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.post-excerpt {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-meta .date,
.post-meta .read-time {
  color: #6b7280;
}

.read-more {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid #2563eb;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.read-more:hover {
  background: #2563eb;
  color: white;
}

/* Comparison section */
.comparison {
  padding: 4rem 0;
  background: #ffffff;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.comparison-card.winner {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #2563eb;
  transform: scale(1.05);
}

.comparison-card.winner::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

.features-list {
  margin-bottom: 2rem;
}

.feature {
  padding: 0.5rem 0;
  font-weight: 500;
}

.feature.limited {
  color: #6b7280;
}

.comparison-cta {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.comparison-cta:hover {
  background: #1d4ed8;
}

.comparison-cta.disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.comparison-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.125rem;
  color: #475569;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Testimonials section */
.testimonials {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  font-style: italic;
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1.125rem;
}

.testimonial-author {
  color: #1e293b;
  font-size: 0.875rem;
}

.testimonial-cta {
  text-align: center;
  margin-top: 3rem;
}

.testimonial-cta p {
  font-size: 1.125rem;
  color: #475569;
}

/* Footer */
.footer {
  background: #1e293b;
  color: #e2e8f0;
  padding: 2rem 0;
}

.footer-content {
  text-align: center;
}

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

.footer-link {
  color: #60a5fa;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Inline links */
.inline-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.inline-link:hover {
  text-decoration: underline;
}

/* Blog-specific styles */
.page-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.page-description {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-categories {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.category-btn {
  background: white;
  border: 2px solid #e2e8f0;
  color: #4b5563;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}

.blog-posts {
  padding: 4rem 0;
}

/* Newsletter signup */
.newsletter-signup {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
  color: white;
}

.newsletter-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.newsletter-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-btn:hover {
  background: #1d4ed8;
}

.newsletter-note {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Blog post specific styles */
.blog-post {
  padding: 2rem 0 4rem;
}

.post-header {
  margin-bottom: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.post-breadcrumb {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

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

.post-breadcrumb a:hover {
  text-decoration: underline;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
  flex-wrap: wrap;
}

.post-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
}

.post-intro {
  font-size: 1.25rem;
  color: #1f2937;
  font-weight: 500;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  border-radius: 0.5rem;
}

.post-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin: 2rem 0 1rem;
  line-height: 1.4;
}

.post-content p {
  margin-bottom: 1.5rem;
}

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

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

.feature-list {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

.feature-list li {
  margin-bottom: 1rem;
}

.post-cta {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
  margin: 3rem 0;
}

.post-cta h3 {
  color: white;
  margin-bottom: 1rem;
}

.post-cta p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-link {
  color: #bfdbfe;
  text-decoration: none;
  font-weight: 600;
}

.cta-link:hover {
  color: white;
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #2563eb;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.cta-button:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.post-footer {
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.post-share {
  margin-bottom: 2rem;
}

.post-share h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.related-posts h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.related-posts ul {
  list-style: none;
  padding: 0;
}

.related-posts li {
  margin-bottom: 0.5rem;
}

.related-posts a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.related-posts a:hover {
  text-decoration: underline;
}

/* About page specific styles */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.about-content {
  padding: 4rem 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.content-section p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.5rem;
}

.highlight-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
}

.urldn-benefits {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

.benefit-icon {
  background: #2563eb;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.benefit-text {
  display: flex;
  flex-direction: column;
}

.benefit-text strong {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefit-text span {
  color: #6b7280;
  font-size: 0.875rem;
}

.review-criteria {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  margin-top: 1rem;
}

.review-criteria li {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.review-criteria li:last-child {
  margin-bottom: 0;
}

.cta-section {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 3rem;
  border-radius: 1rem;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.final-cta {
  margin-top: 2rem;
}

.final-cta .cta-button {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.2s;
  margin-bottom: 1rem;
}

.final-cta .cta-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.cta-note {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

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

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

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-button,
  .secondary-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid,
  .posts-grid,
  .comparison-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .comparison-card.winner {
    transform: none;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-description {
    font-size: 1.125rem;
  }

  .blog-categories {
    gap: 0.5rem;
  }

  .category-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }

  .post-card.featured .post-badge {
    left: 1rem;
  }

  .post-content {
    padding: 1.5rem;
  }

  .post-header h2 a {
    font-size: 1.25rem;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 300px;
  }

  .newsletter-signup {
    padding: 2rem;
  }

  .trust-indicators {
    gap: 2rem;
  }

  .trust-number {
    font-size: 1.5rem;
  }

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

  .content-section p {
    font-size: 1rem;
  }

  .highlight-section {
    padding: 2rem 1.5rem;
  }

  .benefit-item {
    padding: 0.75rem;
  }

  .review-criteria {
    padding: 1.5rem;
  }

  .cta-section {
    padding: 2rem 1.5rem;
  }

  .final-cta .cta-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .features,
  .latest-posts {
    padding: 2rem 0;
  }

  .feature-card,
  .post-card {
    padding: 1.5rem;
  }

  .blog-post {
    padding: 1rem 0 2rem;
  }

  .post-header {
    margin-bottom: 2rem;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .post-content {
    padding: 0 0.5rem;
  }

  .post-cta {
    padding: 1.5rem 1rem;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 1.5rem;
  }

  .content-section {
    margin-bottom: 2rem;
  }

  .highlight-section {
    padding: 1.5rem 1rem;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }
}
