  /* ============ HERO ============ */
  .hero { text-align: center; padding: 60px 20px 40px; }
  .hero h1 { font-size: clamp(40px, 7vw, 80px); font-weight: 600; letter-spacing: -2px; line-height: 1.05; margin-bottom: 48px; }
  .billing-toggle {
    display: inline-flex; background: rgba(20, 25, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 100px; padding: 4px; gap: 4px;
  }
  .toggle-btn {
    background: transparent; border: none; color: var(--text-secondary);
    padding: 10px 20px; border-radius: 100px; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: all 0.2s; font-family: inherit;
  }
  .toggle-btn.active { background: white; color: var(--button-text); }
  .save-badge { background: var(--accent-green); color: #052E15; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 100px; }

  /* ============ PRICING ============ */
  .pricing-container { max-width: 1300px; margin: 0 auto; padding: 60px 24px 20px; }
  .pricing-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    align-items: start;
    isolation: isolate;
  }

  .pricing-note {
    max-width: 1300px;
    margin: 40px auto 0;
    padding: 0 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
  }

  .plan-card {
    background: rgba(15, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border); border-radius: 24px;
    padding: 28px 24px; position: relative; z-index: 1;
    display: flex; flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 207, 255, 0.35);
    box-shadow: inset 0 0 0 1px rgba(168, 207, 255, 0.18);
    z-index: 3;
  }
  .plan-card.popular {
    border-color: rgba(74, 158, 255, 0.6);
    background: linear-gradient(180deg, rgba(74, 158, 255, 0.08) 0%, rgba(15, 20, 35, 0.6) 60%);
    box-shadow: inset 0 0 0 1px rgba(74, 158, 255, 0.25);
    z-index: 2;
  }
  .plan-card.popular:hover {
    border-color: rgba(74, 158, 255, 0.85);
    box-shadow: inset 0 0 0 1px rgba(74, 158, 255, 0.4);
    z-index: 3;
  }

  .tokens-display {
    width: 100%;
    padding: 12px 0;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }
  .tokens-display .tokens-period {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 2px;
  }
  .popular-badge {
    position: absolute; top: 28px; right: 24px;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 500;
    display: flex; align-items: center; gap: 5px;
  }
  .popular-badge::before {
    content: ''; width: 12px; height: 12px; background: #60A5FA;
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  }
  .plan-name { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
  .plan-subtitle { color: var(--text-secondary); font-size: 13px; margin-bottom: 28px; min-height: 34px; }
  .price { font-size: 32px; font-weight: 600; letter-spacing: -1px; margin-bottom: 24px; line-height: 1.2; }
  .price .period { font-size: 13px; color: var(--text-secondary); font-weight: 400; display: block; margin-top: 4px; }

  .tokens-select {
    width: 100%; background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08); color: white;
    padding: 12px 16px; border-radius: 12px; font-size: 14px;
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%238A94A6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    margin-bottom: 14px; font-family: inherit;
  }

  .purchase-btn {
    width: 100%; background: var(--button-bg); color: var(--button-text);
    border: none; padding: 14px; border-radius: 12px;
    font-size: 15px; font-weight: 500; cursor: pointer;
    font-family: inherit; margin-bottom: 28px; transition: background 0.2s;
  }
  .purchase-btn:hover { background: #CFE0FF; }
  .purchase-btn.outline { background: transparent; color: white; border: 1px solid rgba(255, 255, 255, 0.15); }
  .purchase-btn.outline:hover { background: rgba(255, 255, 255, 0.05); }

  .tokens-included { font-size: 12px; color: var(--text-secondary); margin-bottom: 16px; letter-spacing: 0.5px; }
  .tokens-included strong { color: white; font-weight: 600; }

  .features-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .features-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: #D1D5DB; line-height: 1.4; }
  .features-list li.muted { color: var(--text-muted); }

  .check-icon, .cross-icon {
    flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px;
    display: inline-block;
  }
  .check-icon::before {
    content: ''; display: block; width: 8px; height: 4px;
    border-left: 1.8px solid #A8CFFF; border-bottom: 1.8px solid #A8CFFF;
    transform: rotate(-45deg); margin: 4px 0 0 2px;
  }
  .cross-icon { position: relative; }
  .cross-icon::before, .cross-icon::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 10px; height: 1.5px; background: var(--text-muted);
  }
  .cross-icon::before { transform: translate(-50%, -50%) rotate(45deg); }
  .cross-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }

  .info-icon {
    width: 13px; height: 13px; border-radius: 50%;
    border: 1px solid var(--text-muted);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 9px; color: var(--text-muted); margin-left: 4px; cursor: help; flex-shrink: 0;
  }

  .section-label {
    font-size: 11px; letter-spacing: 1px; color: var(--text-secondary);
    margin: 24px 0 14px; font-weight: 500;
  }

  /* ============ COMPARISON TABLE ============ */
  .comparison-section { max-width: 1300px; margin: 80px auto 0; padding: 0 24px; }
  .see-full-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
  .see-full {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    color: #FFFFFF; font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: -0.01em;
    height: 48px; padding: 12px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 30px;
    cursor: pointer; font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
  }
  .see-full:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.24); }
  .comparison-table { display: none; background: #0A0E18; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 24px; position: relative; }
  .comparison-table.open { display: block; }
  .arrow-down {
    display: inline-block; width: 10px; height: 10px;
    border-right: 1.5px solid white; border-bottom: 1.5px solid white;
    transform: rotate(45deg); margin-top: -4px;
  }

  .comparison-sticky {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #0A0E18;
    border-radius: 24px 24px 0 0;
    transition: box-shadow 0.2s, border-radius 0.2s;
  }
  .comparison-sticky.is-stuck {
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .comparison-header {
    display: grid; grid-template-columns: 1.5fr repeat(4, 1fr);
    padding: 36px 32px 32px; gap: 20px; align-items: start;
  }
  .comparison-title h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.5px; margin-bottom: 6px; }
  .comparison-title p { color: var(--text-secondary); font-size: 14px; }
  .comparison-plan { text-align: center; }
  .comparison-plan-name { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
  .comparison-plan-price { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
  .comparison-plan-price .small { font-size: 13px; color: var(--text-secondary); font-weight: 400; }
  .comparison-plan-free { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
  .comparison-plan-tokens { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
  .comparison-plan-btn {
    width: 100%; background: var(--button-bg); color: var(--button-text);
    border: none; padding: 11px; border-radius: 100px;
    font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit; transition: background 0.2s;
  }
  .comparison-plan-btn:hover { background: #CFE0FF; }
  .comparison-plan-btn.outline { background: transparent; color: white; border: 1px solid rgba(255, 255, 255, 0.15); }
  .comparison-plan-btn.outline:hover { background: rgba(255, 255, 255, 0.05); }

  .gen-tabs {
    display: flex; padding: 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto; scrollbar-width: none;
    background: #0A0E18;
  }
  .gen-tabs::-webkit-scrollbar { display: none; }
  .gen-tab {
    background: transparent; border: none; color: var(--text-secondary);
    padding: 18px 20px; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; gap: 8px; position: relative;
    font-family: inherit; white-space: nowrap; transition: color 0.2s;
  }
  .gen-tab:hover { color: white; }
  .gen-tab.active { color: white; }
  .gen-tab.active::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 2px; background: white;
  }
  .gen-tab .tab-icon {
    width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .gen-tab .tab-icon svg { width: 100%; height: 100%; }
  .gen-tab.active .tab-icon { opacity: 1; }

  .accordion-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    scroll-margin-top: 340px;
  }
  .accordion-section:last-child {
    border-bottom: none;
  }
  .accordion-section:last-child .comparison-row:last-child {
    border-radius: 0 0 24px 24px;
  }

  .accordion-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 32px; cursor: pointer;
    background: rgba(255, 255, 255, 0.02); user-select: none;
  }
  .accordion-header h3 { font-size: 17px; font-weight: 600; }
  .accordion-arrow {
    width: 10px; height: 10px;
    border-right: 1.5px solid white; border-bottom: 1.5px solid white;
    transform: rotate(45deg); transition: transform 0.3s;
    margin-top: -4px;
  }
  .accordion-section.collapsed .accordion-arrow { transform: rotate(-135deg); margin-top: 4px; }
  .accordion-content { overflow: hidden; transition: max-height 0.3s; }
  .accordion-section.collapsed .accordion-content { max-height: 0 !important; }

  .comparison-row {
    display: grid; grid-template-columns: 1.5fr repeat(4, 1fr);
    padding: 18px 32px; gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04); align-items: center;
  }
  .row-model-name { font-size: 14px; color: white; margin-bottom: 2px; }
  .row-model-tokens { font-size: 12px; color: var(--text-muted); }
  .row-value { font-size: 14px; color: #D1D5DB; text-align: center; }
  .row-value svg { width: 16px; height: 16px; flex-shrink: 0; vertical-align: middle; }

  /* ============ PURCHASE TOKENS ============ */
  .tokens-section { max-width: 1300px; margin: 100px auto 0; padding: 0 24px; }
  .tokens-card {
    background: linear-gradient(180deg, #0E1524 0%, #0A1020 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px; padding: 48px;
    display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center;
  }
  .tokens-left h2 { font-size: 44px; font-weight: 500; letter-spacing: -1px; margin-bottom: 70px; }
  .slider-wrapper { position: relative; padding: 0 12px; }
  .slider-tooltip {
    position: absolute; top: -60px; transform: translateX(-50%);
    background: #1A2236; border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px; border-radius: 12px;
    font-size: 20px; font-weight: 500; white-space: nowrap; transition: left 0.1s;
  }
  .slider-tooltip::after {
    content: ''; position: absolute; bottom: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px; background: #1A2236;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .slider-tooltip .tok-label { font-size: 13px; color: var(--text-secondary); margin-left: 4px; font-weight: 400; }

  .token-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px; outline: none; margin-bottom: 16px;
  }
  .token-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; background: white;
    border-radius: 50%; cursor: pointer;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
  }
  .token-slider::-moz-range-thumb {
    width: 22px; height: 22px; background: white;
    border-radius: 50%; cursor: pointer; border: none;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
  }
  .slider-marks { display: flex; justify-content: space-between; padding: 0 2px; margin-top: 12px; }
  .slider-marks span { font-size: 13px; color: var(--text-secondary); }

  .tokens-right {
    background: #0A1020;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px; padding: 32px; text-align: center;
  }
  .cost-label { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
  .cost-value { font-size: 44px; font-weight: 500; letter-spacing: -1px; margin-bottom: 6px; }
  .cost-tokens {
    font-size: 13px; color: var(--text-secondary);
    padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); margin-bottom: 24px;
  }
  .calc-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
  .calc-value { font-size: 24px; font-weight: 500; }
  .calc-value .per { font-size: 14px; color: var(--text-secondary); font-weight: 400; }

  /* ============ FAQ ============ */
  .faq-section {
    max-width: 1300px; margin: 120px auto 0; padding: 0 24px;
    display: grid; grid-template-columns: 420px 1fr; gap: 60px;
  }
  .faq-left h2 { font-size: 54px; font-weight: 500; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 40px; }
  .contact-btn {
    background: var(--button-bg); color: var(--button-text);
    border: none; padding: 14px 32px; border-radius: 100px;
    font-size: 15px; font-weight: 500; cursor: pointer;
    font-family: inherit; transition: background 0.2s;
  }
  .contact-btn:hover { background: #CFE0FF; }
  .faq-list { display: flex; flex-direction: column; gap: 12px; }
  .faq-item {
    background: rgba(15, 20, 35, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px; overflow: hidden; transition: border-color 0.2s;
  }
  .faq-item:hover { border-color: rgba(255, 255, 255, 0.12); }
  .faq-question {
    width: 100%; background: transparent; border: none; color: white;
    padding: 26px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    font-size: 17px; font-weight: 500; cursor: pointer;
    font-family: inherit; text-align: left;
  }
  .faq-icon { width: 20px; height: 20px; flex-shrink: 0; position: relative; }
  .faq-icon::before, .faq-icon::after {
    content: ''; position: absolute; background: white; top: 50%; left: 50%; transition: transform 0.3s;
  }
  .faq-icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
  .faq-icon::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
  .faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
  .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .faq-answer-inner { padding: 0 32px 26px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.65; }
  .faq-item.open .faq-answer { max-height: 500px; }

  /* ============ RESPONSIVE ============ */


  @media (max-width: 1024px) {

    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .pricing-container { padding: 40px 20px 20px; }
    .hero { padding: 40px 20px 30px; }
    .plan-card { padding: 26px 22px; }
    .pricing-note { padding: 0 20px; font-size: 13px; }

    .comparison-header { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
    .comparison-plans-wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .comparison-plan-name { font-size: 18px; }
    .comparison-plan-price { font-size: 16px; }
    .gen-tabs { padding: 0 16px; }
    .gen-tab { padding: 16px 14px; font-size: 13px; }
    .accordion-header { padding: 18px 24px; }
    .comparison-row { padding: 16px 24px; gap: 12px; grid-template-columns: 1.3fr repeat(4, 1fr); }
    .row-value, .row-model-name { font-size: 13px; }
    .accordion-section { scroll-margin-top: 380px; }

    .tokens-card { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
    .tokens-left h2 { font-size: 36px; margin-bottom: 60px; }

    .faq-section { grid-template-columns: 1fr; gap: 40px; margin-top: 80px; }
    .faq-left h2 { font-size: 42px; }


  }

  @media (max-width: 768px) {

    .hero h1 { letter-spacing: -1px; margin-bottom: 36px; }
    .pricing-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .plan-card { min-width: 0; padding: 24px 20px; }
    .plan-name { font-size: 20px; }
    .price { font-size: 28px; }

    /* Give the compare table more horizontal room on mobile */
    .comparison-section { padding: 0 8px; margin-top: 60px; }
    .comparison-plans-wrapper { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .comparison-table { border-radius: 18px; }
    .comparison-sticky { border-radius: 18px 18px 0 0; }
    .comparison-sticky.is-stuck { border-radius: 0; }
    .accordion-section:last-child .comparison-row:last-child { border-radius: 0 0 18px 18px; }
    .comparison-header { padding: 22px 16px; gap: 20px; }
    .comparison-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 14px; }
    .row-value {
      padding: 8px; background: rgba(255, 255, 255, 0.03);
      border-radius: 8px; font-size: 12px; text-align: center;
    }
    .row-value::before {
      content: attr(data-label); display: block;
      font-size: 10px; color: var(--text-muted); margin-bottom: 2px;
    }
    .accordion-header { padding: 16px 20px; }
    .accordion-header h3 { font-size: 15px; }
    .comparison-title h2 { font-size: 24px; }
    .accordion-section { scroll-margin-top: 440px; }

    .tokens-section { padding: 0 16px; margin-top: 70px; }
    .tokens-card { padding: 28px 20px; border-radius: 20px; }
    .tokens-left h2 { font-size: 28px; margin-bottom: 50px; }
    .tokens-right { padding: 24px; }
    .cost-value { font-size: 36px; }

    .faq-section { padding: 0 16px; }
    .faq-left h2 { font-size: 34px; }
    .faq-question { padding: 20px 24px; font-size: 15px; }
    .faq-answer-inner { padding: 0 24px 22px; font-size: 14px; }
    .slider-marks span { font-size: 11px; }


  }

  @media (max-width: 600px) {
    .pricing-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .plan-card { padding: 22px 18px; }

    .hero { padding: 30px 16px 24px; }
    .pricing-container { padding: 30px 16px 20px; overflow-x: hidden; }
    .billing-toggle { width: 100%; max-width: 360px; }
    .toggle-btn { flex: 1; justify-content: center; }
  }

  @media (max-width: 480px) {
    .comparison-plans-wrapper { grid-template-columns: 1fr 1fr; }
    .gen-tab span { display: none; }
    .gen-tab { padding: 14px 12px; }
    .slider-marks span:nth-child(2),
    .slider-marks span:nth-child(4) { display: none; }
    .faq-left h2 { font-size: 28px; }
  }
