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

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --secondary: #64748b;
  --accent: #3b82f6;
  --background: #ffffff;
  --surface: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: rgba(0, 0, 0, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

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

/* Header and Navigation */
.header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  padding: 80px 0;
}

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

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-description {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: white;
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
}

/* Reviews Section */
.reviews-section {
  padding: 80px 0;
  background: var(--surface);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-description {
  text-align: center;
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* Review Cards */
.review-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}

.review-header {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.review-rank {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-badge {
  background: var(--accent);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.rank-badge.best {
  background: var(--success);
}

.rank-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
}

.review-title-section {
  flex: 1;
}

.platform-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 20px;
  color: #cbd5e1;
}

.star.filled {
  color: #fbbf24;
}

.star.half::before {
  content: "★";
  position: absolute;
  color: #fbbf24;
  width: 50%;
  overflow: hidden;
}

.rating-text {
  font-weight: 600;
  color: var(--text-secondary);
}

.review-description {
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.features-list,
.pros-cons {
  margin-bottom: 24px;
}

.features-list h4,
.pros-cons h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.features-list ul,
.pros-cons ul {
  list-style: none;
  padding-left: 0;
}

.features-list li,
.pros-cons li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.cons li::before {
  content: "−";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

.review-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* CTA Section */
.cta-section {
  background: white;
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  margin-top: 48px;
  box-shadow: 0 2px 8px var(--shadow);
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 18px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.95;
}

/* Comparison Table */
.comparison-section {
  padding: 60px 0;
  background: var(--surface);
}

.table-wrapper {
  overflow-x: auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 48px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.comparison-table thead {
  background: var(--primary);
  color: white;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.comparison-table .feature-col {
  width: 200px;
  font-weight: 600;
}

.comparison-table .feature-name {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table .section-header td {
  background: var(--surface);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 14px;
}

.comparison-table .check {
  color: var(--success);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--danger);
  font-weight: 700;
}

.comparison-table tbody tr:hover {
  background: var(--surface);
}

.comparison-cta {
  text-align: center;
  background: white;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
}

.comparison-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.comparison-cta p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 18px;
}

/* Content Section */
.content-section {
  padding: 60px 0;
  background: var(--surface);
}

.content-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--shadow);
}

.content-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.content-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.content-card p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-list {
  margin: 16px 0;
  padding-left: 24px;
}

.content-list li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.content-card a {
  color: var(--primary);
  text-decoration: underline;
}

.content-card a:hover {
  color: var(--primary-dark);
}

/* Alert Box */
.alert-box {
  background: #fef3c7;
  border: 2px solid var(--warning);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.alert-box h3 {
  color: #92400e;
  margin-bottom: 12px;
  font-size: 20px;
}

.alert-box p {
  color: #78350f;
  margin-bottom: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info,
.contact-form-section {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px var(--shadow);
}

.contact-method {
  margin-bottom: 24px;
}

.contact-method h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-form-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-message {
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-weight: 600;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-text {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  text-align: center;
  color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 4px 12px var(--shadow);
    gap: 16px;
  }

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

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .platform-name {
    font-size: 24px;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

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

  .comparison-cta {
    padding: 32px 24px;
  }

  .cta-section {
    padding: 32px 24px;
  }

  .content-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
