    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --bg: #0f172a;
      --panel: rgba(15, 23, 42, 0.75);
      --panel-border: rgba(255,255,255,0.08);
      --text: #e2e8f0;
      --muted: #94a3b8;
      --accent: #38bdf8;
      --accent-2: #8b5cf6;
      --success: #22c55e;
      --danger: #ef4444;
      --shadow: 0 20px 45px rgba(0,0,0,0.35);
      --radius: 22px;
    }

    body {
      font-family: Inter, system-ui, sans-serif;
      min-height: 100vh;
      background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 30%),
        radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.2), transparent 35%),
        var(--bg);
      color: var(--text);
      padding: 30px;
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }

    .app-shell {
      width: 100%;
      max-width: 1400px;
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 24px;
    }

    .sidebar,
    .workspace {
      background: var(--panel);
      backdrop-filter: blur(14px);
      border: 1px solid var(--panel-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .sidebar {
      padding: 28px;
      position: sticky;
      top: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 32px;
    }

    .brand-icon {
      width: 54px;
      height: 54px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      font-weight: 700;
      color: white;
    }

    .brand h1 {
      font-size: 1.3rem;
      line-height: 1.3;
    }

    .brand p {
      color: var(--muted);
      font-size: 0.9rem;
      margin-top: 4px;
    }

    .tab-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .tab-button {
      width: 100%;
      border: none;
      background: rgba(255,255,255,0.04);
      color: var(--text);
      padding: 16px 18px;
      border-radius: 16px;
      text-align: left;
      cursor: pointer;
      transition: all 0.25s ease;
      font-size: 0.98rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .tab-button:hover {
      transform: translateX(6px);
      background: rgba(255,255,255,0.08);
    }

    .tab-button.active {
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(139, 92, 246, 0.22));
      border: 1px solid rgba(255,255,255,0.08);
    }

    .workspace {
      padding: 34px;
    }

    .hero {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      align-items: center;
      margin-bottom: 30px;
      flex-wrap: wrap;
    }

    .hero a {
      float: right;
      -webkit-text-decoration: none;
      -moz-text-decoration: none;
      text-decoration: none;
      color: #ffffff;
      font-size: 16px;
      z-index: 10;
    }

    .hero h2 {
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .hero p {
      color: var(--muted);
      max-width: 680px;
      line-height: 1.7;
    }

    .hero-badge {
      padding: 14px 20px;
      border-radius: 16px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      font-size: 0.92rem;
      color: var(--muted);
    }

    .editor-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }

    .panel {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 20px;
      padding: 24px;
      transition: 0.3s ease;
    }

    .panel:hover {
      border-color: rgba(56, 189, 248, 0.3);
      transform: translateY(-4px);
    }

    .panel h3 {
      margin-bottom: 10px;
      font-size: 1.2rem;
    }

    .panel p {
      color: var(--muted);
      margin-bottom: 20px;
      line-height: 1.6;
      font-size: 0.94rem;
    }

    .field {
      margin-bottom: 18px;
    }

    .field label {
      display: block;
      margin-bottom: 10px;
      color: var(--muted);
      font-size: 0.9rem;
    }

    .field input,
    .field textarea,
    .field select {
      width: 100%;
      border: none;
      outline: none;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.08);
      color: white;
      padding: 14px 16px;
      border-radius: 14px;
      font-size: 0.96rem;
      transition: border 0.25s ease;
    }

    .field input:focus,
    .field textarea:focus,
    .field select:focus {
      border-color: var(--accent);
    }

    textarea {
      resize: vertical;
      min-height: 120px;
    }

    .button-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 10px;
    }

    .action-btn {
      border: none;
      cursor: pointer;
      padding: 13px 18px;
      border-radius: 14px;
      font-size: 0.95rem;
      font-weight: 700;
      transition: all 0.25s ease;
    }

    .generate-btn {
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      color: white;
    }

    .clear-btn {
      background: rgba(255,255,255,0.08);
      color: white;
    }

    .action-btn:hover {
      transform: translateY(-2px);
      opacity: 0.95;
    }

    .results {
      margin-top: 24px;
      display: grid;
      gap: 14px;
    }

    .result-card {
      background: rgba(255,255,255,0.04);
      border-radius: 16px;
      padding: 16px;
      border: 1px solid rgba(255,255,255,0.07);
    }

    .result-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      align-items: center;
    }

    .result-title {
      font-size: 0.9rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .copy-btn {
      background: rgba(255,255,255,0.08);
      border: none;
      color: white;
      padding: 8px 12px;
      border-radius: 10px;
      cursor: pointer;
      font-size: 0.8rem;
    }

    .result-output {
      font-family: Consolas, monospace;
      font-size: 1rem;
      color: var(--success);
      word-break: break-word;
    }

    .hidden {
      display: none;
    }

    .footer-note {
      margin-top: 30px;
      color: var(--muted);
      font-size: 0.88rem;
      line-height: 1.7;
      text-align: center;
    }

    @media (max-width: 960px) {
      .app-shell {
        grid-template-columns: 1fr;
      }

      .sidebar {
        position: relative;
        top: 0;
      }

      .tab-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      }
    }

    @media (max-width: 640px) {
      body {
        padding: 18px;
      }

      .workspace,
      .sidebar {
        padding: 20px;
      }

      .hero h2 {
        font-size: 1.5rem;
      }
    }  