:root{
  --bg1:#0f1221; --bg2:#151a2e; --card:#0b1024cc;
  --glow1:#6a11cb; --glow2:#2575fc; --accent:#10b981; --text:#e5e7eb;
  --muted:#94a3b8; --border:#263056;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  color:var(--text);
  background: radial-gradient(1200px 800px at 10% 10%, #1f2343 0%, transparent 60%),
              radial-gradient(1000px 700px at 90% 20%, #1a2040 0%, transparent 60%),
              linear-gradient(120deg, var(--bg1), var(--bg2));
  background-attachment: fixed;
}
/*.container{max-width:1100px;margin:0 auto;padding:24px;padding-top:0px;
  margin-top: 0px;}

.container{max-width:1100px;margin:0 auto;padding:24px;padding-bottom:20px;padding-top:0px;
  margin-top: 0px;}
*/
/* Header/Nav */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(13,18,34,.55); backdrop-filter: blur(14px); border-bottom:1px solid var(--border);
  margin: 0;
  padding: 0;
}
.navbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}
.brand .logo{width:36px;height:36px;border-radius:10px;background:
  linear-gradient(135deg,var(--glow1),var(--glow2)); box-shadow:0 0 24px #3b82f640; }
.brand h1{font-size:18px;margin:0;font-weight:700;letter-spacing:.2px}
nav a{color:#aab3cd;text-decoration:none;margin-left:18px;font-weight:600}
nav a:hover{color:#fff}

/* Hero */
.hero{display:grid; gap:18px; padding:56px 0 28px;}
.hero h1{font-size:clamp(28px,4vw,40px);margin:0;line-height:1.15}
.hero h2{font-size:clamp(28px,4vw,40px);margin:0;line-height:1.15}
.hero p{color:var(--muted);max-width:720px}
.content-block p{color:var(--muted);max-width:720px}
.content-block {
  margin-bottom: 40px;
}
.faq p{color:var(--muted);max-width:720px}
/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 18px;border:1px solid #3b3f5a;border-radius:14px;
  background:linear-gradient(135deg, #1b2142, #131a33);
  color:#fff;text-decoration:none;font-weight:700;letter-spacing:.3px;
  box-shadow: inset 0 0 0 1px #1f2547, 0 10px 30px -10px #0ea5e97a;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover{transform:translateY(-2px); box-shadow: 0 16px 34px -12px #0ea5e99e; border-color:#4a69ff}
.btn.primary{background:linear-gradient(135deg,var(--glow1),var(--glow2));border:none}

/* Card grid + “glow” cards (match CTA vibe) */
.grid{display:grid; gap:18px; margin:16px 0 40px; grid-template-columns: repeat(auto-fit, minmax(230px,1fr));}
.card{
  position:relative; overflow:hidden; border-radius:18px; padding:18px;
  background: var(--card); border:1px solid var(--border); backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -12px #000;text-decoration:none;
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}
.card.glow{
  background: linear-gradient(180deg, #0b1024aa, #0a0f22aa);
  border:1px solid #3b3f5a;
  box-shadow: inset 0 0 0 1px #1f2547, 0 12px 36px -14px #4a69ff66;
}
.card:hover{ transform: translateY(-4px); border-color:#3950ff; box-shadow: 0 18px 38px -16px #2432ff6e;}
.card h3{margin:8px 0 4px;font-size:18px}
.card p{margin:0;color:var(--muted);font-size:14px}

/* Generator Panel */
.panel{ margin:26px 0; padding:18px; border-radius:18px; background:var(--card); border:1px solid var(--border); backdrop-filter: blur(12px);}
.controls{display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(180px,1fr));}
.control{display:flex; flex-direction:column; gap:8px;}
.label{font-size:12px;color:#9aa7c3}
.input,.select{
  padding:12px 14px; border-radius:12px; border:1px solid #2a355a;
  background: #0e1530; color:#e6e9f4; outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.input:focus,.select:focus{ border-color:#4a69ff; box-shadow: 0 0 0 3px #4a69ff22 }
/* datalist-friendly input feels like a select */
input[list]::-webkit-calendar-picker-indicator {
  display: none;
}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.generate-btn{ padding:12px 18px; border-radius:12px; border:1px solid #3950ff99;
  background:linear-gradient(135deg,#2a34a8,#3f7cf3); font-weight:800; color:#fff; text-decoration:none }
.generate-btn:hover{ transform:translateY(-2px) }
.generate-btn {
  padding:12px 18px;
  border-radius:12px;
  border:1px solid #3950ff99;
  background:linear-gradient(135deg,#2a34a8,#3f7cf3);
  font-weight:800;
  color:#fff;
  text-decoration:none;
  cursor:pointer;   /* 👈 add this */
}
.hint {
  font-size: 0.85em;
  color: #999;
  display: block;
  margin-top: 4px;
}

/* Results */
.results{ display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); margin-top:18px }
.name-card{
  padding:14px; border-radius:14px; border:1px solid #263056;
  background:linear-gradient(180deg,#0e1433,#0c122b);
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  transition: transform .12s ease, border-color .2s ease;
}
.name-card:hover{ transform: translateY(-2px); border-color:#3d56ff }
.copy{ padding:8px 10px; border-radius:10px; border:1px solid #2b3561; background:#11173a; color:#dbe1ff; cursor:pointer }
.copied{ color:#22c55e; font-weight:700 }

/* Footer */
/*footer{border-top:1px solid var(--border);margin-top:36px;padding:24px 0;color:#9aa7c3}*/
footer{border-top:1px solid var(--border);margin-top:0px;padding:8px 0;color:#9aa7c3}

/* Utilities */
.small{font-size:13px;color:var(--muted)}

/* small nav buttons */
.btn-back{background:linear-gradient(135deg, #000, #333);padding:8px 12px; border-radius:10px; font-weight:700; cursor: pointer;  }
.btn-sm{background:linear-gradient(135deg, #000, #333);padding:8px 12px; border-radius:10px; font-weight:700; cursor: pointer;  }
.btn-active{ padding:8px 12px; border-radius:14px; font-weight:700;cursor: pointer;   }
.btn-active2{ padding:8px 12px; border-radius:15px; font-weight:700;cursor: pointer;   }
.btn-other{ background:linear-gradient(135deg,var(--glow1),var(--glow2)); padding:8px 12px; border:none; font-weight:700;cursor: pointer;  }
.btn-other2{ background:linear-gradient(135deg,var(--glow1),var(--glow2)); padding:8px 12px; border:none; font-weight:700;cursor: pointer;  }
.pill-nav{ display:flex; gap:8px; flex-wrap:wrap; margin-top:6px }
.btn-active:hover {
  transform: none;
  box-shadow: none;
}
.domain-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.domain-link:hover .domain-name {
  text-decoration: underline;
}
.availability-hint {
  /*color: red;*/
  font-size: 0.8em;
  font-weight: regular;
  margin-bottom: 6px;
  text-align: left; /* or center if you prefer */
  animation: blink 3s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}
.availability-ticker {
  margin: 6px 0 12px 0;
  margin-bottom: 0px;
  font-size: 0.8em;
  /*color: red;*/
  font-weight: regular;
  text-align: left;
  animation: blink 3s infinite;
}

@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}
/*body[data-category="instagram"] .btn-other { background: #e1306c; }
body[data-category="facebook"] .btn-other { background: #1877f2; }
body[data-category="twitter"] .btn-other { background: #000000; }
body[data-category="tiktok"] .btn-other { background: #69c9d0; }*/

/* --- Responsive navbar --- */
.navbar {
  display:flex; align-items:center; justify-content:space-between;
}

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display:none; background:transparent; border:none; cursor:pointer; padding:8px;
}
.nav-toggle .bar {
  display:block; width:24px; height:2px; margin:5px 0; background:var(--text, #eaeaea);
  transition:transform .2s ease, opacity .2s ease;
}

/* Mobile nav closed by default */
#site-nav { display:flex; gap:16px; 
  text-decoration: none;}

/* Breakpoint */
@media (max-width: 768px) {
  .nav-toggle { display:block; }
  #site-nav {
    position:absolute; left:16px; top:64px;
    display:none; flex-direction:column; gap:10px;
    background:rgba(20,20,30,.96);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 10px 30px rgba(0,0,0,.35);
    padding:12px; border-radius:12px; z-index:1000;
    min-width: 200px;
  }
  .navbar {
    flex-direction: row-reverse; /* reverses logo and button order */
  }
  #site-nav a { padding:8px 10px; border-radius:8px; }
  #site-nav a:hover { background:rgba(255,255,255,.06); }
  #site-nav.open { display:flex; }
  /* Optional hamburger animate to X */
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity:0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
}

/* --- Mobile navbar (authoritative) --- */
.navbar { display:flex; align-items:center; justify-content:space-between; position:relative; }

.nav-toggle { display:none; background:transparent; border:none; cursor:pointer; padding:8px; }
.nav-toggle .bar { display:block; width:24px; height:2px; margin:5px 0; background:var(--text, #eaeaea); }

#site-nav { display:flex; gap:16px;} /* desktop default */

@media (max-width: 768px) {
  .nav-toggle { display:block; }
  /* hide menu by default on mobile */
  #site-nav {
    display:none !important;
    position:absolute; right:12px; top:64px;
    flex-direction:column; gap:10px;
    background:rgba(20,20,30,.96);
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,.35);
    padding:12px; min-width:220px; z-index:1000;
    max-width:220px;
  }
  /* show when .open is added */
  #site-nav.open { display:flex !important; }
  #site-nav a { padding:8px 10px; border-radius:8px; }
  #site-nav a:hover { background:rgba(255,255,255,.06); }

  /* animate hamburger to X (optional) */
  .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity:0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
  
}

/*-------------------- KEYWORD + SUFFIX: unified look -----------------------*/

/* Shared group wrapper */
.keyword-suffix-group {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin: 16px 0;
  background: linear-gradient(180deg, #0e1433, #0c122b);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.keyword-suffix-group:hover {
  border-color: #3b3f5a;
  box-shadow: 0 8px 24px -12px #000;
}
.keyword-suffix-group .group-title {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}

/* Radio choices */
.radio-options { display:flex; gap:20px; margin-bottom:16px; flex-wrap:wrap; }
.radio-option { display:flex; align-items:center; gap:8px; cursor:pointer; padding:8px 12px; border-radius:10px; transition: background-color .2s ease; }
.radio-option:hover { background: rgba(255,255,255,0.05); }
.radio-option input[type="radio"]{ accent-color: var(--glow2); cursor:pointer; width:16px; height:16px; }
.radio-option span { font-weight:600; color:var(--text); font-size:14px; }
.radio-option input[type="radio"]:focus { outline:2px solid var(--glow2); outline-offset:2px; border-radius:50%; }
.radio-option input[type="radio"]:checked + span { color: var(--glow2); }

/* Grouped controls */
.keyword-suffix-group .control { position:relative; margin-bottom:16px; }
.keyword-suffix-group .control:last-child { margin-bottom:0; }
#keyword-suffix-group-label { margin-bottom:0 !important; padding:0 !important; display:block; }

/* Compact spacing to match your form rhythm */
.input { margin-bottom:8px; }
#subtype-container { margin-bottom:8px; }

/* Visibility transitions */
#keywords-control, #suffix-control { transition: opacity .3s ease, transform .3s ease; }

/* Disabled inputs */
.input:disabled {
  background:#0a0f22; border-color:#1a2344; color:var(--muted);
  cursor:not-allowed; opacity:.6;
}
.input:disabled::placeholder { color:#4a5568; }

/* -------------------- Inputs: identical visuals for #include & #suffix ---- */

/* Base input look (also prevents white autofill and purple focus) */
.input, input[type="text"], input[list] {
  background: rgba(255,255,255,0.05);
  color: var(--text, #eaeaea);
  /*border: 1px solid rgba(255,255,255,0.15);*/
  border: 1px solid rgba(199,197,197,0.20);
  /*border: 1px solid var(--border);*/
  transition: background .2s ease, border-color .2s ease;
  outline: none !important;
  box-shadow: none !important;
}
.input:focus, input[type="text"]:focus, input[list]:focus {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  outline: none !important;
  box-shadow: none !important;
}

/* Chrome autofill fix */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px rgba(255,255,255,0.05) inset !important;
  -webkit-text-fill-color: var(--text, #eaeaea) !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* Datalist caret hidden so it feels like a select */
input[list]::-webkit-calendar-picker-indicator { display:none; }

/* “Value present” pill/glow style — applied to BOTH #suffix and #include */
#suffix:not(:placeholder-shown),
#include:not(:placeholder-shown),
#startsWith:not(:placeholder-shown) {
  color: var(--glow2) !important;
  font-weight: 700 !important;
  background: transparent !important;
  border: 1px solid var(--border) !important;
  text-shadow:
    0 0 10px rgba(74,105,255,0.3),
    0 0 20px rgba(74,105,255,0.2) !important;
}

/* Focus with value present (keep same scheme for both) */
#suffix:focus:not(:placeholder-shown),
#include:focus:not(:placeholder-shown),
#startsWith:focus:not(:placeholder-shown){
  border-color: var(--glow2) !important;
  box-shadow: 0 0 10px rgba(74,105,255,0.2) !important;
  background: var(--card) !important;
}

/* Ensure default background parity for both */
#suffix, #include, #startsWith { background: var(--card) !important; }

/* -------------------- Clear buttons: shared style for both ---------------- */

/*------------------SUFFIX CLEAR BUTTON---------------*/
#clear-suffix {
    position: absolute;
    left: 280px;
    top: 50%;
    transform: translateY(-60%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s ease;
}

#clear-suffix:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

/* Make space for clear button in input */
#suffix {
    padding-right: 0px !important;
}

/* Position the control container */
#suffix-control {
    position: relative;
}

#suffix-label {
    padding-right: 10px !important;
}
#suffixes{
    margin-right: 0px !important;
    padding-right: 0px !important;
}
/* Ensure proper layout for all controls */
.keyword-suffix-group .control {
    position: relative;
    margin-bottom: 16px;
}

.keyword-suffix-group .control:last-child {
    margin-bottom: 0;
}
/* Make the TEXT look like a pill, not the entire input */
/* Simple text highlighting */
#suffix:not(:placeholder-shown) {
    color: var(--glow2) !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: 1px solid var(--border) !important; /* Keep original border */
}

/* Add glow effect to text only */
#suffix:not(:placeholder-shown) {
    text-shadow: 
        0 0 10px rgba(74, 105, 255, 0.3),
        0 0 20px rgba(74, 105, 255, 0.2) !important;
}
/*------------------SUFFIX CLEAR BUTTON---------------*/

/*------------------KEYWORD CLEAR BUTTON---------------*/
#clear-include {
    position: absolute;
    left: 300px;
    top: 50%;
    transform: translateY(-60%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s ease;
}

#clear-include:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

/* Make space for clear button in input */
#include {
    padding-right: 40px !important;
}

/* Position the control container */
#keywords-control {
    position: relative;
}

/* Ensure proper layout for all controls */
.keyword-suffix-group .control {
    position: relative;
    margin-bottom: 16px;
}

.keyword-suffix-group .control:last-child {
    margin-bottom: 0;
}
/* Make the TEXT look like a pill, not the entire input */
/* Simple text highlighting */
#include:not(:placeholder-shown) {
    color: var(--glow2) !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: 1px solid var(--border) !important; /* Keep original border */
}

/* Add glow effect to text only */
#include:not(:placeholder-shown) {
    text-shadow: 
        0 0 10px rgba(74, 105, 255, 0.3),
        0 0 20px rgba(74, 105, 255, 0.2) !important;
}
/*------------------KEYWORD CLEAR BUTTON---------------*/


/* Specific anchors so the buttons position correctly in each control */
#suffix-control, #keywords-control { position:relative; }


/* Make space for the clear buttons */
#suffix, #include { padding-right: 40px !important; }

/* -------------------- Responsive tweaks ---------------------------------- */
@media (max-width: 768px) {
  .keyword-suffix-group { padding:14px; margin:12px 0; }
  .radio-options { gap:12px; margin-bottom:14px; }
  .radio-option { padding:6px 10px; }
}

/* --- Fix Chrome/Edge autofill background + text color for dark mode --- */
#include:-webkit-autofill,
#include:-webkit-autofill:hover,
#include:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--glow2) !important;
  text-shadow:
    0 0 10px rgba(74,105,255,.3),
    0 0 20px rgba(74,105,255,.2) !important;

  /* Force background to match your normal input background */
  -webkit-box-shadow: 0 0 0px 1000px var(--card, rgba(255,255,255,0.05)) inset !important;

  /* Prevent any animation flicker */
  transition: background-color 9999s ease-in-out 0s !important;

  border: 1px solid var(--border) !important;
  background: var(--card, rgba(255,255,255,0.05)) !important;
}

/* optional fallback for Firefox (doesn't use -webkit-autofill) */
#include:autofill {
  background: var(--card, rgba(255,255,255,0.05)) !important;
  color: var(--glow2) !important;
}


/* Make space for clear button in input */
#startsWith {
    padding-right: 40px !important;
}
/* Simple text highlighting */
#startsWith:not(:placeholder-shown) {
    color: var(--glow2) !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: 1px solid var(--border) !important; /* Keep original border */
}

/* Add glow effect to text only */
#startsWith:not(:placeholder-shown) {
    text-shadow: 
        0 0 10px rgba(74, 105, 255, 0.3),
        0 0 20px rgba(74, 105, 255, 0.2) !important;}

/* --- Fix Chrome/Edge autofill background + text color for dark mode --- */
#startsWith:-webkit-autofill,
#startsWith:-webkit-autofill:hover,
#startsWith:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--glow2) !important;
  text-shadow:
    0 0 10px rgba(74,105,255,.3),
    0 0 20px rgba(74,105,255,.2) !important;

  /* Force background to match your normal input background */
  -webkit-box-shadow: 0 0 0px 1000px var(--card, rgba(255,255,255,0.05)) inset !important;

  /* Prevent any animation flicker */
  transition: background-color 9999s ease-in-out 0s !important;

  border: 1px solid var(--border) !important;
  background: var(--card, rgba(255,255,255,0.05)) !important;
}

/* optional fallback for Firefox (doesn't use -webkit-autofill) */
#startsWith:autofill {
  background: var(--card, rgba(255,255,255,0.05)) !important;
  color: var(--glow2) !important;
}

