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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
header {
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span { color: #4a6cf7; }

nav { display: flex; align-items: center; gap: 0; }

nav a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  margin-left: 32px;
  transition: color 0.2s;
}

nav a:hover { color: #4a6cf7; }
nav a.active { color: #4a6cf7; font-weight: 600; }

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  margin: 5px 0;
  transition: 0.3s;
}

/* HERO */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(26,26,46,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  background: rgba(74,108,247,0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.6;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: #888;
}

.breadcrumb a {
  color: #4a6cf7;
  text-decoration: none;
}

.breadcrumb span { margin: 0 8px; }

/* CONTENT */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px 0 80px;
}

article h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 40px 0 16px;
  letter-spacing: -0.5px;
}

article h2:first-child { margin-top: 0; }

article h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 32px 0 12px;
}

article p {
  color: #444;
  margin-bottom: 16px;
}

article ul, article ol {
  color: #444;
  margin: 0 0 20px 24px;
}

article li { margin-bottom: 8px; }

.article-img {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

.highlight-box {
  background: #f0f4ff;
  border-left: 4px solid #4a6cf7;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

.highlight-box p {
  color: #333;
  margin: 0;
  font-weight: 500;
}

/* TABLE */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.comparison-table th {
  background: #1a1a2e;
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  color: #444;
}

.comparison-table tr:nth-child(even) td { background: #fafafa; }

/* SIDEBAR */
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-box {
  background: #f8f9fc;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.sidebar-box ul { list-style: none; }
.sidebar-box li { margin-bottom: 10px; }

.sidebar-box a {
  color: #4a6cf7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.sidebar-box a:hover { text-decoration: underline; }

.author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4a6cf7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 15px;
  color: #1a1a2e;
}

.author-role {
  font-size: 13px;
  color: #888;
}

/* CARDS */
.article-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-tag {
  display: inline-block;
  background: #f0f4ff;
  color: #4a6cf7;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.card-body h3 a:hover { color: #4a6cf7; }

.card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* NEWSLETTER */
.newsletter-section {
  background: #f0f4ff;
  padding: 64px 0;
  text-align: center;
}

.newsletter-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.newsletter-section p {
  color: #666;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.newsletter-form input:focus { border-color: #4a6cf7; }

.newsletter-form button {
  background: #4a6cf7;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: #3a5ce5; }

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.team-card {
  text-align: center;
  background: #f8f9fc;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 40px 24px;
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.team-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.team-card .role {
  color: #4a6cf7;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* QUIZ */
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.quiz-progress {
  background: #e8e8e8;
  height: 6px;
  border-radius: 3px;
  margin-bottom: 40px;
  overflow: hidden;
}

.quiz-progress-bar {
  background: #4a6cf7;
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-question {
  text-align: center;
  margin-bottom: 32px;
}

.quiz-question h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.quiz-question p {
  color: #888;
  font-size: 15px;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quiz-option {
  background: #f8f9fc;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.quiz-option:hover {
  border-color: #4a6cf7;
  background: #f0f4ff;
}

.quiz-option.selected {
  border-color: #4a6cf7;
  background: #f0f4ff;
}

.quiz-option .icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.quiz-option .label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  display: block;
  margin-bottom: 4px;
}

.quiz-option .desc {
  font-size: 13px;
  color: #888;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.quiz-btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: all 0.2s;
}

.quiz-btn-back {
  background: #f0f0f0;
  color: #555;
}

.quiz-btn-back:hover { background: #e0e0e0; }

.quiz-btn-next {
  background: #4a6cf7;
  color: #fff;
}

.quiz-btn-next:hover { background: #3a5ce5; }
.quiz-btn-next:disabled { background: #ccc; cursor: not-allowed; }

.quiz-result {
  text-align: center;
  padding: 40px;
  background: #f8f9fc;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
}

.quiz-result h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.quiz-result .result-type {
  font-size: 22px;
  font-weight: 700;
  color: #4a6cf7;
  margin-bottom: 20px;
}

.quiz-result p {
  color: #555;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 16px;
}

.quiz-result .result-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.result-feature {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.result-feature .feat-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.result-feature .feat-value {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}

/* LEGAL PAGES */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.legal-content .update-date {
  color: #888;
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 36px 0 12px;
}

.legal-content p {
  color: #555;
  margin-bottom: 16px;
}

.legal-content ul {
  color: #555;
  margin: 0 0 20px 24px;
}

.legal-content li { margin-bottom: 8px; }

/* SECTION TITLE */
.section-title {
  text-align: center;
  margin: 64px 0 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.section-title p {
  color: #888;
  max-width: 500px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 64px 0 0;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2a2a4e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

footer h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

footer p { margin-bottom: 8px; }

footer a {
  color: #aaa;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

footer a:hover { color: #4a6cf7; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #2a2a4e;
  color: #aaa;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: #4a6cf7;
  color: #fff;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #2a2a4e;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-badges {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-badge {
  background: #2a2a4e;
  color: #aaa;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  color: #555;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer-bottom-links a {
  color: #666;
  font-size: 12px;
  display: inline;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a2e;
  color: #ccc;
  padding: 20px 24px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

.cookie-banner.show { display: block; }

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.cookie-inner a {
  color: #4a6cf7;
  display: inline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s;
}

.cookie-btn-accept {
  background: #4a6cf7;
  color: #fff;
}

.cookie-btn-accept:hover { background: #3a5ce5; }

.cookie-btn-reject {
  background: transparent;
  color: #aaa;
  border: 1px solid #555;
}

.cookie-btn-reject:hover { border-color: #aaa; color: #fff; }

/* STATS BAR */
.stats-bar {
  background: #f8f9fc;
  border-bottom: 1px solid #e8e8e8;
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #4a6cf7;
  display: block;
}

.stat-item .stat-label {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

/* TRUST SECTION */
.trust-section {
  padding: 80px 0;
  background: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  padding: 40px 24px;
  background: #f8f9fc;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.trust-icon {
  margin-bottom: 20px;
}

.trust-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.trust-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* EDITORIAL PROCESS */
.editorial-section {
  padding: 80px 0;
  background: #f8f9fc;
}

.editorial-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.editorial-step {
  text-align: center;
  flex: 1;
  max-width: 280px;
  padding: 0 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4a6cf7;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-icon {
  margin-bottom: 16px;
}

.editorial-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.editorial-step p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: #d0d5dd;
  margin-top: 56px;
  flex-shrink: 0;
}

/* TESTIMONIALS */
.testimonials-section {
  padding: 80px 0;
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #f8f9fc;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
}

.testimonial-quote {
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}

/* UPDATES */
.updates-section {
  padding: 80px 0;
  background: #f8f9fc;
}

.updates-list {
  max-width: 800px;
  margin: 0 auto;
}

.update-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  margin-bottom: 16px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.update-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.update-date {
  font-size: 12px;
  font-weight: 600;
  color: #4a6cf7;
  white-space: nowrap;
  min-width: 90px;
  padding-top: 2px;
}

.update-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.update-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .content-wrapper { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero { height: 400px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-middle { flex-direction: column; text-align: center; }
  .footer-badges { flex-wrap: wrap; justify-content: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-inner { flex-direction: column; text-align: center; }
  .article-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-result .result-features { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .editorial-steps { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 32px; margin: 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .update-item { flex-direction: column; gap: 8px; }
  .newsletter-form { flex-direction: column; }
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e8e8e8; padding: 16px 24px; }
  nav.open a { margin: 8px 0; }
  .menu-toggle { display: block; }
}
