/*
Theme Name: HubGPT New
Theme URI: https://hubgpt.ru
Author: HubGPT
Author URI: https://hubgpt.ru
Description: HubGPT — Универсальная AI платформа с множеством ИИ-моделей
Version: 1.0
Text Domain: hubgpt-new
*/
/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;
  --accent: #6366f1;
  --accent-light: #a5b4fc;
  --gradient: linear-gradient(135deg, #2563eb, #6366f1);
  --gradient-soft: linear-gradient(135deg, #eff6ff, #eef2ff);
  --gradient-hero: linear-gradient(135deg, #f0f5ff 0%, #eef2ff 50%, #f5f3ff 100%);
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

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

/* ===== ANIMATIONS ===== */
@keyframes fadeUpFallback {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  animation: fadeUpFallback 0.8s ease forwards;
  animation-delay: 0.3s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

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

@keyframes slideInfinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

@keyframes waveBar {
  0%, 100% { height: 8px; }
  50% { height: 28px; }
}

@keyframes searchPulse {
  0%, 100% { opacity: 0.4; width: 0%; }
  50% { opacity: 1; width: 100%; }
}

@keyframes morphShape {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37,99,235,0.4);
}

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

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
}

.logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

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

.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link:hover::after {
  width: 100%;
}

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

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

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__link {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  color: var(--text);
}

.mobile-nav__actions {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(37,99,235,0.25);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(99,102,241,0.2);
  bottom: -80px;
  left: -80px;
  animation: float 10s ease-in-out infinite 2s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(99,102,241,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 6s ease-in-out infinite;
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 60px;
  padding: 6px 6px 6px 20px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.search-box__icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-box__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 12px 16px;
  font-family: var(--font);
  color: var(--text);
  background: transparent;
}

.search-box__input::placeholder {
  color: var(--text-muted);
}

.search-box__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.search-box__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(37,99,235,0.4);
}

.hero__models {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__models-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__models-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.model-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.model-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background: var(--bg-soft);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section__badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 16px;
  border: 1px solid rgba(37,99,235,0.15);
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== MODELS GRID ===== */
.models__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.model-card:hover::before {
  opacity: 1;
}

.model-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.model-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.model-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.model-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.model-card__link:hover {
  gap: 8px;
}

.models__cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== FEATURES ===== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s ease;
  overflow: hidden;
}

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

.feature-card--large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(37,99,235,0.1);
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.feature-tag {
  padding: 8px 16px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.feature-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Chat Demo */
.chat-demo {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-demo__message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chat-demo__message--user {
  flex-direction: row-reverse;
}

.chat-demo__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.chat-demo__bubble {
  background: var(--bg-card);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  max-width: 280px;
  color: var(--text-secondary);
}

.chat-demo__message--user .chat-demo__bubble {
  background: var(--gradient);
  color: #fff;
}

.chat-demo__typing {
  display: flex;
  gap: 4px;
  padding-left: 48px;
}

.chat-demo__typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.chat-demo__typing span:nth-child(1) { animation: typing 1.4s infinite 0s; }
.chat-demo__typing span:nth-child(2) { animation: typing 1.4s infinite 0.2s; }
.chat-demo__typing span:nth-child(3) { animation: typing 1.4s infinite 0.4s; }

/* Search Anim */
.search-anim {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.search-anim__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-card);
  border-radius: 30px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.search-anim__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

.search-anim__text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-anim__results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-anim__line {
  height: 10px;
  background: linear-gradient(90deg, var(--border-light), var(--border), var(--border-light));
  background-size: 200% 100%;
  border-radius: 5px;
  animation: shimmer 2s infinite;
}

.search-anim__line--short { width: 60%; }
.search-anim__line--medium { width: 80%; }

/* Image Anim */
.image-anim {
  margin-top: 20px;
}

.image-anim__canvas {
  width: 100%;
  height: 120px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.image-anim__shape {
  position: absolute;
  animation: morphShape 8s ease-in-out infinite;
}

.image-anim__shape--1 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  top: 20px;
  left: 20%;
  opacity: 0.7;
  animation-delay: 0s;
}

.image-anim__shape--2 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), #818cf8);
  top: 30px;
  left: 50%;
  opacity: 0.5;
  animation-delay: 2s;
}

.image-anim__shape--3 {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #818cf8, var(--primary));
  top: 40px;
  right: 15%;
  opacity: 0.6;
  animation-delay: 4s;
}

/* Voice Anim */
.voice-anim {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.voice-anim__wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}

.voice-anim__wave span {
  width: 4px;
  background: var(--gradient);
  border-radius: 2px;
  animation: waveBar 1.2s ease-in-out infinite;
}

.voice-anim__wave span:nth-child(1) { animation-delay: 0.0s; }
.voice-anim__wave span:nth-child(2) { animation-delay: 0.1s; }
.voice-anim__wave span:nth-child(3) { animation-delay: 0.2s; }
.voice-anim__wave span:nth-child(4) { animation-delay: 0.3s; }
.voice-anim__wave span:nth-child(5) { animation-delay: 0.4s; }
.voice-anim__wave span:nth-child(6) { animation-delay: 0.5s; }
.voice-anim__wave span:nth-child(7) { animation-delay: 0.6s; }
.voice-anim__wave span:nth-child(8) { animation-delay: 0.7s; }
.voice-anim__wave span:nth-child(9) { animation-delay: 0.8s; }
.voice-anim__wave span:nth-child(10) { animation-delay: 0.9s; }

/* Feature visual */
.feature-card__visual {
  margin-top: 8px;
}

/* ===== REVIEWS ===== */
.reviews {
  overflow: hidden;
}

.reviews__track-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.reviews__track {
  display: flex;
  gap: 24px;
  animation: slideInfinite 40s linear infinite;
  width: max-content;
}

.reviews__track:hover {
  animation-play-state: paused;
}

.review-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

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

.review-card__stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.review-card__author strong {
  font-size: 0.9rem;
}

.review-card__author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== USE CASES ===== */
.usecases__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.usecase-tab {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font);
  color: var(--text-secondary);
}

.usecase-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.usecase-tab.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.usecases__content {
  position: relative;
  min-height: 220px;
}

.usecase-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.usecase-panel.active {
  display: block;
}

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

.usecase-panel__inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.usecase-panel__inner h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.usecase-panel__workflow {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.usecase-panel__inner > p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
}

.usecase-panel__models {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.usecase-panel__models > span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.usecase-panel__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== PRICING ===== */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
}

.pricing-card__trial {
  text-align: center;
  margin-bottom: 8px;
}

.pricing-card__trial-price {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.pricing-card--old .pricing-card__trial-price {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: unset;
  font-size: 2.6rem;
}

.pricing-card__trial-period {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.pricing-card__after {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pricing-card__after-price {
  font-weight: 700;
  color: var(--text);
}

.pricing-card--new {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
}

.pricing-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card__subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pricing-card__list li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.pricing-card__list li span:last-child {
  font-weight: 600;
}

.pricing-card__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  font-size: 1rem;
}

.pricing-card__total-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.pricing-card__price {
  margin-bottom: 8px;
}

.pricing-card__amount {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.pricing-card__savings {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card__old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-card__save {
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card__features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card__features li::before {
  content: none;
}

.pricing-card__btn {
  width: 100%;
  margin-bottom: 24px;
}

.pricing-card__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pricing-card__avatars {
  display: flex;
  flex-shrink: 0;
}

.pricing-card__avatar-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-card);
  margin-right: -8px;
}

.pricing-card__trust p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-card__guarantee {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37,99,235,0.1);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  border: none;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font);
  gap: 16px;
}

.faq-item__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-item__icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-item__answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  background: var(--gradient-hero) !important;
}

.cta__inner {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 60px 0;
}

.cta__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta__desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__brand {
  max-width: 340px;
}

.footer__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
}

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

