/* ============================================
   DESIGN TOKENS — Tech AI
   ============================================ */
:root {
  --black:           #09090b;
  --white:           #ffffff;
  --gray-50:         #fafafa;
  --gray-100:        #f4f4f5;
  --gray-200:        #e4e4e7;
  --gray-300:        #d4d4d8;
  --gray-400:        #a1a1aa;
  --gray-500:        #71717a;
  --gray-600:        #52525b;
  --gray-700:        #3f3f46;
  --gray-800:        #27272a;
  --gray-900:        #18181b;

  --accent:          #10b981;
  --accent-hover:    #059669;
  --accent-light:    #ecfdf5;

  --green:           #10b981;
  --green-light:     #ecfdf5;

  --sans:            'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --display:         'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --mono:            'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;

  --header-h:        64px;
  --max-w:           1200px;
  --max-w-narrow:    720px;
  --gap:             24px;

  --radius:          8px;
  --radius-lg:       16px;

  --shadow-sm:       0 1px 2px rgba(0,0,0,.06);
  --shadow-md:       0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:       0 8px 40px rgba(0,0,0,.1);

  --transition:      .2s ease;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

::selection { background: var(--accent-light); color: var(--black); }

/* ============================================
   STICKY HEADER
   ============================================ */
.chatgpt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.92);
}

.chatgpt-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatgpt-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--black);
}

.chatgpt-header__logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.chatgpt-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.chatgpt-header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: .01em;
  transition: color var(--transition);
  position: relative;
}

.chatgpt-header__nav a:hover { color: var(--black); }

.chatgpt-header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.chatgpt-header__nav a:hover::after { transform: scaleX(1); }

.chatgpt-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform .1s;
  text-decoration: none;
}

.chatgpt-header__cta:hover { background: var(--accent-hover); color: var(--white); }
.chatgpt-header__cta:active { transform: scale(.97); }

.chatgpt-header__cta svg { width: 14px; height: 14px; }

/* ============================================
   DROPDOWN — AI Models
   ============================================ */
.chatgpt-dropdown {
  position: relative;
}

.chatgpt-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: .01em;
  padding: 0;
  transition: color var(--transition);
}

.chatgpt-dropdown__trigger:hover { color: var(--black); }

.chatgpt-dropdown__trigger svg {
  transition: transform var(--transition);
}

.chatgpt-dropdown:hover .chatgpt-dropdown__trigger svg,
.chatgpt-dropdown.open .chatgpt-dropdown__trigger svg {
  transform: rotate(180deg);
}

.chatgpt-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  z-index: 200;
}

.chatgpt-dropdown__menu-inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  animation: dropdownIn .15s ease;
}

.chatgpt-dropdown:hover .chatgpt-dropdown__menu,
.chatgpt-dropdown.open .chatgpt-dropdown__menu {
  display: block;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chatgpt-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
  text-decoration: none;
}

.chatgpt-dropdown__item:hover {
  background: var(--gray-100);
  color: var(--black);
}

.chatgpt-dropdown__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chatgpt-dropdown__badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--accent-light);
  color: var(--accent);
}

/* Compare dropdown — nested submenu */
.chatgpt-dropdown__sub { position: relative; }
.chatgpt-dropdown__sub-trigger { cursor: default; }
.chatgpt-dropdown__chevron { margin-left: auto; color: var(--gray-400); flex-shrink: 0; transition: color .15s; }
.chatgpt-dropdown__sub:hover .chatgpt-dropdown__chevron { color: var(--black); }
.chatgpt-dropdown__submenu {
  display: none;
  position: absolute;
  left: calc(100% + 4px);
  top: -8px;
  z-index: 201;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  animation: dropdownIn .15s ease;
}
.chatgpt-dropdown__submenu .chatgpt-dropdown__item { white-space: nowrap; }
.chatgpt-dropdown__sub:hover > .chatgpt-dropdown__submenu { display: block; }

/* Mobile models grid */
.chatgpt-mobile-nav__label {
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 0 0 10px;
}

.chatgpt-mobile-nav__models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

.chatgpt-mobile-nav__models a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition);
}

.chatgpt-mobile-nav__models a:hover,
.chatgpt-mobile-nav__models a:active {
  border-color: var(--black);
  color: var(--black);
}

