    :root {
      --bg: #f8fafc;
      --bg-secondary: #ffffff;
      --panel: rgba(255, 255, 255, 0.8);
      --panel-strong: rgba(255, 255, 255, 0.95);
      --line: rgba(0, 0, 0, 0.08);
      --line-strong: rgba(0, 0, 0, 0.12);
      --text: #1e293b;
      --text-secondary: #475569;
      --muted: #64748b;
      --blue: #3b82f6;
      --cyan: #06b6d4;
      --purple: #8b5cf6;
      --pink: #ec4899;
      --gold: #f59e0b;
      --primary: #ec4899;
      --primary-light: #f472b6;
      --primary-dark: #db2777;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
      --shadow-strong: 0 24px 80px rgba(0, 0, 0, 0.12);
      --radius-lg: 28px;
      --radius-md: 20px;
      --radius-sm: 14px;
      --max-width: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      color: #1f2937;
      line-height: 1.6;
      background: var(--bg);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .model-container {
      width: min(calc(100% - 32px), var(--max-width));
      margin: 0 auto;
    }

    .site-nav {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(18px);
      background: rgba(255, 255, 255, 0.95);
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 74px;
      gap: 16px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark) 52%, #8b5cf6);
      box-shadow: 0 12px 30px rgba(236, 72, 153, 0.3);
      position: relative;
      overflow: hidden;
    }

    .brand-mark::before,
    .brand-mark::after {
      content: "";
      position: absolute;
      inset: 8px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .brand-mark::after {
      inset: 14px;
      background: rgba(255, 255, 255, 0.25);
      border: 0;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      color: #64748b;
      font-size: 14px;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 48px;
      padding: 0 22px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 15px;
      font-weight: 600;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
      cursor: pointer;
    }

    .btn:hover {
      transform: translateY(-1px);
    }

    .btn-primary {
      background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
      color: #fff;
      box-shadow: 0 16px 34px rgba(236, 72, 153, 0.3);
    }

    .btn-secondary {
      border-color: #e2e8f0;
      background: #fff;
      color: #1e293b;
    }

    .btn-secondary:hover {
      background: #f8fafc;
      border-color: #cbd5e1;
    }

    .model-hero {
      padding: 52px 0 40px;
      margin-top: 60px;
      background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    }

    .model-hero-shell {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 32px;
      box-shadow: var(--shadow);
      background: #fff;
    }

    .model-hero-shell::before {
      content: "";
      position: absolute;
      inset: -20% auto auto -10%;
      width: 380px;
      height: 380px;
      pointer-events: none;
      background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    }

    .model-hero-shell::after {
      content: "";
      position: absolute;
      right: -120px;
      bottom: -160px;
      width: 440px;
      height: 440px;
      pointer-events: none;
      background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    }

    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 28px;
      padding: 42px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(249, 115, 22, 0.1));
      border: 1px solid rgba(236, 72, 153, 0.2);
      color: #ec4899;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 20px;
    }

    .model-hero h1 {
      margin: 0;
      font-size: clamp(40px, 6vw, 66px);
      line-height: 1.02;
      letter-spacing: -0.04em;
      color: #1e293b;
    }

    .model-hero p {
      margin: 18px 0 0;
      max-width: 620px;
      color: var(--text-secondary);
      font-size: 18px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 28px;
    }

    .hero-points,
    .hero-stats {
      display: grid;
      gap: 14px;
      margin-top: 26px;
    }

    .hero-points {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mini-point,
    .stat-card,
    .feature-card,
    .step-card,
    .use-card,
    .faq-item,
    .prompt-card,
    .comparison-card,
    .cta-box {
      border: 1px solid var(--line);
      background: var(--panel);
      backdrop-filter: blur(12px);
    }

    .mini-point {
      padding: 14px 16px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid #e2e8f0;
    }

    .mini-point strong {
      display: block;
      margin-bottom: 4px;
      font-size: 15px;
      color: #1e293b;
    }

    .mini-point span {
      color: var(--muted);
      font-size: 13px;
    }

    .hero-stats {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stat-card {
      border-radius: 20px;
      padding: 18px;
    }

    .stat-card strong {
      display: block;
      font-size: 28px;
      line-height: 1;
      margin-bottom: 10px;
      color: #1e293b;
    }

    .stat-card span {
      display: block;
      color: var(--muted);
      font-size: 13px;
    }

    .hero-preview {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .preview-window {
      padding: 18px;
      border-radius: 26px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .preview-topbar {
      display: flex;
      gap: 8px;
      margin-bottom: 16px;
    }

    .preview-topbar span {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: #e2e8f0;
    }

    .preview-topbar span:first-child {
      background: #ef4444;
    }

    .preview-topbar span:nth-child(2) {
      background: #f59e0b;
    }

    .preview-topbar span:nth-child(3) {
      background: #22c55e;
    }

    .preview-frame {
      position: relative;
      min-height: 440px;
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid #e2e8f0;
      background:
        linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%),
        url("../images/resources/hero-main.jpg") center/cover no-repeat;
    }

    .preview-frame::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%),
        radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.1), transparent 35%);
    }

    .preview-badge {
      position: absolute;
      top: 18px;
      left: 18px;
      z-index: 1;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.95);
      border: 1px solid rgba(0, 0, 0, 0.08);
      font-size: 12px;
      font-weight: 600;
      color: #1e293b;
    }

    .preview-copy {
      position: absolute;
      left: 22px;
      right: 22px;
      bottom: 22px;
      z-index: 1;
    }

    .preview-copy strong {
      display: block;
      font-size: 24px;
      margin-bottom: 8px;
      color: #1e293b;
    }

    .preview-copy p {
      margin: 0;
      color: #475569;
      font-size: 14px;
    }

    .preview-metrics {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .metric {
      padding: 16px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid #e2e8f0;
    }

    .metric strong {
      display: block;
      font-size: 15px;
      margin-bottom: 6px;
      color: #1e293b;
    }

    .metric span {
      color: var(--muted);
      font-size: 12px;
    }

    .section {
      padding: 34px 0;
    }

    .section-title {
      margin: 0 0 10px;
      font-size: clamp(30px, 4vw, 44px);
      line-height: 1.08;
      letter-spacing: -0.03em;
      color: #1e293b;
    }

    .section-subtitle {
      margin: 0 0 26px;
      max-width: 760px;
      color: #64748b;
      font-size: 16px;
    }

    .feature-grid,
    .use-grid,
    .prompt-grid,
    .steps-grid {
      display: grid;
      gap: 18px;
    }

    .feature-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-card {
      padding: 24px;
      border-radius: var(--radius-md);
      background: #fff;
      border: 1px solid #e2e8f0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .feature-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }

    .feature-icon {
      width: 44px;
      height: 44px;
      display: inline-grid;
      place-items: center;
      margin-bottom: 16px;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(249, 115, 22, 0.15));
      color: #ec4899;
      font-size: 20px;
      font-weight: 700;
    }

    .feature-card h3,
    .step-card h3,
    .use-card h3,
    .prompt-card h3,
    .comparison-card h3,
    .cta-box h3 {
      margin: 0 0 10px;
      font-size: 20px;
      line-height: 1.2;
      color: #1e293b;
    }

    .feature-card p,
    .step-card p,
    .use-card p,
    .prompt-card p,
    .comparison-card p,
    .cta-box p {
      margin: 0;
      color: var(--text-secondary);
      font-size: 14px;
    }

    .comparison-card {
      padding: 26px;
      border-radius: 24px;
      background: #fff;
      border: 1px solid #e2e8f0;
      box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
    }

    .comparison-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 18px;
    }

    .comparison-item {
      padding: 16px 18px;
      border-radius: 18px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
    }

    .comparison-item strong {
      display: block;
      margin-bottom: 4px;
      font-size: 15px;
      color: #1e293b;
    }

    .comparison-item span {
      color: #64748b;
      font-size: 13px;
    }

    .steps-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .step-card {
      position: relative;
      padding: 24px;
      border-radius: var(--radius-md);
      background: #fff;
      border: 1px solid #e2e8f0;
    }

    .step-index {
      display: inline-flex;
      width: 38px;
      height: 38px;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--primary), var(--gold));
      color: #fff;
      font-weight: 700;
    }

    .prompt-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prompt-card {
      padding: 24px;
      border-radius: var(--radius-md);
      min-height: 210px;
      background: #fff;
      border: 1px solid #e2e8f0;
    }

    .prompt-label {
      display: inline-flex;
      padding: 7px 12px;
      border-radius: 999px;
      margin-bottom: 16px;
      font-size: 12px;
      font-weight: 600;
      color: var(--primary);
      background: rgba(236, 72, 153, 0.1);
    }

    .prompt-copy {
      margin-top: 14px;
      padding: 16px;
      border-radius: 16px;
      background: #f8fafc;
      color: #475569;
      font-size: 14px;
      border: 1px solid #e2e8f0;
    }

    .use-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .use-card {
      padding: 22px;
      border-radius: 18px;
      background: #fff;
      border: 1px solid #e2e8f0;
    }

    .faq-wrap {
      display: grid;
      gap: 14px;
    }

    .faq-item {
      border-radius: 18px;
      overflow: hidden;
      background: #fff;
      border: 1px solid #e2e8f0;
    }

    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 22px;
      border: 0;
      background: transparent;
      color: #1e293b;
      text-align: left;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
    }

    .faq-question:hover {
      background: #f8fafc;
    }

    .faq-question span:last-child {
      font-size: 24px;
      color: #64748b;
      transition: transform 0.2s ease;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.24s ease;
    }

    .faq-answer p {
      margin: 0;
      padding: 0 22px 20px;
      color: #64748b;
      font-size: 14px;
    }

    .faq-item.active .faq-question span:last-child {
      transform: rotate(45deg);
    }

    .cta-box {
      padding: 34px;
      border-radius: 28px;
      text-align: center;
      background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
      border: 1px solid #e2e8f0;
      box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
    }

    .cta-actions {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 24px;
    }

    .site-footer {
      padding: 22px 0 42px;
      color: #64748b;
      font-size: 13px;
      background: #fff;
      border-top: 1px solid #e2e8f0;
    }

    .site-footer .model-container {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .model-hero {
      padding: 30px 20px 36px;
    }

    .model-hero-shell {
      padding: 18px 18px 26px;
      border-radius: 40px;
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 36px 100px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      background: #fff;
    }

    .model-hero-shell::before,
    .model-hero-shell::after {
      display: block;
    }

    .hero-heading {
      position: relative;
      padding: 24px 24px 30px;
      text-align: center;
      overflow: hidden;
    }

    .hero-heading::before {
      content: "";
      position: absolute;
      left: 50%;
      top: -70px;
      width: 1280px;
      height: 460px;
      transform: translateX(-50%);
      background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
      filter: blur(10px);
      pointer-events: none;
    }

    .hero-heading > * {
      position: relative;
      z-index: 1;
    }

    .main-title {
      margin: 0;
      font-size: clamp(48px, 6vw, 72px);
      line-height: 1.02;
      letter-spacing: -0.05em;
      text-align: center;
      color: #1e293b;
    }

    .sub-title {
      margin: 20px auto 18px;
      max-width: 1180px;
      font-size: 18px;
      line-height: 1.7;
      color: #64748b;
      text-align: center;
    }

    .title-emphasis {
      color: var(--primary);
    }

    .hero-switch {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      padding: 6px 14px;
      border-radius: 999px;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
    }

    .hero-switch span {
      width: 42px;
      height: 6px;
      border-radius: 999px;
      background: #cbd5e1;
    }

    .hero-switch span.active {
      background: linear-gradient(90deg, var(--primary), #f97316);
    }

    .section-highlights {
      padding-top: 6px;
    }

    .page-highlights {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin: 0 0 18px;
    }

    .highlight-chip {
      border: 1px solid #e2e8f0;
      background: #fff;
      border-radius: 22px;
      padding: 16px 18px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    .highlight-chip strong,
    .highlight-chip span {
      display: block;
    }

    .highlight-chip strong {
      margin-bottom: 8px;
      color: #1e293b;
      font-size: 14px;
    }

    .highlight-chip span {
      color: #64748b;
      font-size: 14px;
      line-height: 1.7;
    }

    .hero-creator {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 22px;
      margin-top: 8px;
    }

    .workspace-editor {
      border-radius: 38px;
      border: 1px solid #e2e8f0;
      background: #fff;
      box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
      padding: 20px 24px 18px;
    }

    .assist-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 18px;
      border: 1px solid #fde7d4;
      background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
      border-radius: 22px;
      margin-bottom: 18px;
    }

    .hero-assist-bar {
      background: linear-gradient(180deg, rgba(255, 247, 237, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
      border-color: rgba(253, 231, 212, 0.8);
    }

    .assist-copy strong,
    .assist-copy span {
      display: block;
    }

    .assist-copy strong {
      color: #9a3412;
      font-size: 15px;
      margin-bottom: 6px;
    }

    .assist-copy span {
      color: #7c2d12;
      font-size: 13px;
      line-height: 1.7;
    }

    .btn-compact {
      min-height: 42px;
      padding: 0 16px;
      white-space: nowrap;
    }

    .editor-input-shell {
      display: flex;
      gap: 18px;
      min-height: 270px;
    }

    .upload-tile {
      width: 126px;
      flex: 0 0 126px;
    }

    .hero-upload-box {
      min-height: 132px;
      padding: 10px;
    }

    .hero-upload-box .product-image-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      width: 100%;
      align-items: start;
    }

    .product-upload-btn {
      border: 1px dashed #cbd5e1;
      border-radius: 18px;
      min-height: 110px;
      min-width: 80px;
      background: #f8fafc;
      color: #64748b;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      padding: 20px;
      width: calc(50% - 5px);
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .product-upload-btn:hover {
      border-color: var(--primary);
      background: #fff;
    }

    .product-upload-btn.full-width {
      width: 100%;
    }

    .hero-upload-box .product-upload-btn,
    .hero-upload-box .product-upload-btn.full-width {
      width: 100%;
      min-width: 0;
    }

    .product-upload-btn i {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 999px;
      background: #e2e8f0;
      color: #64748b;
      font-style: normal;
      font-size: 24px;
    }

    .product-thumb {
      position: relative;
      width: calc(50% - 5px);
      aspect-ratio: 1;
      border-radius: 18px;
      overflow: hidden;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
    }

    .product-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero-upload-box .product-thumb {
      width: 100%;
      cursor: zoom-in;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .hero-upload-box .product-thumb:hover {
      transform: translateY(-2px);
      border-color: var(--primary);
      box-shadow: 0 8px 20px rgba(236, 72, 153, 0.15);
    }

    .product-thumb-delete {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 24px;
      height: 24px;
      border: none;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      font-size: 16px;
      line-height: 1;
      cursor: pointer;
    }

    .image-preview-modal {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(10px);
    }

    .image-preview-modal[hidden] {
      display: none;
    }

    .image-preview-dialog {
      position: relative;
      max-width: min(92vw, 960px);
      max-height: 90vh;
      border-radius: 24px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    }

    .image-preview-dialog img {
      display: block;
      max-width: 100%;
      max-height: 90vh;
      object-fit: contain;
      background: #fff;
    }

    .image-preview-close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 36px;
      height: 36px;
      border: none;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
    }

    .prompt-panel {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-width: 0;
    }

    .editor-main {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .editor-main textarea {
      flex: 1;
      width: 100%;
      border: 0;
      outline: none;
      resize: none;
      background: #f8fafc;
      color: #1e293b;
      font-size: 17px;
      line-height: 1.8;
      font-family: inherit;
      padding: 18px 6px 18px 0;
      min-height: 250px;
      border-radius: 12px;
    }

    .editor-main textarea::placeholder {
      color: #94a3b8;
    }

    .editor-main textarea:focus {
      box-shadow: none;
    }

    .editor-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-top: 18px;
      flex-wrap: wrap;
    }

    .hero-toolbar {
      padding-top: 16px;
      border-top: 1px solid #e2e8f0;
    }

    .toolbar-left,
    .toolbar-right {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .tool-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 48px;
      padding: 0 16px;
      border-radius: 14px;
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      color: #1e293b;
      font-size: 15px;
      font-weight: 600;
    }

    .tool-chip.button-like,
    .tool-select {
      appearance: none;
      -webkit-appearance: none;
      border: 1px solid #e2e8f0;
      cursor: pointer;
    }

    .tool-select {
      min-height: 48px;
      padding: 0 38px 0 16px;
      border-radius: 14px;
      background: #f1f5f9
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E")
        no-repeat right 14px center / 12px 8px;
      border-color: #e2e8f0;
      color: #1e293b;
      font-size: 15px;
      font-weight: 600;
      outline: none;
    }

    .tool-select option {
      color: #111827;
    }

    .tool-chip .dot {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: linear-gradient(135deg, #f97316, #ec4899);
      box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
    }

    .tool-chip.highlight {
      background: linear-gradient(135deg, #fff7ed, #fff1f2);
      border-color: #fdba74;
    }

    .char-count {
      color: #64748b;
      font-size: 13px;
      font-weight: 600;
    }

    .summary-card {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 16px;
      margin-bottom: 18px;
    }

    .summary-item {
      background: #f8fafc;
      border: 1px solid #e6edf5;
      border-radius: 20px;
      padding: 16px;
    }

    .summary-item span {
      display: block;
      margin-bottom: 6px;
      font-size: 13px;
      color: #64748b;
    }

    .summary-item strong {
      color: #172033;
      font-size: 18px;
    }

    .material-summary {
      border: 1px solid #e6edf5;
      background: #fcfdff;
      border-radius: 24px;
      padding: 18px;
      margin-bottom: 18px;
    }

    .material-summary-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .material-summary-head h4 {
      margin: 0;
      color: #172033;
      font-size: 16px;
    }

    .material-summary-head span {
      color: #64748b;
      font-size: 13px;
    }

    .material-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .material-summary-grid article {
      border-radius: 18px;
      background: #f8fafc;
      border: 1px solid #e6edf5;
      padding: 14px;
    }

    .material-summary-grid span,
    .material-summary-grid strong {
      display: block;
    }

    .material-summary-grid span {
      color: #64748b;
      font-size: 13px;
      margin-bottom: 6px;
    }

    .material-summary-grid strong {
      color: #172033;
      font-size: 15px;
      line-height: 1.6;
    }

    .actions {
      display: flex;
      justify-content: flex-end;
    }

    .credits {
      color: #64748b;
      font-size: 14px;
      font-weight: 700;
    }

    .generate-hero-btn {
      min-height: 50px;
      padding: 0 26px;
      border: 0;
      border-radius: 999px;
      background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.2s ease, background 0.2s ease;
      box-shadow: 0 12px 30px rgba(236, 72, 153, 0.3);
    }

    .generate-hero-btn:disabled {
      cursor: not-allowed;
      opacity: 0.6;
    }

    .generate-hero-btn:hover {
      transform: translateY(-1px);
      filter: brightness(1.02);
    }

    .upload-meta {
      margin-top: 10px;
      font-size: 12px;
      color: #94a3b8;
      text-align: left;
      line-height: 1.5;
    }

    .hero-runtime {
      display: grid;
      grid-template-columns: 1fr;
      gap: 22px;
      align-items: start;
    }

    .status-card,
    .result-stage {
      border-radius: 28px;
      border: 1px solid #e2e8f0;
      background: #fff;
      box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
      padding: 22px;
    }

    .preview-head h3 {
      margin: 0 0 6px;
      font-size: 24px;
      color: #1e293b;
    }

    .preview-head p {
      margin: 0;
      color: #64748b;
      line-height: 1.7;
    }

    .preview-empty {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      min-height: 220px;
      color: #94a3b8;
    }

    .preview-empty-icon {
      font-size: 54px;
      color: var(--primary);
      opacity: 0.3;
      margin-bottom: 18px;
    }

    .preview-demo {
      width: 100%;
      margin-top: 18px;
      border: 1px solid #e2e8f0;
      border-radius: 22px;
      background: #f8fafc;
      padding: 16px;
      text-align: left;
    }

    .preview-demo-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }

    .preview-demo-head strong {
      color: #1e293b;
      font-size: 15px;
    }

    .preview-demo-head span {
      color: #64748b;
      font-size: 12px;
    }

    .preview-demo-list {
      display: grid;
      gap: 10px;
    }

    .preview-demo-list div {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-radius: 16px;
      background: #fff;
      padding: 12px 14px;
    }

    .preview-demo-list span {
      color: #64748b;
      font-size: 13px;
    }

    .preview-demo-list strong {
      color: #1e293b;
      font-size: 13px;
      text-align: right;
    }

    .status-line {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      font-size: 14px;
      color: #1e293b;
      margin-bottom: 12px;
    }

    .status-line span:last-child {
      color: #64748b;
      text-align: right;
    }

    .status-progress {
      margin-top: 14px;
      height: 8px;
      border-radius: 999px;
      background: #e2e8f0;
      overflow: hidden;
    }

    .status-progress-bar {
      width: 0;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #ec4899, #f97316, #06b6d4);
      transition: width 0.3s ease;
    }

    .status-note {
      margin-top: 12px;
      color: #64748b;
      font-size: 13px;
      line-height: 1.6;
    }

    .hero-result-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .hero-result-grid {
      display: none;
      margin-top: 16px;
    }

    .result-empty,
    .result-card-hero {
      border-radius: 18px;
      border: 1px solid #e2e8f0;
      background: #fff;
      min-height: 210px;
      overflow: hidden;
    }

    .result-empty {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #64748b;
      font-size: 14px;
      text-align: center;
      padding: 20px;
    }

    .result-stage .result-empty {
      min-height: 240px;
    }

    .result-card-hero video,
    .result-card-hero img {
      width: 100%;
      display: block;
      object-fit: cover;
      background: #f8fafc;
    }

    .result-card-hero .result-meta {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 14px;
      color: #52607a;
      font-size: 13px;
    }

    .result-card-hero .result-meta a {
      color: #2563eb;
      font-weight: 700;
    }

    @media (max-width: 1080px) {
      .page-highlights,
      .hero-grid,
      .feature-grid,
      .steps-grid,
      .use-grid,
      .hero-runtime {
        grid-template-columns: 1fr;
      }

      .hero-grid{
        padding: 28px;
      }

      .prompt-grid,
      .comparison-list {
        grid-template-columns: 1fr;
      }

      .nav-links {
        display: none;
      }
    }

    @media (max-width: 720px) {
      .hero-grid,
      .feature-grid,
      .steps-grid,
      .prompt-grid,
      .use-grid,
      .hero-points,
      .hero-stats,
      .preview-metrics,
      .summary-card,
      .material-summary-grid,
      .page-highlights {
        grid-template-columns: 1fr;
      }

      .model-hero-shell {
        border-radius: 24px;
      }

      .hero-grid {
        padding: 22px;
      }

      .preview-frame {
        min-height: 320px;
      }

      .nav-actions .btn-secondary {
        display: none;
      }

      .hero-heading {
        padding: 18px 8px 18px;
      }

      .sub-title {
        font-size: 16px;
      }

      .workspace-editor {
        padding: 16px;
        border-radius: 28px;
      }

      .editor-input-shell {
        flex-direction: column;
        min-height: auto;
        gap: 14px;
      }

      .upload-tile {
        width: 100%;
        flex-basis: auto;
      }

      .editor-main textarea {
        font-size: 17px;
        min-height: 220px;
      }

      .tool-chip,
      .generate-hero-btn,
      .tool-select,
      .btn-compact {
        width: 100%;
        justify-content: center;
      }

      .assist-bar,
      .material-summary-head,
      .step-header {
        flex-direction: column;
        align-items: flex-start;
      }

      .toolbar-left,
      .toolbar-right,
      .actions {
        width: 100%;
      }

      .hero-result-grid {
        grid-template-columns: 1fr;
      }
    }
