﻿    .ttg-wrapper {
        --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
        --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
        display: flex;
        justify-content: center;
        padding: clamp(0px, 5vw, 0px) 20px;
    }

    .ttg-panel {
        position: relative;                
        width: 100%;
        max-width: 1140px;
        border-radius: 28px;
        padding: clamp(24px, 5vw, 48px);
        overflow: hidden;
    }

    /* ---------- HERO ---------- */
    .ttg-hero { text-align: center; position: relative; z-index: 2; margin-bottom: 32px; padding: 8px 0; }
    .hero-ambient-glow {
        position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
        width: 600px; height: 300px;
        background: radial-gradient(circle, color-mix(in srgb, var(--primary-color) 22%, transparent) 0%, var(--primary-glow) 45%, transparent 75%);
        filter: blur(55px); pointer-events: none; z-index: -1; border-radius: 50%;
    }
    .ttg-hero-badge {
        display: inline-flex; align-items: center; gap: 8px;
        font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
        color: var(--primary-color); background: var(--primary-light);
        padding: 7px 18px; border-radius: 100px; margin-bottom: 20px;
        border: 1px solid color-mix(in srgb, var(--primary-color) 30%, transparent);
        box-shadow: 0 4px 16px color-mix(in srgb, var(--primary-color) 12%, transparent);
        backdrop-filter: blur(8px);
    }
    .badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-color); box-shadow: 0 0 10px var(--primary-color); animation: pulseDot 2s infinite; }
    @keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } }

    .ttg-hero-title { font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.1; letter-spacing: -0.035em; color: var(--text-main); margin-bottom: 16px; }
    .ttg-hero-title em { font-style: normal; background: linear-gradient(135deg, var(--primary-color), var(--primary-gradient-end)); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .ttg-hero-desc { font-size: 16px; color: var(--text-muted); font-weight: 500; max-width: 600px; margin: 0 auto 20px auto; line-height: 1.6; }

    .hero-features-belt { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
    .hfb-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--text-main); background: var(--bg-body); padding: 6px 16px; border-radius: 100px; border: 1px solid var(--border-color); box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
    .hfb-icon { width: 14px; height: 14px; color: var(--primary-color); }

    /* ---------- UNIFIED CONTROLS BAR ---------- */
    .ttg-controls-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 14px;
        padding: 10px 16px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        margin-bottom: 22px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    }
    .ctrl-group { display: flex; align-items: center; gap: 10px;  }
    .ctrl-group.right { margin-left: auto; }
    [dir="rtl"] .ctrl-group.right { margin-left: 0; margin-right: auto; }
    .ctrl-sep { width: 1px; height: 22px; background: var(--border-color); }

    .ctrl-action-btn {
        display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
        background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 10px;
        font-size: 12.5px; font-weight: 700; color: var(--text-muted); cursor: pointer; transition: all 0.2s;
    }
    .ctrl-action-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
    .ctrl-action-btn.active { color: var(--primary-color); background: var(--primary-light); border-color: var(--primary-color); }
    .ctrl-badge-active {
        font-size: 9.5px; font-weight: 800; text-transform: uppercase; background: var(--primary-color); color: #fff;
        padding: 2px 6px; border-radius: 100px; letter-spacing: 0.3px;
    }

    /* Custom Dropdowns */
    .custom-dropdown { position: relative; }
    .cd-header {
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
        background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 10px;
        padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--text-main); cursor: pointer; transition: all 0.2s; min-width: 155px;
    }
    .cd-header:hover { border-color: var(--primary-color); }
    .custom-dropdown.active .cd-header { border-color: var(--primary-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 15%, transparent); }
    .cd-value { display: flex; align-items: center; gap: 8px; }
    .cd-current-name { font-weight: 700; color: var(--text-main); }
    .cd-chevron { color: var(--text-muted); transition: transform 0.2s; }
    .custom-dropdown.active .cd-chevron { transform: rotate(180deg); }

    .cd-body {
        position: absolute; top: calc(100% + 6px); left: 0; width: 250px; background: var(--card-bg); border: 1px solid var(--border-color);
        border-radius: 14px; box-shadow: 0 14px 35px rgba(0,0,0,0.12); z-index: 200; overflow: hidden; animation: cdSlideDown 0.18s ease;
    }
    .cd-body.right-align { left: auto; right: 0; }
    [dir="rtl"] .cd-body.right-align { right: auto; left: 0; }
    @keyframes cdSlideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

    .cd-search { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border-color); background: var(--bg-body); }
    .cd-search input { width: 100%; border: none; background: transparent; color: var(--text-main); font-size: 12.5px; font-weight: 600; outline: none; }
    .cd-list { max-height: 240px; overflow-y: auto; padding: 6px; }
    .cd-group-lbl { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); padding: 8px 10px 4px; letter-spacing: 0.5px; }
    .cd-divider { height: 1px; background: var(--border-color); margin: 6px 4px; }
    .cd-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-main); cursor: pointer; transition: all 0.15s; }
    .cd-item:hover { background: var(--bg-body); }
    .cd-item.active { background: var(--primary-light); color: var(--primary-color); font-weight: 700; }
    .cd-item-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
    .cd-lang-code { font-family: monospace; font-size: 10px; font-weight: 800; color: var(--text-muted); background: var(--bg-body); padding: 2px 5px; border-radius: 4px; border: 1px solid var(--border-color); flex-shrink: 0; }
    .cd-item.active .cd-lang-code { color: var(--primary-color); border-color: color-mix(in srgb, var(--primary-color) 40%, transparent); background: var(--card-bg); }
    .cd-item-name, .cd-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .cd-check { width: 14px; height: 14px; color: var(--primary-color); flex-shrink: 0; }
    .cd-no-results { padding: 18px 12px; text-align: center; font-size: 12px; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 6px; }

    .dir-toggle-btn {
        display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
        background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 10px;
        font-size: 12px; font-weight: 800; color: var(--text-muted); cursor: pointer; transition: all 0.2s;
    }
    .dir-toggle-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
    .dir-toggle-btn.active { color: var(--primary-color); background: var(--primary-light); border-color: var(--primary-color); }

    /* Usage Pill */
    .ttg-usage-pill { display: flex; align-items: center; gap: 10px; background: var(--bg-body); padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border-color); font-size: 12px; font-weight: 700; color: var(--text-main); }
    .tup-dots { display: flex; gap: 4px; }
    .tup-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-color); }
    .tup-dot.used { background: var(--primary-color); }
    .tup-warn { color: #ef4444; }

    /* Advanced Options Panel (Drawer) */
    .adv-options-panel {
        background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 16px 20px;
        margin-bottom: 22px; display: flex; gap: 16px; flex-wrap: wrap; box-shadow: 0 4px 16px rgba(0,0,0,0.02);
    }
    .adv-opt-col { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
    .adv-opt-header { display: flex; justify-content: space-between; align-items: center; }
    .adv-label { font-size: 11.5px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; display: flex; align-items: center; gap: 5px; }
    .adv-char-count { font-size: 11px; font-family: monospace; font-weight: 700; color: var(--text-muted); }
    .adv-char-count.over { color: #ef4444; }
    .adv-input {
        width: 100%; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 10px;
        padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--text-main); outline: none; transition: border-color 0.2s;
    }
    .adv-input:focus { border-color: var(--primary-color); }

    /* ---------- COMPARISON & ANALYSIS PANEL ---------- */
    .comparison-panel {
        background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px;
        padding: 20px; margin-bottom: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    }
    .cp-header-comp { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
    .cp-title-comp { font-size: 14.5px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
    .cp-badge { font-size: 11.5px; font-weight: 800; padding: 4px 12px; border-radius: 100px; background: var(--primary-light); color: var(--primary-color); border: 1px solid color-mix(in srgb, var(--primary-color) 30%, transparent); }

    .cp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
    .cp-card { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
    .cpc-header { display: flex; justify-content: space-between; align-items: center; }
    .cpc-title { font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }
    .cpc-tag { font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
    .cpc-tag.success { background: var(--primary-light); color: var(--primary-color); }
    .cpc-stat-row { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
    .cpc-stat-row strong { color: var(--text-main); font-weight: 800; }
    .cpc-progress-bar { width: 100%; height: 6px; background: var(--border-color); border-radius: 100px; overflow: hidden; margin-top: 4px; }
    .cpc-progress-fill { height: 100%; background: var(--primary-color); border-radius: 100px; }
    .cpc-progress-fill.bg-gradient { background: linear-gradient(90deg, var(--primary-color), var(--primary-gradient-end)); }

    /* ---------- GENERATOR WORKSPACE ---------- */
    .tool-widget { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; animation: fadeIn 0.4s ease; }
    
    .generator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
    @media(max-width: 880px) { .generator-grid { grid-template-columns: 1fr; } }
    
    .console-panel { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
    .cp-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border-color); background: var(--bg-body); }
    .cp-title { font-size: 13.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--text-main); }
    .cp-title.in-lbl { color: var(--primary-color); }
    .cp-title.out-lbl { color: var(--primary-color); }
    
    .ep-actions { display: flex; gap: 6px; }
    .ep-btn { background: var(--card-bg); border: 1px solid var(--border-color); color: var(--text-muted); font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 6px; display: flex; align-items: center; gap: 5px; cursor: pointer; transition: all 0.2s; }
    .ep-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
    .ep-btn.danger:hover { border-color: #ef4444; color: #ef4444; }
    
    .cp-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
    .input-group { display: flex; flex-direction: column; gap: 8px; }
    .input-header-row { display: flex; justify-content: space-between; align-items: center; }
    .input-lbl { font-size: 12.5px; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
    .char-badge { font-family: monospace; font-size: 11px; font-weight: 700; color: var(--text-muted); }
    .c-input { width: 100%; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px; font-size: 14.5px; color: var(--text-main); outline: none; transition: all 0.2s; font-family: inherit; line-height: 1.6; }
    .c-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 15%, transparent); }
    textarea.c-input { min-height: 110px; resize: vertical; }

    .c-input[dir="rtl"], .c-input.rtl, [dir="rtl"] .c-input {
        direction: rtl !important; text-align: right !important; unicode-bidi: plaintext !important;
    }
    
    .tone-grid { display: flex; flex-wrap: wrap; gap: 6px; }
    .tone-chip { background: var(--bg-body); border: 1px solid var(--border-color); color: var(--text-muted); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 100px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 5px; }
    .tone-chip:hover { border-color: var(--primary-color); color: var(--primary-color); }
    .tone-chip.on { background: var(--primary-light); border-color: var(--primary-color); color: var(--primary-color); font-weight: 800; }
    
    .output-board { padding: 18px 20px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; min-height: 320px; max-height: 480px; background: var(--bg-body); }
    .output-placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--text-muted); gap: 8px; padding: 24px; }
    .oph-icon { width: 50px; height: 50px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--primary-color); margin-bottom: 8px; }
    .oph-title { font-size: 14.5px; font-weight: 800; color: var(--text-main); }
    .oph-desc { font-size: 12.5px; color: var(--text-muted); max-width: 290px; line-height: 1.5; }
    
    /* TITLES OUTPUT STYLES */
    .titles-list { display: flex; flex-direction: column; gap: 10px; }
    .title-card { display: flex; align-items: center; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 10px 14px; gap: 12px; transition: all 0.2s; animation: slideInUp 0.3s ease; }
    .title-card:hover { border-color: var(--primary-color); transform: translateX(3px); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
    [dir="rtl"] .title-card:hover { transform: translateX(-3px); }
    .title-num { width: 26px; height: 26px; background: var(--primary-light); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
    .title-text { flex: 1; font-size: 14px; font-weight: 700; color: var(--text-main); line-height: 1.45; word-break: break-word; }
    .title-actions { display: flex; align-items: center; }
    .title-copy-btn { background: transparent; border: none; color: var(--text-muted); cursor: pointer; width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
    .title-copy-btn:hover { background: var(--bg-body); color: var(--primary-color); }
    
    .generate-row { display: flex; justify-content: flex-end; margin-top: 10px; }
    .generate-btn {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-gradient-end)); color: #fff !important;
        border: none; border-radius: 100px; padding: 12px 32px; font-size: 15px; font-weight: 800;
        display: flex; align-items: center; gap: 10px; cursor: pointer; transition: all 0.25s var(--ease-out);
        width: 100%; justify-content: center; box-shadow: 0 6px 20px var(--primary-shadow, rgba(99,102,241,0.3));
    }
    .generate-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 25px var(--primary-shadow, rgba(99,102,241,0.4)); }
    .generate-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }
    .generate-btn.loading .spin-icon { animation: spin 1.5s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }

    .streaming-cursor { display: inline-block; width: 6px; height: 16px; background-color: var(--primary-color); vertical-align: text-bottom; margin-left: 2px; animation: blink 1s infinite; }
    @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

    /* ---------- LIMIT & BANNER ---------- */
    .banner-container { margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
    .upgrade-banner { display: none; align-items: center; gap: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 12%, transparent), var(--primary-glow)); border: 1px solid color-mix(in srgb, var(--primary-color) 30%, transparent); border-radius: 16px; padding: 16px 20px; position: relative; }
    .upgrade-banner.show { display: flex; animation: slideInUp 0.4s ease; }
    .ub-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-light); color: var(--primary-color); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .ub-text { flex: 1; }
    .ub-title { font-size: 14px; font-weight: 800; color: var(--text-main); margin-bottom: 2px; }
    .ub-sub { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
    .ub-cta { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 100px; background: var(--primary-color); color: #fff !important; font-size: 12.5px; font-weight: 800; text-decoration: none; transition: transform 0.2s; white-space: nowrap; }
    .ub-cta:hover { transform: scale(1.04); }
    .ub-close { position: absolute; top: 12px; right: 12px; background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; border-radius: 6px; }

    .limit-warning { display: none; align-items: center; gap: 12px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: 12px; padding: 12px 16px; color: #ef4444; }
    .limit-warning.show { display: flex; animation: slideInUp 0.4s ease; }
    .lw-text { font-size: 13.5px; line-height: 1.5; }
    .lw-text strong { font-weight: 800; }
    .lw-link { display: inline-flex; align-items: center; gap: 6px; color: #ef4444; font-weight: 700; text-decoration: underline; margin-top: 4px; }

    /* ---------- STATS STRIP ---------- */
    .stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
    .stats-sc { background: var(--card-bg); border-radius: 16px; padding: 20px; border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform 0.2s; }
    .stats-sc:hover { transform: translateY(-2px); }
    .stats-ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
    .stats-ico.cr { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
    .stats-ico.cb { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
    .stats-ico.cg { background: var(--primary-light); color: var(--primary-color); }
    .stats-ico.cp { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
    .stats-val { font-size: 28px; font-weight: 900; color: var(--text-main); line-height: 1; margin-bottom: 4px; transition: transform 0.3s; }
    .stats-val.popped { transform: scale(1.2); color: var(--primary-color); }
    .stats-lbl { font-size: 13px; font-weight: 700; color: var(--text-muted); }

    /* ---------- HISTORY SECTION ---------- */
    .ttg-history-section { margin-top: 36px; animation: fadeIn 0.4s ease; }
    .ttg-history-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
    .ttg-history-title { font-size: 14px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px; margin: 0; }
    .ttg-clear-btn { background: transparent; border: none; font-size: 12px; font-weight: 700; color: #ef4444; cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: background 0.2s; }
    .ttg-clear-btn:hover { background: rgba(239,68,68,0.1); }
    .ttg-history-list { display: flex; flex-direction: column; gap: 8px; max-height: 250px; overflow-y: auto; padding-right: 4px; }
    .ttg-history-item { display: flex; align-items: center; justify-content: space-between; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; padding: 10px 14px; transition: all 0.2s; }
    .ttg-history-item:hover { border-color: var(--primary-color); transform: translateX(4px); box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
    .ttg-history-info { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; }
    .ttg-history-domain { font-size: 13.5px; font-weight: 700; color: var(--text-main); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ttg-history-meta { display: flex; align-items: center; gap: 10px; }
    .ttg-history-badge { background: var(--primary-light); color: var(--primary-color); padding: 3px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; }
    .ttg-history-date { font-size: 11.5px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
    .ttg-history-del-btn { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 6px; border-radius: 8px; transition: all 0.2s; display: flex; align-items: center; }
    .ttg-history-del-btn:hover { background: rgba(239,68,68,0.1); color: #ef4444; }

    /* ---------- BENTO BOX FEATURES CLUSTER ---------- */
    .console-features { margin-top: 40px; width: 100%; }
    .bento-features-cluster { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; grid-auto-rows: minmax(130px, auto); gap: 20px; width: 100%; position: relative; z-index: 2; }
    .bento-card { background: rgba(255, 255, 255, 0.015); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-color); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
    .bento-card::after { content: ''; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%); pointer-events: none; }
    .bento-card:hover { transform: translateY(-4px) scale(1.01); border-color: var(--primary-color); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
    .bento-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; gap: 12px; }
    
    .dashed-ring-wrapper { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; width: 44px; height: 44px; }
    .dashed-ring-wrapper::before { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border: 1px dashed var(--border-color); border-radius: 16px; opacity: 0.5; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); z-index: 0; transform-origin: center center; }
    .bento-card:hover .dashed-ring-wrapper::before { opacity: 1; transform: scale(1.1) rotate(180deg); border-color: var(--primary-color); }
    
    .bc-icon-wrapper { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-body); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.4s ease; margin-bottom: 0; position: relative; z-index: 1; }
    .bento-card:hover .bc-icon-wrapper { background: linear-gradient(135deg, var(--primary-color), var(--border-color)); color: white; border-color: transparent; transform: scale(1.1) rotate(4deg); }
    .bc-icon-wrapper i, .bc-icon-wrapper svg { width: 18px; height: 18px; }

    .bc-title { font-size: 16px; font-weight: 800; color: var(--text-main); margin: 0; }
    .bc-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0; font-weight: 500; }
    
    .bc-wide-top { grid-column: span 2; }
    .bc-tall { grid-row: span 2; }
    .bc-wide-mid { grid-column: span 2; }
    .bc-wide-top .bento-card-content, .bc-wide-mid .bento-card-content { justify-content: center; }
    .bc-wide-top .bc-desc, .bc-wide-mid .bc-desc { max-width: 85%; }

    @media (max-width: 900px) {
        .bento-features-cluster { grid-template-columns: repeat(2, 1fr); }
        .bc-wide-top, .bc-wide-mid { grid-column: span 2; }
        .bc-tall { grid-row: span 1; grid-column: span 1; }
    }
    @media (max-width: 600px) {
        .bento-features-cluster { grid-template-columns: 1fr; }
        .bc-wide-top, .bc-wide-mid, .bc-tall { grid-column: span 1; }
        .bc-wide-top .bc-desc, .bc-wide-mid .bc-desc { max-width: 100%; }
    }

    @keyframes slideInUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }