/* ===== Variables ===== */
:root {
  --bg: #0d0d14;
  --bg-elevated: #13131c;
  --bg-card: #16161f;
  --bg-card-hover: #1a1a26;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --text: #f1f1f4;
  --text-muted: #8b8b9e;
  --text-dim: #5c5c6f;
  --primary: #0068ff;
  --primary-hover: #1a7aff;
  --primary-glow: rgba(0, 104, 255, 0.25);
  --accent-cyan: #5eead4;
  --accent-green: #34d399;
  --gradient-text: linear-gradient(135deg, #0068ff 0%, #5eead4 100%);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --font: 'Lexend', system-ui, sans-serif;
  --container: 1200px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 104, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(94, 234, 212, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== Typography ===== */
h1, h2, h3 { line-height: 1.15; font-weight: 700; }

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

.section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  gap: 24px;
}

.section-header--row p { margin: 0; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 20px var(--primary-glow);
}

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

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 16px;
}

.btn-ghost:hover { color: var(--text); }

.btn-lg { padding: 14px 28px; font-size: 0.95rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  border-color: var(--border-light);
  color: var(--text);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.logo__icon { color: var(--primary); }

.logo__img {
  flex-shrink: 0;
  display: block;
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.nav__active {
  color: var(--text) !important;
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 64px 0 80px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.hero__content h1 { margin-bottom: 20px; }

.hero__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

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

.stat {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.stat__value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Hero Card */
.compat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  padding: 24px;
  box-shadow: var(--shadow);
}

.compat-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  white-space: nowrap;
  color: var(--text-dim);
}

.gateway {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  margin-bottom: 16px;
}

.gateway__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(77, 142, 255, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gateway__title { font-weight: 600; font-size: 0.9rem; }
.gateway__url { font-size: 0.75rem; color: var(--text-muted); font-family: monospace; }
.gateway__status { margin-left: auto; color: var(--accent-green); font-size: 0.7rem; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.tool-card {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.2s;
}

.tool-card:hover { border-color: var(--border-light); }

.tool-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tool-card__icon--blue { background: rgba(77, 142, 255, 0.2); color: #6ba0ff; }
.tool-card__icon--purple { background: rgba(167, 139, 250, 0.2); color: #a78bfa; }
.tool-card__icon--orange { background: rgba(251, 146, 60, 0.2); color: #fb923c; }
.tool-card__icon--green { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.tool-card__icon--cyan { background: rgba(94, 234, 212, 0.2); color: #5eead4; }
.tool-card__icon--pink { background: rgba(244, 114, 182, 0.2); color: #f472b6; }

.tool-card__name { font-size: 0.8rem; font-weight: 600; margin-bottom: 2px; }
.tool-card__tag { font-size: 0.6rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.tool-card p { font-size: 0.65rem; color: var(--text-muted); line-height: 1.5; }

.compat-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.base-url__label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.base-url code {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
}

/* ===== Features ===== */
.features {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(77, 142, 255, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }

.feature-card__link {
  font-size: 0.8rem;
  color: var(--primary);
  transition: opacity 0.2s;
}

.feature-card__link:hover { opacity: 0.8; }

/* ===== Models Table ===== */
.models {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.models-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.models-table {
  width: 100%;
  border-collapse: collapse;
}

.models-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.models-table td {
  padding: 16px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.models-table tr:last-child td { border-bottom: none; }
.models-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.model-name { color: var(--text); font-weight: 500; }

.model-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

.model-badge--flagship { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.08); }
.model-badge--latest { color: #6ba0ff; border-color: rgba(107, 160, 255, 0.3); background: rgba(107, 160, 255, 0.08); }
.model-badge--value { color: #34d399; border-color: rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.08); }
.model-badge--frontier { color: #a78bfa; border-color: rgba(167, 139, 250, 0.3); background: rgba(167, 139, 250, 0.08); }
.model-badge--agentic { color: #5eead4; border-color: rgba(94, 234, 212, 0.3); background: rgba(94, 234, 212, 0.08); }
.model-badge--multimodal { color: #fb923c; border-color: rgba(251, 146, 60, 0.3); background: rgba(251, 146, 60, 0.08); }
.model-badge--best { color: #f472b6; border-color: rgba(244, 114, 182, 0.3); background: rgba(244, 114, 182, 0.08); }

/* ===== How it works ===== */
.how-it-works {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

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

.step {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.step__num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 16px;
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ===== Providers ===== */
.providers {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.providers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.providers__content h2 { margin-bottom: 16px; }
.providers__content > p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }

.check-list { margin-bottom: 32px; }

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 0.8rem;
}

.providers__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.provider-console {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  padding: 28px;
  box-shadow: var(--shadow);
}

.provider-console__header { font-weight: 600; margin-bottom: 4px; }
.provider-console__subtitle { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; }

.provider-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.provider-stat {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.provider-stat__label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 4px; }
.provider-stat__value { font-size: 1.25rem; font-weight: 700; }

.provider-model {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.provider-model__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.provider-model__status {
  font-size: 0.7rem;
  color: var(--accent-green);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.provider-model__price { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.provider-model__growth { font-size: 0.75rem; color: var(--accent-green); }

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.cta__inner {
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at center, rgba(77, 142, 255, 0.08) 0%, transparent 70%),
    var(--bg-card);
}

.cta__inner h2 { margin-bottom: 12px; }
.cta__inner p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand p { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--text); }

.footer__copy { font-size: 0.8rem; color: var(--text-dim); }

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  width: calc(100% - 48px);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(22, 22, 31, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

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

.cookie-banner__content strong { display: block; margin-bottom: 4px; font-size: 0.9rem; }
.cookie-banner__content p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.cookie-banner__content a { color: var(--primary); }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ===== Social Float ===== */
.social-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-float__btn {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.2s;
}

.social-float__btn:hover { border-color: var(--border-light); transform: translateY(-1px); }
.social-float__btn--discord { color: #7289da; }
.social-float__btn--zalo { color: #0068ff; }

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

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 6px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 200;
}

.lang-switcher--open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__option {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-switcher__option:hover,
.lang-switcher__option--active {
  background: rgba(77, 142, 255, 0.12);
  color: var(--text);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { order: -1; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .providers__grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header {
    height: auto;
    min-height: var(--header-h);
  }

  .header__inner {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    min-height: var(--header-h);
  }

  .nav,
  .header__actions {
    display: none;
    width: 100%;
    order: 10;
    flex-direction: column;
    gap: 0;
    padding: 12px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

  .header__inner.menu-open .nav,
  .header__inner.menu-open .header__actions {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

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

  .header__actions {
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 4px;
  }

  .header__actions .btn,
  .header__actions .lang-switcher { width: 100%; }

  .header__actions .btn { justify-content: center; }

  .header__actions .lang-switcher__toggle { width: 100%; justify-content: center; }

  .mobile-menu-btn { display: flex; margin-left: auto; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section-header--row { flex-direction: column; align-items: flex-start; }

  .models-table-wrap { overflow-x: auto; }
  .models-table { min-width: 600px; }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner__actions { justify-content: center; }
  .social-float { display: none; }
}

@media (max-width: 480px) {
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
}

/* ===== Plans Page ===== */
.plans-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.plans-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.plans-hero__content h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 16px;
}

.plans-hero__desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.plans-hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.plans-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.highlight-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.highlight-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(77, 142, 255, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.highlight-card__value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.highlight-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.highlight-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.plans-section {
  padding: 64px 0;
}

.plans-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.plans-section__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s;
}

.plan-card:hover { border-color: var(--border-light); }

.plan-card--featured {
  border-color: rgba(77, 142, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(77, 142, 255, 0.1);
}

.plan-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-card__name {
  font-size: 1.25rem;
  font-weight: 700;
}

.plan-card__cost-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.plan-card__cost-label--active {
  color: var(--primary);
  border-color: rgba(77, 142, 255, 0.35);
  background: rgba(77, 142, 255, 0.1);
}

.plan-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.plan-card__price {
  margin-bottom: 20px;
}

.plan-card__amount {
  font-size: 1.75rem;
  font-weight: 700;
}

.plan-card__period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.plan-card__section {
  margin-bottom: 20px;
}

.plan-card__section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.quota-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.quota-row:last-child { border-bottom: none; }

.quota-row span:first-child { color: var(--text-muted); }

.quota-row span:last-child { font-weight: 500; }

.quota-row small {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 400;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.model-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: 'Courier New', monospace;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.model-tag--hidden { display: none; }

.model-tags.expanded .model-tag--hidden { display: inline-block; }

.show-models-btn {
  display: block;
  margin-top: 10px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}

.show-models-btn:hover { opacity: 0.8; }

.show-models-btn.hidden { display: none; }

.plan-card__subscribe {
  width: 100%;
  margin-top: auto;
}

.plans-cta {
  padding: 0 0 80px;
}

.plans-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at left, rgba(77, 142, 255, 0.06) 0%, transparent 60%),
    var(--bg-card);
}

.plans-cta__inner h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.plans-cta__inner p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .plans-hero__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plans-section__header { flex-direction: column; align-items: flex-start; }
  .plans-cta__inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .plans-hero__buttons { flex-direction: column; }
  .plans-hero__buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  .plans-highlights { grid-template-columns: 1fr; }
}
