:root{
  --indigo: #211D4F;
  --violet: #6C5CE7;
  --amber: #F5A623;
  --coral: #FF6B9D;
  --mint: #2ED9C3;
  --bg: #F8F7FC;
  --surface: #FFFFFF;
  --surface-2: #F1EFFB;
  --border: #E4E1F5;
  --text: #1A1A2E;
  --text-dim: #6B6785;
  --grad-brand: linear-gradient(135deg, var(--violet), var(--coral) 55%, var(--amber));
  --indigo-fixed-dark: #211D4F;
}
html[data-theme="dark"]{
  --indigo: #ECEAFF;
  --bg: #131320;
  --surface: #1C1B2E;
  --surface-2: #262538;
  --border: #34324A;
  --text: #F1F0FA;
  --text-dim: #A29EC2;
}
* , *::before, *::after{ transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
a{ color:inherit; text-decoration:none; }

/* THEME TOGGLE BUTTON */
.theme-toggle{ display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:10px; border:1px solid var(--border); background:var(--surface); cursor:pointer; flex-shrink:0; }
.theme-toggle svg{ width:17px; height:17px; }
html[data-theme="dark"] .icon-sun{ display:none; }
html[data-theme="dark"] .icon-moon{ display:block; }
.icon-moon{ display:none; }

/* MULTI-COLOR GLOW / LIGHTING SYSTEM */
.glow-orb{ position:fixed; border-radius:50%; filter: blur(90px); z-index:0; pointer-events:none; opacity:0.5; }
.glow-1{ width:460px; height:460px; background: radial-gradient(circle, rgba(108,92,231,0.35), transparent 70%); top:-160px; left:-120px; }
.glow-2{ width:420px; height:420px; background: radial-gradient(circle, rgba(245,166,35,0.30), transparent 70%); top:280px; right:-140px; }
.glow-3{ width:380px; height:380px; background: radial-gradient(circle, rgba(255,107,157,0.22), transparent 70%); bottom:-140px; left:30%; }
nav, main, header.hero, footer, .newsletter-section{ position: relative; z-index: 1; }
.wrap{ max-width: 1180px; margin:0 auto; padding: 0 28px; }
::selection{ background: var(--amber); color:#14171C; }
img{ max-width:100%; display:block; }

/* NAV */
nav{ position: sticky; top:0; z-index: 50; background: rgba(248,247,252,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
html[data-theme="dark"] nav{ background: rgba(19,19,32,0.85); }
nav .wrap{ display:flex; align-items:center; justify-content:space-between; height:74px; }
.logo img{ display:block; }
.nav-links{ display:flex; gap:30px; align-items:center; }
.nav-links > a{ font-size:14.5px; font-weight:600; color: var(--indigo); transition:color .15s; white-space:nowrap; }
.nav-links > a:hover{ color: var(--violet); }
.nav-actions{ display:flex; align-items:center; gap:12px; }
.icon-btn{ display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:10px; border:1px solid var(--border); background:var(--surface); color:var(--indigo); flex-shrink:0; transition: border-color .15s; }
.icon-btn:hover{ border-color: var(--violet); color: var(--violet); }
.nav-cta{ background: var(--grad-brand); color:#fff !important; padding:10px 22px; border-radius:9px; font-weight:700; font-size:14px; white-space:nowrap; transition: transform .15s, box-shadow .15s; }
.nav-cta:hover{ transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(108,92,231,0.55); }
.mobile-toggle{ display:none; flex-direction:column; gap:4px; background:none; border:none; cursor:pointer; padding:8px; }
.mobile-toggle span{ width:20px; height:2px; background:var(--indigo); border-radius:2px; }

/* LANG DROPDOWN — এখন প্রমিনেন্ট gradient pill হিসেবে, নেভবারের সামনের অংশে */
.lang-switch-prominent{ border-left:none !important; padding-left:0 !important; }
.lang-switch-prominent .lang-current{
  background: var(--grad-brand); color:#fff; padding:9px 14px; border-radius:20px; font-size:13px; box-shadow: 0 6px 16px -8px rgba(108,92,231,0.5);
}
.lang-switch{ position:relative; }
.lang-current{ display:flex; align-items:center; gap:6px; background:none; border:none; cursor:pointer; font-size:13.5px; font-weight:600; color:var(--indigo); font-family:inherit; }
.lang-dropdown{
  position:absolute; top:calc(100% + 10px); right:0; background: var(--surface); border:1px solid var(--border);
  border-radius:10px; box-shadow: 0 12px 30px -10px rgba(33,29,79,0.2); padding:6px; min-width:140px;
  opacity:0; visibility:hidden; transform: translateY(-6px); transition: all .15s; z-index:60;
}
.lang-switch.open .lang-dropdown{ opacity:1; visibility:visible; transform: translateY(0); }
.lang-dropdown a{ display:block; padding:9px 12px; border-radius:7px; font-size:13.5px; color:var(--text); }
.lang-dropdown a:hover{ background: var(--surface-2); }
.lang-dropdown a.active{ color: var(--violet); font-weight:700; }

/* HERO */
header.hero{ padding: 88px 0 60px; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color: var(--violet);
  background: rgba(108,92,231,0.08); border:1px solid rgba(108,92,231,0.2); padding:7px 16px; border-radius:20px; margin-bottom:26px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--amber); }
h1{ font-family:'Sora'; font-weight:700; letter-spacing:-0.02em; font-size: clamp(32px, 5vw, 58px); line-height:1.12; max-width: 860px; margin: 0 auto; color: var(--indigo); }
h1 .accent{ background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero p.sub{ max-width: 600px; margin: 22px auto 0; color: var(--text-dim); font-size:16.5px; line-height:1.7; }
.hero-cta-group{ display:flex; gap:14px; justify-content:center; margin-top:34px; flex-wrap:wrap; }
.btn-primary{ background: var(--grad-brand); color:#fff; font-weight:700; font-size:14.5px; padding: 14px 28px; border-radius:10px; display:inline-block; border:none; cursor:pointer; transition: transform .18s, box-shadow .18s; box-shadow: 0 10px 26px -12px rgba(108,92,231,0.5); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(255,107,157,0.55); }
.btn-outline{ background: var(--surface); color:var(--indigo); font-weight:700; font-size:14.5px; padding:14px 28px; border-radius:10px; border:1.5px solid var(--border); display:inline-block; transition: border-color .15s; }
.btn-outline:hover{ border-color: var(--violet); color: var(--violet); }

.cmd-search{ max-width: 600px; margin: 36px auto 0; }
.cmd-search .box{ display:flex; align-items:center; gap:12px; background: var(--surface); border:1px solid var(--border); border-radius: 12px; padding: 15px 18px; box-shadow: 0 10px 30px -14px rgba(33,29,79,0.15); }
.cmd-search .box:focus-within{ border-color: var(--violet); }
.cmd-search svg{ flex-shrink:0; opacity:0.4; color: var(--indigo); }
.cmd-search input{ flex:1; background:none; border:none; outline:none; color:var(--text); font-family:inherit; font-size:15px; }
.cmd-search input::placeholder{ color: var(--text-dim); }

.hero-stats{ display:flex; gap:40px; justify-content:center; margin-top:44px; flex-wrap:wrap; }
.hero-stats div{ text-align:center; }
.hero-stats .n{ font-family:'Sora'; font-weight:700; font-size:24px; color:var(--indigo); }
.hero-stats .l{ font-size:11.5px; color:var(--text-dim); font-weight:600; letter-spacing:0.04em; margin-top:2px; }

/* SECTIONS */
.section{ padding: 68px 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:34px; flex-wrap:wrap; gap:16px; }
.section-head h2{ font-family:'Sora'; font-size: clamp(23px,3vw,30px); font-weight:700; color:var(--indigo); }
.section-head .num{ font-size:12.5px; font-weight:700; color:var(--violet); letter-spacing:0.06em; margin-bottom:8px; display:block; }
.section-head p{ color:var(--text-dim); font-size:14.5px; max-width:420px; }
.section-cta{ font-size:13.5px; font-weight:700; color: var(--violet); }

.cat-pills{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 40px; }
.cat-pill{ font-size:13.5px; font-weight:600; padding:9px 16px; border-radius:20px; border:1px solid var(--border); background:var(--surface); color:var(--text-dim); transition: all .15s; cursor:pointer; }
.cat-pill.active, .cat-pill:hover{ border-color: var(--violet); color: var(--violet); background: rgba(108,92,231,0.06); }

/* TOOL / GENERATOR CARDS */
.tool-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tool-card{ background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 20px; position: relative; display:block; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tool-card:hover{ transform: translateY(-4px); border-color: var(--violet); box-shadow: 0 16px 32px -16px rgba(108,92,231,0.35); }
.tool-card:nth-child(4n+2):hover{ border-color: var(--amber); box-shadow: 0 16px 32px -16px rgba(245,166,35,0.35); }
.tool-card:nth-child(4n+3):hover{ border-color: var(--coral); box-shadow: 0 16px 32px -16px rgba(255,107,157,0.35); }
.tool-card:nth-child(4n+4):hover{ border-color: var(--mint); box-shadow: 0 16px 32px -16px rgba(46,217,195,0.35); }
.tool-icon{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom: 16px; background: var(--surface-2); }
.tool-name{ font-weight:700; font-size:15px; margin-bottom:5px; color:var(--indigo); }
.tool-desc{ font-size:12.5px; color:var(--text-dim); line-height:1.5; }
.tool-badge{ display:inline-block; margin-top:12px; font-size:10.5px; font-weight:700; color: var(--violet); background: rgba(108,92,231,0.08); padding: 3px 9px; border-radius:6px; }
.empty-state{ text-align:center; color:var(--text-dim); padding:50px 0; }
.empty-state a{ color: var(--violet); font-weight:600; }

/* PROMPT CARDS */
.prompt-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.prompt-card{ background: var(--surface); border:1px solid var(--border); border-radius:16px; padding:22px; transition: transform .18s, border-color .18s, box-shadow .18s; display:flex; flex-direction:column; }
.prompt-card:hover{ transform: translateY(-4px); border-color: var(--amber); box-shadow: 0 16px 32px -16px rgba(245,166,35,0.35); }
.prompt-card:nth-child(3n+2):hover{ border-color: var(--mint); box-shadow: 0 16px 32px -16px rgba(46,217,195,0.35); }
.prompt-card:nth-child(3n+3):hover{ border-color: var(--coral); box-shadow: 0 16px 32px -16px rgba(255,107,157,0.35); }
.prompt-card-top{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:10px; }
.prompt-cat-tag{ font-size:11px; font-weight:700; color:var(--violet); background:rgba(108,92,231,0.08); padding:3px 9px; border-radius:6px; }
.prompt-card h3{ font-family:'Sora'; font-size:15.5px; margin-bottom:8px; color:var(--indigo); }
.prompt-preview{ font-size:12.5px; color:var(--text-dim); line-height:1.6; flex:1; margin-bottom:14px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.prompt-card-bottom{ display:flex; justify-content:space-between; align-items:center; font-size:11.5px; color:var(--text-dim); }
.prompt-stats{ display:flex; gap:12px; }

.sort-tabs{ display:flex; gap:6px; background:var(--surface-2); border-radius:10px; padding:4px; width:fit-content; margin-bottom:32px; }
.sort-tab{ padding:8px 16px; border-radius:8px; font-size:13px; font-weight:600; color:var(--text-dim); cursor:pointer; }
.sort-tab.active{ background:var(--surface); color:var(--indigo); box-shadow: 0 2px 8px -2px rgba(33,29,79,0.15); }

/* BREADCRUMB */
.breadcrumb{ font-size:13px; color:var(--text-dim); margin-bottom:24px; }
.breadcrumb a{ color:var(--violet); font-weight:600; }
.breadcrumb span{ margin:0 6px; }

/* PROMPT SINGLE PAGE */
.prompt-detail{ max-width: 780px; margin:0 auto; }
.prompt-detail h1{ text-align:left; font-size: clamp(26px,4vw,36px); margin-bottom:10px; }
.prompt-detail .meta-row{ display:flex; gap:16px; align-items:center; color:var(--text-dim); font-size:13px; margin-bottom:28px; flex-wrap:wrap; }
.prompt-box{ background: var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; position:relative; margin-bottom:12px; }
.prompt-box pre{ white-space:pre-wrap; word-wrap:break-word; font-family:'Inter'; font-size:14.5px; line-height:1.8; color:var(--text); }
.copy-btn{ background: var(--grad-brand); color:#fff; border:none; font-weight:700; font-size:13.5px; padding:11px 22px; border-radius:9px; cursor:pointer; display:inline-flex; align-items:center; gap:8px; transition: background .15s; }
.copy-btn:hover{ background: var(--violet); }
.copy-btn.copied{ background: #2ECC71; }
.prompt-example-img{ border-radius:14px; border:1px solid var(--border); margin:20px 0; }
.tag-list{ display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.tag-chip{ font-size:11.5px; color:var(--text-dim); background:var(--surface-2); padding:4px 10px; border-radius:6px; }

/* GENERATOR FORM (prompt/generator.php) */
.generator-form{ background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:32px; max-width:680px; margin:0 auto; }
.generator-form .form-row{ margin-bottom:18px; }
.generator-form label{ display:block; font-size:13px; font-weight:600; color:var(--indigo); margin-bottom:7px; }
.generator-form input, .generator-form textarea, .generator-form select{
  width:100%; background: var(--bg); border:1px solid var(--border); border-radius:9px; padding:11px 14px; color:var(--text); font-family:inherit; font-size:14px;
}
.generator-form textarea{ resize:vertical; }

/* USP */
.usp-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.usp-item{ background: var(--surface); border:1px solid var(--border); border-radius:16px; padding: 30px 26px; }
.usp-item .ico{ font-size:24px; margin-bottom:14px; display:block; }
.usp-item h3{ font-family:'Sora'; font-size:16.5px; margin-bottom:8px; color:var(--indigo); }
.usp-item p{ color:var(--text-dim); font-size:13.5px; line-height:1.6; }

.cta-strip{ background: linear-gradient(135deg, var(--indigo-fixed-dark), #3a3480); border-radius: 22px; padding: 60px 48px; text-align:center; position:relative; overflow:hidden; }
.cta-strip::before{ content:''; position:absolute; width:400px; height:400px; border-radius:50%; background: radial-gradient(circle, rgba(245,166,35,0.18), transparent 70%); top:-150px; right:-100px; }
.cta-strip h2{ font-family:'Sora'; font-size: clamp(22px,3vw,30px); margin-bottom:12px; color:#fff; position:relative; }
.cta-strip p{ color:rgba(255,255,255,0.75); margin-bottom:26px; position:relative; }

/* NEWSLETTER */
.newsletter-section{ padding: 10px 0 60px; }
.newsletter-box{ background: var(--surface); border:1px solid var(--border); border-radius:18px; padding: 34px 38px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.newsletter-box h3{ font-family:'Sora'; font-size:18px; margin-bottom:5px; color:var(--indigo); }
.newsletter-box p{ color:var(--text-dim); font-size:13.5px; }
.newsletter-form{ display:flex; gap:10px; }
.newsletter-form input{ background: var(--bg); border:1px solid var(--border); border-radius:9px; padding:12px 16px; color:var(--text); font-size:13.5px; min-width:220px; font-family:inherit; }
.newsletter-form button{ background: var(--amber); color:#211D4F; border:none; font-weight:700; font-size:13.5px; padding:12px 22px; border-radius:9px; cursor:pointer; }

/* FOOTER */
footer{ border-top:1px solid var(--border); padding: 48px 0 24px; margin-top:20px; }
.footer-top{ display:grid; grid-template-columns: 240px 1fr; gap:40px; margin-bottom:32px; }
.footer-tagline{ color:var(--text-dim); font-size:13.5px; line-height:1.6; margin:14px 0; }
.footer-social{ display:flex; gap:16px; }
.footer-social a{ color:var(--text-dim); font-size:12.5px; }
.footer-social a:hover{ color: var(--violet); }
.footer-cols{ display:grid; grid-template-columns: repeat(4, 1fr); gap:24px; }
.footer-col h4{ font-size:12.5px; margin-bottom:14px; color: var(--indigo); text-transform:uppercase; letter-spacing:0.04em; }
.footer-col ul{ list-style:none; }
.footer-col li{ margin-bottom:9px; }
.footer-col a{ color:var(--text-dim); font-size:13px; }
.footer-col a:hover{ color: var(--violet); }
.footer-bottom{ padding-top:22px; border-top:1px solid var(--border); }
.fl{ color:var(--text-dim); font-size:13px; }

/* TOOL / PROMPT DETAIL PAGE SHARED */
.tool-page{ max-width: 720px; margin: 0 auto; }
.tool-page h1{ font-size: clamp(26px,4vw,36px); text-align:left; margin-bottom:10px; }
.tool-page-desc{ color: var(--text-dim); margin-bottom:28px; font-size:15px; }
.tool-form textarea{ width:100%; background: var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px; color:var(--text); font-family:inherit; font-size:14.5px; resize:vertical; margin-bottom:16px; }
.tool-form textarea:focus{ outline:none; border-color: var(--violet); }
.tool-output{ margin-top:28px; }
.tool-output h3{ font-family:'Sora'; font-size:16px; margin-bottom:10px; color:var(--indigo); }
.output-box{ background: var(--surface); border:1px solid var(--border); border-radius:12px; padding:18px; font-size:14.5px; line-height:1.7; }
.alert-error{ background: #FEECEC; border:1px solid #F8C4C4; color:#C0392B; padding:12px 16px; border-radius:9px; margin-bottom:18px; font-size:13.5px; }
.alert-success{ background: #E9F9EF; border:1px solid #B7E8C8; color:#1E8449; padding:12px 16px; border-radius:9px; margin-bottom:18px; font-size:13.5px; }
.alert-info{ background: rgba(108,92,231,0.07); border:1px solid rgba(108,92,231,0.2); color:var(--violet); padding:14px 18px; border-radius:10px; margin-bottom:28px; font-size:13.5px; line-height:1.6; }

.tool-info-sections{ margin-top:44px; padding-top:32px; border-top:1px solid var(--border); }
.info-block{ margin-bottom:28px; }
.info-block h2{ font-family:'Sora'; font-size:17px; margin-bottom:10px; color:var(--indigo); }
.info-block p{ color:var(--text-dim); font-size:14.5px; line-height:1.8; }
.faq-list{ display:flex; flex-direction:column; gap:12px; }
.faq-item{ background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px 18px; }
.faq-q{ font-weight:700; font-size:13.5px; margin-bottom:6px; color:var(--indigo); }
.faq-a{ color:var(--text-dim); font-size:13px; line-height:1.7; }

.related-tools{ margin-top:36px; padding-top:28px; border-top:1px solid var(--border); }
.related-tools h3{ font-family:'Sora'; font-size:16px; margin-bottom:14px; color:var(--indigo); }
.related-tools-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.related-tool-card{ display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:12px 14px; font-size:12.5px; font-weight:600; color:var(--indigo); transition: border-color .15s, transform .15s; }
.related-tool-card:hover{ border-color:var(--violet); transform:translateY(-2px); }

.ad-slot{ margin:24px 0; text-align:center; overflow:hidden; }
.ad-slot:empty{ display:none; }

/* STATIC PAGES */
.static-page{ max-width: 760px; margin: 0 auto; }
.static-page .num{ font-size:13px; font-weight:700; color:var(--violet); letter-spacing:0.04em; display:block; margin-bottom:10px; }
.static-page h1{ text-align:left; font-size: clamp(28px,4vw,38px); margin-bottom:10px; }
.static-page .lead{ color:var(--text-dim); font-size:16px; margin-bottom:32px; }
.static-page h2{ font-family:'Sora'; font-size:18px; margin:28px 0 12px; color:var(--indigo); }
.static-page p{ color:var(--text-dim); font-size:14.5px; line-height:1.8; margin-bottom:12px; }
.static-page ul{ margin: 0 0 16px 20px; }
.static-page li{ color:var(--text-dim); font-size:14.5px; line-height:1.8; margin-bottom:6px; }
.static-page a{ color: var(--violet); font-weight:600; }

.contact-grid{ display:grid; grid-template-columns: 1fr 1.4fr; gap:28px; margin-top:20px; }
.contact-info{ display:flex; flex-direction:column; gap:16px; }
.contact-item{ background: var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px 18px; }
.contact-item strong{ display:block; font-size:11.5px; color:var(--text-dim); margin-bottom:6px; text-transform:uppercase; letter-spacing:0.03em; }
.contact-item a{ color: var(--indigo); font-size:14px; word-break:break-word; font-weight:600; }
.contact-form{ background: var(--surface); border:1px solid var(--border); border-radius:16px; padding:26px; }
.contact-form .form-row{ margin-bottom:16px; }
.contact-form label{ display:block; font-size:12.5px; font-weight:600; color:var(--indigo); margin-bottom:6px; }
.contact-form input, .contact-form textarea{ width:100%; background: var(--bg); border:1px solid var(--border); border-radius:9px; padding:11px 14px; color:var(--text); font-family:inherit; font-size:14px; }
.contact-form textarea{ resize:vertical; }
.honeypot-field{ position:absolute; left:-9999px; opacity:0; }

/* BLOG */
.blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.blog-card{ background: var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; transition: transform .18s, box-shadow .18s; }
.blog-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(33,29,79,0.2); }
.blog-card-img{ width:100%; height:160px; object-fit:cover; background:var(--surface-2); }
.blog-card-body{ padding:20px; }
.blog-card h3{ font-family:'Sora'; font-size:16px; margin-bottom:8px; color:var(--indigo); }
.blog-card p{ font-size:13px; color:var(--text-dim); line-height:1.6; }
.blog-post{ max-width:720px; margin:0 auto; }
.blog-post h1{ text-align:left; font-size: clamp(26px,4vw,38px); margin-bottom:16px; }
.blog-post-content{ color:var(--text-dim); font-size:15.5px; line-height:1.85; }
.blog-post-content p{ margin-bottom:16px; }

@media (max-width: 900px){
  .tool-grid, .prompt-grid, .blog-grid{ grid-template-columns: repeat(2,1fr); }
  .usp-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; }
  .footer-cols{ grid-template-columns: repeat(2,1fr); }
  .related-tools-grid{ grid-template-columns: repeat(2,1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .nav-links{ display:none; position:absolute; top:74px; left:0; right:0; background: var(--surface); border-bottom:1px solid var(--border); flex-direction:column; align-items:flex-start; padding:20px 28px; gap:16px; z-index:55; }
  .nav-links.open{ display:flex; }
  .mobile-toggle{ display:flex; order:-1; }
  .nav-cta{ display:none; }
  .nav-actions{ gap:8px; }
  .lang-switch-prominent .lang-current span, .lang-current{ font-size:12px; padding:8px 11px; }
}

/* ================================================
   5-OUTPUT SYSTEM (generator forms → multi-card results)
   ================================================ */
.output-results{ display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:16px; margin-top:24px; }
.output-card{ background: var(--surface); border:1px solid var(--border); border-radius:14px; padding:18px; position:relative; }
.output-card-num{ font-size:11px; font-weight:700; color:var(--violet); margin-bottom:8px; font-family:'JetBrains Mono'; }
.output-card pre{ white-space:pre-wrap; word-wrap:break-word; font-family:'Inter'; font-size:13.5px; line-height:1.7; color:var(--text); max-height:280px; overflow-y:auto; margin-bottom:14px; }
.output-card-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.output-card .copy-btn{ padding:8px 14px; font-size:12.5px; }

/* LOADING / EMPTY / ERROR STATES */
.loading-spinner{ width:32px; height:32px; border:3px solid var(--border); border-top-color: var(--violet); border-radius:50%; margin:24px auto; animation: spin .7s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.gen-status{ min-height:20px; }

/* ================================================
   FLOATING AI CHAT
   ================================================ */
.floating-chat-toggle{
  position:fixed; bottom:24px; right:24px; z-index:70; width:58px; height:58px; border-radius:50%;
  background: var(--grad-brand); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 12px 30px -10px rgba(108,92,231,0.6); font-size:24px; color:#fff; transition: transform .2s;
}
.floating-chat-toggle:hover{ transform: scale(1.06); }
.floating-chat-box{
  position:fixed; bottom:96px; right:24px; z-index:70; width:340px; max-width:calc(100vw - 32px); height:440px; max-height:70vh;
  background: var(--surface); border:1px solid var(--border); border-radius:18px; box-shadow: 0 20px 50px -12px rgba(0,0,0,0.25);
  display:none; flex-direction:column; overflow:hidden;
}
.floating-chat-box.open{ display:flex; }
.chat-header{ display:flex; justify-content:space-between; align-items:center; padding:14px 18px; border-bottom:1px solid var(--border); background: var(--grad-brand); color:#fff; }
.chat-header strong{ font-size:14px; }
.chat-header button{ background:none; border:none; color:#fff; font-size:18px; cursor:pointer; line-height:1; }
.chat-messages{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; }
.chat-msg{ max-width:82%; padding:10px 14px; border-radius:14px; font-size:13.5px; line-height:1.5; }
.chat-msg-ai{ background: var(--surface-2); color:var(--text); align-self:flex-start; border-bottom-left-radius:4px; }
.chat-msg-user{ background: var(--violet); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.chat-typing{ opacity:0.6; font-style:italic; }
.chat-form{ display:flex; gap:8px; padding:12px; border-top:1px solid var(--border); }
.chat-form input{ flex:1; background:var(--bg); border:1px solid var(--border); border-radius:20px; padding:10px 16px; font-size:13px; color:var(--text); font-family:inherit; }
.chat-form button{ background: var(--grad-brand); color:#fff; border:none; width:38px; height:38px; border-radius:50%; cursor:pointer; flex-shrink:0; }

@media (max-width: 900px){
  .floating-chat-box{ right:16px; bottom:88px; }
  .floating-chat-toggle{ right:16px; bottom:16px; }
}
.search-section-title{ font-family:'Sora'; font-size:18px; margin-bottom:16px; color:var(--indigo); }