.chatgpt-mobile-nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Mobile compare accordion */
.chatgpt-mobile-nav__compare {
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.chatgpt-mobile-nav__cmp-group { margin-bottom: 2px; }
.chatgpt-mobile-nav__cmp-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
}
.chatgpt-mobile-nav__cmp-trigger:hover { border-color: var(--black); color: var(--black); }
.chatgpt-mobile-nav__cmp-trigger.open svg { transform: rotate(180deg); }
.chatgpt-mobile-nav__cmp-list {
  display: none;
  padding: 4px 0 4px 18px;
}
.chatgpt-mobile-nav__cmp-list.open { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.chatgpt-mobile-nav__cmp-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.chatgpt-mobile-nav__cmp-list a:hover { background: var(--gray-100); color: var(--black); }

/* Mobile burger */
.chatgpt-burger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--black);
  position: relative;
  width: 38px;
  height: 38px;
}
.chatgpt-burger .burger-open,
.chatgpt-burger .burger-close { position: absolute; transition: opacity .2s, transform .2s; }
.chatgpt-burger .burger-close { opacity: 0; transform: rotate(-90deg); }
.chatgpt-burger[aria-expanded="true"] .burger-open { opacity: 0; transform: rotate(90deg); }
.chatgpt-burger[aria-expanded="true"] .burger-close { opacity: 1; transform: rotate(0); }

/* Mobile nav overlay */
.chatgpt-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 24px var(--gap);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.chatgpt-mobile-nav > a {
  font-size: 16px;
  font-family: var(--sans);
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--black);
  transition: color var(--transition);
}
.chatgpt-mobile-nav > a:hover { color: var(--accent); }

.chatgpt-mobile-nav .chatgpt-header__cta {
  margin-top: 20px;
  justify-content: center;
  padding: 14px 24px;
  font-size: 14px;
  border-radius: 10px;
}

/* ============================================
   HERO — Editorial style
   ============================================ */
.chatgpt-hero-wrap {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.chatgpt-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Grid lines */
.chatgpt-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .5;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Gradient orbs */
.chatgpt-hero-bg::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(16,185,129,.12) 0%, rgba(5,150,105,.08) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: orbFloat 8s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0%   { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-50%) translateY(30px); }
}

/* Floating dots / particles */
.chatgpt-hero-particles {
  position: absolute;
  inset: 0;
}

.chatgpt-hero-particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particleFade 4s ease-in-out infinite;
}

.chatgpt-hero-particles span:nth-child(1) { top: 15%; left: 12%; animation-delay: 0s; }
.chatgpt-hero-particles span:nth-child(2) { top: 30%; left: 85%; animation-delay: .8s; }
.chatgpt-hero-particles span:nth-child(3) { top: 65%; left: 20%; animation-delay: 1.6s; }
.chatgpt-hero-particles span:nth-child(4) { top: 50%; left: 75%; animation-delay: 2.4s; }
.chatgpt-hero-particles span:nth-child(5) { top: 80%; left: 50%; animation-delay: 3.2s; }
.chatgpt-hero-particles span:nth-child(6) { top: 20%; left: 55%; animation-delay: 1.2s; width: 3px; height: 3px; }
.chatgpt-hero-particles span:nth-child(7) { top: 70%; left: 90%; animation-delay: 2s; width: 3px; height: 3px; }
.chatgpt-hero-particles span:nth-child(8) { top: 40%; left: 8%; animation-delay: 2.8s; width: 5px; height: 5px; }

@keyframes particleFade {
  0%, 100% { opacity: 0; transform: scale(.5); }
  50%      { opacity: .4; transform: scale(1); }
}

/* Circuit-like decorative lines */
.chatgpt-hero-circuit {
  position: absolute;
  inset: 0;
}

.chatgpt-hero-circuit::before,
.chatgpt-hero-circuit::after {
  content: '';
  position: absolute;
  background: var(--accent);
  opacity: .07;
  border-radius: 2px;
}

.chatgpt-hero-circuit::before {
  width: 200px; height: 2px;
  top: 35%; left: 5%;
  transform: rotate(-15deg);
}

.chatgpt-hero-circuit::after {
  width: 2px; height: 120px;
  top: 20%; right: 10%;
}

.chatgpt-hero {
  position: relative;
  z-index: 1;
  padding: 80px var(--gap) 60px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.chatgpt-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--black);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 32px;
}

.chatgpt-hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.chatgpt-hero__heading {
  font-family: var(--display);
  font-size: clamp(32px, 5.4vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
  color: var(--black);
  margin-bottom: 24px;
}

.chatgpt-hero__heading em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chatgpt-hero__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-500);
  margin: 0 auto 40px;
}

.chatgpt-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.chatgpt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.chatgpt-btn:active { transform: scale(.97); }

.chatgpt-btn--primary {
  background: var(--accent);
  color: var(--white);
}
.chatgpt-btn--primary:hover { background: var(--accent-hover); color: var(--white); }