.footer__col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.3s ease;
}

.footer__col a:hover {
  color: var(--primary);
}

.footer__legal {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.5;
  opacity: 0.7;
}

.footer__bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .models__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header__actions {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .section {
    padding: 70px 0;
  }

  .models__grid {
    grid-template-columns: 1fr;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .review-card {
    width: 300px;
  }

  .usecases__tabs {
    gap: 6px;
  }

  .usecase-tab {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .usecase-panel__inner {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.7rem;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 24px;
  }

  .model-card {
    padding: 24px;
  }

  .pricing-card {
    padding: 28px;
  }
}

/* ===== LEGAL PAGES ===== */
.legal-page-body {
  background: #fff;
}

.legal-page {
  padding: 120px 0 72px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text);
}

.legal-content h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin: 8px 0 18px;
}

.legal-content a {
  color: var(--primary);
}

.unsubscribe-card {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.unsubscribe-card h1 {
  margin-bottom: 20px;
}

.unsubscribe-faq {
  list-style: decimal;
  padding-left: 20px;
}

.unsubscribe-faq li {
  margin-bottom: 18px;
}

.unsubscribe-faq h2 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.unsubscribe-faq p {
  color: var(--text-secondary);
}

.unsubscribe-form {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 24px;
  display: grid;
  gap: 12px;
}

.unsubscribe-form label {
  font-weight: 600;
}

.unsubscribe-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font: inherit;
}

.unsubscribe-note {
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 100px 0 56px;
  }

  .legal-content h1 {
    font-size: 1.7rem;
  }

  .unsubscribe-card {
    padding: 24px;
  }
}

