/* Extracted from pricing/index.html block 1. */
/* ===== Page-specific styles ===== */
    .pricing-page {
      padding-top: 100px;
    }

    /* Hero */
    .pricing-hero {
      text-align: center;
      padding: 60px 0 40px;
    }
    .pricing-hero__title {
      font-family: 'Onest', sans-serif;
      font-size: 48px;
      font-weight: 700;
      color: #1A1A1A;
      line-height: 1.15;
      margin-bottom: 16px;
    }
    .pricing-hero__subtitle {
      font-size: 18px;
      color: #71717A;
      max-width: 480px;
      margin: 0 auto;
      line-height: 1.5;
    }

    /* Toggle */
    .pricing-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin: 32px auto 48px;
    }
    .pricing-toggle__label {
      font-size: 16px;
      font-weight: 500;
      color: #71717A;
      cursor: pointer;
      transition: color 0.2s;
    }
    .pricing-toggle__label--active {
      color: #1A1A1A;
      font-weight: 600;
    }
    .pricing-toggle__switch {
      position: relative;
      width: 52px;
      height: 28px;
      background: #E8E6E1;
      border-radius: 14px;
      cursor: pointer;
      transition: background 0.2s;
    }
    .pricing-toggle__switch--active {
      background: #7C3AED;
    }
    .pricing-toggle__switch::after {
      content: '';
      position: absolute;
      top: 3px;
      left: 3px;
      width: 22px;
      height: 22px;
      background: #fff;
      border-radius: 50%;
      transition: transform 0.2s;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .pricing-toggle__switch--active::after {
      transform: translateX(24px);
    }
    .pricing-toggle__badge {
      background: rgba(124, 58, 237, 0.1);
      color: #7C3AED;
      font-size: 13px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 8px;
    }

    /* Plan cards grid */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 80px;
    }

    /* Plan card */
    .plan-card {
      background: #fff;
      border: 2px solid #E8E6E1;
      border-radius: 20px;
      padding: 36px 28px 32px;
      display: flex;
      flex-direction: column;
      transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
      position: relative;
    }
    .plan-card:hover {
      box-shadow: 0 2px 12px rgba(0,0,0,.04);
      transform: translateY(-2px);
    }
    .plan-card--featured {
      border-color: #7C3AED;
      box-shadow: 0 4px 24px rgba(124, 58, 237, 0.12);
    }
    .plan-card--featured:hover {
      box-shadow: 0 8px 32px rgba(124, 58, 237, 0.18);
    }
    .plan-card__badge {
      position: absolute;
      top: -1px;
      right: 24px;
      background: #7C3AED;
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 0 0 10px 10px;
      letter-spacing: 0.3px;
    }
    .plan-card__name {
      font-family: 'Onest', sans-serif;
      font-size: 24px;
      font-weight: 700;
      color: #1A1A1A;
      margin-bottom: 8px;
    }
    .plan-card__tokens {
      font-size: 15px;
      color: #71717A;
      margin-bottom: 24px;
    }
    .plan-card__price {
      font-family: 'Onest', sans-serif;
      font-size: 44px;
      font-weight: 700;
      color: #1A1A1A;
      line-height: 1;
      margin-top: 8px;
    }
    .plan-card__price-period {
      font-size: 16px;
      font-weight: 400;
      color: #71717A;
    }
    .plan-card__price-monthly {
      font-size: 14px;
      color: #71717A;
      margin-top: 4px;
      margin-bottom: 24px;
    }
    .plan-card__features {
      list-style: none;
      padding: 0;
      margin: 0 0 32px 0;
      flex: 1;
    }
    .plan-card__features li {
      font-size: 15px;
      color: #1A1A1A;
      padding: 8px 0;
      padding-left: 28px;
      position: relative;
      line-height: 1.4;
    }
    .plan-card__features li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 11px;
      width: 18px;
      height: 18px;
      background: rgba(124, 58, 237, 0.1);
      border-radius: 50%;
      background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%237C3AED' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
    }
    .plan-card__cta {
      display: block;
      width: 100%;
      padding: 14px 24px;
      border-radius: 14px;
      font-size: 16px;
      font-weight: 600;
      text-align: center;
      text-decoration: none;
      cursor: pointer;
      border: none;
      transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    }
    .plan-card__cta:active {
      transform: scale(0.98);
    }
    .plan-card__cta--primary {
      background: #7C3AED;
      color: #fff;
      box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
    }
    .plan-card__cta--primary:hover {
      background: #6D28D9;
    }
    .plan-card__cta--secondary {
      background: #F3F2EE;
      color: #1A1A1A;
    }
    .plan-card__cta--secondary:hover {
      background: #E8E6E1;
    }

    /* FAQ */
    .faq-section {
      max-width: 720px;
      margin: 0 auto 80px;
    }
    .faq-section__title {
      font-family: 'Onest', sans-serif;
      font-size: 32px;
      font-weight: 700;
      color: #1A1A1A;
      text-align: center;
      margin-bottom: 40px;
    }
    .faq-item {
      border-bottom: 1px solid #E8E6E1;
    }
    .faq-item__question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      background: none;
      border: none;
      padding: 20px 0;
      font-size: 17px;
      font-weight: 600;
      color: #1A1A1A;
      cursor: pointer;
      text-align: left;
      font-family: 'Golos Text', sans-serif;
    }
    .faq-item__question::after {
      content: '+';
      font-size: 22px;
      font-weight: 400;
      color: #71717A;
      transition: transform 0.2s;
      flex-shrink: 0;
      margin-left: 16px;
    }
    .faq-item--open .faq-item__question::after {
      transform: rotate(45deg);
    }
    .faq-item__answer {
      display: none;
      padding: 0 0 20px;
      font-size: 15px;
      color: #71717A;
      line-height: 1.6;
    }
    .faq-item--open .faq-item__answer {
      display: block;
    }

    /* Footer */
    .billing-footer {
      border-top: 1px solid #E8E6E1;
      padding: 40px 0;
      text-align: center;
    }
    .billing-footer__links {
      display: flex;
      justify-content: center;
      gap: 24px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
    .billing-footer__links a {
      font-size: 14px;
      color: #71717A;
      text-decoration: none;
      transition: color 0.2s;
    }
    .billing-footer__links a:hover {
      color: #1A1A1A;
    }
    .billing-footer__copy {
      font-size: 13px;
      color: #71717A;
    }

    /* Sticky header overrides */
    .sticky-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(250, 250, 248, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid #E8E6E1;
    }
    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 120px;
      height: 64px;
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .header-logo {
      font-family: 'Onest', sans-serif;
      font-size: 22px;
      font-weight: 700;
      color: #1A1A1A;
      text-decoration: none;
      flex-shrink: 0;
    }
    .header-nav {
      display: flex;
      align-items: center;
      gap: 24px;
      flex: 1;
    }
    .header-nav__link {
      font-size: 15px;
      font-weight: 500;
      color: #71717A;
      text-decoration: none;
      transition: color 0.2s;
    }
    .header-nav__link:hover,
    .header-nav__link--active {
      color: #1A1A1A;
    }
    .header-auth {
      flex-shrink: 0;
    }
    /* .header-tokens inline-span удалён из renderHeader iter30 — token badge
       теперь только в header-row-2 (.header-tokens-badge). Inline CSS не нужен. */
    .btn-google-signin {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 18px;
      background: #fff;
      border: 1px solid #E8E6E1;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 500;
      color: #1A1A1A;
      cursor: pointer;
      transition: background 0.2s, box-shadow 0.2s;
      font-family: 'Golos Text', sans-serif;
    }
    .btn-google-signin:hover {
      background: #F3F2EE;
      box-shadow: 0 2px 8px rgba(0,0,0,.04);
    }
    .header-user {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: #1A1A1A;
    }
    .header-user__avatar {
      width: 32px;
      height: 32px;
      background: #7C3AED;
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 600;
    }
    .header-user__name {
      font-size: 14px;
      font-weight: 500;
    }
    .header-burger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
    }
    .header-burger span {
      display: block;
      width: 22px;
      height: 2px;
      background: #1A1A1A;
      border-radius: 1px;
      transition: transform 0.2s, opacity 0.2s;
    }

    /* ===== Mobile ===== */
    @media (max-width: 900px) {
      .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
      }
    }
    @media (max-width: 768px) {
      .header-inner {
        padding: 0 24px;
      }
      .header-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid #E8E6E1;
        gap: 8px;
      }
      .menu-open .header-nav {
        display: flex;
      }
      .header-auth {
        display: none;
      }
      .menu-open .header-auth {
        display: block;
        position: absolute;
        top: calc(64px + var(--nav-items, 4) * 44px + 32px);
        left: 24px;
        right: 24px;
      }
      .header-burger {
        display: flex;
        margin-left: auto;
      }
      .menu-open .header-burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
      }
      .menu-open .header-burger span:nth-child(2) {
        opacity: 0;
      }
      .menu-open .header-burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
      }
      .pricing-hero__title {
        font-size: 32px;
      }
      .pricing-hero {
        padding: 40px 0 24px;
      }
      .container {
        padding: 0 24px;
      }
    }
