/* ================================================================
   styles.css — 스콜라맵 전체 스타일
================================================================ */
    @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

    /* ─── Reset & Base ─────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
      color: var(--text-strong);
      background: #fff;
      line-height: 1.6;
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; }

    /* ─── Color Tokens ─────────────────────────────────────── */
    :root {
      --primary: #1B3A6B;
      --primary-dark: #152d54;
      --primary-light: #4B8FE0;
      --accent: #06b6d4;
      --accent2: #f59e0b;
      --success: #10b981;
      --bg-soft: #f0f4fa;
      --bg-dark: #0f0e2a;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --text-secondary: #475569;
      --text-hint: #94a3b8;
      --primary-tint-border: #bad0ef;
      --bg-base: #f1f5f9;
      --text-body: #334155;
      --text-strong: #1a1a2e;
      --bg-card: #ffffff;
      --bg-tint: #EEF4FB;
      --bg-success-tint: #ecfdf5;
      --bg-warning-tint: #fffbeb;
      --bg-danger-tint: #fef2f2;
      --radius-sm: 4px;
      --radius-md: 10px;
      --radius-lg: 16px;
      --radius-xl: 20px;
    }

    /* ─── Utilities ────────────────────────────────────────── */
    .container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
    .section { padding: 100px 0; }
    .section-label {
      display: inline-block;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--primary);
      background: var(--bg-tint);
      padding: 6px 14px;
      border-radius: 100px;
      margin-bottom: 20px;
    }
    .section-title {
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 800;
      line-height: 1.25;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }
    .section-sub {
      font-size: 18px;
      color: var(--text-muted);
      max-width: 560px;
      line-height: 1.7;
    }
    .text-center { text-align: center; }
    .text-center .section-sub { margin: 0 auto; }
    .highlight { color: var(--primary); }
    .highlight-accent { color: var(--accent); }

    /* ─── Navbar ───────────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 0 24px;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(226,232,240,0.6);
      height: 64px;
      display: flex;
      align-items: center;
    }
    .nav-inner {
      max-width: 1400px;
      width: 100%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 20px;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: -0.03em;
    }
    .logo-icon {
      width: 34px; height: 34px;
      background: var(--primary);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
    }
    .logo-icon svg { width: 20px; height: 20px; }
    .nav-links { display: flex; align-items: center; gap: 36px; }
    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-secondary);
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--primary); }
    .btn-nav {
      background: var(--primary);
      color: #fff !important;
      padding: 10px 22px;
      border-radius: 10px;
      font-weight: 700 !important;
      font-size: 14px !important;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-nav:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }
    .btn-nav-dashboard {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--bg-tint); color: var(--primary) !important;
      padding: 9px 18px; border-radius: 10px;
      font-weight: 700 !important; font-size: 14px !important;
      transition: all 0.2s; border: 1.5px solid var(--primary-tint-border);
    }
    .btn-nav-dashboard:hover { background: #dceaf7; border-color: var(--primary); transform: translateY(-1px); }

    .btn-nav-dashboard-always {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--bg-tint); color: var(--primary);
      padding: 9px 18px; border-radius: 10px;
      font-weight: 700; font-size: 14px;
      transition: all 0.2s; border: 1.5px solid var(--primary-tint-border);
      text-decoration: none; flex-shrink: 0;
    }
    .btn-nav-dashboard-always:hover { background: #dceaf7; border-color: var(--primary); transform: translateY(-1px); }
    @media (max-width: 480px) {
      .btn-nav-dashboard-always { padding: 8px 12px; font-size: 13px; }
      .btn-nav-dashboard-always .nav-dash-text { display: none; }
    }

    /* ─── Hero ─────────────────────────────────────────────── */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 100px 0 60px;
      background: linear-gradient(135deg, #f0f4fa 0%, var(--bg-tint) 50%, #e0f2fe 100%);
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: -200px; right: -200px;
      width: 700px; height: 700px;
      background: radial-gradient(circle, rgba(27,58,107,0.06) 0%, transparent 70%);
      border-radius: 50%;
    }
    .hero::after {
      content: '';
      position: absolute;
      bottom: -100px; left: -100px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(6,182,212,0.07) 0%, transparent 70%);
      border-radius: 50%;
    }
    .hero-inner {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      border: 1px solid var(--primary-tint-border);
      border-radius: 100px;
      padding: 8px 16px 8px 10px;
      margin-bottom: 24px;
      font-size: 13px;
      font-weight: 600;
      color: var(--primary);
      box-shadow: 0 2px 8px rgba(27,58,107,0.08);
    }
    .hero-badge-dot {
      width: 8px; height: 8px;
      background: var(--success);
      border-radius: 50%;
      animation: pulse 1.8s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.3); }
    }
    .hero-title {
      font-size: clamp(32px, 4.5vw, 54px);
      font-weight: 900;
      line-height: 1.2;
      letter-spacing: -0.03em;
      margin-bottom: 24px;
    }
    .hero-title em {
      font-style: normal;
      color: var(--primary);
      position: relative;
    }
    .hero-title em::after {
      content: '';
      position: absolute;
      left: 0; bottom: 2px;
      width: 100%;
      height: 8px;
      background: rgba(27,58,107,0.12);
      border-radius: 4px;
      z-index: -1;
    }
    .hero-desc {
      font-size: 18px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 40px;
      max-width: 480px;
    }
    .hero-cta {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--primary);
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      padding: 16px 32px;
      border-radius: 16px;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: 0 4px 20px rgba(27,58,107,0.30);
    }
    .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(27,58,107,0.35); }
    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--primary);
      font-size: 16px;
      font-weight: 700;
      padding: 16px 28px;
      border-radius: 16px;
      border: 2px solid var(--primary-tint-border);
      cursor: pointer;
      transition: all 0.2s;
    }
    .btn-secondary:hover { background: var(--bg-tint); border-color: var(--primary); }
    .hero-stats {
      display: flex;
      gap: 32px;
      margin-top: 48px;
      padding-top: 40px;
      border-top: 1px solid #dceaf7;
    }
    .stat-item { display: flex; flex-direction: column; gap: 4px; }
    .stat-num {
      font-size: 28px;
      font-weight: 900;
      color: var(--primary);
      letter-spacing: -0.03em;
    }
    .stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

    /* Hero Visual */
    .hero-visual { position: relative; }
    .hero-card {
      background: #fff;
      border-radius: 20px;
      padding: 28px;
      box-shadow: 0 20px 60px rgba(27,58,107,0.10), 0 4px 16px rgba(0,0,0,0.06);
      position: relative;
    }
    .hero-card-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
    }
    .avatar {
      width: 44px; height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      display: flex; align-items: center; justify-content: center;
      color: #fff;
      font-size: 18px;
      font-weight: 700;
    }
    .card-name { font-weight: 700; font-size: 15px; }
    .card-sub { font-size: 12px; color: var(--text-muted); }
    .roadmap-visual {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .roadmap-step {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      position: relative;
    }
    .roadmap-step:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 18px;
      top: 36px;
      width: 2px;
      height: 28px;
      background: linear-gradient(to bottom, var(--primary-light), transparent);
    }
    .roadmap-dot {
      width: 36px; height: 36px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px;
      font-weight: 800;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .dot-blue { background: var(--bg-tint); color: var(--primary); }
    .dot-cyan { background: #ecfeff; color: var(--accent); }
    .dot-amber { background: var(--bg-warning-tint); color: var(--accent2); }
    .dot-green { background: var(--bg-success-tint); color: var(--success); }
    .roadmap-content { padding: 2px 0 24px; flex: 1; }
    .roadmap-stage { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.05em; margin-bottom: 4px; }
    .roadmap-title-card { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
    .roadmap-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .tag {
      font-size: 12px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 100px;
    }
    .tag-blue { background: var(--bg-tint); color: var(--primary); }
    .tag-cyan { background: #ecfeff; color: var(--accent); }
    .tag-amber { background: var(--bg-warning-tint); color: var(--accent2); }
    .tag-green { background: var(--bg-success-tint); color: var(--success); }

    .floating-badge {
      position: absolute;
      background: #fff;
      border-radius: 16px;
      padding: 12px 16px;
      box-shadow: 0 8px 30px rgba(0,0,0,0.1);
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      font-weight: 600;
    }
    .badge-icon { font-size: 20px; }
    .floating-badge-1 { top: -16px; right: -20px; }
    .floating-badge-2 { bottom: 20px; left: -28px; }

    /* ─── Pain Points ──────────────────────────────────────── */
    .pain { background: var(--bg-dark); color: #fff; }
    .pain .section-label { background: rgba(27,58,107,0.15); color: #4B8FE0; }
    .pain .section-title { color: #fff; }
    .pain .section-sub { color: var(--text-hint); }
    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 56px;
    }
    .pain-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 20px;
      padding: 32px 28px;
      transition: all 0.3s;
      cursor: default;
    }
    .pain-card:hover {
      background: rgba(27,58,107,0.08);
      border-color: rgba(27,58,107,0.25);
      transform: translateY(-4px);
    }
    .pain-icon {
      width: 52px; height: 52px;
      border-radius: 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 24px;
      margin-bottom: 20px;
    }
    .pain-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--border); }
    .pain-card p { font-size: 14px; color: #64748b; line-height: 1.7; }
    .pain-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 48px;
    }
    .pain-resolve {
      background: linear-gradient(135deg, rgba(27,58,107,0.12), rgba(6,182,212,0.1));
      border: 1px solid rgba(27,58,107,0.20);
      border-radius: 20px;
      padding: 32px 40px;
      text-align: center;
      margin-top: 16px;
    }
    .pain-resolve p {
      font-size: 20px;
      font-weight: 700;
      color: var(--border);
      line-height: 1.6;
    }
    .pain-resolve span { color: var(--primary-light); }

    /* ─── Features ─────────────────────────────────────────── */
    .features { background: var(--bg-soft); }
    .features-grid {
      display: flex;
      flex-direction: column;
      gap: 80px;
      margin-top: 64px;
    }
    .feature-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .feature-row.reverse { direction: rtl; }
    .feature-row.reverse > * { direction: ltr; }
    .feature-number {
      font-size: 13px;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: 0.1em;
      margin-bottom: 12px;
    }
    .feature-title {
      font-size: clamp(22px, 2.5vw, 30px);
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 16px;
      letter-spacing: -0.02em;
    }
    .feature-desc {
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 28px;
    }
    .feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .feature-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 15px;
      color: var(--text-body);
      line-height: 1.6;
    }
    .check-icon {
      width: 22px; height: 22px;
      background: var(--success);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .check-icon svg { width: 12px; height: 12px; }

    /* Feature Mockups */
    .mockup-wrapper {
      position: relative;
      border-radius: 20px;
      overflow: visible;
    }
    .mockup-card {
      background: #fff;
      border-radius: 20px;
      padding: 28px;
      box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    }
    .upload-zone {
      background: #f0f4fa;
      border: 2px dashed var(--primary-tint-border);
      border-radius: 16px;
      padding: 32px 24px;
      text-align: center;
      margin-bottom: 20px;
    }
    .upload-icon { font-size: 36px; margin-bottom: 12px; }
    .upload-text { font-size: 14px; color: var(--text-muted); font-weight: 500; }
    .upload-text strong { color: var(--primary); }
    .analysis-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
    .chip {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 600;
      background: #fff;
      border: 1px solid var(--border);
      box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    }
    .chip-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
    }
    .chip-label { font-size: 13px; font-weight: 600; width: 72px; color: var(--text-body); }
    .bar-bg {
      flex: 1;
      height: 8px;
      background: var(--bg-base);
      border-radius: 4px;
      overflow: hidden;
    }
    .bar-fill { height: 100%; border-radius: 4px; }
    .bar-pct { font-size: 12px; font-weight: 700; color: var(--primary); width: 34px; text-align: right; }

    .template-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .template-item {
      background: #f0f4fa;
      border-radius: 10px;
      padding: 16px;
      border-left: 3px solid var(--primary);
    }
    .template-item.accent { border-left-color: var(--accent); }
    .template-item.amber { border-left-color: var(--accent2); }
    .template-item.green { border-left-color: var(--success); }
    .template-q { font-size: 12px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.05em; margin-bottom: 6px; }
    .template-a { font-size: 13px; color: var(--text-body); font-weight: 500; line-height: 1.5; }

    .roadmap-full {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .rm-row {
      display: flex;
      align-items: stretch;
      gap: 0;
    }
    .rm-stage-label {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transform: rotate(180deg);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      width: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .rm-cards { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 0 16px 12px; }
    .rm-card {
      background: #fff;
      border-radius: 10px;
      padding: 12px 14px;
      border: 1px solid var(--border);
      font-size: 12px;
    }
    .rm-card-label { font-weight: 800; font-size: 12px; margin-bottom: 4px; }
    .rm-card p { color: var(--text-muted); line-height: 1.5; }
    .rm-connector {
      width: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .rm-connector::before {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      left: 50%;
      width: 2px;
      background: linear-gradient(to bottom, var(--primary-tint-border), #a5f3fc);
    }
    .rm-arrow {
      width: 28px; height: 28px;
      background: var(--primary);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      position: relative;
      z-index: 1;
      flex-shrink: 0;
    }
    .rm-arrow svg { width: 14px; height: 14px; }

    /* ─── How It Works ─────────────────────────────────────── */
    .how { background: #fff; }
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      margin-top: 56px;
      position: relative;
    }
    .steps-grid::before {
      content: '';
      position: absolute;
      top: 32px;
      left: 10%;
      right: 10%;
      height: 2px;
      background: linear-gradient(to right, var(--primary-light), var(--accent));
      z-index: 0;
    }
    .step-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      z-index: 1;
    }
    .step-num {
      width: 64px; height: 64px;
      border-radius: 20px;
      display: flex; align-items: center; justify-content: center;
      font-size: 22px;
      font-weight: 900;
      color: #fff;
      margin-bottom: 20px;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      box-shadow: 0 8px 20px rgba(27,58,107,0.25);
    }
    .step-num.s2 { background: linear-gradient(135deg, var(--accent), #38bdf8); box-shadow: 0 8px 20px rgba(6,182,212,0.3); }
    .step-num.s3 { background: linear-gradient(135deg, var(--accent2), #fbbf24); box-shadow: 0 8px 20px rgba(245,158,11,0.3); }
    .step-num.s4 { background: linear-gradient(135deg, var(--success), #34d399); box-shadow: 0 8px 20px rgba(16,185,129,0.3); }
    .step-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
    .step-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

    /* ─── Target ───────────────────────────────────────────── */
    .target { background: linear-gradient(135deg, #f0f4fa 0%, #ecfeff 100%); }
    .target-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 56px;
    }
    .target-card {
      background: #fff;
      border-radius: 20px;
      padding: 32px 28px;
      border: 1px solid var(--border);
      display: flex;
      gap: 20px;
      align-items: flex-start;
      transition: all 0.25s;
    }
    .target-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,58,107,0.08); border-color: var(--primary-tint-border); }
    .target-emoji {
      width: 56px; height: 56px;
      border-radius: 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 26px;
      flex-shrink: 0;
    }
    .target-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
    .target-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
    .target-card .tag { display: inline-block; margin-top: 12px; }

    /* ─── Testimonials ─────────────────────────────────────── */
    .testimonials { background: var(--bg-dark); color: #fff; }
    .testimonials .section-label { background: rgba(27,58,107,0.15); color: #4B8FE0; }
    .testimonials .section-title { color: #fff; }
    .testi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 56px;
    }
    .testi-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 20px;
      padding: 28px;
      transition: all 0.3s;
    }
    .testi-card:hover { background: rgba(27,58,107,0.08); border-color: rgba(27,58,107,0.25); transform: translateY(-4px); }
    .stars { display: flex; gap: 3px; margin-bottom: 16px; }
    .star { color: var(--accent2); font-size: 16px; }
    .testi-text { font-size: 15px; color: #cbd5e1; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
    .testi-author { display: flex; align-items: center; gap: 12px; }
    .author-avatar {
      width: 40px; height: 40px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 800;
      font-size: 14px;
      color: #fff;
    }
    .author-name { font-size: 14px; font-weight: 700; color: var(--border); }
    .author-desc { font-size: 12px; color: #64748b; }

    /* ─── CTA ──────────────────────────────────────────────── */
    .cta-section {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1e1b4b 100%);
      padding: 120px 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-section::before {
      content: '';
      position: absolute;
      top: -50%;
      left: 50%;
      transform: translateX(-50%);
      width: 800px; height: 800px;
      background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
      border-radius: 50%;
      pointer-events: none;
    }
    .cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
    .cta-label { display: inline-block; background: rgba(255,255,255,0.15); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; padding: 6px 16px; border-radius: 100px; margin-bottom: 24px; }
    .cta-title { font-size: clamp(28px, 4vw, 46px); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.02em; }
    .cta-sub { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 40px; line-height: 1.7; }
    .cta-form {
      display: flex;
      gap: 12px;
      max-width: 480px;
      margin: 0 auto 24px;
    }
    .cta-input {
      flex: 1;
      padding: 16px 20px;
      border-radius: 10px;
      border: none;
      font-size: 15px;
      background: rgba(255,255,255,0.12);
      color: #fff;
      outline: none;
      border: 1px solid rgba(255,255,255,0.2);
      transition: all 0.2s;
    }
    .cta-input::placeholder { color: rgba(255,255,255,0.5); }
    .cta-input:focus { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
    .btn-white {
      background: #fff;
      color: var(--primary);
      font-size: 15px;
      font-weight: 800;
      padding: 16px 28px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.2s;
    }
    .btn-white:hover { background: var(--bg-tint); transform: translateY(-1px); }
    .cta-note { font-size: 13px; color: rgba(255,255,255,0.5); }

    /* ─── Footer ───────────────────────────────────────────── */
    footer {
      background: #0e1b33;
      color: rgba(255,255,255,0.7);
      padding: 48px 24px 32px;
    }
    .footer-inner {
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
    }
    .footer-logo-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .footer-logo-wrap svg { height: 36px; width: auto; }
    .footer-tagline {
      font-size: 14px;
      color: rgba(255,255,255,0.55);
      line-height: 1.6;
      max-width: 400px;
    }
    .footer-links-row {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .footer-links-row a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-links-row a:hover { color: #fff; }
    .footer-links-row .footer-sep {
      color: rgba(255,255,255,0.2);
      user-select: none;
    }
    .footer-email {
      font-size: 13px;
      color: rgba(255,255,255,0.5);
    }
    .footer-email a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
    }
    .footer-email a:hover { color: #fff; }
    .footer-bottom {
      max-width: 800px;
      margin: 20px auto 0;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.08);
      text-align: center;
      font-size: 12px;
      color: rgba(255,255,255,0.35);
    }

    .activity-count-guide {
    }

    /* 입력 팁 박스 */
    .input-tip-box {
      background: #f0f4fa;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 14px 18px;
      margin-top: 14px;
      margin-bottom: 8px;
    }
    .input-tip-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 8px;
    }
    .input-tip-examples {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .input-tip-good {
      font-size: 12px;
      color: #15803d;
      line-height: 1.6;
    }
    .input-tip-bad {
      font-size: 12px;
      color: #dc2626;
      line-height: 1.6;
      margin-top: 4px;
    }

    /* CTA 앵커 힌트 */
    .cta-anchor-hint {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 14px 20px;
      margin: 16px auto;
      max-width: 500px;
      background: linear-gradient(135deg, #faf5ff, #ede9fe);
      border: 1.5px solid #ddd6fe;
      border-radius: 14px;
      font-size: 14px;
      color: #6d28d9;
      font-weight: 600;
    }
    .cta-anchor-link {
      color: #7c3aed;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
    }
    .cta-anchor-link:hover {
      text-decoration: underline;
    }

    .activity-count-guide {
      font-size: 13px;
      font-weight: 600;
      line-height: 1.6;
      padding: 10px 16px;
      border-radius: 10px;
      margin-top: 12px;
      text-align: center;
    }
    .activity-count-guide.guide-ok {
      background: var(--bg-success-tint);
      color: #15803d;
    }
    .activity-count-guide.guide-few {
      background: var(--bg-tint);
      color: var(--primary);
    }

    /* ─── Onboarding Modal ──────────────────────────────────── */
    .onboarding-box {
      background: #fff;
      border-radius: 24px;
      padding: 40px 32px 32px;
      max-width: 420px;
      width: 90%;
      text-align: center;
      box-shadow: 0 20px 60px rgba(0,0,0,0.15);
      animation: onboardSlideUp 0.4s ease;
    }
    @keyframes onboardSlideUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .onboarding-icon { font-size: 36px; margin-bottom: 12px; }
    .onboarding-title {
      font-size: 20px; font-weight: 900; color: #1a1a2e;
      letter-spacing: -0.03em; margin-bottom: 8px;
    }
    .onboarding-desc {
      font-size: 14px; color: var(--text-muted); line-height: 1.7;
      margin-bottom: 24px;
    }
    .onboarding-question {
      font-size: 15px; font-weight: 700; color: var(--primary);
      margin-bottom: 16px;
    }
    .onboarding-btns {
      display: flex; gap: 12px; margin-bottom: 16px;
    }
    .onboarding-btn {
      flex: 1; display: flex; flex-direction: column; align-items: center;
      gap: 4px; padding: 18px 12px; border-radius: 14px;
      border: 2px solid var(--border); background: #fff;
      cursor: pointer; transition: all 0.2s; font-family: inherit;
    }
    .onboarding-btn:hover { border-color: var(--primary); background: var(--bg-tint); }
    .onboarding-btn-icon { font-size: 24px; }
    .onboarding-btn-label { font-size: 15px; font-weight: 800; color: #1a1a2e; }
    .onboarding-btn-sub { font-size: 12px; color: var(--text-muted); }
    .onboarding-btn-explore:hover { border-color: var(--primary-light); }
    .onboarding-btn-goal:hover { border-color: var(--primary); }
    .onboarding-skip {
      background: none; border: none; cursor: pointer;
      font-size: 13px; color: var(--text-muted); font-family: inherit;
      padding: 8px 16px; transition: color 0.2s;
    }
    .onboarding-skip:hover { color: var(--primary); }

    /* ─── Scroll Animations ─────────────────────────────────── */
    .fade-up {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .fade-up.delay-1 { transition-delay: 0.1s; }
    .fade-up.delay-2 { transition-delay: 0.2s; }
    .fade-up.delay-3 { transition-delay: 0.3s; }
    .fade-up.delay-4 { transition-delay: 0.4s; }

    /* ─── Hero Select ──────────────────────────────────────── */
    .hero-select {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 96px 0 80px;
      background: linear-gradient(135deg, #f0f4fa 0%, var(--bg-tint) 50%, #e0f2fe 100%);
      position: relative;
      overflow: hidden;
    }
    .hero-select::before {
      content: '';
      position: absolute;
      top: -200px; right: -200px;
      width: 700px; height: 700px;
      background: radial-gradient(circle, rgba(27,58,107,0.06) 0%, transparent 70%);
      border-radius: 50%;
    }
    .hero-select-inner {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 24px;
      text-align: center;
      position: relative;
      z-index: 1;
    }
    .hero-select-header { margin-bottom: 56px; }
    .hero-select-header h1 {
      font-size: clamp(32px, 4.5vw, 54px);
      font-weight: 900;
      line-height: 1.2;
      letter-spacing: -0.03em;
      margin: 20px 0 20px;
    }
    .hero-select-header h1 em { font-style: normal; color: var(--primary); }
    .hero-select-header p { font-size: 18px; color: var(--text-muted); line-height: 1.8; }
    .flow-select-cards {
      display: flex;
      gap: 32px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .flow-card {
      background: #fff;
      border: 2px solid var(--border);
      border-radius: 20px;
      padding: 48px 40px;
      width: 300px;
      cursor: pointer;
      transition: all 0.25s;
      text-align: center;
      box-shadow: 0 4px 20px rgba(27,58,107,0.05);
    }
    .flow-card:hover {
      border-color: var(--primary);
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(27,58,107,0.12);
    }
    .flow-card-icon { font-size: 48px; margin-bottom: 20px; display: block; }
    .flow-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; color: var(--text-strong); }
    .flow-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
    .flow-card-sub {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      background: var(--bg-tint);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 100px;
    }

    /* ─── Flow Sections ────────────────────────────────────── */
    .flow-section { padding: 80px 0; background: var(--bg-soft); }
    .flow-section.flow-section-white { background: #fff; }
    .flow-header { text-align: center; margin-bottom: 48px; }
    .flow-back-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 600;
      padding: 8px 16px;
      border-radius: 100px;
      cursor: pointer;
      transition: all 0.2s;
      margin-bottom: 24px;
    }
    .flow-back-btn:hover { border-color: var(--primary); color: var(--primary); }
    .flow-activity-inputs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
    .flow-activity-row { display: flex; align-items: center; gap: 12px; }
    .flow-activity-num {
      width: 28px; height: 28px; flex-shrink: 0;
      background: var(--bg-tint); color: var(--primary);
      border-radius: 50%; font-size: 12px; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
    }
    .flow-activity-input {
      flex: 1;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 14px;
      font-family: inherit;
      transition: border-color 0.2s;
      background: #fff;
    }
    .flow-activity-input:focus { outline: none; border-color: var(--primary); }
    .flow-card-wide {
      background: #fff;
      border-radius: 20px;
      padding: 40px;
      max-width: 960px;
      margin: 0 auto;
      box-shadow: 0 4px 24px rgba(27,58,107,0.06);
    }
    .flow-api-label { font-size: 13px; color: var(--text-body); margin-bottom: 4px; font-weight: 700; }
    .flow-api-hint { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.6; }
    .flow-api-hint a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
    .flow-api-hint a:hover { color: var(--primary-dark); }
    .flow-api-input {
      width: 100%;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 14px;
      font-family: inherit;
      transition: border-color 0.2s;
    }
    .flow-api-input:focus { outline: none; border-color: var(--primary); }
    .btn-flow-analyze {
      background: var(--primary);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 14px 32px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 24px;
      width: 100%;
      justify-content: center;
    }
    .btn-flow-analyze:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); }
    .btn-flow-analyze:disabled { opacity: 0.6; cursor: not-allowed; }
    .flow-loading { display: none; text-align: center; padding: 40px; color: var(--text-muted); font-size: 14px; font-weight: 600; }
    .flow-loading.show { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .loading-spinner {
      width: 36px; height: 36px;
      border: 3px solid var(--primary-tint-border);
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 0.9s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .loading-step-msg {
      font-size: 15px; font-weight: 700; color: var(--text-strong);
    }
    .flow-error {
      display: none;
      background: #fff5f5;
      border: 1px solid #fecaca;
      border-radius: 10px;
      padding: 14px 18px;
      color: #ef4444;
      font-size: 14px;
      font-weight: 600;
      margin-top: 16px;
    }
    .flow-error.show { display: block; }

    /* ─── School Selection (Goal Flow) ─────────────────────── */
    .school-select-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      max-width: 640px;
      margin: 0 auto 40px;
    }
    .school-select-card {
      background: #fff;
      border: 2px solid var(--border);
      border-radius: 16px;
      padding: 28px 24px;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
    }
    .school-select-card:hover { border-color: var(--primary); transform: translateY(-2px); }
    .school-select-card.selected { border-color: var(--primary); background: var(--bg-tint); }
    .school-select-card .sc-icon { font-size: 36px; margin-bottom: 12px; display: block; }
    .school-select-card h4 { font-size: 17px; font-weight: 800; color: var(--text-strong); }
    .school-select-card p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

    /* ─── AI Result Cards ───────────────────────────────────── */
    .flow-result-section { padding: 60px 0; background: #fff; }
    .explore-results-grid {
      display: flex;
      flex-direction: column;
      gap: 20px;
      max-width: 960px;
      margin: 0 auto;
    }
    .explore-school-card {
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: 16px;
      padding: 28px 32px;
    }
    .explore-school-card.top-rec {
      border-color: var(--primary);
      background: linear-gradient(135deg, #f0f4fa, var(--bg-tint));
      box-shadow: 0 4px 20px rgba(27,58,107,0.10);
    }
    .explore-school-card-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }
    .explore-school-rank {
      font-size: 12px;
      font-weight: 800;
      background: var(--primary);
      color: #fff;
      padding: 3px 10px;
      border-radius: 100px;
    }
    .explore-school-name { font-size: 18px; font-weight: 800; color: var(--text-strong); }
    .explore-school-reason { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
    .explore-top-badge {
      display: inline-flex;
      align-items: center;
      font-size: 12px;
      font-weight: 800;
      background: var(--bg-warning-tint);
      color: #b45309;
      padding: 3px 10px;
      border-radius: 100px;
      margin-left: auto;
    }
    .goal-result-card {
      background: #fff;
      border-radius: 20px;
      padding: 40px;
      max-width: 960px;
      margin: 0 auto;
      box-shadow: 0 4px 24px rgba(27,58,107,0.06);
    }
    .goal-result-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 32px;
      padding-bottom: 24px;
      border-bottom: 2px solid var(--border);
    }
    .goal-result-school-icon { font-size: 36px; }
    .goal-result-school-name { font-size: 20px; font-weight: 800; color: var(--text-strong); }
    .goal-result-sub { font-size: 13px; color: var(--text-muted); }
    .goal-result-group { margin-bottom: 28px; }
    .goal-result-group-title {
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.05em;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .goal-result-items { display: flex; flex-direction: column; gap: 10px; }
    .goal-result-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      line-height: 1.7;
      color: #374151;
    }
    .goal-result-dot {
      width: 20px; height: 20px; flex-shrink: 0;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 800;
      margin-top: 3px;
    }
    .dot-strength { background: var(--bg-success-tint); color: var(--success); }
    .dot-improve { background: #fff7ed; color: #f97316; }
    .dot-activity { background: var(--bg-tint); color: var(--primary); }
    /* 추천 활동 프로그램 카드 */
    .rec-card {
      background: #fff;
      border: 1.5px solid var(--primary-tint-border);
      border-radius: 16px;
      padding: 16px 18px;
      margin-bottom: 10px;
    }
    .rec-card:last-child { margin-bottom: 0; }
    .rec-activity {
      font-size: 14px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .rec-programs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 8px;
    }
    .rec-program-chip {
      font-size: 12px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 100px;
      background: var(--bg-tint);
      color: var(--primary);
      border: 1px solid var(--primary-tint-border);
    }
    .rec-reason {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
    }
    .rec-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }
    .rec-badge {
      font-size: 12px;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 100px;
      display: inline-flex;
      align-items: center;
      gap: 3px;
    }
    .rec-badge-timing {
      background: #fef9c3;
      color: #854d0e;
      border: 1px solid #fde68a;
    }
    .rec-badge-level-입문 {
      background: #dcfce7;
      color: #166534;
      border: 1px solid #bbf7d0;
    }
    .rec-badge-level-중급 {
      background: #fef3c7;
      color: #92400e;
      border: 1px solid #fde68a;
    }
    .rec-badge-level-심화 {
      background: #ffe4e6;
      color: #9f1239;
      border: 1px solid #fecdd3;
    }

    .grade-strategy-card {
      background: linear-gradient(135deg, var(--bg-tint) 0%, #e0f2fe 100%);
      border: 2px solid var(--primary-tint-border);
      border-radius: 16px;
      padding: 20px 22px;
      margin-bottom: 28px;
    }
    .grade-strategy-title {
      font-size: 13px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .grade-strategy-rows { display: flex; flex-direction: column; gap: 10px; }
    .grade-strategy-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.6; }
    .grade-strategy-label {
      font-size: 12px;
      font-weight: 800;
      color: #1B3A6B;
      background: var(--primary-tint-border);
      border-radius: 4px;
      padding: 2px 8px;
      white-space: nowrap;
      margin-top: 2px;
    }
    .grade-strategy-value { color: #1e3a5f; }
    .grade-strategy-priority {
      background: #1B3A6B;
      border-radius: 10px;
      padding: 12px 16px;
      margin-top: 12px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }
    .grade-strategy-priority-label {
      font-size: 12px;
      font-weight: 800;
      color: var(--primary-tint-border);
      white-space: nowrap;
      margin-top: 2px;
    }
    .grade-strategy-priority-value {
      font-size: 13px;
      font-weight: 700;
      color: #fff;
      line-height: 1.6;
    }
    .goal-result-summary {
      background: linear-gradient(135deg, var(--bg-tint), #e0f2fe);
      border-radius: 16px;
      padding: 20px 24px;
      font-size: 15px;
      font-weight: 700;
      color: var(--text-strong);
      line-height: 1.7;
      text-align: center;
      margin-top: 8px;
    }
    .flow-next-section { text-align: center; margin-top: 48px; }
    .btn-show-guide {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--primary);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 16px 36px;
      border-radius: 16px;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: 0 4px 20px rgba(27,58,107,0.25);
    }
    .btn-show-guide:hover { background: var(--primary-dark); transform: translateY(-2px); }
    .ai-disclaimer {
      max-width: 960px;
      margin: 24px auto 0;
      font-size: 12px;
      color: var(--text-hint);
      line-height: 1.7;
      text-align: center;
      padding: 12px 16px;
      border-top: 1px solid var(--border);
    }

    /* ─── 자소서 전략 미리보기 ──────────────────────────────── */
    .jasoseo-preview-section {
      background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #ede9fe 100%);
      border: 1.5px solid #ddd6fe;
      border-radius: 20px;
      padding: 32px 28px;
      margin: 28px auto;
      max-width: 800px;
    }
    .jasoseo-preview-header { text-align: center; margin-bottom: 24px; }
    .jasoseo-preview-badge {
      display: inline-block; font-size: 11px; font-weight: 800;
      background: #7c3aed; color: #fff; padding: 3px 10px;
      border-radius: 100px; letter-spacing: 0.08em; margin-bottom: 10px;
    }
    .jasoseo-preview-title { font-size: 20px; font-weight: 800; color: #4c1d95; margin-bottom: 6px; }
    .jasoseo-preview-desc { font-size: 14px; color: #6d28d9; }
    .jasoseo-preview-card {
      background: #fff; border: 1px solid #e9d5ff; border-radius: 14px;
      padding: 24px; margin-bottom: 24px; min-height: 100px;
    }
    .jasoseo-preview-loading {
      display: flex; align-items: center; justify-content: center; gap: 12px;
      padding: 20px; color: #7c3aed; font-size: 14px; font-weight: 600;
    }
    .qhel-activity-label {
      font-size: 13px; font-weight: 700; color: #7c3aed;
      background: #f3e8ff; padding: 4px 12px; border-radius: 100px;
      display: inline-block; margin-bottom: 14px;
    }
    .qhel-step { display: flex; gap: 10px; margin-bottom: 10px; }
    .qhel-step-label {
      flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
      background: #7c3aed; color: #fff; font-size: 11px; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
    }
    .qhel-step-text { font-size: 14px; color: var(--text-body); line-height: 1.7; flex: 1; }
    .qhel-draft {
      background: #faf5ff; border: 1px dashed #ddd6fe; border-radius: 10px;
      padding: 16px; margin-top: 16px;
    }
    .qhel-draft-label { font-size: 12px; font-weight: 800; color: #7c3aed; margin-bottom: 8px; }
    .qhel-draft-text { font-size: 14px; color: var(--text-body); line-height: 1.8; }
    .qhel-tip {
      font-size: 12px; color: #6d28d9; margin-top: 12px;
      padding: 8px 12px; background: #ede9fe; border-radius: 8px;
    }
    .jasoseo-preview-cta-wrap { text-align: center; }
    .jasoseo-value-preview {
      background: #fff; border: 1px solid #e9d5ff; border-radius: 16px;
      padding: 24px; margin-bottom: 24px; text-align: left;
    }
    .jasoseo-value-title {
      font-size: 15px; font-weight: 800; color: #4c1d95;
      margin-bottom: 16px; text-align: center;
    }
    .jasoseo-value-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px;
    }
    .jasoseo-value-item {
      display: flex; gap: 10px; align-items: flex-start;
      padding: 10px 12px; background: #faf5ff; border-radius: 10px;
    }
    .jasoseo-value-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
    .jasoseo-value-label { font-size: 13px; font-weight: 700; color: #4c1d95; margin-bottom: 2px; }
    .jasoseo-value-desc { font-size: 12px; color: #6d28d9; line-height: 1.4; }
    .jasoseo-value-compare {
      text-align: center; font-size: 13px; color: #6d28d9;
      padding: 10px; background: #ede9fe; border-radius: 8px;
    }
    .jasoseo-value-compare strong { color: #4c1d95; font-size: 16px; }
    .jasoseo-preview-lock {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      font-size: 13px; color: #6d28d9; margin-bottom: 16px; opacity: 0.8;
    }
    .jasoseo-lock-icon { font-size: 16px; }
    .btn-jasoseo-report {
      display: inline-flex; align-items: center; gap: 8px;
      background: #7c3aed; color: #fff; font-size: 16px; font-weight: 700;
      padding: 16px 32px; border-radius: 14px; border: none; cursor: pointer;
      transition: all 0.2s; font-family: inherit;
      box-shadow: 0 4px 20px rgba(124,58,237,0.25);
    }
    .btn-jasoseo-report:hover {
      background: #6d28d9; transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(124,58,237,0.35);
    }
    .jasoseo-price { font-size: 14px; font-weight: 500; opacity: 0.8; text-decoration: line-through; }
    .jasoseo-cta-sub { font-size: 13px; color: #6d28d9; margin-top: 10px; }
    .jasoseo-cta-notice { font-size: 11px; color: var(--text-hint); margin-top: 8px; }
    @media (max-width: 420px) {
      .jasoseo-preview-section { padding: 24px 18px; }
      .jasoseo-preview-title { font-size: 17px; }
      .jasoseo-preview-card { padding: 18px 16px; }
      .btn-jasoseo-report { font-size: 14px; padding: 14px 24px; }
      .jasoseo-value-grid { grid-template-columns: 1fr; }
      .jasoseo-value-preview { padding: 18px 16px; }
    }

    /* ─── Activity Cards ──────────────────────────────────────── */
    .act-cards-container { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
    .act-card {
      border: 1.5px solid var(--border);
      border-radius: 16px;
      padding: 20px;
      background: var(--bg-soft);
    }
    .act-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
    }
    .act-card-num {
      font-size: 12px;
      font-weight: 800;
      color: var(--primary);
      background: var(--bg-tint);
      padding: 3px 10px;
      border-radius: 100px;
    }
    .btn-delete-act {
      width: 28px; height: 28px;
      border-radius: 50%;
      border: none;
      background: #fff;
      color: var(--text-hint);
      font-size: 14px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, color 0.2s;
      line-height: 1;
    }
    .btn-delete-act:hover { background: #fff5f5; color: #ef4444; }
    .act-field { margin-bottom: 12px; }
    .act-field:last-child { margin-bottom: 0; }
    .act-field-label { font-size: 12px; font-weight: 700; color: var(--text-body); margin-bottom: 6px; }
    .act-field-label .req { color: #f43f5e; margin-left: 2px; }
    .current-grade-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      max-width: 580px;
      margin: 0 auto;
    }
    .current-grade-card {
      flex: 1 1 calc(33% - 10px);
      min-width: 130px;
      max-width: 180px;
      background: #fff;
      border: 2px solid var(--border);
      border-radius: 16px;
      padding: 18px 12px;
      text-align: center;
      cursor: pointer;
      font-size: 14px;
      font-weight: 700;
      color: var(--text-body);
      transition: all 0.2s;
      user-select: none;
    }
    .current-grade-card:hover { border-color: var(--primary); background: #f5f3ff; }
    .current-grade-card.selected { border-color: var(--primary); background: var(--primary); color: #fff; }
    .act-grade-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
    .act-grade-tab {
      font-size: 12px; font-weight: 700;
      padding: 5px 14px;
      border-radius: 100px;
      border: 1.5px solid var(--border);
      background: #fff;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.15s;
    }
    .act-grade-tab.active { border-color: var(--primary); background: var(--primary); color: #fff; }
    .act-title-input {
      width: 100%;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 14px;
      font-family: inherit;
      background: #fff;
      transition: border-color 0.2s;
    }
    .act-title-input:focus { outline: none; border-color: var(--primary); }
    .act-comp-hint { font-size: 12px; color: var(--text-hint); margin-bottom: 7px; font-weight: 500; }
    .act-comp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
    .act-comp-chip {
      font-size: 12px; font-weight: 700;
      padding: 4px 12px;
      border-radius: 100px;
      border: 1.5px solid var(--border);
      background: #fff;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.15s;
    }
    .act-comp-chip.selected { border-color: var(--primary); background: var(--bg-tint); color: var(--primary); }
    .act-desc-input {
      width: 100%;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 13px;
      font-family: inherit;
      resize: vertical;
      min-height: 72px;
      background: #fff;
      transition: border-color 0.2s;
      line-height: 1.6;
    }
    .act-desc-input:focus { outline: none; border-color: var(--primary); }
    .btn-add-activity {
      display: flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: 2px dashed var(--primary-tint-border);
      color: var(--primary);
      font-size: 14px;
      font-weight: 700;
      padding: 12px 20px;
      border-radius: 16px;
      cursor: pointer;
      width: 100%;
      justify-content: center;
      transition: all 0.2s;
      margin-bottom: 24px;
    }
    .btn-add-activity:hover:not(:disabled) { background: var(--bg-tint); border-color: var(--primary); }
    .btn-add-activity:disabled { opacity: 0.4; cursor: not-allowed; }
    .goal-from-explore-notice {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--bg-warning-tint);
      border: 1px solid #fde68a;
      border-radius: 10px;
      padding: 12px 18px;
      font-size: 13px;
      font-weight: 600;
      color: #92400e;
      max-width: 640px;
      margin: 0 auto 24px;
    }
    .btn-set-goal {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      background: var(--primary);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      padding: 10px 20px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      margin-top: 14px;
      width: 100%;
      transition: background 0.2s;
    }
    .btn-set-goal:hover { background: var(--primary-dark); }

    /* 탐색형 단순 활동 입력 행 */
    .explore-act-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    .explore-act-num {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .explore-act-input {
      flex: 1;
      border: 1.5px solid #e5e7eb;
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 14px;
      font-family: inherit;
      color: var(--text-strong);
      background: #fff;
      transition: border-color 0.15s;
      outline: none;
    }
    .explore-act-input:focus { border-color: var(--primary); }
    .explore-act-desc {
      width: 100%;
      border: 1.5px solid #e5e7eb;
      border-radius: 10px;
      padding: 8px 14px;
      font-size: 13px;
      font-family: inherit;
      color: var(--text-strong);
      background: #fafbfc;
      transition: border-color 0.15s;
      outline: none;
      resize: vertical;
      margin-top: 6px;
      min-height: 36px;
    }
    .explore-act-desc:focus { border-color: var(--primary); background: #fff; }
    .explore-act-desc::placeholder { color: var(--text-muted); font-size: 12px; }
    .btn-delete-explore-act {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: none;
      background: #f3f4f6;
      color: #9ca3af;
      font-size: 13px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s, color 0.15s;
    }
    .btn-delete-explore-act:hover { background: #fee2e2; color: #ef4444; }

    /* 인라인 가이드 */
    .inline-guide-header {
      text-align: center;
      padding: 48px 0 32px;
    }
    .inline-guide-content {
      background: #fff;
      border-radius: 20px;
      padding: 32px 28px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    }
    .explore-guide-cta {
      display: flex;
      justify-content: center;
      padding: 32px 0 48px;
    }
    /* 목표형 가이드 토글 — 카드 */
    .guide-toggle-card {
      border-radius: 16px;
      overflow: hidden;
      border: 1.5px solid var(--primary-tint-border);
      box-shadow: 0 6px 24px rgba(27,58,107,0.10);
      margin: 16px 0 8px;
    }
    .btn-guide-toggle {
      width: 100%;
      background: linear-gradient(135deg, #1B3A6B 0%, #2d5499 100%);
      border: none;
      padding: 20px 24px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-family: inherit;
      transition: filter 0.2s;
    }
    .btn-guide-toggle:hover { filter: brightness(1.1); }
    .guide-toggle-left {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .guide-toggle-icon {
      font-size: 26px;
      background: rgba(255,255,255,0.18);
      width: 50px;
      height: 50px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .guide-toggle-title {
      font-size: 17px;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.02em;
    }
    .guide-toggle-sub {
      font-size: 12px;
      color: rgba(255,255,255,0.72);
      margin-top: 3px;
      font-weight: 500;
    }
    .guide-toggle-chevron {
      font-size: 15px;
      color: rgba(255,255,255,0.85);
      font-weight: 700;
      flex-shrink: 0;
      transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    }
    .guide-toggle-chevron.open { transform: rotate(180deg); }
    /* 토글 콘텐츠 애니메이션 */
    @keyframes guideReveal {
      from { opacity: 0; transform: translateY(-6px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .guide-toggle-content { display: none; }
    .guide-toggle-content.open {
      display: block;
      animation: guideReveal 0.3s ease forwards;
      padding: 28px;
    }
    /* 준비 중 */
    .goal-guide-coming-soon {
      text-align: center;
      padding: 28px;
      font-size: 14px;
      color: var(--text-muted);
      background: #f9fafb;
    }

    /* 목표형 활동 이전 안내 */
    .goal-activity-transfer-notice {
      background: #fef9c3;
      border: 1.5px solid #fde68a;
      border-radius: 10px;
      padding: 10px 14px;
      font-size: 13px;
      color: #92400e;
      margin-bottom: 14px;
      line-height: 1.5;
    }

    .btn-reanalyze {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: transparent;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: 10px;
      border: 1.5px solid var(--border);
      cursor: pointer;
      transition: all 0.2s;
      font-family: inherit;
    }
    .btn-reanalyze:hover { color: var(--primary); border-color: var(--primary); background: var(--bg-tint); }

    .btn-copy-result {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: transparent;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: 10px;
      border: 1.5px solid var(--border);
      cursor: pointer;
      transition: all 0.2s;
      font-family: inherit;
    }
    .btn-copy-result:hover { color: var(--primary); border-color: var(--primary); background: var(--bg-tint); }

    .btn-share-parent {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #7c3aed;
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      font-family: inherit;
    }
    .btn-share-parent:hover { background: #6d28d9; transform: translateY(-1px); }

    .btn-save-archive {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--primary);
      font-size: 14px;
      font-weight: 700;
      padding: 12px 28px;
      border-radius: 10px;
      border: 2px solid var(--primary-tint-border);
      cursor: pointer;
      transition: all 0.2s;
      margin-top: 12px;
    }
    .btn-save-archive:hover { background: var(--bg-tint); border-color: var(--primary); }
    .btn-save-archive.saved { border-color: var(--success); color: var(--success); background: var(--bg-success-tint); cursor: default; }

    /* ─── Toast ─────────────────────────────────────────────── */
    .toast {
      position: fixed;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--text-strong);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      padding: 14px 24px;
      border-radius: 10px;
      box-shadow: 0 8px 30px rgba(0,0,0,0.25);
      opacity: 0;
      transition: opacity 0.3s, transform 0.3s;
      pointer-events: none;
      z-index: 9999;
      white-space: nowrap;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* ─── Archive Modal ──────────────────────────────────────── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.45);
      z-index: 500;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    .modal-overlay.open { display: flex; }
    .modal-box {
      background: #fff;
      border-radius: 20px;
      width: 100%;
      max-width: 560px;
      max-height: 80vh;
      display: flex;
      flex-direction: column;
      box-shadow: 0 24px 80px rgba(0,0,0,0.18);
    }
    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 28px 20px;
      border-bottom: 1.5px solid var(--border);
      flex-shrink: 0;
    }
    .modal-title { font-size: 18px; font-weight: 800; color: var(--text-strong); }
    .modal-close {
      width: 36px; height: 36px;
      border-radius: 50%;
      border: none;
      background: var(--bg-soft);
      cursor: pointer;
      font-size: 18px;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .modal-close:hover { background: var(--border); }
    .modal-body { overflow-y: auto; padding: 20px 28px 28px; flex: 1; }
    .modal-empty {
      text-align: center;
      padding: 48px 0;
      color: var(--text-muted);
      font-size: 14px;
    }
    .archive-entry {
      border: 1.5px solid var(--border);
      border-radius: 16px;
      padding: 16px 18px;
      margin-bottom: 12px;
    }
    .archive-entry-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .archive-entry-meta {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .archive-entry-type {
      font-size: 12px;
      font-weight: 800;
      padding: 2px 10px;
      border-radius: 100px;
      background: var(--bg-tint);
      color: var(--primary);
    }
    .archive-entry-date { font-size: 12px; color: var(--text-muted); }
    .archive-entry-delete {
      border: none;
      background: transparent;
      color: #cbd5e1;
      font-size: 18px;
      cursor: pointer;
      padding: 2px 6px;
      border-radius: 4px;
      transition: color 0.2s, background 0.2s;
      line-height: 1;
    }
    .archive-entry-delete:hover { color: #ef4444; background: #fff5f5; }
    .archive-entry-activities { display: flex; flex-direction: column; gap: 4px; }
    .archive-activity-item {
      font-size: 13px;
      color: #374151;
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }
    .archive-activity-item::before {
      content: '•';
      color: var(--primary);
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .btn-nav-archive {
      background: transparent;
      border: 1.5px solid var(--border);
      color: var(--text-secondary);
      font-size: 14px;
      font-weight: 600;
      padding: 8px 16px;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .btn-nav-archive:hover { border-color: var(--primary); color: var(--primary); }

    /* ─── Growth Nav Button ─────────────────────────────────── */
    .btn-nav-growth {
      font-size: 14px; font-weight: 600; color: var(--text-secondary);
      padding: 8px 14px; border-radius: 10px;
      border: 1.5px solid var(--border);
      transition: all 0.2s;
    }
    .btn-nav-growth:hover { border-color: var(--primary); color: var(--primary); }

    /* ─── Growth Dashboard ───────────────────────────────────── */
    .growth-section { background: var(--bg-soft); }
    .growth-empty { text-align: center; padding: 80px 24px; }
    .growth-empty-icon { font-size: 64px; margin-bottom: 24px; }
    .growth-empty-title { font-size: 22px; font-weight: 700; color: var(--text-strong); margin-bottom: 12px; }
    .growth-empty-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
    .btn-go-activity {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--primary); color: #fff;
      padding: 14px 28px; border-radius: 10px;
      font-size: 16px; font-weight: 700;
      border: none; cursor: pointer;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-go-activity:hover { background: var(--primary-dark); transform: translateY(-1px); }
    .growth-dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
    .growth-card {
      background: #fff; border: 1px solid var(--border);
      border-radius: 20px; padding: 28px 32px;
    }
    .growth-card-title {
      font-size: 16px; font-weight: 800; color: var(--text-strong);
      margin-bottom: 4px; display: flex; align-items: center; gap: 8px;
    }
    .growth-card-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
    /* Competency bars */
    .comp-bars { display: flex; flex-direction: column; gap: 12px; }
    .comp-bar-row { display: flex; align-items: center; gap: 12px; }
    .comp-bar-label { width: 86px; min-width: 86px; font-size: 12px; font-weight: 700; color: #374151; }
    .comp-bar-track { flex: 1; height: 10px; background: var(--bg-base); border-radius: 100px; overflow: hidden; }
    .comp-bar-fill { height: 100%; border-radius: 100px; transition: width 0.6s cubic-bezier(0.4,0,0.2,1); min-width: 4px; }
    .comp-bar-count { min-width: 36px; text-align: right; font-size: 12px; font-weight: 700; color: #6b7280; white-space: nowrap; }
    .comp-badge-new {
      background: #fef3c7; color: #d97706;
      font-size: 12px; font-weight: 800;
      padding: 1px 5px; border-radius: 4px; margin-left: 4px;
    }
    /* Heatmap */
    .heatmap-wrap { overflow-x: auto; }
    .heatmap-month-row { display: flex; gap: 2px; margin-bottom: 5px; }
    .heatmap-month-cell { width: 16px; font-size: 12px; color: var(--text-muted); flex-shrink: 0; overflow: visible; white-space: nowrap; }
    .heatmap-grid { display: flex; gap: 2px; }
    .heatmap-week { display: flex; flex-direction: column; gap: 2px; }
    .heatmap-cell {
      width: 16px; height: 16px; border-radius: 3px;
      background: var(--bg-base); cursor: default; flex-shrink: 0;
    }
    .heatmap-cell[data-count="1"] { background: var(--primary-tint-border); }
    .heatmap-cell[data-count="2"] { background: #4B8FE0; }
    .heatmap-cell[data-count="3"] { background: #1B3A6B; }
    .heatmap-cell[data-count="4+"] { background: #3730a3; }
    .heatmap-legend { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--text-muted); justify-content: flex-end; }
    .heatmap-legend-cell { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
    .heatmap-tooltip {
      position: fixed; background: var(--text-strong); color: #fff;
      font-size: 12px; font-weight: 600; padding: 6px 10px;
      border-radius: 8px; pointer-events: none; z-index: 9999;
      white-space: nowrap; display: none;
    }
    /* Progress */
    .progress-pct { font-size: 36px; font-weight: 900; color: var(--primary); margin-bottom: 8px; letter-spacing: -0.03em; }
    .progress-bar-track { height: 16px; background: var(--bg-base); border-radius: 100px; overflow: hidden; margin-bottom: 24px; }
    .progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary-light), var(--primary)); border-radius: 100px; transition: width 0.8s cubic-bezier(0.4,0,0.2,1); }
    .checklist { display: flex; flex-direction: column; gap: 8px; }
    .checklist-item {
      display: flex; align-items: center; gap: 10px;
      font-size: 13px; color: #374151; padding: 9px 12px;
      border-radius: 10px; background: #f8fafc; border: 1.5px solid var(--border);
    }
    .checklist-item.done { background: #f0fdf4; border-color: #86efac; color: #15803d; }
    .checklist-icon {
      width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 800; background: var(--border);
    }
    .checklist-item.done .checklist-icon { background: #86efac; }
    /* History */
    .history-list { display: flex; flex-direction: column; gap: 10px; }
    .history-entry { border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; }
    .history-entry-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
    .history-entry-type { background: var(--bg-tint); color: var(--primary); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
    .history-entry-date { font-size: 12px; color: var(--text-muted); font-weight: 500; }
    .history-activity-list { display: flex; flex-direction: column; gap: 4px; }
    .history-activity-item { font-size: 12px; color: var(--text-secondary); padding: 4px 8px; background: #f8fafc; border-radius: 4px; }

    /* ─── Responsive ────────────────────────────────────────── */
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; gap: 48px; }
      .hero-visual { display: none; }
      .pain-grid { grid-template-columns: 1fr; }
      .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
      .feature-row.reverse .mockup-wrapper { order: -1; }
      .steps-grid { grid-template-columns: repeat(2, 1fr); }
      .steps-grid::before { display: none; }
      .target-grid { grid-template-columns: 1fr; }
      .testi-grid { grid-template-columns: 1fr; }
      .nav-links { display: none; }
      .flow-select-cards { flex-direction: column; align-items: center; }
      .school-select-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .section { padding: 72px 0; }
      .hero { padding: 80px 0 48px; }
      .steps-grid { grid-template-columns: 1fr; }
      .cta-form { flex-direction: column; }
      .hero-stats { flex-wrap: wrap; gap: 24px; }
      .template-grid { grid-template-columns: 1fr; }
      .flow-card { width: 100%; padding: 36px 28px; }
      .flow-card-wide { padding: 28px 20px; }
      .goal-result-card { padding: 28px 20px; }
      .growth-dashboard-grid { grid-template-columns: 1fr; }
      .growth-card { padding: 22px 18px; }
      .hero-select { padding: 80px 0 60px; min-height: auto; }
      .hero-select-header { margin-bottom: 36px; }
      .hero-select-header h1 { font-size: clamp(24px, 6vw, 36px); }
      .flow-header { margin-bottom: 32px; }
      .flow-section { padding: 56px 0; }
      .onboarding-btns { flex-direction: column; }
      .onboarding-box { padding: 32px 24px 24px; }
      .school-select-grid { gap: 12px; }
      .gifted-choice-wrap { padding: 36px 0 24px; }
      .gifted-choice-header { font-size: 16px; margin-bottom: 24px; }
      .gifted-choice-card { padding: 24px 20px; }
      .science-region-section, .private-school-section { padding: 16px 18px; }
      .footer-inner { gap: 16px; }
      .footer-tagline { font-size: 13px; }
      .footer-links-row { font-size: 12px; gap: 6px; }
    }

    @media (max-width: 420px) {
      .container { padding: 0 16px; }
      .hero-select-header h1 { font-size: 22px; }
      .hero-select-header p { font-size: 15px; }
      .section-title { font-size: clamp(22px, 5vw, 32px); }
      .section-sub { font-size: 15px; }
      .flow-card { padding: 28px 20px; }
      .flow-card h3 { font-size: 18px; }
      .flow-card-icon { font-size: 36px; }
      .current-grade-card { min-width: 110px; max-width: 160px; padding: 14px 8px; font-size: 13px; }
      .act-grade-tab { font-size: 11px; padding: 4px 10px; }
      .private-school-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
      .private-school-btn { padding: 10px 12px; }
      .private-school-name { font-size: 13px; }
      .private-school-trait { font-size: 10px; }
      .science-region-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 6px; }
      .science-region-btn { padding: 10px 6px; font-size: 12px; min-height: 64px; }
      .science-region-btn span { font-size: 10px; }
      .gpa-grid { grid-template-columns: 1fr 1fr; }
      .explore-act-input { font-size: 13px; padding: 9px 12px; }
      .explore-act-desc { font-size: 12px; padding: 7px 12px; }
      .act-title-input { font-size: 13px; }
      .act-desc-input { font-size: 13px; }
      .btn-flow-analyze { font-size: 14px; padding: 14px 24px; }
      .btn-reanalyze, .btn-copy-result { font-size: 12px; padding: 8px 14px; }
      .btn-share-parent { font-size: 12px; padding: 8px 14px; }
      .btn-save-archive { font-size: 13px; padding: 10px 20px; }
      .explore-school-card { padding: 20px 16px; }
      .grade-strategy-card { padding: 18px 16px; }
      .rec-card { padding: 14px 16px; }
      .mid3-timeline-card { padding: 18px 16px; }
      .onboarding-box { width: 95%; padding: 28px 18px 20px; }
      .onboarding-title { font-size: 18px; }
      .onboarding-desc { font-size: 13px; }
    }


    .gifted-section { background: #fff; }
    .gifted-grid { display: flex; flex-direction: column; gap: 36px; margin-top: 36px; }

    /* ── 탭 네비게이션 ── */
    .gifted-tabs {
      display: flex;
      gap: 0;
      border-bottom: 2px solid var(--border);
      margin-top: 48px;
      overflow-x: auto;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }
    .gifted-tabs::-webkit-scrollbar { display: none; }
    .gifted-tab {
      padding: 12px 18px;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      margin-bottom: -2px;
      cursor: pointer;
      white-space: nowrap;
      font-family: inherit;
      transition: color 0.18s, border-color 0.18s;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .gifted-tab:hover { color: var(--primary); }
    .gifted-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
    .gifted-tab-icon { font-size: 15px; }

    /* ── 탭 패널 ── */
    .gifted-panel { display: none; padding-top: 0; margin-bottom: 0; }
    .gifted-panel.active { display: block; }
    .panel-section-divider { border: none; border-top: 2px solid var(--border); margin: 36px 0; }

    /* ── 1. 요약 카드 ── */
    .summary-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 28px;
    }
    .summary-stat-card {
      background: var(--bg-soft);
      border-radius: 16px;
      padding: 28px 24px;
      text-align: center;
      border: 1.5px solid var(--border);
    }
    .summary-stat-icon { font-size: 32px; margin-bottom: 12px; }
    .summary-stat-num {
      font-size: 40px;
      font-weight: 900;
      color: var(--primary);
      letter-spacing: -0.04em;
      line-height: 1;
      margin-bottom: 6px;
    }
    .summary-stat-unit { font-size: 16px; font-weight: 700; color: var(--primary); }
    .summary-stat-label { font-size: 14px; color: var(--text-muted); font-weight: 600; margin-top: 4px; }
    .summary-schools {
      background: var(--bg-soft);
      border-radius: 16px;
      padding: 24px 28px;
      border: 1.5px solid var(--border);
    }
    .summary-schools-title { font-size: 14px; font-weight: 800; color: var(--text-body); margin-bottom: 14px; }
    .school-chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .school-chip {
      font-size: 13px;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 100px;
      border: 1.5px solid var(--primary-tint-border);
      background: var(--bg-tint);
      color: var(--primary);
    }
    .school-chip.kaist { background: linear-gradient(135deg,#1B3A6B,#2d5499); color: #fff; border-color: transparent; }

    /* ── 2. 학교 유형 ── */
    .school-type-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .school-type-card {
      border-radius: 16px;
      padding: 28px;
      border: 1.5px solid var(--border);
    }
    .school-type-card.type-national { background: linear-gradient(135deg,var(--bg-tint),#dceaf7); border-color: var(--primary-tint-border); }
    .school-type-card.type-regional { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border-color: #a7f3d0; }
    .school-type-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
    .school-type-badge {
      font-size: 12px;
      font-weight: 800;
      padding: 4px 12px;
      border-radius: 100px;
      letter-spacing: 0.05em;
    }
    .badge-national { background: var(--primary); color: #fff; }
    .badge-regional { background: #059669; color: #fff; }
    .school-type-name { font-size: 18px; font-weight: 900; color: var(--text-strong); }
    .school-type-sub { font-size: 13px; color: var(--text-muted); font-weight: 600; }
    .school-type-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
    .school-type-list li {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 14px; color: var(--text-body); line-height: 1.6;
    }
    .type-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
    .dot-primary { background: var(--primary); }
    .dot-green   { background: #059669; }
    .school-list-names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
    .school-name-tag {
      font-size: 12px; font-weight: 700;
      padding: 4px 12px; border-radius: 100px;
    }
    .tag-primary-soft { background: var(--bg-tint); color: var(--primary); }
    .tag-green-soft   { background: var(--bg-success-tint); color: #059669; }

    /* ── 영재고 학교별 특징 카드 (8교 동등) ── */
    .gifted-school-cards-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }
    .gifted-school-card {
      background: linear-gradient(135deg, var(--bg-tint), #fff);
      border: 1.5px solid var(--primary-tint-border);
      border-radius: 14px;
      padding: 18px 20px;
      transition: transform 0.18s, box-shadow 0.18s;
    }
    .gifted-school-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(124, 58, 237, 0.12);
    }
    .gifted-school-card-name {
      font-size: 16px;
      font-weight: 900;
      color: var(--text-strong);
      margin-bottom: 4px;
    }
    .gifted-school-card-loc {
      font-size: 12px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 10px;
      letter-spacing: -0.2px;
    }
    .gifted-school-card-trait {
      font-size: 13.5px;
      color: var(--text-body);
      line-height: 1.6;
    }
    @media (max-width: 768px) {
      .gifted-school-cards-grid { grid-template-columns: 1fr; gap: 10px; }
      .gifted-school-card { padding: 14px 16px; }
      .gifted-school-card-name { font-size: 15px; }
      .gifted-school-card-trait { font-size: 13px; }
    }

    /* ── 3. 경쟁률 차트 ── */
    .competition-chart-wrap {
      background: var(--bg-soft);
      border-radius: 16px;
      padding: 28px;
      border: 1.5px solid var(--border);
      margin-bottom: 20px;
    }
    .competition-chart-title { font-size: 15px; font-weight: 800; color: var(--text-strong); margin-bottom: 4px; }
    .competition-chart-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
    #competitionChart { max-height: 320px; }
    .competition-note {
      background: var(--bg-warning-tint);
      border: 1.5px solid #fde68a;
      border-radius: 10px;
      padding: 14px 18px;
      font-size: 13px;
      color: #92400e;
      font-weight: 600;
    }

    /* ── 4. 전형 절차 ── */
    .process-steps {
      display: grid;
      grid-template-columns: 1fr 40px 1fr 40px 1fr;
      align-items: start;
      gap: 0;
      margin-bottom: 28px;
    }
    .process-step {
      background: var(--bg-soft);
      border-radius: 16px;
      padding: 28px 24px;
      border: 1.5px solid var(--border);
      text-align: center;
    }
    .process-step.step-1 { border-top: 4px solid var(--primary); }
    .process-step.step-2 { border-top: 4px solid var(--accent); }
    .process-step.step-3 { border-top: 4px solid var(--success); }
    .process-arrow {
      display: flex; align-items: center; justify-content: center;
      padding-top: 60px; font-size: 22px; color: var(--text-hint);
    }
    .process-num {
      font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
      margin-bottom: 10px;
    }
    .process-num-1 { color: var(--primary); }
    .process-num-2 { color: var(--accent); }
    .process-num-3 { color: var(--success); }
    .process-icon { font-size: 36px; margin-bottom: 12px; }
    .process-name { font-size: 17px; font-weight: 900; color: var(--text-strong); margin-bottom: 8px; }
    .process-period {
      font-size: 12px; font-weight: 700;
      padding: 4px 12px; border-radius: 100px;
      display: inline-block; margin-bottom: 14px;
    }
    .period-1 { background: var(--bg-tint); color: var(--primary); }
    .period-2 { background: #ecfeff; color: #0891b2; }
    .period-3 { background: var(--bg-success-tint); color: #059669; }
    .process-items { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 8px; }
    .process-items li { font-size: 13px; color: var(--text-secondary); display: flex; gap: 8px; align-items: flex-start; }
    .process-items li::before { content: '·'; font-weight: 900; flex-shrink: 0; }
    .process-tip {
      background: linear-gradient(135deg,var(--bg-tint),#e0f2fe);
      border-radius: 16px;
      padding: 20px 24px;
      font-size: 14px;
      color: var(--text-body);
      line-height: 1.7;
      border: 1.5px solid var(--primary-tint-border);
    }
    .process-tip strong { color: var(--primary); }

    /* ── 5. 연간 일정 ── */
    .timeline-wrap {
      position: relative;
      padding-left: 32px;
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .timeline-wrap::before {
      content: '';
      position: absolute;
      left: 10px; top: 12px; bottom: 12px;
      width: 2px;
      background: linear-gradient(to bottom, var(--primary), var(--accent), var(--success));
    }
    .timeline-item {
      position: relative;
      padding-bottom: 28px;
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-dot {
      position: absolute;
      left: -26px;
      top: 4px;
      width: 20px; height: 20px;
      border-radius: 50%;
      border: 3px solid #fff;
      box-shadow: 0 0 0 2px currentColor;
      display: flex; align-items: center; justify-content: center;
    }
    .tdot-primary { color: var(--primary); background: var(--primary); }
    .tdot-accent  { color: var(--accent);  background: var(--accent); }
    .tdot-amber   { color: var(--accent2); background: var(--accent2); }
    .tdot-green   { color: var(--success); background: var(--success); }
    .tdot-gray    { color: var(--text-hint); background: var(--text-hint); }
    .timeline-month {
      font-size: 13px; font-weight: 800; color: var(--primary);
      letter-spacing: 0.05em; margin-bottom: 4px;
    }
    .timeline-event-title { font-size: 16px; font-weight: 800; color: var(--text-strong); margin-bottom: 6px; }
    .timeline-event-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
    .timeline-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .tl-tag {
      font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
    }
    .tl-tag-blue   { background: var(--bg-tint); color: var(--primary); }
    .tl-tag-cyan   { background: #ecfeff; color: #0891b2; }
    .tl-tag-amber  { background: var(--bg-warning-tint); color: #b45309; }
    .tl-tag-green  { background: var(--bg-success-tint); color: #059669; }
    .tl-tag-gray   { background: var(--bg-base); color: var(--text-secondary); }

    /* ── 6. 학부모 주의사항 ── */
    .caution-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }
    .caution-card {
      border-radius: 16px;
      padding: 24px;
      border: 1.5px solid var(--border);
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .caution-card.caution-blue   { background: var(--bg-tint); border-color: var(--primary-tint-border); }
    .caution-card.caution-amber  { background: var(--bg-warning-tint); border-color: #fde68a; }
    .caution-card.caution-red    { background: #fff5f5; border-color: #fecaca; }
    .caution-card.caution-green  { background: var(--bg-success-tint); border-color: #a7f3d0; }
    .caution-num {
      width: 36px; height: 36px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; font-weight: 900; flex-shrink: 0;
    }
    .num-blue  { background: var(--primary); color: #fff; }
    .num-amber { background: var(--accent2); color: #fff; }
    .num-red   { background: #ef4444; color: #fff; }
    .num-green { background: var(--success); color: #fff; }
    .caution-title { font-size: 15px; font-weight: 800; color: var(--text-strong); margin-bottom: 6px; }
    .caution-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
    .caution-desc strong { color: var(--text-strong); }

    /* ── 7. 준비 로드맵 ── */
    .roadmap-gifted {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .rm-gifted-row {
      display: grid;
      grid-template-columns: 120px 1fr;
      gap: 0;
      align-items: stretch;
    }
    .rm-gifted-stage {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px 12px;
      border-radius: 14px 0 0 14px;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.4;
    }
    .stage-elem  { background: var(--bg-success-tint); color: #059669; }
    .stage-mid1  { background: var(--bg-tint); color: var(--primary); }
    .stage-mid2  { background: #dceaf7; color: var(--primary-dark); }
    .stage-mid3  { background: #ede9fe; color: #7c3aed; }
    .rm-gifted-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      padding: 10px 10px 10px 12px;
      background: var(--bg-soft);
      border-radius: 0 14px 14px 0;
      border: 1.5px solid var(--border);
      border-left: none;
    }
    .rm-gifted-card {
      background: #fff;
      border-radius: 10px;
      padding: 14px;
      border: 1.5px solid var(--border);
    }
    .rm-gifted-card-label {
      font-size: 12px; font-weight: 800; letter-spacing: 0.05em;
      margin-bottom: 6px;
    }
    .rm-gifted-card-label.lbl-blue   { color: var(--primary); }
    .rm-gifted-card-label.lbl-cyan   { color: #0891b2; }
    .rm-gifted-card-label.lbl-green  { color: #059669; }
    .rm-gifted-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
    .roadmap-gifted-connector {
      height: 16px;
      display: flex; align-items: center; justify-content: center;
    }
    .roadmap-gifted-connector::before {
      content: '';
      display: block;
      width: 2px; height: 100%;
      background: linear-gradient(to bottom, var(--primary-tint-border), #a5f3fc);
      margin-left: 59px;
    }

    /* 기존 자소서 스타일 유지 */

    /* 자소서 항목 카드 */
    .sopa-card {
      background: var(--bg-soft);
      border-radius: 20px;
      border: 1.5px solid var(--border);
      overflow: hidden;
    }
    .sopa-table { width: 100%; border-collapse: collapse; }
    .sopa-table th {
      background: var(--primary);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      padding: 13px 18px;
      text-align: left;
      letter-spacing: 0.03em;
    }
    .sopa-table th:first-child { border-radius: 0; width: 52px; text-align: center; }
    .sopa-table td {
      padding: 14px 18px;
      font-size: 14px;
      color: var(--text-body);
      vertical-align: top;
      border-bottom: 1px solid var(--border);
      line-height: 1.65;
    }
    .sopa-table tr:last-child td { border-bottom: none; }
    .sopa-table tr:nth-child(even) td { background: rgba(27,58,107,0.02); }
    .sopa-num {
      font-size: 16px;
      font-weight: 900;
      color: var(--primary);
      text-align: center;
    }
    .sopa-name { font-weight: 800; font-size: 14px; color: var(--text-strong); white-space: nowrap; }
    .sopa-comp-tags { display: flex; flex-wrap: wrap; gap: 5px; }
    .sopa-tag {
      font-size: 12px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 100px;
    }
    .sopa-tag-major      { background: var(--bg-tint); color: var(--primary); }
    .sopa-tag-inquiry    { background: var(--bg-success-tint); color: #059669; }
    .sopa-tag-self       { background: #ecfeff; color: #0891b2; }
    .sopa-tag-collab     { background: #fdf4ff; color: #9333ea; }
    .sopa-tag-creativity { background: var(--bg-warning-tint); color: #b45309; }
    .sopa-keywords { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
    .sopa-keywords span { color: var(--text-body); font-weight: 600; }
    .sopa-scope-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 100px;
      white-space: nowrap;
    }
    .badge-common { background: var(--bg-success-tint); color: #059669; }
    .badge-partial { background: var(--bg-warning-tint); color: #b45309; }

    /* 금지 항목 경고 박스 */
    .warning-box {
      background: #fff5f5;
      border: 1.5px solid #fecaca;
      border-radius: 16px;
      padding: 28px 32px;
    }
    .warning-box-title {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      font-weight: 800;
      color: #dc2626;
      margin-bottom: 16px;
    }
    .warning-icon {
      width: 32px; height: 32px;
      background: #fee2e2;
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
    }
    .warning-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      list-style: none;
    }
    .warning-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      color: #7f1d1d;
      font-weight: 600;
      line-height: 1.5;
    }
    .warn-dot {
      width: 6px; height: 6px;
      background: #ef4444;
      border-radius: 50%;
      flex-shrink: 0;
      margin-top: 6px;
    }
    /* ── 추천 도서 패널 ── */
    .book-filters { margin-bottom: 20px; }
    .book-filter-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
    .book-filter-btn {
      font-size: 12px; font-weight: 700; padding: 6px 14px;
      border-radius: 100px; border: 1.5px solid var(--border);
      background: #fff; color: var(--text-muted);
      cursor: pointer; transition: all 0.15s;
    }
    .book-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
    .book-filter-btn.grade-active { background: #e0f2fe; border-color: #38bdf8; color: #0369a1; }
    .book-filter-btn.cat-active { background: var(--bg-tint); border-color: var(--primary); color: var(--primary); }
    .book-count { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-bottom: 16px; }
    .book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .book-card {
      background: #fff; border: 1.5px solid var(--border);
      border-radius: 16px; padding: 16px;
      display: flex; flex-direction: column; gap: 10px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .book-card:hover { border-color: #a5b4fc; box-shadow: 0 2px 12px rgba(27,58,107,0.06); }
    .book-card.hidden { display: none; }
    .book-card-header { display: flex; gap: 12px; align-items: flex-start; }
    .book-icon-circle {
      width: 40px; height: 40px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; flex-shrink: 0;
    }
    .book-icon-wrap.cat-수학 { background: #EFF6FF !important; color: #2563EB !important; }
    .book-icon-wrap.cat-과학 { background: #F0FDF4 !important; color: #16A34A !important; }
    .book-icon-wrap.cat-융합 { background: #F5F3FF !important; color: #7C3AED !important; }
    .book-icon-wrap.cat-탐구 { background: #FFF7ED !important; color: #EA580C !important; }
    .book-info { flex: 1; min-width: 0; }
    .book-title { font-size: 14px; font-weight: 800; color: var(--text-strong); line-height: 1.4; margin-bottom: 2px; }
    .book-author { font-size: 12px; color: var(--text-muted); }
    .book-intro { font-size: 13px; color: #374151; line-height: 1.65; }
    .book-tip-toggle {
      font-size: 12px; font-weight: 700; color: var(--primary);
      background: none; border: none; cursor: pointer; padding: 0;
      display: flex; align-items: center; gap: 4px;
    }
    .book-tip-chevron { font-size: 12px; transition: transform 0.2s; }
    .book-tip-toggle.open .book-tip-chevron { transform: rotate(180deg); }
    .book-tip-body {
      display: none; background: #f0fdf4;
      border-left: 3px solid #22c55e; padding: 10px 12px;
      border-radius: 0 8px 8px 0; font-size: 12px; color: #166534; line-height: 1.7;
    }
    .book-tip-body.open { display: block; }
    .book-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; }
    .book-badge { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 100px; }
    .book-badge-입문 { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
    .book-badge-중급 { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
    .book-badge-심화 { background: #ffe4e6; color: #9f1239; border: 1px solid #fecdd3; }
    .book-badge-grade { background: var(--bg-tint); color: var(--primary); border: 1px solid var(--primary-tint-border); }
    @media (max-width: 600px) { .book-grid { grid-template-columns: 1fr; } }
    /* ── Career 레이아웃 ── */
    .career-layout {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 0;
      margin-top: 48px;
      align-items: start;
      border: 1.5px solid var(--border);
      border-radius: 20px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }
    .career-nav {
      background: var(--bg-soft);
      border-right: 1.5px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 0;
      padding: 16px 12px;
      min-height: 540px;
    }
    .career-nav-label {
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.12em;
      color: var(--text-hint);
      padding: 6px 10px 10px;
      text-transform: uppercase;
    }
    .career-tab {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 13px 14px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      color: var(--text-muted);
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      font-family: inherit;
      transition: all 0.18s;
      position: relative;
      width: 100%;
    }
    .career-tab:hover { background: rgba(27,58,107,0.05); color: var(--primary); }
    .career-tab.active { background: var(--primary); color: #fff; }
    .career-tab-icon { font-size: 17px; flex-shrink: 0; }
    .career-tab-badge {
      font-size: 12px;
      font-weight: 800;
      padding: 2px 7px;
      border-radius: 100px;
      margin-left: auto;
      flex-shrink: 0;
    }
    .career-tab.active .career-tab-badge { background: rgba(255,255,255,0.25); color: #fff; }
    .career-tab:not(.active) .career-tab-badge { background: var(--border); color: #64748b; }
    .career-tab-divider {
      height: 1px;
      background: var(--border);
      margin: 8px 0;
    }

    /* career 콘텐츠 패널 */
    .career-content { flex: 1; min-width: 0; }
    .career-panel { display: none; }
    .career-panel.active { display: block; }

    /* 영재고 내부 패널: container padding 제거 */
    .career-panel .gifted-inner {
      padding: 32px 36px 36px;
    }
    /* 기존 gifted-tabs 마진 조정 */
    .career-panel .gifted-tabs { margin-top: 24px; }

    /* 준비 중 화면 */
    .coming-soon-panel {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 80px 40px;
      text-align: center;
      min-height: 400px;
    }
    .coming-soon-icon {
      width: 72px; height: 72px;
      background: var(--bg-soft);
      border-radius: 20px;
      display: flex; align-items: center; justify-content: center;
      font-size: 34px;
      margin-bottom: 20px;
    }
    .coming-soon-title {
      font-size: 20px;
      font-weight: 800;
      color: var(--text-strong);
      margin-bottom: 8px;
    }
    .coming-soon-sub {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      max-width: 320px;
      margin: 0 auto 24px;
    }
    .coming-soon-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 700;
      padding: 8px 16px;
      border-radius: 100px;
      background: var(--bg-tint);
      color: var(--primary);
    }

    @media (max-width: 860px) {
      .process-steps { grid-template-columns: 1fr; }
      .process-arrow { display: none; }
      .rm-gifted-cards { grid-template-columns: 1fr 1fr; }
      .rm-gifted-row { grid-template-columns: 90px 1fr; }
      .career-layout { grid-template-columns: 1fr; }
      .career-nav {
        flex-direction: row;
        flex-wrap: wrap;
        min-height: auto;
        border-right: none;
        border-bottom: 1.5px solid var(--border);
        padding: 12px;
        gap: 6px;
      }
      .career-nav-label { display: none; }
      .career-tab-divider { display: none; }
      .career-tab { width: auto; padding: 10px 14px; }
      .career-panel .gifted-inner { padding: 24px 20px; }
    }
    @media (max-width: 700px) {
      .warning-list { grid-template-columns: 1fr; }
      .sopa-table th, .sopa-table td { padding: 10px 12px; font-size: 13px; }
      .summary-stats { grid-template-columns: 1fr; }
      .school-type-grid { grid-template-columns: 1fr; }
      .caution-grid { grid-template-columns: 1fr; }
      .rm-gifted-cards { grid-template-columns: 1fr; }
      .rm-gifted-row { grid-template-columns: 1fr; }
      .rm-gifted-stage { border-radius: 14px 14px 0 0; padding: 14px; writing-mode: horizontal-tb; }
      .rm-gifted-cards { border-radius: 0 0 14px 14px; border: 1.5px solid var(--border); border-top: none; padding-left: 10px; }
      .gifted-tab { padding: 10px 12px; font-size: 12px; }
      .career-panel .gifted-inner { padding: 16px; }
      .coming-soon-panel { padding: 60px 24px; }
    }
    .gifted-section-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
      padding-bottom: 14px;
      border-bottom: 2px solid var(--border);
    }
    .gifted-section-num {
      font-size: 12px;
      font-weight: 800;
      color: var(--primary);
      background: var(--bg-tint);
      padding: 3px 10px;
      border-radius: 100px;
      letter-spacing: 0.08em;
    }
    .gifted-section-name {
      font-size: 17px;
      font-weight: 800;
      color: var(--text-strong);
      letter-spacing: -0.01em;
    }

    /* ─── 분석 근거 표시 ──────────────────────────────────────── */
    .result-evidence-wrap {
      background: #f0f4ff; border: 1px solid var(--primary-tint-border);
      border-radius: 10px; padding: 10px 14px; margin-top: 10px;
    }
    .result-evidence-label {
      font-size: 12px; font-weight: 800; color: var(--primary);
      letter-spacing: 0.06em; margin-bottom: 6px;
    }
    .result-evidence-item {
      font-size: 12px; color: #3730a3; line-height: 1.7;
      padding: 2px 0;
    }
    .result-evidence-item::before { content: '• '; }
    .result-evidence-basis {
      font-size: 12px; color: #6366f1;
      background: var(--bg-tint); border-radius: 4px;
      padding: 4px 10px; margin-top: 4px;
      line-height: 1.6;
    }

    /* ─── 영재고 선택 후 선택지 ───────────────────────────────── */
    .gifted-choice-wrap {
      max-width: 800px; margin: 0 auto;
      padding: 48px 0 32px;
    }
    .gifted-choice-header {
      font-size: 18px; font-weight: 700; color: var(--text-strong);
      text-align: center; margin-bottom: 32px; line-height: 1.6;
    }
    .gifted-choice-school {
      color: var(--primary); font-weight: 900;
    }
    .gifted-choice-cards {
      display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    }
    .gifted-choice-card {
      display: flex; flex-direction: column; align-items: center;
      gap: 12px; padding: 32px 28px;
      background: #fff; border: 2px solid var(--border);
      border-radius: 20px; cursor: pointer; font-family: inherit;
      transition: all 0.2s; text-align: center;
    }
    .gifted-choice-card:hover {
      border-color: var(--primary-light);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(27,58,107,0.08);
    }
    .gifted-choice-card-primary {
      background: var(--primary); border-color: var(--primary);
      color: #fff;
    }
    .gifted-choice-card-primary:hover {
      background: var(--primary-dark); border-color: var(--primary-dark);
      box-shadow: 0 8px 24px rgba(27,58,107,0.30);
    }
    .gifted-choice-icon { font-size: 36px; }
    .gifted-choice-title {
      font-size: 17px; font-weight: 800; color: var(--text-strong);
      letter-spacing: -0.01em;
    }
    .gifted-choice-card-primary .gifted-choice-title { color: #fff; }
    .gifted-choice-desc {
      font-size: 13px; color: var(--text-muted); line-height: 1.7;
    }
    .gifted-choice-card-primary .gifted-choice-desc { color: rgba(255,255,255,0.85); }
    @media (max-width: 600px) {
      .gifted-choice-cards { grid-template-columns: 1fr; }
    }

    /* ─── 저장 후 대시보드 안내 ──────────────────────────────── */
    .after-save-guide {
      display: flex; flex-direction: column; align-items: center;
      gap: 10px; text-align: center;
      background: #f0fdf4; border: 1.5px solid #86efac;
      border-radius: 16px; padding: 28px 24px; margin-top: 20px;
      animation: fadeInUp 0.4s ease;
    }
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .after-save-icon { font-size: 32px; }
    .after-save-title {
      font-size: 16px; font-weight: 800; color: #15803d;
    }
    .after-save-desc {
      font-size: 13px; color: #166534; line-height: 1.6;
    }
    .btn-go-dashboard {
      display: inline-flex; align-items: center; gap: 8px;
      background: #15803d; color: #fff;
      font-size: 15px; font-weight: 700;
      padding: 12px 24px; border-radius: 10px;
      text-decoration: none; margin-top: 4px;
      transition: all 0.2s;
      box-shadow: 0 4px 14px rgba(21,128,61,0.3);
    }
    .btn-go-dashboard:hover {
      background: #166534; transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(21,128,61,0.35);
    }

    /* ─── 대시보드 활동 가져오기 배너 ────────────────────────── */
    .import-banner {
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px; flex-wrap: wrap;
      background: var(--bg-tint); border: 1.5px solid var(--primary-tint-border);
      border-radius: 16px; padding: 16px 20px; margin-bottom: 20px;
    }
    .import-banner-left { display: flex; align-items: center; gap: 12px; flex: 1; }
    .import-banner-icon { font-size: 24px; flex-shrink: 0; }
    .import-banner-title { font-size: 14px; font-weight: 700; color: var(--text-strong); margin-bottom: 3px; }
    .import-banner-desc { font-size: 12px; color: var(--text-muted); }
    .btn-import-acts {
      background: var(--primary); color: #fff;
      font-size: 13px; font-weight: 700; font-family: inherit;
      padding: 10px 18px; border-radius: 10px; border: none;
      cursor: pointer; white-space: nowrap;
      transition: all 0.2s; box-shadow: 0 3px 10px rgba(27,58,107,0.20);
    }
    .btn-import-acts:hover { background: var(--primary-dark); transform: translateY(-1px); }
    .import-success {
      background: var(--bg-success-tint); border: 1.5px solid #86efac;
      border-radius: 10px; padding: 12px 18px;
      font-size: 13px; font-weight: 600; color: #15803d;
      margin-bottom: 20px;
    }

    /* ─── 재방문 사용자 배너 ──────────────────────────────────── */
    .returning-banner {
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px; flex-wrap: wrap;
      background: #fff; border: 2px solid var(--primary-tint-border);
      border-radius: 16px; padding: 18px 24px;
      margin-bottom: 32px;
      box-shadow: 0 4px 16px rgba(27,58,107,0.06);
      animation: fadeInDown 0.4s ease;
    }
    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-8px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .returning-banner-left { display: flex; align-items: center; gap: 14px; flex: 1; }
    .returning-banner-icon { font-size: 28px; flex-shrink: 0; }
    .returning-banner-title {
      font-size: 15px; font-weight: 800; color: var(--text-strong); margin-bottom: 3px;
    }
    .returning-banner-desc { font-size: 13px; color: var(--text-muted); }
    .btn-returning-dashboard {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--primary); color: #fff;
      font-size: 14px; font-weight: 700;
      padding: 11px 20px; border-radius: 10px;
      text-decoration: none; white-space: nowrap;
      transition: all 0.2s;
      box-shadow: 0 3px 12px rgba(27,58,107,0.25);
    }
    .btn-returning-dashboard:hover {
      background: var(--primary-dark); transform: translateY(-1px);
    }

/* ================================================================
   스콜라맵 신규 기능 스타일 (과학고 지역 선택 / 내신 입력 / 중3 타임라인)
================================================================ */

/* ── 과학고 지역 선택 ───────────────────────────────────────── */
.science-region-section {
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.science-region-label {
  font-size: 14px;
  font-weight: 800;
  color: #0369a1;
  margin-bottom: 4px;
}
.science-region-desc {
  font-size: 12px;
  color: #0891b2;
  margin-bottom: 16px;
}
.science-region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.science-region-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 8px;
  min-height: 78px;
  border: 1.5px solid #99f6e4;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #115e59;
  cursor: pointer;
  transition: all 0.18s;
  line-height: 1.3;
}
.science-region-btn span {
  font-size: 10px;
  font-weight: 500;
  color: #0f766e;
  text-align: center;
}
.science-region-btn:hover {
  border-color: #0891b2;
  background: #e0f2fe;
  transform: translateY(-1px);
}
.science-region-btn.selected {
  border-color: #0891b2;
  background: #0891b2;
  color: #fff;
  box-shadow: 0 4px 14px rgba(8,145,178,0.3);
}
.science-region-btn.selected span {
  color: rgba(255,255,255,0.85);
}
.science-region-selected {
  font-size: 13px;
  font-weight: 700;
  color: #0891b2;
  padding: 8px 12px;
  background: #e0f2fe;
  border-radius: 8px;
  display: inline-block;
}

/* ── 내신 등급 입력 ─────────────────────────────────────────── */
.gpa-section-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gpa-badge {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 2px 8px;
  border-radius: 20px;
}
.gpa-section-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
#goal-gpa-section {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
}
.gpa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.gpa-field-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}
.gpa-select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.gpa-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.10);
}
.gpa-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 중3 자소서 타임라인 ────────────────────────────────────── */
#goal-mid3-timeline {
  margin-bottom: 24px;
}
.mid3-timeline-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
  border: 1.5px solid #fde68a;
  border-radius: 16px;
  padding: 24px 28px;
}
.mid3-timeline-title {
  font-size: 15px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 4px;
}
.mid3-timeline-sub {
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
  margin-bottom: 20px;
  padding: 3px 10px;
  background: rgba(251,191,36,0.3);
  border-radius: 20px;
  display: inline-block;
}
.mid3-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.mid3-timeline-list::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, #f59e0b, #fbbf24, #fde68a);
  border-radius: 2px;
}
.mid3-tl-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  position: relative;
}
.mid3-tl-item:last-child {
  padding-bottom: 0;
}
.mid3-tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #f59e0b;
  z-index: 1;
  margin-top: 1px;
}
.mid3-dot-1 { background: #f59e0b; }
.mid3-dot-2 { background: #d97706; }
.mid3-dot-3 { background: #b45309; }
.mid3-dot-4 { background: #92400e; }
.mid3-tl-content { flex: 1; }
.mid3-tl-month {
  font-size: 11px;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.mid3-tl-title {
  font-size: 14px;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 4px;
}
.mid3-tl-desc {
  font-size: 12px;
  color: #92400e;
  line-height: 1.65;
}
.mid3-timeline-notice {
  font-size: 11px;
  color: #b45309;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #fde68a;
  line-height: 1.5;
}

/* ── 자사고 세부 학교 선택 ──────────────────────────────────── */
.private-school-section {
  background: #faf5ff;
  border: 1.5px solid #e9d5ff;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.private-school-label {
  font-size: 14px;
  font-weight: 800;
  color: #6d28d9;
  margin-bottom: 4px;
}
.private-school-desc {
  font-size: 12px;
  color: #7c3aed;
  margin-bottom: 16px;
  line-height: 1.6;
}
.private-school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.private-school-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border: 1.5px solid #e9d5ff;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s;
}
.private-school-btn:hover {
  border-color: #7c3aed;
  background: #f5f3ff;
  transform: translateY(-1px);
}
.private-school-btn.selected {
  border-color: #7c3aed;
  background: #7c3aed;
  box-shadow: 0 4px 14px rgba(124,58,237,0.28);
}
.private-school-name {
  font-size: 14px;
  font-weight: 800;
  color: #4c1d95;
  line-height: 1.2;
}
.private-school-trait {
  font-size: 11px;
  font-weight: 500;
  color: #6d28d9;
  line-height: 1.4;
}
.private-school-btn.selected .private-school-name,
.private-school-btn.selected .private-school-trait {
  color: #fff;
}

/* ── 과학고 학교 선택 UI (영재고 구조 동일, 색상만 청록 teal) ── */
.science-school-section {
  background: #f0fdfa;
  border: 1.5px solid #99f6e4;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.science-school-label {
  font-size: 14px;
  font-weight: 800;
  color: #0f766e;
}
.science-school-desc {
  font-size: 12px;
  color: #0d9488;
  line-height: 1.6;
}
.science-school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.science-school-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border: 1.5px solid #99f6e4;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s;
}
.science-school-btn:hover {
  border-color: #0d9488;
  background: #f0fdfa;
  transform: translateY(-1px);
}
.science-school-btn.selected {
  border-color: #0d9488;
  background: #0d9488;
  box-shadow: 0 4px 14px rgba(13,148,136,0.28);
}
.science-school-name {
  font-size: 14px;
  font-weight: 800;
  color: #115e59;
  line-height: 1.2;
}
.science-school-trait {
  font-size: 11px;
  font-weight: 500;
  color: #0f766e;
  line-height: 1.4;
}
.science-school-btn.selected .science-school-name,
.science-school-btn.selected .science-school-trait {
  color: #fff;
}
/* 준비 중(비활성) 학교 버튼 */
.science-school-btn.disabled {
  background: #f8f9fa;
  border-color: #e5e7eb;
  cursor: default;
  opacity: 0.7;
}
.science-school-btn.disabled:hover {
  transform: none;
  border-color: #e5e7eb;
  background: #f8f9fa;
}
.science-school-btn.disabled .science-school-name {
  color: #9ca3af;
}
/* 과학고 지역 그룹 라벨 (이용 가능 / 순차 오픈 예정) */
.science-region-group-label {
  font-size: 13px;
  font-weight: 700;
  color: #0f766e;
  margin: 4px 0 10px;
}
.science-region-group-label-muted {
  color: #9ca3af;
  margin-top: 18px;
}
/* 과학고 지역 버튼 - 준비 중(비활성) 회색 처리 */
.science-region-btn.disabled {
  background: #f8f9fa;
  border-color: #e5e7eb;
  cursor: default;
  opacity: 0.65;
  color: #9ca3af;
}
.science-region-btn.disabled:hover {
  transform: none;
  border-color: #e5e7eb;
  background: #f8f9fa;
}
.science-region-btn.disabled span {
  color: #9ca3af;
}

.private-school-selected {
  font-size: 13px;
  font-weight: 700;
  color: #7c3aed;
  padding: 8px 14px;
  background: #ede9fe;
  border-radius: 8px;
  display: inline-block;
}

/* ── ⑥ 탐색형 내신 입력 토글 ──────────────────────────────── */
.explore-gpa-toggle-wrap {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  margin: 16px 0;
  overflow: hidden;
}
.explore-gpa-toggle-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  background: #f8fafc;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
  text-align: left;
  transition: background 0.15s;
}
.explore-gpa-toggle-btn:hover { background: #f1f5f9; }
.explore-gpa-optional {
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}
.explore-gpa-chevron {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.explore-gpa-desc {
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 18px 10px;
  background: #f8fafc;
  line-height: 1.5;
}
#explore-gpa-body {
  padding: 0 18px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}


/* ── 유료 블러 맛보기 ── */
.premium-preview-wrap {
  margin: 24px 0 0;
  background: var(--bg-card, #fff);
  border: 1.5px dashed #c4b5fd;
  border-radius: 16px;
  padding: 24px;
  position: relative;
}
.premium-preview-header {
  font-size: 15px;
  font-weight: 800;
  color: #7c3aed;
  margin-bottom: 16px;
  text-align: center;
}
.premium-preview-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.premium-preview-card {
  background: #faf5ff;
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid #ede9fe;
}
.premium-card-label {
  font-size: 13px;
  font-weight: 700;
  color: #6d28d9;
  margin-bottom: 8px;
}
.premium-card-teaser {
  font-size: 13px;
  color: #1a1a2e;
  line-height: 1.6;
  margin-bottom: 8px;
}
.premium-card-blur {
  font-size: 12px;
  color: #8b5cf6;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(250,245,255,0) 0%, rgba(237,233,254,0.95) 40%);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  position: relative;
}
@media (max-width:480px) {
  .premium-preview-wrap { padding: 16px; }
  .premium-preview-card { padding: 12px 14px; }
}


/* ═══════════════════════════════════════════════════════════════
   영재고 진단 결과 V2 렌더링 — 9개 필드 시각화
   Added: 2026-04-20 (Phase 4 재설계)
   ═══════════════════════════════════════════════════════════════ */

/* 공통 섹션 타이틀 */
.v2-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong, #111827);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

/* ────────────────────────────────────────────────
   1. activity_reading — 활동 읽어내기 카드
   ──────────────────────────────────────────────── */
.v2-reading-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.v2-reading-title {
  font-size: 14px;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.v2-reading-text {
  font-size: 16px;
  line-height: 1.75;
  color: #0c4a6e;
}

/* ────────────────────────────────────────────────
   2. signals_detected — 시그널 감지
   ──────────────────────────────────────────────── */
.v2-signals-group {
  margin-bottom: 28px;
}
.v2-signals-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v2-signal-card {
  border-radius: 12px;
  padding: 14px 16px;
  border-left: 4px solid transparent;
}
.v2-signal-positive {
  background: #f0fdf4;
  border-left-color: #16a34a;
}
.v2-signal-caution {
  background: #fffbeb;
  border-left-color: #f59e0b;
}
.v2-signal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.v2-signal-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}
.v2-signal-badge-positive {
  background: #16a34a;
  color: #fff;
}
.v2-signal-badge-caution {
  background: #f59e0b;
  color: #fff;
}
.v2-signal-name {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.v2-signal-evidence {
  font-size: 14.5px;
  color: #4b5563;
  margin: 6px 0 4px;
  line-height: 1.6;
}
.v2-signal-interp {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  margin-top: 6px;
}

/* ────────────────────────────────────────────────
   3. school_matching — 학교 매칭
   ──────────────────────────────────────────────── */
.v2-matching-group {
  margin-bottom: 28px;
}
.v2-matching-primary {
  background: #fff;
  border: 2px solid var(--primary, #6366f1);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.v2-matching-school-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary, #6366f1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.v2-matching-school-name {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.v2-matching-analysis {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e5e7eb;
}
.v2-matching-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) {
  .v2-matching-cols {
    grid-template-columns: 1fr;
  }
}
.v2-matching-col {
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px 14px;
}
.v2-matching-col-strength {
  background: #f0fdf4;
}
.v2-matching-col-gap {
  background: #fef3c7;
}
.v2-matching-col-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.v2-matching-col-strength .v2-matching-col-title {
  color: #166534;
}
.v2-matching-col-gap .v2-matching-col-title {
  color: #92400e;
}
.v2-matching-item {
  font-size: 14.5px;
  line-height: 1.65;
  padding: 4px 0;
  color: #1f2937;
}

/* also_consider */
.v2-matching-alts {
  background: #fafaf9;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px dashed #d6d3d1;
}
.v2-matching-alts-title {
  font-size: 14px;
  font-weight: 700;
  color: #57534e;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.v2-matching-alt-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid #e7e5e4;
}
.v2-matching-alt-card:last-child {
  margin-bottom: 0;
}
.v2-matching-alt-school {
  font-size: 15.5px;
  font-weight: 700;
  color: #44403c;
  margin-bottom: 4px;
}
.v2-matching-alt-why {
  font-size: 14.5px;
  line-height: 1.65;
  color: #44403c;
  margin-bottom: 6px;
}
.v2-matching-alt-caveat {
  font-size: 13px;
  line-height: 1.55;
  color: #78716c;
  font-style: italic;
  padding-top: 6px;
  border-top: 1px dashed #e7e5e4;
}

/* ────────────────────────────────────────────────
   4. qhel_coaching — QHEL 코칭
   ──────────────────────────────────────────────── */
.v2-qhel-group {
  background: #fafafa;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.v2-qhel-target {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.v2-qhel-target-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.v2-qhel-target-activity {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.v2-qhel-reason {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 14px;
  padding: 0 4px;
}

/* 4단계 상태 진단 */
.v2-qhel-states {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.v2-qhel-state-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid transparent;
}
@media (max-width: 640px) {
  .v2-qhel-state-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.v2-qhel-q { border-left-color: #3b82f6; }
.v2-qhel-h { border-left-color: #8b5cf6; }
.v2-qhel-e { border-left-color: #f97316; }
.v2-qhel-l { border-left-color: #10b981; }
.v2-qhel-priority {
  background: #fef3c7 !important;
  box-shadow: 0 0 0 2px #fbbf24;
}
.v2-qhel-state-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}
.v2-qhel-state-text {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.65;
}

/* 우선 보강 액션 */
.v2-qhel-action {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 12px 14px;
}
.v2-qhel-action-title {
  font-size: 15px;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 6px;
}
.v2-qhel-action-text {
  font-size: 15px;
  line-height: 1.7;
  color: #7c2d12;
}

/* ────────────────────────────────────────────────
   5. sample_writing — 자소서 샘플
   ──────────────────────────────────────────────── */
.v2-sample-group {
  margin-bottom: 28px;
}
.v2-sample-format {
  display: inline-block;
  font-size: 14px;
  color: #4b5563;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.v2-sample-basis {
  font-size: 14.5px;
  color: #6b7280;
  margin-bottom: 12px;
}
.v2-sample-basis strong {
  color: #111827;
}
.v2-sample-box {
  background: #fefce8;
  border: 1px solid #fde047;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.v2-sample-text {
  font-size: 16px;
  line-height: 1.9;
  color: #422006;
  white-space: pre-wrap;
  word-break: keep-all;
}

/* 구조 분해 (Q/H/E/L) */
.v2-sample-breakdown {
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px 14px;
}
.v2-sample-breakdown-title {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 10px;
}
.v2-sample-breakdown-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 6px 10px;
  margin-bottom: 4px;
  background: #fff;
  border-radius: 8px;
  border-left: 3px solid transparent;
}
.v2-sample-breakdown-row:last-child {
  margin-bottom: 0;
}
.v2-sample-breakdown-row.v2-qhel-q { border-left-color: #3b82f6; }
.v2-sample-breakdown-row.v2-qhel-h { border-left-color: #8b5cf6; }
.v2-sample-breakdown-row.v2-qhel-e { border-left-color: #f97316; }
.v2-sample-breakdown-row.v2-qhel-l { border-left-color: #10b981; }
.v2-sample-breakdown-label {
  font-size: 14.5px;
  font-weight: 800;
  color: #111827;
  text-align: center;
}
.v2-sample-breakdown-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4b5563;
}

/* ────────────────────────────────────────────────
   sample_writing — 11차 통합 추가 클래스
   (placeholder, loading, failed, insufficient,
    box-label, keypoint, tip)
   ──────────────────────────────────────────────── */

/* Placeholder — 메인 진단 직후 비어있는 상태 */
.v2-sample-placeholder {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
}
.v2-sample-placeholder-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.v2-sample-placeholder-text {
  font-size: 15px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 4px;
}
.v2-sample-placeholder-sub {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.5;
}

/* Loading — 2차 호출 중 (placeholder 변형) */
.v2-sample-loading .v2-sample-placeholder-icon {
  animation: v2-sample-pulse 1.6s ease-in-out infinite;
}
@keyframes v2-sample-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.92); }
}

/* Failed — 2차 호출 실패 시 */
.v2-sample-failed {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-style: solid;
}
.v2-sample-failed .v2-sample-placeholder-text {
  color: #991b1b;
}
.v2-sample-failed .v2-sample-placeholder-sub {
  color: #7f1d1d;
}

/* Insufficient info — 활동 정보 부족 시 안내 */
.v2-sample-insufficient {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 20px 22px;
  text-align: center;
}
.v2-sample-insufficient-icon {
  font-size: 26px;
  margin-bottom: 10px;
}
.v2-sample-insufficient-message {
  font-size: 14.5px;
  line-height: 1.7;
  color: #78350f;
  margin-bottom: 10px;
}
.v2-sample-insufficient-suggestion {
  font-size: 13.5px;
  line-height: 1.6;
  color: #92400e;
  background: #fef3c7;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 8px;
  text-align: left;
}

/* Box label — 자소서 초안 안내 라벨 */
.v2-sample-box-label {
  font-size: 13px;
  font-weight: 700;
  color: #854d0e;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

/* Key point — 핵심 강점 한 줄 */
.v2-sample-keypoint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 12px;
}
.v2-sample-keypoint-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.3;
}
.v2-sample-keypoint-text {
  font-size: 14px;
  line-height: 1.6;
  color: #1e3a8a;
  font-weight: 600;
}

/* Tip — 활동 강화 조언 */
.v2-sample-tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 8px;
}
.v2-sample-tip-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.3;
}
.v2-sample-tip-text {
  font-size: 14px;
  line-height: 1.6;
  color: #166534;
}

/* 모바일 대응 (768px 이하) */
@media (max-width: 768px) {
  .v2-sample-placeholder { padding: 22px 16px; }
  .v2-sample-placeholder-icon { font-size: 24px; }
  .v2-sample-placeholder-text { font-size: 14px; }
  .v2-sample-placeholder-sub { font-size: 12px; }
  .v2-sample-insufficient { padding: 16px 18px; }
  .v2-sample-keypoint, .v2-sample-tip { padding: 10px 12px; }
  .v2-sample-keypoint-text, .v2-sample-tip-text { font-size: 13.5px; }
}

/* ────────────────────────────────────────────────
   6. next_steps — 다음 단계 타임라인
   ──────────────────────────────────────────────── */
.v2-steps-group {
  margin-bottom: 28px;
}
.v2-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v2-step-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  align-items: start;
}
@media (max-width: 640px) {
  .v2-step-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.v2-step-timing {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary, #6366f1);
  background: #eef2ff;
  padding: 6px 10px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: -0.2px;
  align-self: start;
}
.v2-step-body {
  flex: 1;
}
.v2-step-action {
  font-size: 16px;
  line-height: 1.7;
  color: #111827;
  margin-bottom: 6px;
  font-weight: 500;
}
.v2-step-why {
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.6;
  font-style: italic;
}

/* ────────────────────────────────────────────────
   9. ebook_cta — 브릿지 + 전자책 각주
   ──────────────────────────────────────────────── */
.v2-bridge-card {
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.v2-bridge-icon {
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}
.v2-bridge-text {
  font-size: 16px;
  line-height: 1.75;
  color: #581c87;
  font-weight: 500;
}

/* 전자책 각주 — 본문과 동일 크기, 구분은 프레임과 아이콘으로 */
.v2-ebook-note {
  margin-top: 28px;
  padding: 18px 20px;
  background: #faf5ef;
  border: 1px solid #f3e8d6;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.v2-ebook-note::before {
  content: "📖";
  font-size: 20px;
  line-height: 1.4;
  flex-shrink: 0;
}
.v2-ebook-note-body {
  flex: 1;
}
.v2-ebook-note-label {
  font-size: 15px;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.v2-ebook-note-content {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   13-A1차 신규 스타일 (2026/4/28)
   - Layer A/B/C 구분선
   - 자소서 도입부 잠금 처리
   - 자소서 잠금 카피 (CTA)
   - 페이지 끝 2선택 분기 카드
   - 페이지 상단 베타 배너
   ═══════════════════════════════════════════════════════════════ */


/* ─── Layer 구분선 (A · 현황 진단 / B · 방향 분석 / C · 실행 처방) ─── */
.v2-layer-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 20px 0;
}
.v2-layer-divider:first-child {
  margin-top: 8px;
}
.v2-layer-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.v2-layer-divider-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
  white-space: nowrap;
  padding: 0 4px;
}


/* ─── 자소서 도입부 미리보기 + 잠금 오버레이 ─────────────────── */
.v2-sample-text-preview {
  position: relative;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
  padding: 16px 18px 14px;
  background: #fafbfc;
  border-radius: var(--radius-md);
}
.v2-sample-locked-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  margin-top: 10px;
  background: linear-gradient(180deg, #f8f9fc 0%, #eef2f8 100%);
  border: 1px dashed #b8c5d6;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.v2-sample-locked-icon {
  font-size: 18px;
}
.v2-sample-locked-message {
  letter-spacing: -0.2px;
}


/* ─── Q-H-E-L 분해 잠금 행 ─────────────────────────────────── */
.v2-sample-breakdown-locked {
  opacity: 0.62;
  background: #f7f9fc !important;
}
.v2-sample-breakdown-text-locked {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.2px;
}


/* ─── 자소서 잠금 카피 (유료 리포트 CTA + 베타 안내) ────────── */
.v2-sample-cta {
  margin-top: 20px;
  padding: 24px 24px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  border: 1.5px solid var(--primary-tint-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(27, 58, 107, 0.04);
}
.v2-sample-cta-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.v2-sample-cta-subtitle {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 14px;
}
.v2-sample-cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.v2-sample-cta-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  border-bottom: 1px solid #eef2f7;
}
.v2-sample-cta-list li:last-child {
  border-bottom: none;
}
.v2-sample-cta-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--primary-light);
  font-weight: 700;
  font-size: 14px;
}
.v2-sample-cta-beta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #fff8e6;
  border: 1px solid #f5d77a;
  border-radius: var(--radius-md);
}
.v2-sample-cta-beta-badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 3px 9px;
  background: #c9963a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 3px;
}
.v2-sample-cta-beta-text {
  font-size: 13px;
  color: #8a6611;
  line-height: 1.55;
  letter-spacing: -0.2px;
}
.v2-sample-cta-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s ease;
}
.v2-sample-cta-btn:hover {
  background: var(--primary-dark);
}


/* ─── 페이지 끝 2선택 분기 카드 ──────────────────────────────── */
.end-choice-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.end-choice-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.end-choice-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.end-choice-card {
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.end-choice-card-primary {
  border: 1.5px solid var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}
.end-choice-card-context {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.end-choice-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.end-choice-card-primary .end-choice-card-title {
  color: var(--primary);
}
.end-choice-card-desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 14px;
}
.end-choice-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  flex: 1;
}
.end-choice-card-list li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
}
.end-choice-card-list li::before {
  content: "·";
  position: absolute;
  left: 6px;
  top: 3px;
  font-weight: 700;
  color: var(--primary-light);
  font-size: 16px;
}
.end-choice-card-btn {
  width: 100%;
  padding: 12px 18px;
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.end-choice-card-btn:hover {
  background: var(--bg-tint);
}
.end-choice-card-btn-primary {
  background: var(--primary);
  color: #fff;
}
.end-choice-card-btn-primary:hover {
  background: var(--primary-dark);
}


/* ─── 페이지 상단 베타 배너 ──────────────────────────────────── */
.beta-banner {
  background: linear-gradient(90deg, #fff8e6 0%, #fef3d4 100%);
  border-bottom: 1px solid #f5d77a;
  padding: 10px 20px;
}
.beta-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.beta-banner-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #c9963a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  border-radius: 3px;
  flex-shrink: 0;
}
.beta-banner-text {
  font-size: 13.5px;
  color: #6b4f12;
  line-height: 1.5;
  letter-spacing: -0.2px;
}
.beta-banner-text strong {
  color: #8a6611;
  font-weight: 700;
}
.beta-banner-link {
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.beta-banner-link:hover {
  text-decoration: underline;
}


/* ─── 모바일 대응 ────────────────────────────────────────────── */
@media (max-width: 720px) {
  .v2-layer-divider {
    margin: 28px 0 16px 0;
  }
  .v2-layer-divider-label {
    font-size: 12px;
    letter-spacing: 1.2px;
  }
  .v2-sample-cta {
    padding: 20px 18px 18px;
  }
  .v2-sample-cta-title {
    font-size: 16px;
  }
  .end-choice-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .end-choice-card {
    padding: 20px 18px 18px;
  }
  .beta-banner {
    padding: 10px 14px;
  }
  .beta-banner-inner {
    gap: 10px;
  }
  .beta-banner-text {
    font-size: 12.5px;
  }
}