/* -----------------------HOME PAGE STYLING--------------------- */
/* Two side-by-side sections on desktop */
.home-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  align-items: start;
  margin-top: 0px;
  margin-bottom: 0px;
}
#word-tools-home {
    column-gap: 16px !important;
}
#social-tools-home {
    column-gap: 16px !important;
}
#business-tools-home {
    column-gap: 16px !important;
}
/* Force exactly 2 cards per row inside each section */
.home-sections .grid.two-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}


/* CHANGED: On tablet - keep side-by-side but reduce gap */
@media (max-width: 900px) {
  .home-sections {
    grid-template-columns: 1fr 1fr !important; /* Force side-by-side */
    column-gap: 24px;
  }
}

/* CHANGED: On mobile - keep side-by-side but single column inside */
@media (max-width: 768px) {
  .home-sections {
    grid-template-columns: 1fr 1fr !important; /* Force side-by-side */
    column-gap: 20px;
  }
  
  .home-sections .grid.two-wide {
    grid-template-columns: 1fr; /* Single column inside each section */
  }
}

/* Only stack vertically on very small screens */
@media (max-width: 480px) {
  .home-sections {
    grid-template-columns: 1fr; /* Stack vertically */
    column-gap: 24px;
  }
}
/*
@media (max-width: 1980px) {
  .home-sections .card {
    min-height: 130px;
  }
}
*/
.home-sections .card {
  min-height: 130px;
  /*background:#143f88;*/
  /*background:#11173a;*/
  /*-----------background:linear-gradient(135deg, #6a11cb, #2575fc);*/
  /*-----------background:linear-gradient(135deg, #1b2142, #2575fc);*/
  background:linear-gradient(135deg, #2e0759, #2575fc);
  /*background:linear-gradient(135deg,var(--glow1),var(--glow2));*/
  /*color: #000000 !important; */
  border:none;
}
/*
.home-sections .card h3, p {
  color: #ffffff !important; 
}*/
/*.home-sections .card p {
  color: #181e36 !important; 
}*/
.home-sections-name .card {
  min-height: 130px;
  /*background:#143f88;*/
  /*background:#11173a;*/
  /*-----------background:linear-gradient(135deg, #6a11cb, #2575fc);*/
  /*-----------background:linear-gradient(135deg, #1b2142, #2575fc);*/
  background:linear-gradient(135deg, #2e0759, #2575fc);
  /*background:linear-gradient(135deg,var(--glow1),var(--glow2));*/
  /*color: #000000 !important; */
  border:none;
}
/*.home-sections-name .card h3, p {
  color: #ffffff !important; 
}*/
/*.home-sections-name .card p {
  color: #181e36 !important; 
}*/
.home-sections-name {
  margin-top: 0px;
}

/* For name generator page - always 2 columns */
.home-sections-name .generators .grid.two-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.home-sections-name .card {
  min-height: 130px;
}
@media (max-width: 768px) {
.home-sections-name .generators .grid.two-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}

a:visited {
  color: inherit !important;
}
/* #6a11cb, #097aec 
#6a11cb, #2b0366
#097aec , #21039b
#6a11cb , #21039b
#5f0eb6, #2575fc
#6a11cb , #15025f
#2575fc , #15025f
#2575fc , #6a11cb
#2575fc , #330762
**** #2575fc , #330762
**** #00050d , #02402e
**** #00050d , #2575fc
**** #00050d , #4d4d4f
*/
.btn-other1{ background:linear-gradient(135deg, #00050d , #4d4d4f); padding:8px 12px; border:none; font-weight:700;cursor: pointer;  }

.divider-glow {
  height: 2px;
  background: var(--glow2);
  margin: 24px 0;
  box-shadow: 0 0 8px var(--glow2);
  opacity: 0.3;
}
.btn-other {
  min-width: 110px !important;
  text-align: center;
  justify-content: center;
}
.btn-active {
  min-width: 110px !important;
  text-align: center;
  justify-content: center;
}
.btn-other1 {
  min-width: 150px !important;
  text-align: center;
  justify-content: center;
}
.btn-other2 {
  min-width: 230px !important;
  max-width: 230px !important;
  text-align: center;
  justify-content: center;
}
.btn-active2 {
  min-width: 230px !important;
  max-width: 230px !important;
  text-align: center;
  justify-content: center;
}

.name-card {
    position: relative; /* Crucial for containing */
    overflow: hidden; /* Prevent overflow */
    min-height: 60px; /* Consistent height */
    padding-right: 70px; /* Reserve space for button */
}

/* Style for the name text */
.name-card > span:first-child {
    flex: 1;
    min-width: 0; /* Allow text truncation */
    word-break: break-word;
    overflow-wrap: break-word;
    padding-right: 10px; /* Space between text and button */
}

/* Fix the copy button positioning */
.copy {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0; /* Remove any default margins */
}
/* Reduce paragraph padding in about page */
#about-content h2 {
    margin-bottom: 0rem;
}

#about-content p {
    margin-top: 0rem;
    margin-bottom: 0rem;
    line-height: 1.4;
}

#privacy-content h2 {
    margin-bottom: 0rem;
}

#privacy-content h3 {
    margin-bottom: 0rem;
}

