/* Jinbocho — pricing page (pricing/index.html) styles */
/* Shared tokens/reset/lang-toggle live in base.css */

    /* ── NAV ── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--line);
    }
    .nav-inner {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 24px;
      height: 60px;
      display: flex;
      align-items: center;
      gap: 32px;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 600;
      color: var(--ink);
      flex-shrink: 0;
    }
    .nav-logo svg { width: 32px; height: 32px; }
    .nav-links {
      display: flex;
      gap: 24px;
      list-style: none;
      margin-left: auto;
    }
    .nav-links a {
      font-size: 14px;
      font-weight: 500;
      color: var(--ink-mid);
      transition: color .15s;
    }
    .nav-links a:hover,
    .nav-links a.active { color: var(--red); }
    .nav-end {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }
    .nav-cta {
      padding: 7px 18px;
      background: var(--red);
      color: var(--white);
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
      transition: background .15s;
      white-space: nowrap;
    }
    .nav-cta:hover { background: var(--red-dim); }


    /* ── HERO ── */
    .pricing-hero {
      background: var(--bg);
      border-bottom: 1px solid var(--line);
      padding: 72px 24px 56px;
      text-align: center;
    }
    .pricing-hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(32px, 5vw, 52px);
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 16px;
    }
    .pricing-hero p {
      font-size: 18px;
      color: var(--ink-mid);
      max-width: 580px;
      margin: 0 auto;
    }

    /* ── CARDS ── */
    .pricing-section {
      max-width: var(--max);
      margin: 0 auto;
      padding: 64px 24px;
    }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      max-width: 1360px;
      margin: 0 auto;
    }
    .pricing-card {
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 32px 26px;
      background: var(--white);
      position: relative;
      display: flex;
      flex-direction: column;
    }
    .plan-kicker {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--ink-soft);
      margin-bottom: 10px;
    }
    .pricing-card.featured {
      border-color: var(--red);
      box-shadow: 0 0 0 1px var(--red);
    }
    .badge {
      position: absolute;
      top: -13px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--red);
      color: var(--white);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: 3px 14px;
      border-radius: 20px;
    }
    .badge-neutral { background: var(--ink-soft); }
    .plan-name {
      font-size: 22px;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 6px;
    }
    .plan-tagline {
      font-size: 14px;
      color: var(--ink-soft);
      margin-bottom: 24px;
      min-height: 3.3em; /* reserves 2 lines so cards stay aligned regardless of translation length */
    }
    .plan-price {
      font-size: 40px;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 4px;
      font-family: 'Playfair Display', serif;
    }
    .plan-price-note {
      font-size: 13px;
      color: var(--ink-soft);
      margin-bottom: 28px;
    }
    .plan-features {
      list-style: none;
      margin-bottom: 32px;
      flex: 1;
    }
    .plan-features li {
      font-size: 14px;
      color: var(--ink-mid);
      padding: 7px 0;
      border-bottom: 1px solid var(--line);
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }
    .plan-features li:last-child { border-bottom: none; }
    .check { color: #2e7d32; font-size: 15px; flex-shrink: 0; margin-top: 1px; }
    .cross { color: #b0b0b0; font-size: 15px; flex-shrink: 0; margin-top: 1px; }
    .plan-cta {
      display: block;
      width: 100%;
      padding: 13px;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 600;
      text-align: center;
      transition: background .15s, border-color .15s;
    }
    .plan-cta.outline {
      border: 2px solid var(--line);
      color: var(--ink);
      background: transparent;
    }
    .plan-cta.outline:hover { border-color: var(--ink-mid); }
    .plan-cta.solid {
      background: var(--red);
      color: var(--white);
      border: 2px solid var(--red);
    }
    .plan-cta.solid:hover { background: var(--red-dim); border-color: var(--red-dim); }
    .plan-cta.disabled {
      background: var(--bg);
      border: 2px solid var(--line);
      color: var(--ink-soft);
      cursor: not-allowed;
      pointer-events: none;
    }
    .badge-soon { background: var(--ink-soft); }
    .plan-soon-note {
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.5;
      margin-bottom: 16px;
    }

    /* ── COMPARISON TABLE ── */
    .compare-section {
      background: var(--bg);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 64px 24px;
    }
    .compare-inner {
      max-width: 1040px;
      margin: 0 auto;
      overflow-x: auto;
    }
    .compare-inner h2 {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 32px;
      text-align: center;
    }
    .compare-table {
      width: 100%;
      min-width: 640px;
      border-collapse: collapse;
      font-size: 14px;
    }
    .compare-table th {
      padding: 12px 16px;
      text-align: center;
      font-weight: 600;
      font-size: 13px;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: var(--ink-soft);
      border-bottom: 2px solid var(--line);
    }
    .compare-table th:first-child { text-align: left; }
    .compare-table td {
      padding: 12px 16px;
      border-bottom: 1px solid var(--line);
      color: var(--ink-mid);
    }
    .compare-table td:first-child { font-weight: 500; color: var(--ink); }
    .compare-table td:not(:first-child) { text-align: center; }
    .compare-table tr:last-child td { border-bottom: none; }
    .t-check { color: #2e7d32; font-size: 16px; }
    .t-cross { color: #ccc; font-size: 16px; }
    .t-pro { color: var(--red); font-weight: 600; font-size: 12px; }

    /* ── FAQ ── */
    .faq-section {
      max-width: 680px;
      margin: 0 auto;
      padding: 64px 24px;
    }
    .faq-section h2 {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 36px;
      text-align: center;
    }
    .faq-item { margin-bottom: 28px; }
    .faq-q {
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 8px;
    }
    .faq-a {
      font-size: 14px;
      color: var(--ink-mid);
      line-height: 1.7;
    }
    .faq-a a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

    /* ── FOOTER ── */
    footer {
      background: var(--ink);
      color: var(--white);
      padding: 40px 24px;
    }
    .footer-inner {
      max-width: var(--max);
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      align-items: center;
      justify-content: space-between;
    }
    .footer-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      font-weight: 600;
      color: var(--white);
    }
    .footer-brand svg { width: 28px; height: 28px; }
    .footer-copy { font-size: 13px; color: #aaa; }
    .footer-links { display: flex; gap: 20px; list-style: none; }
    .footer-links a { font-size: 13px; color: #aaa; transition: color .15s; }
    .footer-links a:hover { color: var(--white); }
    .footer-links button { all: unset; cursor: pointer; font-size: 13px; color: #aaa; transition: color .15s; }
    .footer-links button:hover { color: var(--white); }

    /* ── PRIVACY / COOKIE PREFERENCES PANEL ── */
    .privacy-banner {
      display: none;
      position: fixed;
      left: 16px;
      right: 16px;
      bottom: 16px;
      z-index: 200;
      max-width: 480px;
      margin: 0 auto;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 8px 32px rgba(0,0,0,0.14);
      padding: 22px 24px;
    }
    .privacy-banner.show { display: block; }
    @keyframes privacy-banner-pulse {
      0% { box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 0 0 0 rgba(188,0,45,0.35); }
      50% { box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 0 0 6px rgba(188,0,45,0.18); }
      100% { box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 0 0 0 rgba(188,0,45,0); }
    }
    .privacy-banner.pulse { animation: privacy-banner-pulse .6s ease-out; }
    .privacy-banner-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 6px;
    }
    .privacy-banner-text {
      font-size: 13px;
      color: var(--ink-mid);
      line-height: 1.55;
      margin-bottom: 16px;
    }
    .privacy-banner-text a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
    .privacy-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
    .privacy-btn {
      flex: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 600;
      padding: 9px 16px;
      border-radius: 7px;
      cursor: pointer;
      border: 1px solid transparent;
      transition: background .15s, border-color .15s;
      white-space: nowrap;
    }
    .privacy-btn-accept { background: var(--red); color: var(--white); border-color: var(--red); }
    .privacy-btn-accept:hover { background: var(--red-dim); border-color: var(--red-dim); }
    .privacy-btn-reject { background: transparent; color: var(--ink); border-color: var(--line); }
    .privacy-btn-reject:hover { border-color: #aaa; }
    @media (max-width: 400px) {
      .privacy-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px 18px; }
    }

    /* ── HAMBURGER ── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      padding: 9px;
      background: none;
      border: none;
      cursor: pointer;
      border-radius: 8px;
      flex-shrink: 0;
      margin-left: auto;
      transition: background 0.15s;
    }
    .nav-hamburger:hover { background: var(--bg); }
    .nav-hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--ink);
      border-radius: 2px;
      transition: transform 0.25s ease, opacity 0.2s ease;
      transform-origin: center;
    }
    .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }
    .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* ── MOBILE MENU ── */
    .mobile-menu {
      display: none;
      border-top: 1px solid var(--line);
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(8px);
      padding: 8px 24px 20px;
    }
    .mobile-menu.open { display: block; }
    .mobile-nav-links {
      list-style: none;
    }
    .mobile-nav-links li a {
      display: flex;
      align-items: center;
      padding: 13px 0;
      font-size: 15px;
      font-weight: 500;
      color: var(--ink-mid);
      border-bottom: 1px solid var(--line);
    }
    .mobile-nav-links li a.active { color: var(--red); }
    .mobile-nav-links li:last-child a { border-bottom: none; }
    .mobile-nav-links a:hover { color: var(--red); }
    .mobile-menu-cta {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
      margin-top: 4px;
    }
    .mobile-menu-cta .lang-toggle { align-self: flex-start; }
    .mobile-menu-cta .nav-cta {
      width: 100%;
      text-align: center;
      padding: 11px 18px;
      font-size: 15px;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 640px) {
      .nav-links { display: none; }
      .nav-end { display: none; }
      .nav-hamburger { display: flex; }
      .pricing-hero { padding: 48px 20px 40px; }
      .pricing-hero h1 { font-size: 28px; }
      .pricing-section, .compare-section, .faq-section { padding: 48px 20px; }
      .pricing-card { padding: 28px 20px; }
      .compare-table th, .compare-table td { padding: 10px 8px; font-size: 13px; }
    }
