/* styles.css — EquiLoomPRO
   Theme: Red Aggressive Trader v45 (Retail-friendly crypto vibe)
*/

:root{
  --bg: #111111;
  --bg2: #30000c;
  --text: #ffffff;
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.58);

  --accent: #0bf753;      /* Accent 1 */
  --accent2: #f3023c;     /* Accent 2 */
  --btnText: #000000;

  --radius: 16px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);

  --container: 1120px;
  --sectionPad: 40px;
  --gap: 12px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "SF Pro Display", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 12% 10%, rgba(243,2,60,.18), transparent 55%),
    radial-gradient(900px 500px at 88% 20%, rgba(11,247,83,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), #0c0c0c 55%, var(--bg));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x:hidden;
}

img{ max-width:100%; height:auto; }

a{ color:inherit; text-decoration:none; }
a:hover{ color: var(--accent); }

.container{
  width:min(var(--container), 92vw);
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:8px;
  z-index:99999;
}
.skip-link:focus{ left:10px; }

h1,h2,h3{
  margin:0 0 12px;
  letter-spacing:-0.01em;
}
h1{
  font-size: clamp(30px, 3.6vw, 52px);
  line-height:1.08;
}
h2{
  font-size: clamp(22px, 2.4vw, 34px);
  line-height:1.15;
}
h3{
  font-size: 18px;
  line-height:1.25;
}
p{ margin:0 0 12px; color: var(--muted); }

.material-symbols-outlined{
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

/* ===== Header: mega-header (two rows, top bar) ===== */
.site-header{
  position: sticky;
  top:0;
  z-index: 1000;
  background: rgba(17,17,17,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 12px 0;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 800;
  letter-spacing: .2px;
}
.logo-mark{
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  box-shadow: 0 0 0 6px rgba(243,2,60,.12);
}
.logo-text{ font-size: 18px; }

.main-nav{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.main-nav a{
  color: rgba(255,255,255,.86);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
}
.main-nav a:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}
.nav-pill{
  border: 1px solid rgba(255,255,255,.14);
}
.nav-accent{
  background: var(--accent);
  color: var(--btnText) !important;
  border-color: transparent;
}
.nav-accent:hover{
  background: color-mix(in srgb, var(--accent) 88%, #ffffff 12%);
}

.header-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.topbar-left{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
.topbar-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
  font-size: 12px;
}

/* ===== Language selector (ISO inline) ===== */
.lang-inline { display: flex; align-items: center; gap: 0.5rem; position:relative; }
.lang-iso { text-decoration: none; font-size: 0.875rem; padding: 6px 8px; border-radius: 999px; }
.lang-iso.active { font-weight: bold; }
.lang-sep { opacity: 0.3; }
.lang-more{ position:relative; }
.lang-more-btn{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  cursor:pointer;
  font-weight:700;
  font-size: 0.875rem;
}
.lang-more-dropdown { display: none; position: absolute; right:0; top: calc(100% + 10px); min-width: 220px; padding: 10px; border-radius: 14px; background: #ffffff; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.08); }
.lang-more.active .lang-more-dropdown { display: block; }
.lang-more-dropdown .lang-iso{
  display:inline-flex;
  margin: 4px;
  background:#ffffff;
  color:#000;
  border: 1px solid rgba(0,0,0,.10);
}
.lang-more-dropdown .lang-iso:hover{ background: rgba(0,0,0,.05); color:#000; }

/* ===== Sections ===== */
.section{ padding: var(--sectionPad) 0; }
.section-alt{
  padding: var(--sectionPad) 0;
  background: linear-gradient(180deg, rgba(48,0,12,.72), rgba(17,17,17,.0));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.hero{
  position:relative;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-1px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,247,83,.55), rgba(243,2,60,.45), transparent);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items:start;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.86);
  font-weight: 700;
}
.pulse-dot{
  width: 10px;
  height: 10px;
  background: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(243,2,60,.45);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(243,2,60,.45); }
  70%{ box-shadow: 0 0 0 10px rgba(243,2,60,0); }
  100%{ box-shadow: 0 0 0 0 rgba(243,2,60,0); }
}

.trust-badges{ margin-top: 18px; }
.trust-badge{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}
.trust-badge .material-symbols-outlined{
  color: var(--accent);
}
.trust-badge strong{
  display:block;
  font-size: 13px;
  letter-spacing: .2px;
}
.trust-badge span{
  display:block;
  font-size: 12px;
  color: var(--muted2);
}
.trust-strip{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 10px;
}
.chip{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(243,2,60,.10);
  border: 1px solid rgba(243,2,60,.22);
  color: rgba(255,255,255,.90);
  font-size: 12px;
}

/* ===== Hero form card (minimal card style) ===== */
.hero-form{
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  padding: 16px;
  position: sticky;
  top: 92px;
}
.form-head{
  padding: 8px 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 12px;
}
.form-title{ font-size: 18px; margin:0 0 6px; }
.form-subtitle{ margin:0; color: rgba(255,255,255,.70); font-size: 13px; }

/* ===== Buttons (pill) ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
}
.btn-primary{
  background: var(--accent);
  color: var(--btnText);
  border-color: transparent;
}
.btn-primary:hover{ filter: brightness(1.05); }

/* ===== Bento ===== */
.bento-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.bento-item{
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  padding: 14px;
}
.bento-item:hover{
  border-color: rgba(11,247,83,.35);
}
.bento-item.large{ grid-column: span 2; }
.bento-item.wide{ grid-column: span 2; }
.bento-item.tall{ grid-row: span 2; }
.bento-icon .material-symbols-outlined{
  color: var(--accent);
  background: rgba(11,247,83,.10);
  border: 1px solid rgba(11,247,83,.22);
  border-radius: 12px;
  padding: 10px;
}
.mini-list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.mini-list li{ margin: 6px 0; }
.pill-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 10px; }
.pill{
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.kv{ margin-top: 10px; display:grid; gap:8px; }
.kv-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
}
.kv-row span:first-child{ color: rgba(255,255,255,.88); font-weight:700; font-size: 12px; }
.kv-row span:last-child{ color: rgba(255,255,255,.72); font-size: 12px; }

/* ===== Steps grid ===== */
.steps-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.step-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  padding: 14px;
  text-align:center;
}
.step-number{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(243,2,60,.12);
  border: 1px solid rgba(243,2,60,.24);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}