#privacy-content p {
    margin-top: 0rem;
    margin-bottom: 0rem;
    line-height: 1.4;
}

/* Prevent link color changes for .card links */
.card.glow,
.card.glow:link,
.card.glow:visited,
.card.glow:hover,
.card.glow:active,
.card.glow:focus {
  color: inherit !important;     /* keeps current text color */
  text-decoration: none !important; /* no underline */
}

nav a.active {
    color: var(--glow2) !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(74, 105, 255, 0.4);
    border-bottom: 2px solid var(--glow2);
    padding-bottom: 6px;
}

/* Base nav link style */
#site-nav a {
  color: #ffffff; /* Always white by default */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

/* Hover — slightly brighten if you want, or keep same */
#site-nav a:hover {
  color: #ffffff; /* same white, consistent look */
}
/*******************************ACTIVE PAGE SETUP*********************************/

/* Active (current page) — add your glow or accent color */
/*
#site-nav a.active,
#site-nav a[aria-current="page"] {
  color: var(--glow2) !important;
  font-weight: 700;
  border-bottom: 2px solid var(--glow2);
  padding-bottom: 6px;
}
@media (max-width: 768px) {
    #site-nav a.active,
    #site-nav a[aria-current="page"] {
        border-bottom: none !important;
        padding-bottom: 8px !important; 
    }
}
*/
#site-nav a.active,
#site-nav a[aria-current="page"] {
  color: var(--text-color) !important; /* Keep text readable */
  font-weight: 700;
  /*background-color: var(--glow2); Background color */
  background: linear-gradient(135deg, var(--glow1), var(--glow2));
  /*padding: 8px 16px !important; Consistent padding for all links */
  padding: 4px 6px !important; /* Match active state */
  border-radius: 6px; /* Rounded corners */
  margin: 0 4px; /* Small spacing between items */
  transition: all 0.3s ease; /* Smooth hover effect */
}