.chatgpt-btn--outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-300);
}
.chatgpt-btn--outline:hover { border-color: var(--black); }

.chatgpt-btn--telegram {
  background: #0088cc;
  color: var(--white);
}
.chatgpt-btn--telegram:hover { background: #006da3; color: var(--white); }

.chatgpt-btn--max {
  background: linear-gradient(90deg, #395cf4, #9751d6);
  color: var(--white);
  border: none;
}
.chatgpt-btn--max:hover { opacity: .9; color: var(--white); }

.chatgpt-btn--purple {
  background: #5e43e7;
  color: var(--white);
}
.chatgpt-btn--purple:hover { background: #4c35c9; color: var(--white); }

.chatgpt-btn svg { width: 16px; height: 16px; }

/* Chips / prompts */
.chatgpt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}

.chatgpt-chip {
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 13px;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
}

.chatgpt-chip:hover {
  border-color: var(--black);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

/* Typing carousel */
.chatgpt-typing-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  height:20px;
  margin-top: 32px;
  min-height: 32px;
  cursor: pointer;
  padding: 8px 0;
}
.chatgpt-typing-carousel:hover .chatgpt-typing-carousel__text { color: var(--black); }
.chatgpt-typing-carousel__text {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--gray-400);
  transition: color var(--transition);
}
.chatgpt-typing-carousel__cursor {
  display: inline-block;
  width: 2px;
  height: 20px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: heroCarouselBlink .8s step-end infinite;
}
@keyframes heroCarouselBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* App store */
.chatgpt-app-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.chatgpt-app-buttons img { height: 40px; width: auto; }

/* ============================================
   SECTIONS
   ============================================ */
.chatgpt-section {
  padding: 72px var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
}

.chatgpt-section--gray {
  background: var(--gray-100);
  max-width: 100%;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.chatgpt-section--gray > .chatgpt-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* Dark section variant */
.chatgpt-section--dark {
  background: var(--gray-900);
  max-width: 100%;
  color: var(--gray-300);
}

.chatgpt-section--dark > .chatgpt-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.chatgpt-section--dark .chatgpt-section__heading { color: var(--white); }
.chatgpt-section--dark .chatgpt-section__sub { color: var(--gray-400); }
.chatgpt-section--dark .chatgpt-section__label { color: var(--accent); }

.chatgpt-section--dark .chatgpt-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.chatgpt-section--dark .chatgpt-card:hover {
  border-color: var(--gray-600);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.chatgpt-section--dark .chatgpt-card__title { color: var(--white); }
.chatgpt-section--dark .chatgpt-card__text { color: var(--gray-400); }
.chatgpt-section--dark .chatgpt-card__icon {
  background: rgba(16,185,129,.12);
}

/* Gradient accent section */
.chatgpt-section--accent {
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0fdf4 50%, #ecfeff 100%);
  max-width: 100%;
  border-top: 1px solid rgba(16,185,129,.15);
  border-bottom: 1px solid rgba(16,185,129,.15);
}

.chatgpt-section--accent > .chatgpt-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.chatgpt-section--bordered {
  border-top: 1px solid var(--gray-200);
}

.chatgpt-section__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.chatgpt-section__heading {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--black);
  margin-bottom: 16px;
}

.chatgpt-section__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-500);
}

.chatgpt-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.chatgpt-section__header .chatgpt-section__sub {
  margin: 0 auto;
}

/* Rich text */
.chatgpt-prose {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-700);
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.chatgpt-prose p { margin-bottom: 20px; }
.chatgpt-prose a { color: var(--accent); border-bottom: 1px solid transparent; }
.chatgpt-prose a:hover { border-bottom-color: var(--accent); }
.chatgpt-prose h3 { font-family: var(--display); font-size: 22px; margin: 36px 0 12px; color: var(--black); }

/* ============================================
   FEATURE CARDS — 3-col grid
   ============================================ */
.chatgpt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chatgpt-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.chatgpt-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.chatgpt-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.chatgpt-card__icon img { width: 24px; height: 24px; }
.chatgpt-card__icon svg { width: 22px; height: 22px; }

.chatgpt-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.chatgpt-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
}

.chatgpt-card__text a { color: var(--accent); }

/* ============================================
   STEPS — Horizontal numbered
   ============================================ */
.chatgpt-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.chatgpt-step-card {
  counter-increment: step;
  position: relative;
  padding-top: 48px;
}

.chatgpt-step-card::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-200);
  letter-spacing: -.02em;
}

.chatgpt-step-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.chatgpt-step-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-500);
}

/* ============================================
   LANGUAGE GRID
   ============================================ */
