    /* ===== CSS VARIABLES ===== */
    :root {
      --primary: #1a56db;
      --primary-dark: #1341b0;
      --primary-light: #dbeafe;
      --accent: #f59e0b;
      --accent-dark: #d97706;
      --success: #10b981;
      --danger: #ef4444;
      --warning: #f59e0b;
      --bg: #f8fafc;
      --surface: #ffffff;
      --surface-2: #f1f5f9;
      --border: #e2e8f0;
      --border-focus: #93c5fd;
      --text-primary: #0f172a;
      --text-secondary: #475569;
      --text-muted: #94a3b8;
      --nav-bg: #0f172a;
      --nav-text: #e2e8f0;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
      --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
      --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
      --radius: 12px;
      --radius-lg: 18px;
      --transition: 0.2s ease;
      --font-body: 'Inter', sans-serif;
      --font-display: 'Outfit', sans-serif;
      --max-w: 1200px;
    }

    /* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: var(--primary); text-decoration: none; }
    a:hover { text-decoration: underline; }
    ul { list-style: none; }
    button { cursor: pointer; font-family: inherit; }

    /* ===== COOKIE BANNER ===== */
    #cookie-banner {
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
      background: #0f172a; color: #e2e8f0;
      padding: 16px 24px;
      display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
      box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
    }
    #cookie-banner p { flex: 1; min-width: 200px; font-size: 0.88rem; line-height: 1.5; }
    #cookie-banner a { color: #93c5fd; }
    #cookie-dismiss {
      background: var(--primary); color: #fff;
      border: none; padding: 9px 22px; border-radius: 8px;
      font-size: 0.88rem; font-weight: 600; white-space: nowrap;
      transition: background var(--transition);
    }
    #cookie-dismiss:hover { background: var(--primary-dark); }

    /* ===== NAV ===== */
    .navbar {
      background: var(--nav-bg);
      position: sticky; top: 0; z-index: 1000;
      box-shadow: 0 2px 16px rgba(0,0,0,0.25);
    }
    .nav-inner {
      max-width: var(--max-w); margin: 0 auto;
      padding: 0 20px;
      display: flex; align-items: center; justify-content: space-between;
      height: 62px;
    }
    .nav-logo {
      font-family: var(--font-display);
      font-size: 1.25rem; font-weight: 800;
      color: #fff; text-decoration: none;
      display: flex; align-items: center; gap: 8px;
      flex-shrink: 0;
    }
    .nav-logo .logo-icon {
      width: 32px; height: 32px;
      background: var(--primary);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.9rem; color: #fff; font-weight: 800;
    }
    .nav-links {
      display: flex; align-items: center; gap: 4px;
    }
    .nav-links a {
      color: var(--nav-text); padding: 8px 14px;
      border-radius: 8px; font-size: 0.9rem; font-weight: 500;
      transition: background var(--transition), color var(--transition);
      white-space: nowrap;
      text-decoration: none;
    }
    .nav-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }

    /* Dropdown */
    .nav-dropdown { position: relative; }
    .nav-dropdown > button {
      background: none; border: none;
      color: var(--nav-text); padding: 8px 14px;
      border-radius: 8px; font-size: 0.9rem; font-weight: 500;
      display: flex; align-items: center; gap: 5px;
      transition: background var(--transition);
    }
    .nav-dropdown > button:hover { background: rgba(255,255,255,0.1); color: #fff; }
    .nav-dropdown > button svg { transition: transform 0.2s; }
    .nav-dropdown.open > button svg { transform: rotate(180deg); }
    .dropdown-menu {
      display: none;
      position: absolute; top: calc(100% + 8px); left: 0;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
      min-width: 280px; padding: 8px;
      z-index: 2000;
      columns: 2; gap: 4px;
    }
    .nav-dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu a {
      display: block; padding: 7px 12px;
      border-radius: 8px; font-size: 0.82rem;
      color: var(--text-primary); font-weight: 500;
      transition: background var(--transition);
      break-inside: avoid; white-space: nowrap;
      overflow: hidden; text-overflow: ellipsis;
    }
    .dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }

    /* Hamburger */
    .nav-hamburger {
      display: none; flex-direction: column;
      gap: 5px; background: none; border: none; padding: 6px;
    }
    .nav-hamburger span {
      display: block; width: 24px; height: 2px;
      background: #fff; border-radius: 2px;
      transition: transform 0.3s, opacity 0.3s;
    }
    .nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.active span:nth-child(2) { opacity: 0; }
    .nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-nav {
      display: none; background: #1e293b;
      flex-direction: column; padding: 12px 20px 20px;
    }
    .mobile-nav.open { display: flex; }
    .mobile-nav a, .mobile-nav button {
      color: #e2e8f0; padding: 10px 0;
      font-size: 0.93rem; font-weight: 500;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      background: none; border-left: none; border-right: none; border-top: none;
      text-align: left; width: 100%;
      text-decoration: none;
    }
    .mobile-nav a:last-child { border-bottom: none; }
    .mobile-submenu { padding-left: 16px; }
    .mobile-submenu a { font-size: 0.85rem; color: #94a3b8; }

    /* ===== BREADCRUMB ===== */
    .breadcrumb-bar {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      padding: 10px 20px;
    }
    .breadcrumb-inner {
      max-width: var(--max-w); margin: 0 auto;
    }
    .breadcrumb {
      display: flex; align-items: center; gap: 6px;
      flex-wrap: wrap; font-size: 0.82rem; color: var(--text-muted);
    }
    .breadcrumb a { color: var(--primary); font-weight: 500; }
    .breadcrumb span { color: var(--text-muted); }
    .breadcrumb li { display: flex; align-items: center; gap: 6px; }
    .breadcrumb li:last-child span.bc-label { color: var(--text-primary); font-weight: 600; }

    /* ===== HERO ===== */
    .hero {
      background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1a56db 100%);
      padding: 72px 20px 80px;
      text-align: center;
      position: relative; overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }
    .hero-content { position: relative; max-width: 780px; margin: 0 auto; }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      color: #93c5fd; font-size: 0.8rem; font-weight: 600;
      padding: 5px 14px; border-radius: 100px;
      margin-bottom: 20px; letter-spacing: 0.04em; text-transform: uppercase;
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 800;
      color: #fff;
      line-height: 1.15;
      margin-bottom: 18px;
    }
    .hero h1 span { color: #fbbf24; }
    .hero p {
      font-size: 1.1rem;
      color: #94a3b8;
      max-width: 600px; margin: 0 auto 36px;
    }
    .hero-stats {
      display: flex; justify-content: center; gap: 40px;
      flex-wrap: wrap; margin-top: 40px;
    }
    .hero-stat { text-align: center; }
    .hero-stat strong {
      display: block; font-family: var(--font-display);
      font-size: 1.7rem; font-weight: 800; color: #fbbf24;
    }
    .hero-stat span { font-size: 0.82rem; color: #94a3b8; font-weight: 500; }

    /* ===== SECTION BASE ===== */
    section { padding: 72px 20px; }
    .section-inner { max-width: var(--max-w); margin: 0 auto; }
    .section-label {
      font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.08em; color: var(--primary);
      margin-bottom: 10px;
    }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 3.5vw, 2.4rem);
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 14px;
      line-height: 1.2;
    }
    .section-sub {
      font-size: 1.05rem;
      color: var(--text-secondary);
      max-width: 620px;
      margin-bottom: 48px;
    }
    .section-title-center { text-align: center; }
    .section-sub-center { text-align: center; margin-left: auto; margin-right: auto; }

    /* ===== CONVERTER TOOL ===== */
    #converter { background: var(--bg); }
    .converter-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
    }
    .converter-header {
      background: linear-gradient(90deg, #0f172a, #1e3a5f);
      padding: 20px 28px;
      display: flex; align-items: center; gap: 12px;
    }
    .converter-header h2 {
      font-family: var(--font-display);
      font-size: 1.15rem; font-weight: 700; color: #fff;
    }
    .converter-icon {
      width: 36px; height: 36px;
      background: var(--primary); border-radius: 8px;
      display: flex; align-items: center; justify-content: center; color: #fff;
    }
    .converter-body { padding: 28px; }

    /* Toolbar */
    .toolbar {
      display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
      margin-bottom: 14px;
    }
    .toolbar-left { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
    .toolbar-right { display: flex; gap: 8px; flex-wrap: wrap; }

    .opt-btn {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--surface-2); border: 1px solid var(--border);
      color: var(--text-secondary); padding: 7px 14px;
      border-radius: 8px; font-size: 0.84rem; font-weight: 500;
      transition: all var(--transition);
    }
    .opt-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
    .opt-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

    /* Input area */
    .input-wrap { position: relative; }
    .input-counter {
      position: absolute; bottom: 10px; right: 14px;
      font-size: 0.75rem; color: var(--text-muted);
      pointer-events: none; background: var(--surface); padding: 2px 6px; border-radius: 4px;
    }
    .input-counter.warn { color: var(--warning); }
    .input-counter.error-c { color: var(--danger); }
    #jsInput {
      width: 100%;
      min-height: 260px;
      padding: 16px;
      font-family: 'Courier New', Courier, monospace;
      font-size: 0.9rem;
      line-height: 1.7;
      border: 2px solid var(--border);
      border-radius: var(--radius);
      resize: vertical;
      transition: border-color var(--transition), box-shadow var(--transition);
      color: var(--text-primary);
      background: var(--surface-2);
      outline: none;
    }
    #jsInput:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.12); background: #fff; }
    #jsInput.input-error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
    #jsInput.input-ok { border-color: var(--success); }

    /* Options row */
    .options-row {
      display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0;
      padding: 16px; background: var(--surface-2);
      border: 1px solid var(--border); border-radius: var(--radius);
    }
    .option-group { display: flex; flex-direction: column; gap: 6px; }
    .option-group label {
      font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
      text-transform: uppercase; letter-spacing: 0.04em;
    }
    .option-group select, .option-group input[type="number"] {
      padding: 7px 12px; border: 1px solid var(--border);
      border-radius: 8px; font-size: 0.88rem; color: var(--text-primary);
      background: var(--surface); outline: none;
      transition: border-color var(--transition);
    }
    .option-group select:focus, .option-group input:focus { border-color: var(--primary); }

    .checkbox-group {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 14px; background: var(--surface);
      border: 1px solid var(--border); border-radius: 8px;
      cursor: pointer; transition: border-color var(--transition);
    }
    .checkbox-group:hover { border-color: var(--primary); }
    .checkbox-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
    .checkbox-group span { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); }

    /* Validation messages */
    #validationMsg {
      margin-top: 10px; padding: 10px 14px;
      border-radius: 8px; font-size: 0.85rem; font-weight: 500;
      display: none; align-items: center; gap: 8px;
    }
    #validationMsg.error { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; display: flex; }
    #validationMsg.success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; display: flex; }
    #validationMsg.warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; display: flex; }

    /* Submit */
    .convert-btn {
      display: flex; align-items: center; justify-content: center; gap: 10px;
      width: 100%; padding: 15px 28px;
      background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
      color: #fff; border: none; border-radius: var(--radius);
      font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
      margin-top: 16px;
      transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
      box-shadow: 0 4px 16px rgba(26,86,219,0.35);
    }
    .convert-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(26,86,219,0.45); }
    .convert-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .convert-btn .spinner {
      width: 18px; height: 18px;
      border: 2px solid rgba(255,255,255,0.4);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      display: none;
    }
    .convert-btn.loading .spinner { display: block; }
    .convert-btn.loading .btn-label { display: none; }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Progress */
    .progress-wrap {
      margin-top: 14px; display: none;
    }
    .progress-wrap.visible { display: block; }
    .progress-bar-bg {
      height: 6px; background: var(--border);
      border-radius: 100px; overflow: hidden;
    }
    .progress-bar-fill {
      height: 100%; width: 0%;
      background: linear-gradient(90deg, var(--primary), #3b82f6);
      border-radius: 100px;
      transition: width 0.4s ease;
    }
    .progress-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }

    /* ===== RESULTS ===== */
    #result-section { padding: 28px; display: none; border-top: 1px solid var(--border); }
    #result-section.visible { display: block; }

    .result-header {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
    }
    .result-header h3 {
      font-family: var(--font-display);
      font-size: 1.05rem; font-weight: 700; color: var(--text-primary);
    }
    .result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
    .action-btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 16px; border-radius: 8px;
      font-size: 0.84rem; font-weight: 600; border: none;
      transition: all var(--transition);
    }
    .btn-clear { background: #fee2e2; color: #b91c1c; }
    .btn-clear:hover { background: #fca5a5; }
    .btn-copy { background: var(--primary-light); color: var(--primary); }
    .btn-copy:hover { background: #bfdbfe; }
    .btn-download { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(26,86,219,0.3); }
    .btn-download:hover { background: var(--primary-dark); }

    /* Preview */
    .output-preview {
      background: var(--surface-2); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 20px;
      font-family: 'Courier New', Courier, monospace;
      font-size: 0.88rem; line-height: 1.75;
      max-height: 380px; overflow-y: auto;
      color: var(--text-primary);
      white-space: pre-wrap; word-break: break-all;
    }
    .output-preview::-webkit-scrollbar { width: 6px; }
    .output-preview::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

    /* Stats bar */
    .stats-bar {
      display: flex; gap: 24px; flex-wrap: wrap;
      padding: 12px 16px; background: var(--surface-2);
      border: 1px solid var(--border); border-radius: var(--radius);
      margin-top: 14px;
    }
    .stat-item { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; }
    .stat-item strong { font-weight: 700; color: var(--primary); }
    .stat-item span { color: var(--text-muted); }

    /* ===== FEATURES ===== */
    #features { background: var(--surface); }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
    }
    .feature-card {
      padding: 28px 24px;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: var(--surface);
      transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    }
    .feature-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
      border-color: var(--primary);
    }
    .feature-icon {
      width: 52px; height: 52px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 16px;
    }
    .feature-card h3 {
      font-family: var(--font-display);
      font-size: 1.05rem; font-weight: 700;
      margin-bottom: 8px; color: var(--text-primary);
    }
    .feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

    /* ===== HOW IT WORKS ===== */
    #how-it-works { background: var(--bg); }
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 24px;
      position: relative;
    }
    .step-card { text-align: center; padding: 28px 20px; }
    .step-number {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), #3b82f6);
      color: #fff; font-family: var(--font-display);
      font-size: 1.3rem; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 16px;
      box-shadow: 0 4px 16px rgba(26,86,219,0.3);
    }
    .step-card h3 {
      font-family: var(--font-display);
      font-size: 1rem; font-weight: 700;
      margin-bottom: 8px; color: var(--text-primary);
    }
    .step-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

    /* ===== SEO CONTENT ===== */
    #seo-content { background: var(--surface); }
    .content-wrap {
      max-width: 860px; margin: 0 auto;
    }
    .content-wrap h2 {
      font-family: var(--font-display);
      font-size: 1.5rem; font-weight: 700;
      color: var(--text-primary); margin: 28px 0 12px;
    }
    .content-wrap h3 {
      font-family: var(--font-display);
      font-size: 1.15rem; font-weight: 700;
      color: var(--text-primary); margin: 20px 0 10px;
    }
    .content-wrap p { font-size: 0.97rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
    .content-wrap ul { padding-left: 20px; margin-bottom: 14px; }
    .content-wrap ul li {
      list-style: disc; font-size: 0.97rem;
      color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px;
    }
    .code-example {
      background: #0f172a; border-radius: var(--radius);
      padding: 20px; margin: 16px 0;
      font-family: 'Courier New', Courier, monospace;
      font-size: 0.88rem; line-height: 1.7;
      color: #93c5fd; overflow-x: auto;
    }
    .code-example .kw { color: #c084fc; }
    .code-example .fn { color: #fbbf24; }
    .code-example .str { color: #86efac; }
    .code-example .cm { color: #64748b; font-style: italic; }

    /* ===== FAQ ===== */
    #faq { background: var(--bg); }
    .faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
    .faq-item {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--radius); overflow: hidden;
    }
    .faq-q {
      width: 100%; text-align: left; background: none; border: none;
      padding: 18px 20px;
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
      font-family: var(--font-display); font-size: 0.97rem; font-weight: 700;
      color: var(--text-primary); cursor: pointer;
      transition: background var(--transition);
    }
    .faq-q:hover { background: var(--surface-2); }
    .faq-q svg { flex-shrink: 0; transition: transform 0.3s; color: var(--primary); }
    .faq-item.open .faq-q svg { transform: rotate(180deg); }
    .faq-a {
      max-height: 0; overflow: hidden;
      transition: max-height 0.35s ease, padding 0.35s ease;
      padding: 0 20px;
      font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7;
    }
    .faq-item.open .faq-a { max-height: 400px; padding: 0 20px 18px; }

    /* ===== CTA ===== */
    #cta { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1a56db 100%); }
    .cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
    .cta-inner h2 {
      font-family: var(--font-display);
      font-size: clamp(1.7rem, 4vw, 2.6rem);
      font-weight: 800; color: #fff; margin-bottom: 16px;
    }
    .cta-inner p { font-size: 1.05rem; color: #94a3b8; margin-bottom: 36px; }
    .cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
    .cta-btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 28px; border-radius: var(--radius);
      font-family: var(--font-display); font-size: 1rem; font-weight: 700;
      transition: all var(--transition); border: none;
    }
    .cta-btn-primary { background: var(--accent); color: #0f172a; }
    .cta-btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
    .cta-btn-secondary {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.25);
      color: #fff;
    }
    .cta-btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

    /* ===== FOOTER ===== */
    footer {
      background: #0f172a; color: #94a3b8;
      padding: 60px 20px 30px;
    }
    .footer-inner { max-width: var(--max-w); margin: 0 auto; }
    .footer-top {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      gap: 40px; margin-bottom: 48px;
    }
    .footer-brand .logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
    .footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
    .footer-col h4 {
      font-family: var(--font-display);
      font-size: 0.9rem; font-weight: 700; color: #fff;
      margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em;
    }
    .footer-col a {
      display: block; font-size: 0.84rem; color: #94a3b8;
      padding: 4px 0; transition: color var(--transition);
      text-decoration: none;
    }
    .footer-col a:hover { color: #93c5fd; }
    .footer-links-2col {
      display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    }
    .footer-divider {
      border: none; border-top: 1px solid rgba(255,255,255,0.08);
      margin-bottom: 24px;
    }
    .footer-bottom {
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: 0.82rem; }
    .footer-bottom a { color: #93c5fd; }
    .footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
    .footer-legal a { font-size: 0.82rem; color: #64748b; transition: color var(--transition); }
    .footer-legal a:hover { color: #93c5fd; }

    /* ===== DISCLAIMER ===== */
    .disclaimer-box {
      background: #1e293b; border: 1px solid #334155;
      border-radius: var(--radius); padding: 16px 20px;
      margin-top: 24px; font-size: 0.8rem; color: #64748b; line-height: 1.65;
    }
    .disclaimer-box strong { color: #94a3b8; }

    /* ===== UTILITY ===== */
    .tag-badge {
      display: inline-block; font-size: 0.75rem; font-weight: 700;
      padding: 3px 10px; border-radius: 100px;
      text-transform: uppercase; letter-spacing: 0.04em;
    }
    .tag-free { background: #dcfce7; color: #15803d; }
    .tag-new { background: #fef3c7; color: #92400e; }
    .tag-pro { background: #ede9fe; color: #6d28d9; }

    /* ===== TOAST ===== */
    #toast {
      position: fixed; bottom: 80px; right: 20px; z-index: 8888;
      background: #0f172a; color: #fff;
      padding: 12px 20px; border-radius: 10px;
      font-size: 0.88rem; font-weight: 500;
      box-shadow: var(--shadow-lg);
      transform: translateY(20px); opacity: 0;
      transition: transform 0.3s, opacity 0.3s;
      pointer-events: none;
      display: flex; align-items: center; gap: 8px;
    }
    #toast.show { transform: translateY(0); opacity: 1; }
    #toast.success-toast { border-left: 4px solid var(--success); }
    #toast.error-toast { border-left: 4px solid var(--danger); }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      .footer-top { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
    }
    @media (max-width: 640px) {
      .nav-links { display: none; }
      .nav-hamburger { display: flex; }
      .hero { padding: 48px 16px 56px; }
      .hero-stats { gap: 20px; }
      .converter-body { padding: 16px; }
      #result-section { padding: 16px; }
      .footer-top { grid-template-columns: 1fr; }
      .footer-links-2col { grid-template-columns: 1fr; }
      .options-row { flex-direction: column; }
      .toolbar { flex-direction: column; align-items: flex-start; }
      .toolbar-right { width: 100%; }
      .cta-btns { flex-direction: column; align-items: center; }
    }

    /* Scroll-to-top */
    #scrollTop {
      position: fixed; bottom: 80px; right: 20px;
      width: 42px; height: 42px;
      background: var(--primary); color: #fff;
      border: none; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: var(--shadow-md);
      opacity: 0; transition: opacity 0.3s; pointer-events: none;
      z-index: 800;
    }
    #scrollTop.visible { opacity: 1; pointer-events: auto; }