/* Hover effect for all nav links */
#site-nav a {
  /*padding: 8px 16px !important; Match active state padding */
  padding: 4px 6px !important; /* Match active state */
  margin: 0 4px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Desktop hover only */
@media (min-width: 769px) {
  #site-nav a:not(.active):not([aria-current="page"]):hover {
    /*background: 
    linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0.1)
    ),
    linear-gradient(135deg, var(--glow1), var(--glow2)); Dark transparent background */
    /*background: linear-gradient(135deg, #000, #333);*/
    /*background: 
    linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6),     Black with 20% opacity
        rgba(0, 0, 0, 0.6)      Black with 10% opacity
    ),
    linear-gradient(135deg, var(--glow1), var(--glow2));*/
    /*background: linear-gradient(135deg, #4A4646, #363434);*/
    /*background: linear-gradient(135deg, #000, #333);*/
    /*font-size: 1.08em;*/
  color: var(--glow2) !important;
  transform: translateY(-2px);
  }
}

@media (max-width: 768px) {
  #site-nav a.active,
  #site-nav a[aria-current="page"] {
    /*background-color: var(--glow2);*/
    background: linear-gradient(135deg, var(--glow1), var(--glow2));
    color: white !important; /* Better contrast on mobile */
    /* padding: 10px 16px !important; Slightly larger for touch */
  }
  
  #site-nav a {
    /* padding: 10px 16px !important; Consistent mobile padding */
    padding: 6px 6px !important; 
    margin: 2px 0; /* Stack vertically on mobile */
    display: block; /* Full width on mobile */
    text-align: center;
  }
    /* No hover effects on mobile */
  #site-nav a:hover {
    background-color: transparent !important;
  }
}
/********************************************************************************/

