/* Variables & Reset */
:root {
  --blue: #2872fa;
  --blue-hover: #1559ed;
  --navy: #192a3d;
  --gray-bg: #f2f5f7;
  --gray-text: #3a4f66;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,.14);
  --radius: 12px;
  --gap: 16px;
  --max-w: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--gray-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Layout */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.logo span { color: var(--blue); }

.search-box {
  display: none;
  flex: 1;
  max-width: 360px;
  margin: 0 20px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border: 1.5px solid #dce3ea;
  border-radius: 8px;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
  background: var(--gray-bg);
}

.search-box input:focus { border-color: var(--blue); background: var(--white); }

.search-box .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: .45;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.search-toggle svg { width: 20px; height: 20px; color: var(--navy); }

.nav-links { display: none; gap: 6px; }

.nav-links a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-text);
  transition: background .2s, color .2s;
}

.nav-links a:hover { background: var(--gray-bg); color: var(--navy); }

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.burger i {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.burger.active i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active i:nth-child(2) { opacity: 0; }
.burger.active i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid #e8ecf0;
  padding: 12px 16px 16px;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-size: .95rem;
  color: var(--gray-text);
  border-bottom: 1px solid #f0f2f5;
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-search {
  display: none;
  padding: 8px 16px 12px;
  background: var(--white);
  border-top: 1px solid #e8ecf0;
}

.mobile-search.open { display: block; }

.mobile-search input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #dce3ea;
  border-radius: 8px;
  font-size: .95rem;
  outline: none;
  background: var(--gray-bg);
}

.mobile-search input:focus { border-color: var(--blue); background: var(--white); }

/* Hero */
.hero {
  padding: 32px 0 20px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero h1 span { color: var(--blue); }

.hero p {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--gray-text);
  max-width: 640px;
  margin: 0 auto;
}

/* Grid */
.models-section { padding: 12px 0 40px; }

.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.model-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.model-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #e2e8f0;
}

.model-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.model-card:hover .model-card-img img { transform: scale(1.04); }

.badge-free {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #22c55e;
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.model-card-body { padding: 12px 14px 14px; }

.model-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.model-card-body p {
  font-size: .82rem;
  color: var(--gray-text);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-buttons { display: flex; flex-direction: column; gap: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  transition: background .2s, transform .15s;
  text-align: center;
}

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

.btn-primary:hover { background: var(--blue-hover); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-outline:hover { background: rgba(40,114,250,.06); }

.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.load-more {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #dce3ea;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.load-end {
  text-align: center;
  padding: 24px 0;
  color: var(--gray-text);
  font-size: .9rem;
}

/* Content */
.content-section {
  padding: 40px 0;
}

.content-section h2 {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}

.content-section p {
  font-size: clamp(.9rem, 1.8vw, 1rem);
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.content-section ul {
  margin: 0 0 16px 20px;
  color: var(--gray-text);
  font-size: clamp(.9rem, 1.8vw, 1rem);
  line-height: 1.7;
}

.content-section ul li { margin-bottom: 6px; }

.content-divider {
  border: none;
  border-top: 1px solid #dce3ea;
  margin: 32px 0;
}

/* Page content */
.page-content {
  padding: 32px 0 48px;
}

.page-content h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-content .page-updated {
  font-size: .85rem;
  color: var(--gray-text);
  margin-bottom: 28px;
}

.page-content h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  margin: 28px 0 10px;
}

.page-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 20px 0 8px;
}

.page-content p {
  font-size: .95rem;
  color: var(--gray-text);
  margin-bottom: 14px;
  line-height: 1.75;
}

.page-content ul, .page-content ol {
  margin: 0 0 16px 24px;
  color: var(--gray-text);
  font-size: .95rem;
  line-height: 1.75;
}

.page-content ul li, .page-content ol li { margin-bottom: 4px; }

.page-content a { color: var(--blue); }
.page-content a:hover { text-decoration: underline; }

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 36px 0 24px;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand span { color: var(--blue); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}

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

.footer-disclaimer {
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(255,255,255,.4);
  max-width: 720px;
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
  margin-top: 4px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 14px 16px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .84rem;
  line-height: 1.5;
  box-shadow: 0 -2px 16px rgba(0,0,0,.18);
}

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

.cookie-banner a { color: var(--blue); text-decoration: underline; }

.cookie-banner button {
  background: var(--blue);
  color: var(--white);
  padding: 8px 22px;
  border-radius: 6px;
  font-size: .84rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: background .2s;
}

.cookie-banner button:hover { background: var(--blue-hover); }

/* Responsive */
@media (min-width: 640px) {
  .models-grid { grid-template-columns: repeat(3, 1fr); }
  .card-buttons { flex-direction: row; }
}

@media (min-width: 900px) {
  :root { --gap: 20px; }

  .header-inner { height: 64px; }

  .search-box { display: flex; }
  .search-toggle { display: none; }
  .burger { display: none; }
  .nav-links { display: flex; }

  .models-grid { grid-template-columns: repeat(4, 1fr); }

  .hero { padding: 48px 0 24px; }

  .model-card-body { padding: 14px 16px 16px; }
  .model-card-body h3 { font-size: 1.05rem; }
  .model-card-body p { font-size: .85rem; }

  .footer-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .footer-copy { width: 100%; }
}

@media (min-width: 1100px) {
  .container { padding: 0 24px; }
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-text);
  cursor: pointer;
  border: 1.5px solid #dce3ea;
  background: var(--white);
  transition: border-color .2s;
  text-transform: uppercase;
}

.lang-current:hover { border-color: var(--blue); }

.lang-current svg {
  width: 12px;
  height: 12px;
  transition: transform .2s;
}

.lang-switcher.open .lang-current svg { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  min-width: 140px;
  overflow: hidden;
  z-index: 110;
}

.lang-switcher.open .lang-dropdown { display: block; }

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--gray-text);
  transition: background .15s;
}

.lang-dropdown a:hover { background: var(--gray-bg); color: var(--navy); }

.lang-dropdown a.active {
  color: var(--blue);
  font-weight: 600;
  background: rgba(40,114,250,.04);
}

.mobile-menu .lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0 4px;
  border-top: 1px solid #f0f2f5;
  margin-top: 4px;
}

.mobile-menu .lang-links a {
  display: inline-flex;
  padding: 6px 12px;
  border: 1.5px solid #dce3ea;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.mobile-menu .lang-links a.active {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(40,114,250,.04);
}

/* FAQ section */
.faq-section { padding: 0 0 40px; }

.faq-item {
  border-bottom: 1px solid #dce3ea;
}

.faq-item:first-child { border-top: 1px solid #dce3ea; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: clamp(.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  gap: 12px;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gray-text);
  transition: transform .25s;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: clamp(.9rem, 1.8vw, .95rem);
  color: var(--gray-text);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #edf2f7 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.skeleton-card .model-card-img { background: none; }
.skeleton-card .model-card-img .skeleton { width: 100%; height: 100%; border-radius: 0; }
.skeleton-card .skel-line { height: 14px; margin-bottom: 8px; }
.skeleton-card .skel-line.short { width: 60%; }
.skeleton-card .skel-btn { height: 36px; }
