@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #4A90E2;
  --secondary: #2C3E50;
  --accent: #E8F4F8;
  --text: #333333;
  --text-light: #666666;
  --border: #E0E0E0;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Crimson Pro', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: 'Crimson Pro', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  font-size: 32px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

nav a:hover {
  color: var(--primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--secondary);
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--white) 100%);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--secondary);
}

.hero p {
  font-size: 20px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.cta-button:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--shadow);
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow);
  border-color: var(--primary);
}

.topic-card i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.topic-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.topic-card p {
  color: var(--text-light);
  font-size: 15px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 35px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px var(--shadow);
}

.article-image {
  width: 100%;
  height: 220px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--primary);
}

.article-content {
  padding: 25px;
}

.article-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.article-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
}

.sponsored-badge {
  background: #FFF3CD;
  color: #856404;
}

footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 24px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.company-info {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-bottom: 15px;
}

.disclaimer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.6;
  max-width: 900px;
  margin: 20px auto;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.legal-links a:hover {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  color: var(--white);
  padding: 20px;
  box-shadow: 0 -5px 20px var(--shadow);
  z-index: 2000;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-button {
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.accept-btn {
  background: var(--primary);
  color: var(--white);
}

.accept-btn:hover {
  background: #3A7BC8;
}

.decline-btn {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.decline-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 30px;
  font-size: 15px;
}

.back-link:hover {
  gap: 12px;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 40px;
}

.article-header h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.article-body {
  font-size: 17px;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 32px;
  margin: 40px 0 20px;
}

.article-body h3 {
  font-size: 24px;
  margin: 30px 0 15px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 20px 0 20px 30px;
}

.article-body li {
  margin-bottom: 10px;
}

.legal-page {
  padding: 60px 0;
}

.legal-page h1 {
  font-size: 42px;
  margin-bottom: 30px;
}

.legal-page h2 {
  font-size: 28px;
  margin: 40px 0 20px;
}

.legal-page p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.legal-page ul {
  margin: 20px 0 20px 30px;
}

.legal-page li {
  margin-bottom: 10px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-button {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: #3A7BC8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
}

@media (max-width: 968px) {
  .header-content nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px var(--shadow);
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
  }

  .header-content nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .mobile-toggle {
    display: block;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 42px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .article-header h1 {
    font-size: 36px;
  }

  .legal-page h1 {
    font-size: 32px;
  }
}