.hero-image, .page-hero-image, .category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 0px;
}

.section-image, .tool-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 0px;
}

.hero h2, .page-header h2 {
    margin-top: 10px; /* Reduce from default */
}
/* Mobile responsive */
@media (max-width: 768px) {
    .hero-image, .page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 0px;
    }
    
    .category-image, .section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 0px;
    }
    .hero h2, .page-header h2 {
        margin-top: 0px;
    }
}

.brand{
    padding-left: 0px;
}

@media (max-width: 768px) {
  .brand{
    padding-left: 0px;
}
}

.hero{padding-top:6px;
  margin-top: 6px;}
  .home-page .hero {
    padding-top: 20px; /* Your custom padding for index only */
    margin-top: 20px;
}
  @media (max-width: 768px) {
.hero{padding-top:2px;
  margin-top: 2px;}

  .home-page .hero {
    padding-top: 10px; /* Your custom padding for index only */
    margin-top: 10px;
}
}
.brand .logo {
    padding-right: 0px !important;
    margin-right: 0px !important;
}

.brand .logo_text {
    padding-left: 0px !important;
    margin-left: 0px !important;
    padding-top: 0px !important;
}
@media (min-width: 769px) {
.logo_text {
    width: 180px !important;
}
}

.brand {
    display: flex;
    /*align-items: center;*/
    gap: 0; /* Explicitly remove gap */
}
@media (max-width: 768px) {
    .brand {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .brand .logo_text {
        padding-right: 50px;
        width: 70% !important;
    }
    .nav-toggle{
    padding-left: 0 !important;
    margin-left: 0 !important;
    }
}


.hero .about-img{
  width: 100%;
  height: auto;
}

  @media (max-width: 768px) {
.hero .about-img{
  width: 100%;
  height: auto;
}

  }

.legal-page .hero {
    max-width: 100% !important;
    width: 100% !important;
}

/* Ensure paragraphs and headings use full width in all legal pages */
.legal-page .hero h2,
.legal-page .hero h3,
.legal-page .hero p {
    max-width: 100% !important;
    width: 100% !important;
}

/* Reduce spacing for legal pages
.legal-page h3 {
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-page p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.legal-page ul, .legal-page ol {
    margin-bottom: 0.75rem;
}

.legal-page li {
    margin-bottom: 0.25rem;
}
 */
/* Reduce spacing for legal pages */
.legal-page h3 {
    margin-bottom: 0rem;
    margin-top: 0rem;
}

.legal-page p {
    margin-top: 0rem;
    margin-bottom: .5rem;
}

/* Search Section in Main Container */
.search-section {
  display: flex;
  justify-content: right;
  margin: 20px 0;
  padding: 0 20px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 500px;
  width: 100%;
}
  @media (max-width: 768px) {
.search-section {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 0 20px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 500px;
  width: 100%;
  padding-left: 0px;
}
  }
#home-nav-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 500px;
  width: 25%;
}
  @media (max-width: 768px) {
#home-nav-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 500px;
  width: 100%;
  padding-left: 0px;
}    
  }
