:root {
  --primary-bg: #fafcff;
  --accent-blue: #2563eb;
  --accent-green: #059669;
  --accent-orange: #c2410c;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-light: #e5e7eb;
  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 10px 15px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.82;
  font-size: 1.15rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
  font-weight: 900;
}

h2 {
  font-size: 2.25rem;
  font-weight: 800;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-green);
}

header {
  position: sticky;
  top: 0;
  background-color: rgba(250, 252, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 1rem 0;
}

header .navbar {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

header .logo img {
  width: 36px;
  height: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav a {
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

header nav a:hover {
  color: var(--accent-blue);
}

main {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 48px;
}

footer {
  background-color: #f3f4f6;
  color: var(--text-dark);
  padding: 3rem 0;
  margin-top: 6rem;
  border-top: 1px solid var(--border-light);
}

footer .container {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

footer h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

footer a {
  color: var(--text-light);
}

footer a:hover {
  color: var(--accent-blue);
}

.hero-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 6rem 0;
}

.hero-section img {
  max-width: 50%;
  height: auto;
}

.hero-section .content {
  flex: 1;
}

.section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border-light);
}

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

.section h2 {
  color: var(--accent-blue);
  margin-bottom: 2rem;
}

.section-intro {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.comparison-card {
  padding: 2rem;
  background: white;
  border-left: 4px solid var(--accent-green);
  box-shadow: var(--shadow-soft);
  transition: all 0.32s ease;
}

.comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-left-color: var(--accent-blue);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  margin-bottom: 3rem;
  padding-left: 3rem;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary-bg), 0 0 0 6px var(--accent-blue);
}

.section-image {
  max-width: 100%;
  height: auto;
  margin: 3rem 0;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

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

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: all 0.32s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-top: 3px solid var(--accent-green);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--accent-blue);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  flex-grow: 1;
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent-blue);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(37, 99, 235, 0.3);
}

.accordion {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background: white;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #f9fafb;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.45s ease;
  background: #fafbfc;
}

.accordion-content.active {
  max-height: 500px;
  padding: 1.5rem;
}

.accordion-toggle::after {
  content: '▼';
  font-size: 0.75rem;
  transition: transform 0.45s ease;
}

.accordion-content.active ~ .accordion-header .accordion-toggle::after {
  transform: rotate(180deg);
}

.disclaimer {
  background: #fff3cd;
  border-left: 4px solid var(--accent-orange);
  padding: 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.disclaimer strong {
  color: var(--accent-orange);
}

.cta-section {
  background: linear-gradient(135deg, #f0f9ff, #f0fdf4);
  padding: 4rem;
  border-radius: 12px;
  text-align: center;
  margin: 4rem 0;
}

.cta-section h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-disclaimer {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border-light);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  flex-grow: 1;
  font-size: 0.95rem;
  color: var(--text-light);
}

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

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: var(--accent-blue);
  color: white;
}

.cookie-btn.accept:hover {
  background: #1e40af;
}

.cookie-btn.reject {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.cookie-btn.reject:hover {
  background: #f9fafb;
}

.cookie-btn.learn {
  background: transparent;
  color: var(--accent-blue);
  text-decoration: underline;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  header .navbar {
    padding: 0 24px;
    flex-direction: column;
    gap: 1rem;
  }

  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  header nav a {
    font-size: 0.8rem;
  }

  main {
    padding: 0 24px;
  }

  footer .container {
    padding: 0 24px;
  }

  .hero-section {
    flex-direction: column;
    padding: 3rem 0;
    gap: 2rem;
  }

  .hero-section img {
    max-width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

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