.chatgpt-lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.chatgpt-lang-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.chatgpt-lang-card:hover {
  border-color: var(--black);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.chatgpt-lang-card.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  cursor: default;
}

.chatgpt-lang-card svg,
.chatgpt-lang-card .icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   FAQ — Clean accordion
   ============================================ */
.chatgpt-faq {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.chatgpt-faq__item {
  border-bottom: 1px solid var(--gray-200);
}

.chatgpt-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  gap: 16px;
  line-height: 1.4;
}

.chatgpt-faq__q .chatgpt-faq__icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1;
}

.chatgpt-faq__item.open .chatgpt-faq__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.chatgpt-faq__a {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-600);
}

.chatgpt-faq__a p { margin-bottom: 8px; }
.chatgpt-faq__a a { color: var(--accent); }

.chatgpt-faq__item.open .chatgpt-faq__a { display: block; }

/* ============================================
   AI MODELS GRID
   ============================================ */
.chatgpt-models-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.chatgpt-models-grid > * {
  flex: 0 1 calc(33.333% - 8px);
  min-width: 280px;
}

.chatgpt-model-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gray-900);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.chatgpt-model-card:hover {
  border-color: var(--mc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mc) 12%, transparent);
  transform: translateY(-2px);
}

.chatgpt-model-card__color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mc);
  flex-shrink: 0;
}

.chatgpt-model-card__body {
  flex: 1;
  min-width: 0;
}

.chatgpt-model-card__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 2px;
}

.chatgpt-model-card__desc {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}

.chatgpt-model-card__arrow {
  color: var(--gray-300);
  transition: all var(--transition);
  flex-shrink: 0;
}

.chatgpt-model-card:hover .chatgpt-model-card__arrow {
  color: var(--mc);
  transform: translateX(3px);
}

/* Fallback for browsers without color-mix */
@supports not (color: color-mix(in srgb, red, blue)) {
  .chatgpt-model-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
  }
}

/* ============================================
   STATS BAR
   ============================================ */
.chatgpt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chatgpt-stat {
  background: var(--gray-900);
  padding: 32px 24px;
  text-align: center;
}

.chatgpt-stat__num {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.chatgpt-stat__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */
.chatgpt-footer-wrap {
  background: var(--gray-900);
  color: var(--gray-400);
  margin-top: 0;
}

.chatgpt-footer {
  padding: 48px var(--gap) 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.chatgpt-footer__brand {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--white);
}

/* Mega footer */
.chatgpt-footer-mega {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.chatgpt-footer-mega__col--brand { max-width: 300px; }
.chatgpt-footer-mega__desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-top: 8px;
  margin-bottom: 20px;
}
.chatgpt-footer-mega__links { display: flex; flex-direction: column; gap: 8px; }
.chatgpt-footer-mega__links a {
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition);
}
.chatgpt-footer-mega__links a:hover { color: var(--accent); }
.chatgpt-footer-mega__title {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.chatgpt-footer-mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.chatgpt-footer-mega__model {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
  margin-bottom: 6px;
}
.chatgpt-footer-mega__model:hover { color: var(--accent); }
.chatgpt-footer-mega__dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.chatgpt-footer-mega__subs { display: flex; flex-direction: column; gap: 3px; padding-left: 12px; }
.chatgpt-footer-mega__subs a {
  font-size: 12px;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition);
  line-height: 1.6;
}
.chatgpt-footer-mega__subs a:hover { color: var(--accent); }
.chatgpt-footer-mega__cmp-list { display: flex; flex-direction: column; gap: 6px; }
.chatgpt-footer-mega__cmp-list a {
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition);
}
.chatgpt-footer-mega__cmp-list a:hover { color: var(--accent); }