.search-input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px 0 0 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 14px;
  width: 100%;
  transition: all 0.2s ease;
  outline: none;
  flex: 1;
}

.search-input:focus {
  border-color: var(--glow2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(74, 105, 255, 0.1);
}

.search-btn {
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, var(--glow1), var(--glow2));
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--glow2), var(--glow1));
  transform: translateX(1px);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .search-section {
    margin: 15px 0;
    padding: 0 15px;
  }
  
  .search-input {
    padding: 10px 14px;
    font-size: 16px; /* Better for mobile */
  }
  
  .search-btn {
    padding: 10px 16px;
  }
}

.search-section,
.nav-search {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
}

nav#site-nav {
    padding-right: 30px !important;
}
/*
@media (max-width: 768px) {
    .control #subtype {
        font-size: 20px !important;
    }
}
*/

.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown-selected {
  padding: 12px 14px;
  border: 1px solid #2a355a;
  border-radius: 12px;
  background: #0e1530;
  color: #e6e9f4;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s ease;
  font-size: 14px;
}

.custom-dropdown-selected:hover {
  border-color: #4a69ff;
  font-size: 14px;
}

.custom-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0e1530;
  border: 1px solid #2a355a;
  border-radius: 12px;
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  font-size: 14px;
}

.custom-dropdown.open .custom-dropdown-options {
  display: block;
}

.custom-option {
  padding: 12px 14px;
  cursor: pointer;
  color: #e6e9f4;
  transition: background-color 0.2s ease;
}

.custom-option:hover, .custom-option.selected {
  background: #1a2344;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 400px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--glow1), var(--glow2));
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(74, 105, 255, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .back-to-top {right: 30px;}
}
.back-to-top.show {
  opacity: 0.8;
  visibility: visible;
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(74, 105, 255, 0.4);
}
/***************CARD HEIGHTS ON MOBILE*********************/
/*
@media (max-width: 768px) {
  .home-sections .card h3,
  .home-sections-name .card h3 {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin: 4px 0 !important;
    min-height: 38px; 
    display: flex;
    align-items: center;
  }
  
  .home-sections .card p,
  .home-sections-name .card p {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    min-height: 34px; 
    display: flex;
    align-items: center;
  }
  
  .home-sections .card,
  .home-sections-name .card {
    min-height: 130px;
    padding: 12px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
*/
/***************CARD HEIGHTS ON MOBILE - OLDER MOBILES*********************/


/***************GRADIENT TEXT FIX - OLDER MOBILES*********************/
/* Default gradient
.hero h2 span {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 0) {
  .hero h2 span {

    color: #2575fc !important;
    background: none !important;
  }
}
*/

/***************KEYWORD INPUT BOX LENGTH ON MOBILE*********************/
@media (max-width: 768px) {
  #keywords-control > div {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  #keywords-control .label {
    padding-top: 0 !important;
    min-width: auto;
    text-align: left;
  }
  
  #keywords-control .input-container {
    position: relative;
    width: 100%;
  }
  
  #include {
    width: 100%;
    padding-right: 40px !important; /* Keep space for clear button */
  }
  
  #clear-include {
    position: absolute !important;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/***************HOME SIDEUPPER ARROW ON OLDER MOBILE*********************/

