    /* ===== ALL PREVIOUS CSS (unchanged) ===== */
    *,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
    :root{
      --ig:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
      --ig-s:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
      --bg:#f2f2f2;
      --card:#fff;
      --border:#dbdbdb;
      --text:#262626;
      --muted:#8e8e8e;
      --blue:#0095f6;
    }
    body{font-family:'DM Sans',sans-serif;background:var(--bg);color:var(--text);min-height:100vh;overflow-x:hidden}

    /* HEADER (search bar at top) */
    .hdr{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:200;padding:0 14px}
    .hdr-in{max-width:1000px;margin:0 auto;display:flex;align-items:center;gap:10px;height:52px}
    .logo{font-family:'Pacifico',cursive;font-size:19px;background:var(--ig);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;flex-shrink:0}
    .srch{flex:1;max-width:340px;position:relative}
    .srch svg{position:absolute;left:9px;top:50%;transform:translateY(-50%);width:13px;height:13px;stroke:#8e8e8e;fill:none;stroke-width:2}
    .srch input{width:100%;background:#efefef;border:1.5px solid transparent;border-radius:10px;padding:7px 10px 7px 28px;font-family:'DM Sans',sans-serif;font-size:13px;color:var(--text);outline:none;transition:.2s}
    .srch input:focus{background:#fff;border-color:#dbdbdb}
    .srch input::placeholder{color:#8e8e8e}
    .hdr-btn{background:var(--blue);color:#fff;border:none;border-radius:10px;padding:7px 13px;font-family:'DM Sans',sans-serif;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:.15s}
    .hdr-btn:hover{opacity:.85}

    /* HERO */
    .hero{text-align:center;padding:32px 16px 20px;max-width:580px;margin:0 auto}
    .hero-badge{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--border);border-radius:100px;padding:4px 12px;font-size:11px;font-weight:600;color:var(--muted);margin-bottom:12px;letter-spacing:.3px;text-transform:uppercase}
    .hero-dot{width:7px;height:7px;border-radius:50%;background:var(--ig);display:inline-block}
    .hero h1{font-size:clamp(22px,4vw,34px);font-weight:700;line-height:1.2;margin-bottom:8px;letter-spacing:-.5px}
    .hero h1 em{font-style:normal;background:var(--ig);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
    .hero p{font-size:13px;color:var(--muted);line-height:1.6}

    /* CATEGORY PILLS */
    .cats-wrap{overflow-x:auto;padding:16px 14px 0;max-width:1000px;margin:0 auto;scrollbar-width:none}
    .cats-wrap::-webkit-scrollbar{display:none}
    .cats{display:flex;gap:7px;width:max-content;padding-bottom:12px}
    .pill{border:1.5px solid var(--border);background:#fff;color:var(--text);border-radius:100px;padding:6px 13px;font-size:12px;font-weight:500;cursor:pointer;transition:.15s;white-space:nowrap;font-family:'DM Sans',sans-serif}
    .pill:hover{border-color:#555}
    .pill.on{background:#262626;color:#fff;border-color:#262626}
    .pill.ig{background:var(--ig);border:none;color:#fff;padding:7.5px 13px;font-weight:700}

    /* MAIN LAYOUT */
    .wrap{max-width:1900px;margin:0 auto;padding:16px 14px 20px;display:flex;gap:20px;align-items:flex-start}
    .left{flex:1;min-width:0}
    .right{flex-shrink:0;position:sticky;top:64px}

    /* PROFILE CUSTOMIZER BAR */
    .profile-bar{background:#fff;border:1.5px solid var(--border);border-radius:16px;padding:14px 16px;margin-bottom:18px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
    .profile-bar-title{font-size:13px;font-weight:700;display:flex;align-items:center;gap:6px;color:var(--text);white-space:nowrap}
    .profile-bar-title span{font-size:16px}
    .av-upload-zone{position:relative;width:54px;height:54px;border-radius:50%;background:#f5f5f5;border:2px dashed var(--border);cursor:pointer;overflow:hidden;flex-shrink:0;transition:.2s}
    .av-upload-zone:hover{border-color:#888}
    .av-upload-zone .av-icon-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted);font-size:10px;font-weight:600;pointer-events:none;text-align:center;line-height:1.3}
    .av-upload-zone .av-icon-label svg{width:18px;height:18px;stroke:var(--muted);fill:none;stroke-width:2}
    .av-upload-zone img.av-uploaded{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;display:none}
    .av-upload-zone input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
    .bar-inputs{display:flex;gap:8px;flex:1;min-width:200px;flex-wrap:wrap}
    .bar-inputs input{flex:1;min-width:110px;background:#f5f5f5;border:1.5px solid transparent;border-radius:10px;padding:8px 10px;font-family:'DM Sans',sans-serif;font-size:12px;color:var(--text);outline:none;transition:.2s}
    .bar-inputs input:focus{background:#fff;border-color:#dbdbdb}
    .bar-inputs input::placeholder{color:#8e8e8e}
    .bar-hint{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:4px}
    .bar-hint svg{width:13px;height:13px;stroke:var(--muted);fill:none;stroke-width:2;flex-shrink:0}

    /* AI GENERATOR CARD */
    .gcrd{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;margin-bottom:18px}
    .gcrd-title{font-size:14px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:6px}
    .grow{display:flex;gap:7px;flex-wrap:wrap}
    .gf{flex:1;min-width:130px}
    .gf label{display:block;font-size:10px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;margin-bottom:4px}
    .gf input,.gf select{width:100%;background:#f5f5f5;border:1.5px solid transparent;border-radius:10px;padding:8px 10px;font-family:'DM Sans',sans-serif;font-size:12px;color:var(--text);outline:none;transition:.2s;-webkit-appearance:none}
    .gf input:focus,.gf select:focus{background:#fff;border-color:#dbdbdb}
    .gbtn{background:var(--ig);color:#fff;border:none;border-radius:10px;padding:9px 18px;font-family:'DM Sans',sans-serif;font-size:12px;font-weight:700;cursor:pointer;transition:.2s;white-space:nowrap;align-self:flex-end;letter-spacing:.3px}
    .gbtn:hover{opacity:.9}
    .gbtn:disabled{opacity:.5;cursor:not-allowed}
    .ai-out{margin-top:14px;border-top:1px solid var(--border);padding-top:14px;display:none}
    .ai-out.show{display:block}
    .ai-lbl{font-size:10px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;margin-bottom:10px}
    .ai-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}

    /* SKELETON */
    .sh{background:linear-gradient(90deg,#efefef 25%,#f8f8f8 50%,#efefef 75%);background-size:200% 100%;animation:sh 1.3s infinite;border-radius:8px}
    @keyframes sh{0%{background-position:200% 0}100%{background-position:-200% 0}}

    /* INSTAGRAM-STYLE BIO CARD */
    .bc{background:#fff;border:1.5px solid var(--border);border-radius:0px;overflow:hidden;margin-bottom:10px;cursor:pointer;transition:.18s;position:relative;max-width:380px;box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;}
    .bc:hover{border-color:#aaa;transform:translateX(3px)}
    .bc.sel{border-color:#0095f6;background:linear-gradient(135deg,#f0f8ff,#fff)}

    .bc-topbar{display:flex;align-items:center;justify-content:space-between;padding:8px 12px 6px;border-bottom:.5px solid var(--border)}
    .bc-uname{font-size:12px;font-weight:700;color:var(--text);display:flex;align-items:center;gap:3px}
    .bc-uname svg{width:10px;height:10px;stroke:var(--muted);fill:none;stroke-width:2.5}
    .bc-more{display:flex;align-items:center;gap:4px;color:var(--muted)}
    .bc-more svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2}

    .bc-profile{padding:10px 12px 8px}
    .bc-profile-row{display:flex;align-items:center;gap:10px;margin-bottom:9px}
    .bc-av-wrap{position:relative;width:62px;height:62px;flex-shrink:0}
    .bc-av-ring{position:absolute;inset:0;border-radius:50%;padding:2.5px;background:var(--ig-s)}
    .bc-av-ring-inner{background:#fff;border-radius:50%;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
    .bc-av{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;border:2px solid #fff;background:#f5f5f5;overflow:hidden;background-size:cover;background-position:center}
    .bc-stats{display:flex;flex:1;justify-content:space-around}
    .bc-stat{text-align:center}
    .bc-stat-n{font-size:14px;font-weight:700;color:var(--text);display:block;line-height:1.2}
    .bc-stat-l{font-size:10px;color:var(--muted);margin-top:1px}

    .bc-display-name{font-size:12px;font-weight:700;color:var(--text);margin-bottom:1px}
    .bc-cat-label{font-size:10px;color:var(--muted);margin-bottom:5px}
    .bc-text{font-size:15px;line-height:1.68;color:var(--text);white-space:pre-line;margin-bottom:6px}
    .bc-link{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--blue);font-weight:500;margin-bottom:8px}
    .bc-link svg{width:12px;height:12px;stroke:var(--blue);fill:none;stroke-width:2;flex-shrink:0}
    .bc-action-row{display:flex;gap:5px;margin-bottom:2px}
    .bc-abtn{flex:1;background:#efefef;border:none;border-radius:8px;padding:5px 6px;font-family:'DM Sans',sans-serif;font-size:10px;font-weight:600;color:var(--text);cursor:pointer;text-align:center}
    .bc-abtn.sm{flex:0;padding:5px 8px}

    .bc-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:8px 12px;border-top:.5px solid var(--border)}
    .bc-tag{font-size:10px;font-weight:600;background:#f5f5f5;color:var(--muted);border-radius:100px;padding:3px 9px}
    .bc-acts{display:flex;gap:5px;flex-wrap:wrap}
    .cbtn{background:none;border:1.5px solid var(--border);border-radius:7px;padding:4px 9px;font-family:'DM Sans',sans-serif;font-size:11px;font-weight:600;color:var(--blue);cursor:pointer;transition:.15s}
    .cbtn:hover{background:#f0f8ff}
    .cbtn.ok{color:#2ecc71;border-color:#2ecc71}
    .editbtn{background:none;border:1.5px solid #f09433;border-radius:7px;padding:4px 9px;font-family:'DM Sans',sans-serif;font-size:11px;font-weight:600;color:#f09433;cursor:pointer;transition:.15s}
    .editbtn:hover{background:linear-gradient(45deg,#f09433,#e6683c);color:#fff;border-color:transparent}
    .pbtn{background:none;border:1.5px solid var(--border);border-radius:7px;padding:4px 9px;font-family:'DM Sans',sans-serif;font-size:11px;font-weight:500;color:var(--muted);cursor:pointer;transition:.15s}
    .pbtn:hover{background:#f5f5f5;color:var(--text)}

    /* AI RESULT CARDS */
    .ai-bc{background:#fafafa;border:1.5px solid var(--border);border-radius:12px;padding:12px;cursor:pointer;transition:.15s;}
    .ai-bc:hover{border-color:#aaa;transform:translateY(-2px)}
    .ai-bc-text{font-size:11.5px;line-height:1.65;margin-bottom:9px;white-space:pre-line;color:var(--text)}
    .ai-foot{display:flex;justify-content:space-between;align-items:center}

    /* iPHONE PREVIEW */
    .phone-stage{display:flex;flex-direction:column;align-items:center;gap:10px}
    .phone-hint{font-size:11px;color:var(--muted);text-align:center;font-weight:500}
    .phone-hint strong{color:var(--text)}
    .iphone{min-width:268px;background:#1c1c1e;border-radius:50px;padding:14px;position:relative;box-shadow:0 0 0 1px #3a3a3c,0 0 0 2.5px #1c1c1e,0 0 0 4px #48484a,inset 0 0 0 1px #2c2c2e,0 30px 60px rgba(0,0,0,.5)}
    .iphone-side-btn{position:absolute;left:-3px;top:100px;width:3px;height:34px;background:#3a3a3c;border-radius:2px 0 0 2px}
    .iphone-side-btn2{position:absolute;left:-3px;top:146px;width:3px;height:60px;background:#3a3a3c;border-radius:2px 0 0 2px}
    .iphone-side-btn3{position:absolute;left:-3px;top:218px;width:3px;height:60px;background:#3a3a3c;border-radius:2px 0 0 2px}
    .iphone-pwr{position:absolute;right:-3px;top:140px;width:3px;height:80px;background:#3a3a3c;border-radius:0 2px 2px 0}
    .iphone-screen{background:#fff;border-radius:38px;overflow:hidden;position:relative;min-height:530px}
    .dynamic-island{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:110px;height:32px;background:#1c1c1e;border-radius:20px;z-index:10;display:flex;align-items:center;justify-content:center;gap:10px}
    .di-camera{width:9px;height:9px;border-radius:50%;background:#0a0a0a;border:1.5px solid #2a2a2a;position:relative}
    .di-camera::after{content:'';position:absolute;inset:2px;border-radius:50%;background:#1a3a5c;opacity:.6}
    .status-bar{display:flex;align-items:center;justify-content:space-between;padding:52px 18px 0;font-size:11px;font-weight:600;color:var(--text)}
    .status-time{font-size:14px;font-weight:700}
    .status-icons{display:flex;align-items:center;gap:4px}
    .status-icons svg{width:14px;height:14px;fill:var(--text)}
    .ig-app{padding-top:6px}
    .ig-topbar{display:flex;align-items:center;justify-content:space-between;padding:6px 14px 8px;border-bottom:.5px solid #dbdbdb}
    .ig-uname{font-size:13px;font-weight:700;display:flex;align-items:center;gap:3px;color:#262626}
    .ig-uname svg{width:11px;height:11px;fill:none;stroke:#8e8e8e;stroke-width:2.5}
    .ig-tb-icons{display:flex;align-items:center;gap:12px}
    .ig-tb-icons svg{width:22px;height:22px;fill:none;stroke:#262626;stroke-width:1.8}
    .ig-profile{padding:10px 14px 6px}
    .ig-profile-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}
    .av-wrap{position:relative;width:72px;height:72px;flex-shrink:0}
    .av-ring{position:absolute;inset:0;border-radius:50%;padding:2.5px;background:var(--ig-s)}
    .av-ring-inner{background:#fff;border-radius:50%;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
    .av{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:26px;border:2px solid #fff;overflow:hidden;background-size:cover;background-position:center}
    .av-plus{position:absolute;bottom:0;right:0;width:20px;height:20px;border-radius:50%;background:var(--blue);border:2px solid #fff;display:flex;align-items:center;justify-content:center;font-size:13px;color:#fff;font-weight:700;line-height:1}
    .ig-stats{display:flex;gap:0;flex:1;justify-content:space-around}
    .ig-stat{text-align:center}
    .ig-stat-n{font-size:15px;font-weight:700;color:#262626;display:block;line-height:1.2}
    .ig-stat-l{font-size:10px;color:#8e8e8e;margin-top:1px}
    .ig-dname{font-size:13px;font-weight:700;color:#262626;margin-bottom:2px}
    .ig-bio-text{font-size:11.5px;line-height:1.65;color:#262626;white-space:pre-line;min-height:50px;transition:opacity .25s}
    .ig-bio-text.ph{color:#8e8e8e;font-style:italic;font-size:11px}
    .ig-action-btns{display:flex;gap:5px;margin-top:10px}
    .ig-abtn{flex:1;background:#efefef;border:none;border-radius:9px;padding:6px 8px;font-family:'DM Sans',sans-serif;font-size:11px;font-weight:600;color:#262626;cursor:pointer;text-align:center}
    .ig-abtn.sm{flex:0;padding:6px 10px}
    .ig-hl-row{display:flex;gap:0;padding:10px 14px 8px;overflow-x:auto;border-bottom:.5px solid #dbdbdb;scrollbar-width:none}
    .ig-hl-row::-webkit-scrollbar{display:none}
    .ig-hl{display:flex;flex-direction:column;align-items:center;gap:4px;margin-right:14px;flex-shrink:0}
    .ig-hl-ring{width:54px;height:54px;border-radius:50%;background:#efefef;display:flex;align-items:center;justify-content:center;font-size:22px;border:1px solid #dbdbdb}
    .ig-hl-ring.new{background:#fff;border:1.5px dashed #dbdbdb}
    .ig-hl-lbl{font-size:10px;color:#262626;font-weight:400}
    .ig-tabs{display:flex;border-bottom:.5px solid #dbdbdb}
    .ig-tab{flex:1;padding:10px;display:flex;align-items:center;justify-content:center;border-bottom:2px solid transparent;cursor:pointer}
    .ig-tab.on{border-color:#262626}
    .ig-tab svg{width:19px;height:19px;fill:none;stroke-width:1.8;stroke:#8e8e8e}
    .ig-tab.on svg{stroke:#262626}
    .ig-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dbdbdb}
    .ig-cell{aspect-ratio:1;background:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:22px;overflow:hidden;position:relative}
    .ig-cell:nth-child(even){background:#e8e8e8}
    .ig-cell-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(131,58,180,.15),rgba(253,29,29,.1))}
    .home-ind{display:flex;justify-content:center;padding:6px 0 8px;background:#fff}
    .home-bar{width:110px;height:4px;background:#262626;border-radius:3px;opacity:.3}

    /* MOBILE PREVIEW */
    .mobile-preview-btn{display:none;position:fixed;bottom:50px;right:10px;background:var(--ig);color:#fff;border:none;border-radius:50px;padding:12px 20px;font-family:'DM Sans',sans-serif;font-size:13px;font-weight:700;cursor:pointer;z-index:150;box-shadow:0 4px 15px rgba(0,0,0,.3);animation:pulse 2s infinite}
    @keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
    .modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:300;justify-content:center;align-items:center;padding:20px}
    .modal-overlay.show{display:flex}
    .modal-content{background:#fff;border-radius:20px;padding:20px;max-width:320px;width:100%;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.5)}
    .modal-close{position:absolute;top:-15px;right:-15px;width:36px;height:36px;background:#fff;border:2px solid var(--border);border-radius:50%;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:10;box-shadow:0 2px 10px rgba(0,0,0,.2)}

    /* SUBMIT CARD (unchanged) */
    .submit-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;padding:24px;margin:24px auto 60px;color:#fff;box-shadow:0 4px 20px rgba(102,126,234,.3);max-width:600px}
    .submit-card h2{font-size:20px;font-weight:700;margin-bottom:6px}
    .submit-card p{font-size:13px;opacity:.9;margin-bottom:16px}
    .submit-form{display:flex;flex-direction:column;gap:12px}
    .submit-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
    .submit-input{flex:1;min-width:150px;padding:10px 12px;border:none;border-radius:8px;font-family:'DM Sans',sans-serif;font-size:13px;outline:none;background:rgba(255,255,255,.95)}
    .submit-select{flex:1;min-width:130px;padding:10px 12px;border:none;border-radius:8px;font-family:'DM Sans',sans-serif;font-size:13px;outline:none;background:rgba(255,255,255,.95);-webkit-appearance:none;cursor:pointer}
    .submit-photo-upload{position:relative;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.95);
    border:2px dashed rgb(26 57 125);cursor:pointer;overflow:hidden;flex-shrink:0;transition:.2s}
    .submit-photo-upload:hover{border-color:#fff}
    .submit-photo-upload .photo-icon-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#667eea;font-size:9px;font-weight:600;pointer-events:none;text-align:center;line-height:1.3}
    .submit-photo-upload img.submit-photo-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;display:none}
    .submit-photo-upload input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
    .submit-textarea{width:100%;padding:10px 12px;border:none;border-radius:8px;font-family:'DM Sans',sans-serif;font-size:13px;resize:vertical;min-height:80px;outline:none;background:rgba(255,255,255,.95);height:214px;}
    .submit-footer{display:flex;justify-content:space-between;align-items:center}
    .submit-char-count{font-size:11px;opacity:.8}
    .submit-btn{background:#fff;color:#764ba2;border:none;border-radius:8px;padding:10px 28px;font-weight:700;cursor:pointer;font-size:13px;font-family:'DM Sans',sans-serif;transition:.2s}
    .submit-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.2)}
    .submit-btn:disabled{opacity:.6;cursor:not-allowed}

    /* CROPPER MODAL */
    .crop-modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.85);z-index:400;align-items:center;justify-content:center}
    .crop-modal-overlay.show{display:flex}
    .crop-modal{background:#fff;border-radius:16px;max-width:500px;width:90%;padding:20px;display:flex;flex-direction:column;gap:16px}
    .crop-title{font-size:16px;font-weight:700}
    .crop-area{width:100%;height:300px;background:#f0f0f0}
    .crop-actions{display:flex;gap:10px;justify-content:flex-end}
    .crop-btn{padding:8px 20px;border-radius:8px;font-weight:600;cursor:pointer;border:none;font-family:'DM Sans',sans-serif}
    .crop-btn.cancel{background:#efefef;color:#262626}
    .crop-btn.confirm{background:var(--ig);color:#fff}

    /* VIEW MORE BUTTON */
    .view-more-btn{
    display:block;
    margin:20px auto;
    padding:15px 62px;
    background:#fff;
    color:#2563eb;
    border:2px solid #2563eb;
    border-radius:0;
    font-weight:700;
    cursor:pointer;
    font-family:'DM Sans',sans-serif;
    transition:all .3s ease;
    font-size:20px;
}

.view-more-btn:hover{
    background:#2563eb;
    color:#fff;
}

.view-more-btn:disabled{
    opacity:.5;
    cursor:not-allowed;
}

    .toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.85);color:#fff;padding:10px 24px;border-radius:100px;font-size:13px;font-weight:600;opacity:0;pointer-events:none;transition:opacity .3s;z-index:999;white-space:nowrap}
    .toast.show{opacity:1}

    @media(max-width:680px){
      .right{display:none}
      .wrap{display:block}
      .ai-grid{grid-template-columns:1fr}
      .mobile-preview-btn{display:block}
      .profile-bar{gap:10px}
      .bc{width:100%};
    }
    #bioGrid{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;padding-bottom:20px}
    
    /* =========================
   MODERN SAAS THEME 2026
========================= */

:root{
  --primary:#2563eb;
  --primary-hover:#1d4ed8;
  --primary-light:#eff6ff;

  --bg:#f8fafc;
  --card:#ffffff;

  --text:#0f172a;
  --text-light:#475569;
  --muted:#64748b;

  --border:#e2e8f0;

  --success:#10b981;
  --danger:#ef4444;

  --shadow-sm:0 1px 2px rgba(15,23,42,.05);
  --shadow-md:0 8px 24px rgba(15,23,42,.08);
  --shadow-lg:0 20px 40px rgba(15,23,42,.12);

  --radius:18px;
}

/* BODY */

body{
  font-family:'DM Sans',sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
  line-height:1.6;
}

/* HEADER */

.hdr{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}

.hdr-in{
  max-width:1400px;
  margin:auto;
  padding:0 24px;
  height:76px;
  display:flex;
  align-items:center;
  gap:20px;
}

.logo{
  font-size:28px;
  font-weight:800;
  color:var(--primary);
  letter-spacing:-1px;
  display: flex;
  align-items:center;
}

/* SEARCH */

.srch{
  flex:1;
  max-width:500px;
  position:relative;
}

.srch input{
  width:100%;
  height:48px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:0 18px 0 42px;
  font-size:14px;
  transition:.3s;
}

.srch input:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(37,99,235,.1);
}

.srch svg{
  width:18px;
  height:18px;
  position:absolute;
  top:50%;
  left:14px;
  transform:translateY(-50%);
  stroke:#94a3b8;
}

/* BUTTONS */

.hdr-btn,
.gbtn,
.submit-btn,
.view-more-btn{
   display:block;
    margin:20px auto;
    padding:15px 32px;
    background:#fff;
    color:#2563eb;
    border:1px solid #2563eb;
    border-radius:4px;
    font-weight:700;
    cursor:pointer;
    font-family:'DM Sans',sans-serif;
    transition:all .3s ease;
    
}

.hdr-btn{
  padding:12px 22px;
}

.gbtn{
  padding:12px 22px;
}

.hdr-btn:hover,
.gbtn:hover,
.submit-btn:hover,
.view-more-btn:hover{
  background:var(--primary-hover);
  transform:translateY(-2px);
}

/* HERO */

.hero{
  max-width:900px;
  margin:auto;
  text-align:center;
  padding:90px 20px 60px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  background:var(--primary-light);
  color:var(--primary);
  border-radius:999px;
  font-weight:700;
  border:none;
}

.hero-dot{
  width:8px;
  height:8px;
  background:var(--primary);
  border-radius:50%;
}

.hero h1{
  font-size:clamp(42px,6vw,72px);
  line-height:1.1;
  font-weight:800;
  margin:25px 0;
  letter-spacing:-2px;
}

.hero h1 em{
  
  font-style:normal;
 
}

.hero p{
  max-width:700px;
  margin:auto;
  color:var(--muted);
  font-size:18px;
}

/* CATEGORY BAR */

.cats-wrap{
  max-width:1300px;
  margin:auto;
}

.pill{
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  padding:10px 18px;
  font-size:13px;
  font-weight:600;
  transition:.25s;
  text-decoration:none;
}

.pill:hover{
  border-color:var(--primary);
}

.pill.on,
.pill.ig{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}

/* LAYOUT */

.wrap{
  max-width:1850px;
  margin:auto;
  padding:20px;
  gap:30px;
}

/* CARDS */

.profile-bar,
.gcrd,
,
.ai-bc,
.submit-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  box-shadow:var(--shadow-md);
}

.profile-bar:hover,
.gcrd:hover,
.bc:hover{
  box-shadow:var(--shadow-lg);
}

/* INPUTS */

.bar-inputs input,
.gf input,
.gf select,
.submit-input,
.submit-select,
.submit-textarea{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  min-height:48px;
  transition:.3s;
}

.bar-inputs input:focus,
.gf input:focus,
.gf select:focus,
.submit-input:focus,
.submit-select:focus,
.submit-textarea:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(37,99,235,.1);
  outline:none;
}

/* BIO CARDS */

.bc{
  overflow:hidden;
  transition:.25s;
}

.bc:hover{
  transform:translateY(-5px);
}

.bc-topbar{
  border-bottom:1px solid var(--border);
}

.bc-foot{
  border-top:1px solid var(--border);
}

.bc-tag{
  background:var(--primary-light);
  color:var(--primary);
  font-weight:700;
}

.bc{
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 430px; /* adjust as needed */
    justify-content:center;
    width:100%;
}

.bc-profile{
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Push everything below the bio to the bottom */
.bc-action-row{
    margin-top: auto;
}

/* Keep the footer at the very bottom */
.bc-foot{
    margin-top: 12px;
}

/* PHONE PREVIEW */

.iphone{
  transform:scale(.95);
  box-shadow:
    0 30px 80px rgba(15,23,42,.25);
}

/* SUBMIT SECTION */

.submit-card{
  background:#fff;
  color:var(--text);
  padding:30px;
}

.submit-card h2{
  color:var(--text);
}

.submit-card p{
  color:var(--muted);
}

/* FOOTER */

.footer{
  margin-top:80px;
  background:#0f172a;
  color:#fff;
}

.footer-container{
  max-width:1400px;
  margin:auto;
  padding:60px 20px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
}

.footer h3{
  font-size:28px;
  margin-bottom:14px;
}

.footer p{
  color:#94a3b8;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-links a{
  color:#94a3b8;
  text-decoration:none;
}

.footer-links a:hover{
  color:#fff;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
  padding:20px;
  color:#94a3b8;
}

/* MOBILE */

@media(max-width:768px){

  .hero{
    padding:60px 16px;
  }

  .hero h1{
    font-size:42px;
  }

  .footer-container{
    grid-template-columns:1fr;
  }

  .hdr-in{
    padding:0 12px;
  }

  .logo{
    font-size:22px;
  }
}

.menu-btn{
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
}

/* Header */
.hdr{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:#fff;
}

/* Dropdown Menu */
#topMenu{
    position:fixed;
    top:70px; /* navbar height */
    left:0;
    width:100%;
    background:#f5f7fa;
    z-index:999;

    transform:translateY(-120%);
    transition:transform .35s ease;

    max-height:80vh;
    overflow-y:auto;

    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

/* Open State */
#topMenu.active{
    transform:translateY(0);
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
    gap:12px;
    padding:15px;
    background:#f5f7fa;
}

.category-grid a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    text-decoration:none;
    background:#fff;
    color:#111827;
    border:1px solid #dce3ea;
    border-radius:50px;
    padding:14px 10px;
    font-weight:600;
    transition:.3s;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.category-grid a:hover{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
    transform:translateY(-2px);
}

.category-grid a span{
    font-size:18px;
}

/* Mobile */
@media(max-width:768px){
    .category-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* Desktop */
@media(min-width:769px){
    .category-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

.content{
    max-width:1800px;
    margin:30px auto;
    padding:30px;
    background:#fff;
    border-radius:16px;
    box-shadow:0 4px 20px rgba(0,0,0,.06);
    line-height:1.8;
    color:#333;
    font-size:17px;
}

/* Headings */
.content h1{
    font-size:2.4rem;
    color:#111827;
    margin-bottom:20px;
    line-height:1.3;
}

.content h2{
    font-size:1.8rem;
    color:#1f2937;
    margin:40px 0 15px;
    padding-bottom:10px;
    border-bottom:2px solid #e5e7eb;
}

.content h3{
    font-size:1.4rem;
    color:#374151;
    margin:30px 0 12px;
}

/* Paragraphs */
.content p{
    margin-bottom:18px;
    color:#4b5563;
}

/* Links */
.content a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.content a:hover{
    text-decoration:underline;
}

/* Lists */
.content ul,
.content ol{
    margin:15px 0 20px 25px;
}

.content li{
    margin-bottom:10px;
}

/* Tables */
.content table{
    width:100%;
    border-collapse:collapse;
    margin:25px 0;
    overflow:hidden;
    border-radius:10px;
}

.content th{
    background:#2563eb;
    color:#fff;
    padding:12px;
    text-align:left;
}

.content td{
    padding:12px;
    border:1px solid #e5e7eb;
}

/* Images */
.content img{
    max-width:100%;
    height:auto;
    border-radius:12px;
    margin:20px 0;
}

/* Blockquote */
.content blockquote{
    border-left:4px solid #2563eb;
    background:#f8fafc;
    padding:15px 20px;
    margin:20px 0;
    font-style:italic;
}

/* Code */
.content code{
    background:#f3f4f6;
    padding:3px 6px;
    border-radius:4px;
}

.content pre{
    background:#111827;
    color:#fff;
    padding:20px;
    border-radius:10px;
    overflow:auto;
}

/* Mobile */
@media (max-width:768px){
    .content{
        margin:15px;
        padding:20px;
        font-size:16px;
        border-radius:12px;
    }

    .content h1{
        font-size:2rem;
    }

    .content h2{
        font-size:1.5rem;
    }

    .content h3{
        font-size:1.25rem;
    }
}
.site-footer{
    background:linear-gradient(180deg,#fff,#fafafa);
    color:#fff;
    margin-top:60px;
    border-top:1px solid rgba(255,255,255,.08);
}

.footer-container{
    max-width:1200px;
    margin:auto;
    padding:50px 20px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:35px;
}

.footer-brand img{
    max-width:220px;
    margin-bottom:15px;
}

.footer-brand p{
    color:#bbb;
    line-height:1.7;
    font-size:15px;
}

.footer-links h3{
    font-size:18px;
    margin-bottom:18px;
    color:#fff;
}

.footer-links ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#5e636e;
    text-decoration:none;
    transition:.3s;
    display:inline-block;
}

.footer-links a:hover{
    color:#ff4d8d;
    transform:translateX(4px);
}

.footer-bottom{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    padding:18px;
    color:#999;
    font-size:14px;
}

@media(max-width:900px){

    .footer-container{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:600px){

    .footer-container{
        grid-template-columns:1fr;
        gap:25px;
        padding:35px 18px;
    }

    .footer-brand{
        text-align:center;
    }

    .footer-brand img{
        margin:auto auto 15px;
        display:block;
    }

    .footer-links{
        background:#fff;
        padding:18px;
        border-radius:14px;
    }
}