.step-icon .material-symbols-outlined{
  color: var(--accent);
  font-size: 34px;
}

/* ===== Circular stats ===== */
.circular-stats-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.circular-stat{
  position:relative;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  padding: 14px;
  display:grid;
  place-items:center;
}
.progress-ring{ width: 120px; height: 120px; transform: rotate(-90deg); }
.progress-ring-bg{ fill:none; stroke: rgba(255,255,255,.10); stroke-width: 10; }
.progress-ring-fill{
  fill:none;
  stroke: var(--accent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: calc(339.292 * (1 - var(--progress, 0) / 100));
}
.circular-value{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  text-align:center;
}
.circular-number{
  display:block;
  font-weight: 900;
  color: #fff;
  font-size: 22px;
}
.circular-label{
  display:block;
  font-size: 12px;
  color: var(--muted2);
  margin-top: 4px;
}
.stats-footnote{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

/* ===== Emotion cards ===== */
.emotion-cards{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.emotion-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  padding: 14px;
}
.emotion-top{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}
.emotion-icon{
  color: var(--accent2);
  background: rgba(243,2,60,.12);
  border: 1px solid rgba(243,2,60,.22);
  border-radius: 12px;
  padding: 10px;
}
.emotion-tags{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 10px; }
.tag{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(11,247,83,.10);
  border: 1px solid rgba(11,247,83,.22);
  color: rgba(255,255,255,.88);
}

/* ===== FAQ chat ===== */
.chat-container{ margin-top: 14px; display:flex; flex-direction:column; gap: 14px; max-width: 860px; margin-left:auto; margin-right:auto; }
.chat-question, .chat-answer{ display:flex; gap: 10px; align-items:flex-start; }
.chat-q-icon, .chat-a-icon{
  width: 36px; height: 36px;
  border-radius: 999px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.chat-q-icon .material-symbols-outlined{ color: #fff; font-size: 20px; }
.chat-a-icon .material-symbols-outlined{ color: var(--accent); font-size: 20px; }
.chat-question p{
  margin:0;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.90);
  font-weight: 700;
}
.chat-answer{ padding-left: 46px; }
.chat-answer p{
  margin:0;
  padding: 12px 14px;
  border-radius: 16px 16px 6px 16px;
  background: rgba(11,247,83,.08);
  border: 1px solid rgba(11,247,83,.18);
  color: rgba(255,255,255,.78);
}

/* ===== CTA gradient bg + pulsing button ===== */
.cta-gradient{
  position:relative;
  overflow:hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cta-anim-bg{
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, rgba(243,2,60,.65), rgba(48,0,12,.55), rgba(11,247,83,.45), rgba(17,17,17,.55));
  background-size: 300% 300%;
  animation: gradientShift 10s ease-in-out infinite;
  filter: saturate(1.1);
}
@keyframes gradientShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}
.cta-content{
  position:relative;
  z-index:2;
  text-align:center;
}
.cta-content p{ color: rgba(255,255,255,.86); max-width: 860px; margin: 0 auto 12px; }
.cta-shapes{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.cta-shape{ position:absolute; border-radius: 999px; opacity:.25; }
.cta-shape.shape-1{ width: 240px; height: 240px; left:-60px; top:-60px; background: rgba(255,255,255,.30); }
.cta-shape.shape-2{ width: 180px; height: 180px; right:-40px; bottom:-40px; background: rgba(255,255,255,.22); }
.cta-shape.shape-3{ width: 120px; height: 120px; left: 55%; top: 20%; background: rgba(255,255,255,.18); }

.btn-pulse{ animation: btnPulse 1.8s ease-in-out infinite; }
@keyframes btnPulse{
  0%,100%{ box-shadow: 0 0 0 0 rgba(0,0,0,.25), 0 0 0 0 rgba(11,247,83,.0); transform: translateY(0); }
  50%{ box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 14px rgba(11,247,83,.08); transform: translateY(-1px); }
}

/* ===== Risk accordion ===== */
.accordion{ margin-top: 14px; display:grid; gap: var(--gap); max-width: 900px; margin-left:auto; margin-right:auto; }
.acc-item{
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.acc-item summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 14px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
}
.acc-item summary::-webkit-details-marker{ display:none; }
.acc-icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(243,2,60,.12);
  border: 1px solid rgba(243,2,60,.24);
  color: #fff;
  font-weight: 900;
}
.acc-item[open] .acc-icon{
  background: rgba(11,247,83,.12);
  border-color: rgba(11,247,83,.24);
}
.acc-body{
  padding: 0 14px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.acc-body p{ margin-top: 12px; }

/* ===== Footer ===== */
.site-footer{
  padding: 40px 0 20px;
  background: #0c0c0c;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
  align-items:start;
}
.footer-col h3{ margin-bottom: 10px; }
.footer-quick{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 10px;
}
.footer-quick a{
  font-size: 13px;
  color: rgba(255,255,255,.78);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.footer-links{ list-style:none; padding:0; margin:0; display:grid; gap: 10px; }
.footer-links a{ color: rgba(255,255,255,.78); text-decoration: underline; text-decoration-color: rgba(255,255,255,.22); }
.footer-links a:hover{ color: var(--accent); }

.footer-disclaimer-wrap{
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-disclaimer{
  width:min(var(--container), 92vw);
  margin:0 auto;
  height:auto;
}

.footer-bottom{
  padding-top: 14px;
  text-align:center;
  color: rgba(255,255,255,.62);
}

/* ===== Focus states ===== */
:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 10px;
}

/* =======================================================================
   LEAD FORM STYLES (MUST be in styles.css; no inline)
   ======================================================================= */
.lead-form{
  display:flex;
  flex-direction:column;
  gap: 12px;
  padding: 12px;
  background: rgba(17,17,17,.55);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group{
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.form-group label{
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.90);
}

.form-group input{
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  font-size: 14px;
  font-family: "SF Pro Text", system-ui, sans-serif;
  background: rgba(255,255,255,.04);
  color: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.form-group input::placeholder{ color: rgba(255,255,255,.55); }

.form-group input:focus{
  outline:none;
  border-color: rgba(11,247,83,.55);
  box-shadow: 0 0 0 4px rgba(11,247,83,.12);
}

.form-checkbox{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.74);
  line-height: 1.35;
}

.form-checkbox input[type="checkbox"]{
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor:pointer;
  accent-color: var(--accent);
}

.form-checkbox a{
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(11,247,83,.35);
  font-weight: 700;
}

.form-checkbox .terms-read-more{
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}

.submit-btn{
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #ffffff 30%));
  color: var(--btnText);
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  cursor:pointer;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
  letter-spacing: .2px;
}

.submit-btn:hover:not(:disabled){
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

.submit-btn:disabled{
  opacity: .75;
  cursor: not-allowed;
}

.form-message{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 10px;
  display:none;
  border: 1px solid rgba(255,255,255,.10);
}

.form-message.error{
  background-color: rgba(243,2,60,.14);
  border-color: rgba(243,2,60,.30);
  color: #fff;
  display:block;
}

.form-message.success{
  background-color: rgba(11,247,83,.12);
  border-color: rgba(11,247,83,.28);
  color: #fff;
  display:block;
}

.spinner{
  display:inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0,0,0,0.25);
  border-top-color: rgba(0,0,0,0.75);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-right: 8px;
}

@keyframes spin{ to{ transform: rotate(360deg); } }

/* Phone input with prefix */
.phone-input-wrapper{
  display:flex;
  align-items:center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.phone-input-wrapper:focus-within{
  border-color: rgba(11,247,83,.55);
  box-shadow: 0 0 0 4px rgba(11,247,83,.12);
}

.phone-prefix{
  padding: 12px 12px;
  background: rgba(243,2,60,.10);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 14px;
  border-right: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
  min-width: 64px;
  text-align:center;
}

.phone-input-wrapper input{
  flex:1;
  border:none !important;
  padding: 12px 12px;
  font-size: 14px;
  outline:none;
  background: transparent;
  color:#fff;
}
.phone-input-wrapper input:focus{ box-shadow:none !important; }

/* =======================================================================
   MANDATORY POPUP CSS (provided; do not alter behavior)
   ======================================================================= */

/* Cookie Consent - fixed bottom banner with BLACK text */
.cookie-consent { display:none; position:fixed; bottom:0; left:0; right:0; background:#ffffff; border-top:1px solid rgba(0,0,0,.1); padding:16px 24px; z-index:9999; box-shadow:0 -2px 10px rgba(0,0,0,.1); }
.cookie-content { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; color:#000000; }
.cookie-content p { color:#000000; margin:0; }
.cookie-content a { color:#0066cc !important; text-decoration:underline; font-weight:600; }
.cookie-content a:hover { color:#004499 !important; }
.cookie-btn { padding:10px 24px; background:var(--accent); color:#fff; border:none; border-radius:4px; font-weight:700; cursor:pointer; }

/* Disclaimer Popup - Full width bottom banner with Read More */
.disclaimer-popup-overlay { position:fixed; bottom:0; left:0; width:100%; z-index:10000; pointer-events:none; opacity:0; visibility:hidden; transition:opacity 0.3s ease, visibility 0.3s ease; }
.disclaimer-popup-overlay.active { opacity:1; visibility:visible; }
.disclaimer-popup { background:#ffffff; width:100%; box-shadow:0 -2px 15px rgba(0,0,0,.1); border-top:1px solid #e5e5e5; transform:translateY(100%); transition:transform 0.3s ease; pointer-events:auto; }
.disclaimer-popup-overlay.active .disclaimer-popup { transform:translateY(0); }
.disclaimer-popup-header { display:flex; justify-content:flex-start; align-items:center; padding:10px 30px; border-bottom:1px solid #eee; }
.disclaimer-popup-header h4 { margin:0; font-size:13px; font-weight:600; color:#1a1a1a; flex:1; }
.disclaimer-close-btn { background:none; border:none; font-size:18px; color:#999; cursor:pointer; padding:0; line-height:1; }
.disclaimer-close-btn:hover { color:#333; }
.disclaimer-popup-body { padding:12px 30px; }
.disclaimer-popup-row { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.disclaimer-popup-content { flex:1; }
.disclaimer-main-text { font-size:12px; line-height:1.5; color:#555; margin:0 0 6px 0; }
.disclaimer-main-text a,.disclaimer-popup-body a { color:#0066cc !important; text-decoration:underline; font-weight:600; }
.disclaimer-main-text a:hover,.disclaimer-popup-body a:hover { color:#004499 !important; }
.disclaimer-read-more { font-size:11px; color:#0066cc; text-decoration:underline; cursor:pointer; }
.disclaimer-read-more:hover { color:#004499; }
.disclaimer-more-text { max-height:0; overflow:hidden; transition:max-height 0.4s ease, margin 0.3s ease, padding 0.3s ease; margin-top:0; padding-top:0; border-top:none; }
.disclaimer-more-text.expanded { max-height:400px; margin-top:12px; padding-top:12px; border-top:1px solid #eee; overflow-y:auto; }
.popup-svg { width:100%; height:auto; max-width:540px; display:block; margin:0 auto; }
.popup-svg-mobile { display:none; }
.disclaimer-popup-footer { flex-shrink:0; }
.disclaimer-understand-btn { padding:10px 24px; background:var(--accent); color:#fff; border:none; border-radius:4px; font-weight:600; cursor:pointer; font-size:13px; }
.disclaimer-understand-btn:hover { opacity:0.9; }
@media (max-width:768px) { .disclaimer-popup-header { padding:8px 16px; } .disclaimer-popup-body { padding:10px 16px; } .disclaimer-popup-row { flex-direction:column; gap:12px; } .disclaimer-popup-footer { width:100%; } .popup-svg { display:none; } .popup-svg-mobile { display:block; width:100%; height:auto; } }

/* Terms Popup - centered overlay */
.terms-popup-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:10000; align-items:center; justify-content:center; padding:20px; }
.terms-popup-content { background:#fff; border-radius:8px; max-width:700px; width:100%; max-height:90vh; overflow:auto; position:relative; padding:20px; }
.terms-popup-content .close-btn { position:absolute; top:12px; right:12px; background:none; border:none; font-size:28px; cursor:pointer; }
.terms-img { width:100%; height:auto; }

/* Desktop/Mobile visibility - CRITICAL: These rules must NOT be overridden! */
.desktop-only { display:block !important; }
.mobile-only { display:none !important; }
@media (max-width:640px) { .desktop-only { display:none !important; } .mobile-only { display:block !important; } }

/* Language Selector - ALWAYS BLACK TEXT on WHITE background */
.lang-selector,.lang-toggle-label,.lang-css-dropdown { color:#000000 !important; }
.lang-selector span,.lang-toggle-label span,.lang-option,.lang-option span { color:#000000 !important; }
.lang-dropdown,.lang-list { background:#ffffff; }
.lang-option { color:#000000 !important; background:#ffffff; }
.lang-option:hover { background:rgba(0,0,0,.05); color:#000000 !important; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-form{ position:relative; top:auto; }
  .steps-grid{ grid-template-columns: repeat(2, 1fr); }
  .bento-grid{ grid-template-columns: repeat(2, 1fr); }
  .bento-item.large, .bento-item.wide{ grid-column: span 2; }
  .bento-item.tall{ grid-row: span 1; }
  .circular-stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .emotion-cards{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .main-nav{ gap: 6px; }
  .main-nav a{ padding: 8px 10px; }
  .header-topbar{ flex-direction:column; align-items:flex-start; }
  .steps-grid{ grid-template-columns: 1fr; }
  .bento-grid{ grid-template-columns: 1fr; }
  .bento-item.large, .bento-item.wide{ grid-column: span 1; }
  .circular-stats-grid{ grid-template-columns: 1fr; }
  .chat-answer{ padding-left: 0; }
}