/***************CUSTOM DROPDOWN ARROWS*********************/
/*
.custom-dropdown-selected::after {
  content: '▼';
  float: right;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.custom-dropdown.open .custom-dropdown-selected::after {
  transform: rotate(180deg);
}
*/

/* DROPDOWN MENU STYLES - MATCHING EXISTING NAV */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px !important;
  margin: 0 4px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Dropdown toggle hover effect - desktop only */
@media (min-width: 769px) {
  .dropdown-toggle:not(.active):hover {
    color: var(--glow2) !important;
    transform: translateY(-2px);
  }
}

/* Active dropdown toggle */
.dropdown-toggle.active {
  color: var(--text-color) !important;
  font-weight: 700;
  background: linear-gradient(135deg, var(--glow1), var(--glow2));
  border-radius: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  min-width: 320px;
  display: none;
  flex-wrap: wrap;
  gap: 24px;
  backdrop-filter: blur(10px);
  margin-top: 8px;
}

.dropdown-menu.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-group {
  flex: 1;
  min-width: 140px;
}

.dropdown-title {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--glow2);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}

.dropdown-menu a {
  display: block;
  padding: 8px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 4px;
  padding-left: 8px;
  margin: 2px 0;
}

/* Dropdown link hover effect */
.dropdown-menu a:hover {
  color: var(--glow2) !important;
  background: rgba(255, 255, 255, 0.05);
  padding-left: 12px;
  transform: translateX(4px);
}

/* Active dropdown link */
.dropdown-menu a.active {
  color: var(--text-color) !important;
  font-weight: 700;
  background: linear-gradient(135deg, var(--glow1), var(--glow2));
  padding: 8px 12px !important;
  border-radius: 6px;
  margin: 4px 0;
  transform: none !important;
  padding-left: 12px !important;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
    margin: 4px 0;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 10px 16px !important;
    margin: 4px 0;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .dropdown-toggle.active {
    padding: 10px 16px !important;
    color: white !important;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    width: 100%;
    min-width: auto;
    margin-top: 8px;
    border: none;
    border-radius: 8px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: none;
    flex-direction: column;
    gap: 20px;
  }
  
  .dropdown-group {
    width: 100%;
    min-width: auto;
  }
  
  .dropdown-title {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .dropdown-menu a {
    padding: 10px 12px;
    font-size: 15px;
    margin: 2px 0;
  }
  
  .dropdown-menu a.active {
    padding: 10px 12px !important;
    color: white !important;
  }
  
  /* No hover effects on mobile */
  .dropdown-menu a:hover {
    background: transparent;
    padding-left: 12px;
    transform: none;
  }
  
  /* No hover for dropdown toggle on mobile */
  .dropdown-toggle:hover {
    background: transparent !important;
    transform: none !important;
  }
}

/* Make sure dropdown works with mobile menu */
#site-nav.open .nav-dropdown {
  display: block;
}

#site-nav.open .dropdown-menu {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.7em;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1;
}

/* For mobile, make the arrow smaller */
@media (max-width: 768px) {
  .dropdown-toggle::after {
    font-size: 0.6em;
  }
}

/* NESTED DROPDOWN STYLES */
.dropdown-nested {
  position: relative;
}

.dropdown-nested-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  margin: 2px 0;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.dropdown-nested-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-nested-header .dropdown-title {
  margin-bottom: 0;
  border-bottom: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--glow2);
}

.nested-arrow {
  color: var(--glow2);
  font-size: 1.2em;
  transition: transform 0.3s ease;
  margin-left: 8px;
}

.dropdown-nested.active .nested-arrow {
  transform: rotate(90deg);
}

.dropdown-nested-menu {
  display: none;
  padding-left: 20px;
  margin-top: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-nested.active .dropdown-nested-menu {
  display: block;
  animation: slideDown 0.3s ease;
}

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

/* Adjust spacing for nested dropdowns */
.dropdown-nested-menu a {
  padding-left: 16px !important;
  font-size: 13.5px;
  margin: 3px 0;
}

.dropdown-nested-menu a:hover {
  padding-left: 20px !important;
}

.dropdown-nested-menu a.active {
  padding: 8px 16px !important;
  margin: 4px 0;
}

/* Mobile styles for nested dropdowns */
@media (max-width: 768px) {
  .dropdown-nested-header {
    padding: 12px 16px;
    margin: 4px 0;
    font-size: 15px;
  }
  
  .dropdown-nested-menu {
    padding-left: 24px;
    margin-top: 4px;
  }
  
  .dropdown-nested-menu a {
    padding: 10px 16px !important;
    font-size: 14px;
    margin: 2px 0;
  }
  
  .dropdown-nested-menu a.active {
    padding: 10px 20px !important;
  }
  
  .nested-arrow {
    font-size: 1.3em;
  }
}

/* Add this to your existing CSS */
@media (max-width: 768px) {
  .dropdown-nested-menu a {
    text-align: left !important;
    justify-content: flex-start !important;
    padding-left: 20px !important;
  }
  
  .dropdown-nested-header {
    text-align: left !important;
  }
  
  .dropdown-title {
    text-align: left !important;
  }
}

/* Desktop hover transitions */
@media (min-width: 769px) {
  .nav-dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
  
  .nav-dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Prevent accidental closing when moving to dropdown */
  .dropdown-menu {
    pointer-events: auto;
  }
}

/* Force consistent positioning */

  .dropdown-menu {
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
  }
  
  .nav-dropdown:hover .dropdown-menu,
  .dropdown-menu.show {
    transform: translateX(-50%) translateY(0) !important;
  }
.view-all-link {
  color: #2575fc !important;
}
.view-all-link:hover {
  text-decoration: underline !important;
  color: #5a9eff !important;
}

@media (max-width: 768px) {
  .generators > div:first-child,
  .checkers > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  
  .view-all-link {
    margin-left: 0 !important;
    align-self: flex-start !important;
  }
}

/* Add to your existing dropdown styles */
.nav-dropdown {
  position: relative;
}

/* Create an invisible bridge */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px; /* Buffer zone height */
  background: transparent;
}