.chatgpt-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--gray-800);
  font-size: 12px;
  color: var(--gray-500);
  gap: 16px;
}
.chatgpt-footer__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-500);
}
.chatgpt-footer__lang-select {
  background: var(--gray-800);
  color: var(--gray-300);
  border: 1px solid var(--gray-700);
  border-radius: 6px;
  padding: 6px 28px 6px 10px;
  font-size: 12px;
  font-family: var(--sans);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color var(--transition);
}
.chatgpt-footer__lang-select:hover { border-color: var(--gray-500); }
.chatgpt-footer__lang-select:focus { outline: none; border-color: var(--accent); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.chatgpt-cookie {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  max-width: 520px;
  width: calc(100% - 48px);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
}

.chatgpt-cookie p { flex: 1; line-height: 1.5; }
.chatgpt-cookie p a { text-decoration: underline; color: var(--gray-300); }

.chatgpt-cookie__btn {
  padding: 8px 20px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.chatgpt-cookie__btn:hover { background: var(--gray-200); }

/* ============================================
   CONTENT / PRIVACY PAGES
   ============================================ */
.chatgpt-content-hero {
  text-align: center;
  padding: 56px var(--gap) 40px;
  border-bottom: 1px solid var(--gray-200);
}

.chatgpt-content-hero h1 {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.chatgpt-content-hero p {
  font-size: 17px;
  color: var(--gray-500);
}

.chatgpt-article-image {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 var(--gap) 8px;
}
.chatgpt-article-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

/* Article cards grid */
.chatgpt-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}
.chatgpt-article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--transition);
}
.chatgpt-article-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.chatgpt-article-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}
.chatgpt-article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.chatgpt-article-card:hover .chatgpt-article-card__img img {
  transform: scale(1.03);
}
.chatgpt-article-card__body {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.chatgpt-article-card__body h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 6px;
}
.chatgpt-article-card__body p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 900px) {
  .chatgpt-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .chatgpt-articles-grid { grid-template-columns: 1fr; }
}

.chatgpt-policy-wrap {
  display: flex;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px var(--gap) 80px;
}

.chatgpt-policy-nav {
  width: 180px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: flex-start;
}

.chatgpt-policy-nav a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-500);
  border-left: 2px solid transparent;
  padding-left: 16px;
  transition: all var(--transition);
}

.chatgpt-policy-nav a:hover {
  color: var(--black);
  border-left-color: var(--gray-300);
}

.chatgpt-policy-body {
  flex: 1;
  min-width: 0;
}

.chatgpt-policy-section { margin-bottom: 56px; }

.chatgpt-policy-section h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--black);
  margin-bottom: 4px;
}

.chatgpt-policy-date {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.chatgpt-policy-section h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 8px;
  color: var(--black);
}

.chatgpt-policy-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.chatgpt-policy-section a { color: var(--accent); }

.chatgpt-policy-section blockquote {
  border-left: 3px solid var(--black);
  padding: 16px 24px;
  margin: 20px 0;
  background: var(--gray-50);
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-600);
}

/* ============================================
   404
   ============================================ */
.chatgpt-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  text-align: center;
  padding: 80px var(--gap);
}

.chatgpt-404__code {
  font-family: var(--mono);
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  background: linear-gradient(135deg, var(--gray-300) 0%, var(--gray-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  user-select: none;
}

.chatgpt-404__heading {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.chatgpt-404__desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.chatgpt-404__suggestion {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.chatgpt-404__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.chatgpt-btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: color var(--transition);
}
.chatgpt-btn--ghost:hover { color: var(--black); }

@media (max-width: 480px) {
  .chatgpt-404__code { font-size: 80px; }
  .chatgpt-404__heading { font-size: 22px; }
  .chatgpt-404__actions { flex-direction: column; width: 100%; }
  .chatgpt-404__actions .chatgpt-btn,
  .chatgpt-404__actions .chatgpt-btn--ghost { width: 100%; justify-content: center; }
}

/* ============================================
   CHAT PAGES (sidebar layout kept)
   ============================================ */
.gpt-app { display: flex; min-height: 100vh; }

.gpt-sidebar {
  width: 260px; background: #202123;
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100; transition: transform .25s ease;
}
.gpt-sidebar__logo {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 16px; color: #fff; font-size: 17px;
  font-weight: 600; border-bottom: 1px solid #4d4d4f; text-decoration: none;
}
.gpt-sidebar__logo:hover { color: #fff; }
.gpt-sidebar__logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.gpt-sidebar__nav { flex: 1; padding: 12px 8px; overflow-y: auto; }
.gpt-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 6px; color: #ececec;
  font-size: 14px; cursor: pointer; transition: background .15s; text-decoration: none;
}
.gpt-nav-item:hover { background: #2a2b32; color: #fff; }
.gpt-nav-item.active { background: #343541; color: #fff; }
.gpt-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .85; }
.gpt-sidebar__footer {
  padding: 12px 8px; border-top: 1px solid #4d4d4f;
}
.gpt-lang-switch {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 6px; color: #ececec;
  font-size: 13px; cursor: pointer; text-decoration: none;
}
.gpt-lang-switch:hover { background: #2a2b32; color: #fff; }
.gpt-lang-switch svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .85; }

.gpt-main {
  margin-left: 260px; flex: 1; display: flex;
  flex-direction: column; min-height: 100vh;
}
.gpt-header {
  height: 56px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 24px;
  border-bottom: 1px solid #e5e5e5; background: #fff;
  position: sticky; top: 0; z-index: 50;
}
.gpt-header__title { font-size: 15px; font-weight: 500; }
.gpt-header__actions { display: flex; align-items: center; gap: 12px; }
.gpt-burger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px; color: #0d0d0d;
}
.gpt-chat-wrap {
  flex: 1; display: flex; flex-direction: column;
  width: 100%; padding: 0; position: relative;
}
.gpt-chat-wrap #root { flex: 1; display: flex; flex-direction: column; }
.gpt-chat-iframe { flex: 1; width: 100%; border: none; display: block; }

@media (max-width: 768px) {
  .gpt-sidebar { transform: translateX(-100%); }
  .gpt-sidebar.open { transform: translateX(0); }
  .gpt-main { margin-left: 0; }
  .gpt-burger { display: flex; }
}

/* ============================================
   LANDING PAGES (from JSON system)
   ============================================ */
.lp-features {
  padding: 0 var(--gap) 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.lp-feature {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
}
.lp-feature strong { display: block; font-size: 15px; margin-bottom: 8px; color: var(--black); }
.lp-feature p { font-size: 14px; color: var(--gray-500); line-height: 1.5; margin: 0; }

.lp-steps { padding: 0 var(--gap) 40px; max-width: 600px; margin: 0 auto; }
.lp-step { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.lp-step .step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.lp-step strong { display: block; font-size: 15px; color: var(--black); margin-bottom: 4px; }
.lp-step p { font-size: 14px; color: var(--gray-500); margin: 0; }

.lp-faq { padding: 0 var(--gap) 40px; max-width: 700px; margin: 0 auto; }
.lp-faq details { border-bottom: 1px solid var(--gray-200); }
.lp-faq summary { padding: 16px 0; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--black); list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq details p { padding: 0 0 16px; font-size: 14px; color: var(--gray-500); line-height: 1.7; margin: 0; }

.lp-seo-text { padding: 0 var(--gap) 40px; max-width: 760px; margin: 0 auto; font-size: 14px; color: var(--gray-500); line-height: 1.7; }
.lp-seo-text p { margin-bottom: 12px; }

.lp-comparison { padding: 0 var(--gap) 40px; max-width: 760px; margin: 0 auto; overflow-x: auto; }
.lp-comparison table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lp-comparison th { background: var(--gray-100); padding: 12px 16px; text-align: left; font-weight: 600; border-bottom: 2px solid var(--gray-200); }
.lp-comparison td { padding: 10px 16px; border-bottom: 1px solid var(--gray-200); color: var(--gray-500); }

.chatgpt-comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.chatgpt-comparison-table th { background: var(--gray-100); padding: 14px 20px; text-align: left; font-weight: 600; font-size: 13px; color: var(--black); border-bottom: 2px solid var(--gray-200); }
.chatgpt-comparison-table th:first-child { color: var(--gray-500); font-weight: 500; }
.chatgpt-comparison-table td { padding: 12px 20px; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); font-size: 14px; line-height: 1.5; }
.chatgpt-comparison-table td:first-child { font-weight: 600; color: var(--black); white-space: nowrap; }
.chatgpt-comparison-table tr:last-child td { border-bottom: none; }
.chatgpt-comparison-table tr:hover td { background: var(--gray-50); }

.lp-prompts { padding: 0 var(--gap) 40px; max-width: 760px; margin: 0 auto; }
.prompts-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pf-btn { padding: 6px 14px; border: 1px solid var(--gray-200); border-radius: 100px; background: var(--white); color: var(--gray-500); font-size: 13px; cursor: pointer; }
.pf-btn.active { background: var(--black); color: var(--white); border-color: var(--black); }
.prompts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.prompt-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.prompt-card p { font-size: 14px; color: var(--black); margin: 0; flex: 1; }
.prompt-card button { align-self: flex-end; padding: 4px 12px; border: 1px solid var(--gray-200); border-radius: 6px; background: var(--white); color: var(--gray-500); font-size: 12px; cursor: pointer; }
.prompt-card button:hover { border-color: var(--black); color: var(--black); }

/* Landing hero in gpt-main */
.gpt-main h1 { font-family: var(--serif, serif); font-size: 32px; font-weight: 700; text-align: center; padding: 40px 24px 16px; }
.gpt-main .hero-sub { text-align: center; font-size: 16px; color: var(--gray-500, #737373); padding: 0 24px 32px; margin: 0; }

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

@media (max-width: 768px) {
  .chatgpt-header__nav { display: none; }
  .chatgpt-burger { display: flex; }

  .chatgpt-hero { padding: 48px var(--gap) 40px; display: flex; flex-direction: column; }
  .chatgpt-hero__heading { font-size: 36px; }
  .chatgpt-hero__sub { font-size: 16px; order: 5; margin-bottom: 0; }
  .chatgpt-hero__eyebrow { order: 1; align-self: center; }
  .chatgpt-hero__heading { order: 2; }
  .chatgpt-hero__actions { order: 3; margin-bottom: 16px; }
  .chatgpt-hero .chatgpt-ru-buttons { order: 4; margin-top: 0 !important; margin-bottom: 16px; }
  .chatgpt-typing-carousel { order: 6; }

  .chatgpt-section { padding: 48px var(--gap); }
  .chatgpt-cards { grid-template-columns: 1fr; }
  .chatgpt-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .chatgpt-stats { grid-template-columns: repeat(2, 1fr); }

  .chatgpt-footer-mega { grid-template-columns: 1fr; gap: 32px; }
  .chatgpt-footer-mega__col--brand { max-width: none; }
  .chatgpt-footer-mega__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .chatgpt-footer-mega__cmp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .chatgpt-footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }

  .chatgpt-cookie { flex-direction: column; text-align: center; }

  .chatgpt-policy-wrap { flex-direction: column; padding: 24px var(--gap); }
  .chatgpt-policy-nav {
    width: 100%; position: static;
    display: flex; gap: 8px; flex-wrap: wrap;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 16px; margin-bottom: 24px;
  }
  .chatgpt-policy-nav a { border-left: none; padding-left: 0; padding: 6px 12px; border-radius: 100px; background: var(--gray-100); }

  .chatgpt-mobile-nav.open + .chatgpt-header__cta { display: none; }
}

@media (max-width: 480px) {
  .chatgpt-steps { grid-template-columns: 1fr; }
  .chatgpt-stat__num { font-size: 28px; }
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Owl GPT color override: black + neon green, structure preserved */
:root {
  --black: #f1fff3;
  --white: #030704;
  --gray-50: #061009;
  --gray-100: #08140b;
  --gray-200: rgba(108, 255, 116, .18);
  --gray-300: rgba(108, 255, 116, .26);
  --gray-400: #8fb99a;
  --gray-500: #9fbea7;
  --gray-600: #cfe8d4;
  --gray-700: #e3f7e5;
  --gray-800: #effff0;
  --gray-900: #f5fff5;
  --accent: #62ff6f;
  --accent-hover: #a8ff3d;
  --accent-light: rgba(98, 255, 111, .14);
  --green: #62ff6f;
  --green-light: rgba(98, 255, 111, .14);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.45);
  --shadow-md: 0 10px 34px rgba(0,0,0,.45);
  --shadow-lg: 0 18px 70px rgba(0,0,0,.55);
}

html,
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(98, 255, 111, .16), transparent 32rem),
    linear-gradient(180deg, #030704 0%, #061009 46%, #020402 100%) !important;
  color: var(--gray-900) !important;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(98,255,111,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98,255,111,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 82%);
}

body > * { position: relative; z-index: 1; }

.chatgpt-header,
.mobile-nav,
.cookie-banner,
.chatgpt-dropdown__menu-inner,
.model-card,
.feature-card,
.comparison-card,
.article-card,
.faq-item,
.info-card,
.content-card,
.pricing-card,
.chat-container,
.chat-sidebar,
.chat-main,
.chat-input-wrapper,
.table-wrapper,
section,
footer {
  background-color: rgba(3, 7, 4, .86) !important;
  color: var(--gray-900) !important;
  border-color: rgba(98, 255, 111, .2) !important;
}

.chatgpt-header {
  background: rgba(3, 7, 4, .86) !important;
  box-shadow: 0 1px 0 rgba(98, 255, 111, .16), 0 0 40px rgba(98, 255, 111, .08);
}

.chatgpt-header__logo,
.chatgpt-header__nav a,
.chatgpt-dropdown__trigger,
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.model-card__title {
  color: #f2fff3 !important;
}

p, li, td, th, span, .hero-subtitle, .section-subtitle, .model-card__description {
  color: #c7e3cc;
}

a,
.accent,
.badge,
.eyebrow,
.kicker {
  color: var(--accent) !important;
}

.chatgpt-header__cta,
.chatgpt-btn--primary,
.btn-primary,
.hero-cta,
button[type='submit'],
.cookie-banner button,
.chat-send-btn {
  background: var(--accent) !important;
  color: #031006 !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 24px rgba(98, 255, 111, .24);
}

.chatgpt-header__cta:hover,
.btn-primary:hover,
.hero-cta:hover,
button[type='submit']:hover {
  background: var(--accent-hover) !important;
}

.chatgpt-btn--primary,
.chatgpt-btn--primary *,
.chatgpt-header__cta,
.chatgpt-header__cta * {
  color: #031006 !important;
}

.chatgpt-cookie {
  background: rgba(3, 7, 4, .96) !important;
  color: #c7e3cc !important;
  border: 1px solid rgba(98, 255, 111, .24) !important;
  box-shadow: 0 18px 70px rgba(0,0,0,.55), 0 0 30px rgba(98,255,111,.12) !important;
}

.chatgpt-cookie p,
.chatgpt-cookie p * {
  color: #c7e3cc !important;
}

.chatgpt-cookie p a {
  color: var(--accent) !important;
}

.chatgpt-cookie__btn {
  background: var(--accent) !important;
  color: #031006 !important;
  border-color: var(--accent) !important;
}

input,
textarea,
select,
.chat-input {
  background: rgba(255,255,255,.045) !important;
  color: #f2fff3 !important;
  border-color: rgba(98, 255, 111, .24) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(199, 227, 204, .58) !important;
}

.hero,
.chatgpt-hero,
.models-section,
.comparison-section,
.features-section,
.faq-section {
  background:
    radial-gradient(circle at 50% 8%, rgba(98,255,111,.14), transparent 28rem),
    rgba(3, 7, 4, .82) !important;
}

.hero::before,
.chatgpt-hero::before {
  opacity: .5 !important;
  filter: hue-rotate(78deg) saturate(1.8) brightness(.72);
}

svg,
.chatgpt-header__logo svg {
  color: var(--accent) !important;
}

/* Owl GPT brand mark */
.owlgpt-logo-svg {
  flex: 0 0 auto;
  color: var(--accent, #62ff6f);
  filter: drop-shadow(0 0 10px rgba(98, 255, 111, .36));
}

.sidebar-logo svg[viewBox="0 0 2048 2048"] {
  display: none !important;
}

.sidebar-logo::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url('/assets/owlgpt/owl-mark.svg') center / contain no-repeat;
  mask: url('/assets/owlgpt/owl-mark.svg') center / contain no-repeat;
  filter: drop-shadow(0 0 9px rgba(98, 255, 111, .34));
}

html[data-theme="light"],
[data-theme="light"] {
  --bg: #030704;
  --sidebar-bg: #051007;
  --surface: rgba(12, 24, 14, .94);
  --surface-hover: rgba(98, 255, 111, .11);
  --border: rgba(98, 255, 111, .2);
  --text-primary: #f2fff3;
  --text-secondary: #c7e3cc;
  --text-muted: #8fb79a;
  --accent: #62ff6f;
  --accent-hover: #a8ff3d;
  --accent-bg: rgba(98, 255, 111, .1);
  --code-bg: #071009;
  --code-header-bg: #0b180d;
  --code-inline-bg: rgba(98, 255, 111, .1);
  --user-bubble-bg: #62ff6f;
  --user-bubble-text: #031006;
  --scrollbar-thumb: rgba(98, 255, 111, .45);
  --input-bg: rgba(255, 255, 255, .045);
}

body,
.app,
.chat-area,
.messages-wrap,
.empty-state {
  background:
    radial-gradient(circle at 58% 10%, rgba(98,255,111,.13), transparent 28rem),
    radial-gradient(circle at 12% 90%, rgba(168,255,61,.07), transparent 24rem),
    #030704 !important;
  color: #f2fff3 !important;
}

.sidebar,
.top-bar,
.top-bar-inner,
.settings-modal,
.model-menu,
.model-dropdown,
.model-pills-wrap,
.empty-input-box,
.input-box {
  background: rgba(3, 7, 4, .94) !important;
  color: #f2fff3 !important;
  border-color: rgba(98, 255, 111, .22) !important;
  box-shadow: 0 0 34px rgba(98, 255, 111, .06) !important;
}

.model-pill,
.new-chat-btn,
.settings-trigger,
.chat-item,
.sidebar-app-btn,
.sidebar-bot-btn {
  color: #c7e3cc !important;
  border-color: rgba(98, 255, 111, .2) !important;
}

.model-pill:hover,
.new-chat-btn:hover,
.settings-trigger:hover,
.chat-item:hover {
  background: rgba(98, 255, 111, .1) !important;
  color: #f2fff3 !important;
}

.model-pill.active,
.send-btn,
.chat-item.active::before {
  background: #62ff6f !important;
  color: #031006 !important;
}

.input-box textarea,
.empty-input-box textarea,
textarea,
input {
  background: transparent !important;
  color: #f2fff3 !important;
}