/* Keep menu visible when moving from button to menu */
.dropdown-menu {
  margin-top: 0; /* Remove any existing margin */
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
/* Ensure hover works seamlessly */
.nav-dropdown:hover .dropdown-menu,
.dropdown-toggle:hover + .dropdown-menu,
.dropdown-toggle:focus + .dropdown-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
}
}
/* Keep menu visible when hovering over the menu itself */
.dropdown-menu:hover {
  display: flex;
  opacity: 1;
  visibility: visible;
}


/* Mobile view - Stack card headings word by word */
/*@media (max-width: 768px) {
  .card h3 {
    word-spacing: 100vw; Forces each word onto new line
    white-space: normal;
    line-height: 1.4;
    font-size: 1rem; Slightly smaller if needed
  }
  
  Alternative approach using inline-block
  .card h3 span,
  .card h3 .word {
    display: block;
  }
}*/


@media (max-width: 768px) {
  /* Target ONLY section headings, not card headings */
  .generators > div:first-child h3,
  .checkers > div:first-child h3,
  .home-sections > section > div:first-child h3 {
    word-spacing: 100vw;
    line-height: 1.3;
    margin-bottom: 8px !important;
    font-size: 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  
  /* Remove any impact on card headings */
  .card h3 {
    word-spacing: normal !important;
    display: block !important;
    flex-direction: row !important;
    font-size: inherit !important;
  }
}

/* If you want this for all inputs with class "input" */
.input::placeholder {
  color: #9E9B9B;
  opacity: .5;
}

/* Muted list items inside content blocks only */
.content-block li,
.faq li,
.related-tools li {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ticker-item {
  color: #22c55e; /* green tick text */
  margin: 0 10px;
  font-weight: 600;
}

/* Consistent form element heights */
.input, 
.btn-outline,
select.input {
  height: 42px;
  box-sizing: border-box;
  line-height: 1; /* Prevents text from adding extra height */
}

/* Ensure button content is centered vertically */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}

.input-label {
  color: white;
  line-height: 42px; /* Match your input height */
  font-size: 0.95rem;
}

footer a {
    transition: opacity 0.2s ease;
}
footer a:hover {
    opacity: 1 !important;
    text-decoration: underline !important;
}

footer .container.small {
    display: none; /* Hide the old simple footer */
}

/* Only show the simple footer if JS fails to load */
.no-js footer .container.small {
    display: block;
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0 !important;
        row-gap: 0 !important;
    }
    
    .footer-col {
        margin: 0 !important;
        padding: 0 !important;
    }
}
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        row-gap: 0 !important;
    }
    
    .footer-col {
        margin: 0 !important;
        padding: 0 !important;
    }
}


/* Mobile View - Stack vertically, left-aligned */
@media (max-width: 768px) {
    .differentiators-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .differentiators-grid > div {
        text-align: left !important;
        width: 100%;
    }
}


/* How-To Block Styles */
.how-to-block {
    margin-top: 3rem;
    padding: 2rem;
    background: #0a0f2a;
    border-radius: 16px;
    border: 1px solid #263056;
}

/* Step Cards */
.how-to-block .step-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #0e1433;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.step-card:hover {
    background: #131b3a !important;
    border-color: #2575fc !important;
    transform: translateX(4px) !important;
}

/* Step Number */
.how-to-block .step-number {
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 28px;
    color: #2575fc;
    /*transition: all 0.3s ease;*/
}

.how-to-block .step-card:hover .step-number {
    color: #6a11cb;
    transform: scale(1.05);
}

/* Step Heading with Underline */
.how-to-block .step-heading {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.how-to-block .step-heading a {
    color: #2575fc;
    text-decoration: none;
    position: relative;
   /* transition: color 0.3s ease;*/
}

/* Underline Effect - expands from left */
/*.how-to-block .step-heading a::after {
    content: '';
    position: absolute;
    width: 0;
    height: .5px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    background: #FFFFFF;
    transition: width 0.3s ease;
}*/
/*.how-to-block .step-card:hover  {
color: #2575fc;
    
}*/
.step-heading {
    text-decoration: underline;
}
.how-to-block .step-card:hover .step-heading a::after {
    width: 100%;
}

/* Underline Effect - center expand (alternative) */
/* Uncomment this and comment the above if you prefer center expand */
/*
.how-to-block .step-heading a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    transition: width 0.3s ease, left 0.3s ease;
}

.how-to-block .step-card:hover .step-heading a::after {
    width: 100%;
    left: 0;
}
*/

/* Step Description */
.how-to-block .step-description {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.7;
  /*  transition: opacity 0.3s ease;*/
}

.how-to-block .step-card:hover .step-description {
    opacity: 1;
}

/* Optional: Add icon animation on hover */
.how-to-block .step-card .step-number {
    display: inline-block;
    transition: transform 0.3s ease;
}

.how-to-block .step-card:hover .step-number {
    transform: translateX(2px);
}