/*
 * Copyright (c) 2024 Muhammad Nur Haris Bin Maidin
 * Student ID : CI230124
 * Project    : ChatOn: AI-Powered Chatbot to Detect Phishing URL
 *              Machine Learning Approach
 * All rights reserved.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f4f5f7;
  --bg-white: #ffffff;
  --bg-section: #f0f1f5;
  --orange: #ff5500;
  --orange-dark: #cc4400;
  --orange-light: rgba(255,85,0,0.1);
  --orange-glow: rgba(255,85,0,0.25);
  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --card: #ffffff;
  --card-hover: #fff8f5;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --primary: #ff5500;
  --primary-light: rgba(255,85,0,0.08);
  --primary-dark: #cc4400;
  --text: #0f172a;
  --text-light: #64748b;
  --fab-bg: #f8fafc;
  --fab-border: #e2e8f0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--ink); overflow-x: hidden; cursor: default; }

/* ═══════════════════════════════════════════════════════════════════
   CURSOR
   ═══════════════════════════════════════════════════════════════════ */
.cursor { width: 10px; height: 10px; background: var(--orange); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9997; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; }
.cursor-ring { width: 36px; height: 36px; border: 2px solid rgba(255,85,0,0.4); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9996; transform: translate(-50%, -50%); transition: left 0.12s ease-out, top 0.12s ease-out, width 0.3s, height 0.3s; }

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════ */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 12px 64px; display: flex;min-height: 90px; align-items: center; justify-content: space-between; background: rgba(244,245,247,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); box-shadow: 0 1px 12px rgba(0, 0, 0, 0.913); }
.nav-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -0.5px; display: flex; align-items: center; gap: 14px; color: var(--ink); }
.nav-logo img { height: 80px !important; width: auto !important; }.logo-hook { width: 44px; height: 44px; background: var(--orange); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 12px var(--orange-glow); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--ink-muted); text-decoration: none; font-size: 19px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { background: var(--orange); color: white; border: none; padding: 16px 32px; border-radius: 100px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 700; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 14px var(--orange-glow); }
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px var(--orange-glow); }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 64px 80px; background: var(--bg-white); position: relative; overflow: hidden; }
.hero-bg-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 20%, rgba(255,85,0,0.06) 0%, transparent 60%), radial-gradient(circle at 20% 80%, rgba(255,85,0,0.04) 0%, transparent 50%), linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px); background-size: auto, auto, 60px 60px, 60px 60px; pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--orange-light); border: 1.5px solid rgba(255,85,0,0.2); color: var(--orange); padding: 9px 20px; border-radius: 100px; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 32px; }
.blink { animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.2;} }
.hero-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(64px, 7.5vw, 104px); font-weight: 800; line-height: 1.0; letter-spacing: -4px; margin-bottom: 28px; color: var(--ink); }
.hero-title .accent { color: var(--orange); }
.hero-desc { font-size: 22px; line-height: 1.75; color: var(--ink-soft); max-width: 520px; margin-bottom: 44px; font-weight: 400; }
.hero-desc strong { color: var(--orange); font-weight: 700; }
.hero-actions { display: flex; gap: 16px; align-items: center; margin-bottom: 36px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: white; padding: 18px 40px; border-radius: 100px; font-size: 18px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; transition: all 0.25s; box-shadow: 0 6px 24px var(--orange-glow); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-3px); box-shadow: 0 12px 36px var(--orange-glow); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); padding: 18px 30px; border-radius: 100px; font-size: 17px; font-weight: 600; text-decoration: none; border: 2px solid var(--border-strong); cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; transition: all 0.25s; background: transparent; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-muted); font-weight: 500; }
.trust-icon { font-size: 16px; }

.hero-visual { position: relative; height: 540px; }
.fake-email { position: absolute; background: white; border: 1.5px solid var(--border); border-radius: 24px; padding: 30px; width: 400px; top: 40px; left: 0; animation: floatA 6s ease-in-out infinite; box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06); }
@keyframes floatA { 0%,100%{ transform: translateY(0) rotate(-1deg); } 50%{ transform: translateY(-16px) rotate(-1deg); } }
.email-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.email-avatar { width: 48px; height: 48px; background: linear-gradient(135deg,#ff7043,#ff5500); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.email-from { font-size: 13px; color: var(--ink-muted); font-weight: 500; }
.email-sender { font-size: 15px; font-weight: 700; color: var(--ink); }
.email-sender .bad { color: var(--danger); font-size: 14px; }
.email-subject { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.email-body { font-size: 15px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 16px; }
.email-link { display: inline-block; background: rgba(239,68,68,0.08); border: 1.5px solid rgba(239,68,68,0.25); color: var(--danger); padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: default; word-break: break-all; }
.warning-badge { position: absolute; top: -14px; right: -10px; background: var(--danger); color: white; padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 20px rgba(239,68,68,0.4); animation: pulse-badge 2s ease-in-out infinite; }
@keyframes pulse-badge { 0%,100%{ box-shadow: 0 4px 20px rgba(239,68,68,0.4); } 50%{ box-shadow: 0 4px 40px rgba(239,68,68,0.7); } }
.stat-cards { position: absolute; right: -20px; top: 0; display: flex; flex-direction: column; gap: 14px; }
.stat-card { background: white; border: 1.5px solid var(--border); border-radius: 18px; padding: 22px 28px; width: 220px; animation: floatB 6s ease-in-out infinite; box-shadow: 0 8px 30px rgba(0,0,0,0.07); }
.stat-card:nth-child(2){ animation-delay:1s; }
.stat-card:nth-child(3){ animation-delay:2s; }
@keyframes floatB { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }
.stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 40px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 14px; color: var(--ink-muted); font-weight: 500; line-height: 1.4; }
.c-orange { color: var(--orange); }
.c-green { color: var(--success); }
.c-blue { color: var(--blue); }

/* ═══════════════════════════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════════════════════════ */
.ticker-wrap { background: var(--orange); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; animation: ticker 28s linear infinite; }
@keyframes ticker { from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 16px; padding: 0 48px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: white; }
.ticker-sep { opacity: 0.4; font-size: 20px; }

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS — SHARED
   ═══════════════════════════════════════════════════════════════════ */
section { padding: 140px 64px; position: relative; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--orange); }
.section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(42px,5vw,68px); font-weight: 800; line-height: 1.1; letter-spacing: -2px; margin-bottom: 24px; color: var(--ink); }
.section-sub { font-size: 20px; color: var(--ink-muted); max-width: 640px; line-height: 1.7; margin-bottom: 72px; font-weight: 400; }

/* ═══════════════════════════════════════════════════════════════════
   THREATS
   ═══════════════════════════════════════════════════════════════════ */
.threats-section { background: var(--bg-white); }
.threats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 0; }
.threat-card { background: var(--card); border: 1.5px solid var(--border); padding: 44px 36px; border-radius: 24px; transition: all 0.3s; position: relative; overflow: hidden; }
.threat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--accent, var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.threat-card:hover::before { transform: scaleX(1); }
.threat-card:hover { border-color: var(--accent, var(--orange)); box-shadow: 0 16px 48px rgba(0,0,0,0.08); transform: translateY(-4px); }
.threat-icon { width: 68px; height: 68px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 24px; }
.threat-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 23px; font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.threat-card p { font-size: 16px; color: var(--ink-muted); line-height: 1.75; font-weight: 400; }
.threat-tag { display: inline-block; margin-top: 20px; padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════════════════════════════════ */
.stats-band { background: var(--orange); padding: 96px 64px; }
.stats-band-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; text-align: center; }
.band-stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 68px; font-weight: 800; line-height: 1; color: white; margin-bottom: 12px; }
.band-stat-label { font-size: 16px; color: rgba(255,255,255,0.8); font-weight: 500; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════════
   HOW WE SCAN — TIMELINE DESIGN
   ═══════════════════════════════════════════════════════════════════ */
.scan-section { background: var(--bg); padding: 140px 64px; }
.scan-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.scan-sticky { position: sticky; top: 100px; }
.scan-header-block { margin-bottom: 48px; }
.scan-big-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 120px; font-weight: 800; line-height: 1; color: var(--orange); opacity: 0.12; letter-spacing: -6px; margin-bottom: -24px; display: block; }
.scan-tagline { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -2px; color: var(--ink); margin-bottom: 20px; }
.scan-desc { font-size: 17px; color: var(--ink-muted); line-height: 1.75; max-width: 380px; }
.scan-verdicts { display: flex; flex-direction: column; gap: 10px; }
.sv-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--bg-white); border: 1.5px solid var(--border); border-radius: 16px; transition: all 0.2s; }
.sv-card:hover { transform: translateX(6px); border-color: var(--border-strong); }
.sv-indicator { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.sv-text { flex: 1; }
.sv-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.sv-sub { font-size: 13px; color: var(--ink-muted); }
.sv-arrow { font-size: 18px; color: var(--border-strong); }
.scan-timeline { position: relative; padding-left: 0; }
.scan-timeline::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1.5px; background: linear-gradient(to bottom, var(--orange), rgba(255,85,0,0.05)); }
.tl-item { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 36px; position: relative; }
.tl-item:last-child { margin-bottom: 0; }
.tl-node { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 2; border: 2px solid transparent; transition: all 0.25s; }
.tl-item:hover .tl-node { transform: scale(1.08); }
.tl-content { flex: 1; background: var(--bg-white); border: 1.5px solid var(--border); border-radius: 18px; padding: 20px 22px; transition: all 0.25s; }
.tl-item:hover .tl-content { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.tl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.tl-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 800; color: var(--ink); }
.tl-pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; letter-spacing: 0.03em; }
.tl-desc { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════════
   RED FLAGS
   ═══════════════════════════════════════════════════════════════════ */
.flags-section { background: var(--bg); }
.flags-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.flags-list { display: flex; flex-direction: column; gap: 0; }
.flag-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1.5px solid var(--border); cursor: pointer; transition: all 0.2s; }
.flag-item:hover { padding-left: 10px; }
.flag-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; color: var(--orange); padding-top: 3px; min-width: 36px; }
.flag-content h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 21px; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.flag-content p { font-size: 16px; color: var(--ink-muted); line-height: 1.7; font-weight: 400; }

.url-checker { background: var(--ink); border-radius: 24px; overflow: hidden; position: sticky; top: 100px; }
.checker-header { background: rgba(255,255,255,0.06); padding: 18px 24px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dot-red { width: 14px; height: 14px; background: #ff5f57; border-radius: 50%; }
.dot-yellow { width: 14px; height: 14px; background: #ffbd2e; border-radius: 50%; }
.dot-green { width: 14px; height: 14px; background: #28c940; border-radius: 50%; }
.checker-title { font-size: 14px; color: rgba(255,255,255,0.4); margin-left: auto; margin-right: auto; font-weight: 500; }
.checker-body { padding: 28px; }
.url-bar { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: monospace; font-size: 14px; color: white; }
.url-bar .lock { color: var(--danger); font-size: 16px; }
.url-bar .domain { color: var(--danger); }
.url-bar .path { color: rgba(255,255,255,0.4); }
.checker-result { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); border-radius: 14px; padding: 20px; margin-bottom: 18px; }
.result-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #ff7070; font-weight: 700; margin-bottom: 8px; }
.result-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 6px; color: white; }
.result-sub { font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 500; }
.checker-flags { display: flex; flex-direction: column; gap: 10px; }
.check-row { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 11px 14px; background: rgba(255,255,255,0.04); border-radius: 10px; }
.check-icon { font-size: 17px; }
.check-text { color: rgba(255,255,255,0.75); font-weight: 500; }
.check-val { margin-left: auto; font-size: 13px; font-weight: 700; }
.check-val.bad { color: #ff6b6b; }
.check-val.ok { color: #4ade80; }
.check-val.warn { color: #fbbf24; }

/* ═══════════════════════════════════════════════════════════════════
   TIPS
   ═══════════════════════════════════════════════════════════════════ */
.tips-section { background: var(--bg-white); }
.tips-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.tip-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: 24px; padding: 44px 40px; display: flex; gap: 24px; transition: all 0.3s; }
.tip-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(255,85,0,0.1); background: #fff8f5; }
.tip-number { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 64px; font-weight: 800; color: rgba(255,85,0,0.12); line-height: 1; min-width: 72px; }
.tip-card h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.tip-card p { font-size: 16px; color: var(--ink-muted); line-height: 1.75; font-weight: 400; }

/* ═══════════════════════════════════════════════════════════════════
   QUIZ
   ═══════════════════════════════════════════════════════════════════ */
.quiz-section { background: var(--bg); }
.quiz-box { max-width: 800px; margin: 0 auto; background: var(--card); border: 1.5px solid var(--border); border-radius: 28px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.06); }
.quiz-progress { height: 5px; background: var(--border); }
.quiz-bar { height: 100%; background: linear-gradient(90deg, var(--orange), #ff8c00); transition: width 0.4s ease; width: 20%; }
.quiz-inner { padding: 52px; }
.quiz-q-num { font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); font-weight: 700; margin-bottom: 18px; }
.quiz-question { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; font-weight: 800; line-height: 1.4; margin-bottom: 36px; color: var(--ink); }
.quiz-options { display: flex; flex-direction: column; gap: 14px; }
.quiz-opt { background: var(--bg); border: 2px solid var(--border); border-radius: 16px; padding: 20px 24px; font-size: 17px; color: var(--ink); cursor: pointer; transition: all 0.2s; font-family: 'Plus Jakarta Sans', sans-serif; text-align: left; display: flex; align-items: center; gap: 16px; font-weight: 500; }
.quiz-opt:hover:not(:disabled) { border-color: var(--orange); background: var(--orange-light); }
.quiz-opt.correct { border-color: var(--success); background: rgba(16,185,129,0.08); color: var(--success); }
.quiz-opt.wrong { border-color: var(--danger); background: rgba(239,68,68,0.08); color: var(--danger); }
.quiz-opt:disabled { cursor: default; }
.opt-letter { width: 38px; height: 38px; border-radius: 12px; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex-shrink: 0; color: var(--ink); }
.quiz-feedback { margin-top: 24px; padding: 20px 24px; border-radius: 16px; font-size: 16px; line-height: 1.6; display: none; font-weight: 500; }
.quiz-feedback.show { display: block; }
.quiz-feedback.correct-fb { background: rgba(16,185,129,0.1); border: 1.5px solid rgba(16,185,129,0.25); color: #059669; }
.quiz-feedback.wrong-fb { background: rgba(239,68,68,0.08); border: 1.5px solid rgba(239,68,68,0.2); color: #dc2626; }
.quiz-next { margin-top: 28px; background: var(--orange); color: white; border: none; padding: 16px 36px; border-radius: 100px; font-size: 17px; font-weight: 700; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; display: none; transition: all 0.2s; box-shadow: 0 4px 16px var(--orange-glow); }
.quiz-next.show { display: inline-flex; align-items: center; gap: 8px; }
.quiz-next:hover { background: var(--orange-dark); transform: translateY(-2px); }
.quiz-score { text-align: center; padding: 64px 48px; display: none; }
.quiz-score.show { display: block; }
.score-emoji { font-size: 80px; margin-bottom: 24px; display: block; }
.score-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 42px; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.score-sub { color: var(--ink-muted); font-size: 18px; margin-bottom: 32px; line-height: 1.6; }
.score-val { color: var(--orange); font-size: 64px; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; display: block; margin-bottom: 28px; }
.quiz-restart { background: transparent; border: 2px solid var(--orange); color: var(--orange); padding: 14px 32px; border-radius: 100px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.quiz-restart:hover { background: var(--orange); color: white; }

/* ═══════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════ */
.about-section { background: var(--bg-white); }
.how-steps { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr; align-items: center; gap: 0; margin-bottom: 64px; width: 100%; }
.how-step { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 24px 12px; background: var(--bg); border-radius: 20px; border: 1.5px solid var(--border); transition: all 0.3s; min-width: 0; }
.how-step:hover { border-color: var(--orange); box-shadow: 0 8px 32px var(--orange-glow); }
.how-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 10px; font-weight: 800; color: var(--orange); letter-spacing: 0.1em; text-transform: uppercase; }
.how-icon { font-size: 30px; }
.how-step h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 800; color: var(--ink); }
.how-step p { font-size: 11.5px; color: var(--ink-muted); font-weight: 400; line-height: 1.5; }
.how-arrow { font-size: 20px; color: var(--border-strong); text-align: center; }
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.about-stat { background: var(--bg); border: 1.5px solid var(--border); border-radius: 20px; padding: 36px; text-align: center; transition: all 0.3s; }
.about-stat:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 16px 40px var(--orange-glow); }
.about-stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 42px; font-weight: 800; color: var(--orange); margin-bottom: 8px; }
.about-stat-label { font-size: 14px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════════════ */
.cta-section { background: var(--bg); padding: 160px 64px; text-align: center; }
.cta-section .section-title { max-width: 700px; margin: 16px auto 24px; }
.cta-desc { color: var(--ink-muted); font-size: 18px; max-width: 520px; margin: 0 auto 48px; line-height: 1.75; font-weight: 400; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
footer { background: var(--ink); padding: 48px 64px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.06); }
footer p { font-size: 14px; color: rgba(255,255,255,0.4); font-weight: 400; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; font-weight: 500; }
.footer-links a:hover { color: white; }

/* ═══════════════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════════
   FAB CHATBOT
   ═══════════════════════════════════════════════════════════════════ */
.fab-chatbot { position: fixed; bottom: 28px; right: 28px; display: flex; flex-direction: column; align-items: flex-end; z-index: 9999; }
.fab-btn { width: 66px; height: 66px; background: var(--orange); border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 28px rgba(255,85,0,0.5); position: relative; transition: transform 0.2s, box-shadow 0.2s; flex-shrink: 0; }
.fab-btn:hover { transform: scale(1.1); box-shadow: 0 10px 40px rgba(255,85,0,0.6); }
.fab-badge { position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; background: var(--danger); border-radius: 50%; border: 2.5px solid white; display: flex; align-items: center; justify-content: center; font-size: 10px; color: white; font-weight: 800; }
.fab-window { width: 460px; background: var(--fab-bg); border-radius: 22px; box-shadow: 0 16px 64px rgba(0,0,0,0.15), 0 4px 20px rgba(0,0,0,0.08); overflow: hidden; display: none; flex-direction: column; margin-bottom: 16px; border: 1.5px solid var(--fab-border); max-height: 680px; animation: fabSlideUp 0.3s ease-out; }
@keyframes fabSlideUp { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
.fab-window.open { display: flex; }
.fab-header { background: linear-gradient(135deg, var(--orange), #ff8c00); padding: 16px 18px; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.fab-av { width: 44px; height: 44px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fab-hinfo { flex: 1; }
.fab-hname { color: white; font-weight: 800; font-size: 15px; line-height: 1.2; font-family: 'Plus Jakarta Sans', sans-serif; }
.fab-hstatus { color: rgba(255,255,255,0.85); font-size: 12px; display: flex; align-items: center; gap: 5px; font-weight: 500; margin-top: 2px; }
.fab-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; display: inline-block; animation: fab-pulse 2s infinite; }
@keyframes fab-pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.fab-close { background: rgba(255,255,255,0.2); border: none; color: white; font-size: 16px; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; font-weight: 700; }
.fab-close:hover { background: rgba(255,255,255,0.35); }
.fab-messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; background: var(--fab-bg); min-height: 200px; max-height: 460px; }
.fab-messages::-webkit-scrollbar { width: 4px; }
.fab-messages::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
.fab-msg-row { display: flex; align-items: flex-end; gap: 8px; animation: msgIn 0.25s ease-out; }
@keyframes msgIn { from{opacity:0;transform:translateY(10px);} to{opacity:1;transform:translateY(0);} }
.fab-bot-av { width: 30px; height: 30px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: white; box-shadow: 0 2px 8px var(--orange-glow); }
.fab-bubble { padding: 11px 15px; border-radius: 6px 18px 18px 18px; background: white; font-size: 14px; line-height: 1.65; color: var(--text); max-width: 290px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); word-break: break-word; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 400; border: 1px solid var(--fab-border); }
.fab-bubble b { color: var(--orange); }
.fab-card { background: white; border-radius: 14px; padding: 14px 15px; font-size: 13.5px; color: var(--text); border: 1.5px solid var(--border); max-width: 290px; line-height: 1.75; box-shadow: 0 2px 8px rgba(0,0,0,0.05); word-break: break-word; font-family: 'Plus Jakarta Sans', sans-serif; }
.fab-card b { color: var(--orange); }
.fab-row { display: flex; gap: 8px; align-items: flex-start; margin: 3px 0; font-size: 13.5px; }
.fab-user-row { display: flex; justify-content: flex-end; animation: msgIn 0.25s ease-out; }
.fab-user-bubble { background: var(--orange); color: white; padding: 10px 15px; border-radius: 18px 6px 18px 18px; font-size: 13.5px; max-width: 240px; word-break: break-all; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; box-shadow: 0 3px 12px var(--orange-glow); }
.fab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; margin-left: 38px; animation: msgIn 0.28s ease-out; }
.fab-chip { background: white; border: 2px solid var(--orange); color: var(--orange); font-size: 12.5px; font-weight: 700; padding: 7px 13px; border-radius: 100px; cursor: pointer; transition: all 0.18s; font-family: 'Plus Jakarta Sans', sans-serif; white-space: nowrap; }
.fab-chip:hover { background: var(--orange); color: white; transform: translateY(-2px); box-shadow: 0 4px 14px var(--orange-glow); }
.fab-chip:disabled { background: #f8fafc; border-color: #e2e8f0; color: #c0c0c0; cursor: default; transform: none; box-shadow: none; opacity: 0.45; pointer-events: none; }
.fab-typing-bubble { display: flex; align-items: center; gap: 5px; padding: 13px 17px !important; min-width: 56px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; display: inline-block; animation: dotBounce 1.2s infinite; }
.dot:nth-child(2){ animation-delay: 0.2s; }
.dot:nth-child(3){ animation-delay: 0.4s; }
@keyframes dotBounce { 0%,60%,100%{transform:translateY(0);background:#ddd;} 30%{transform:translateY(-7px);background:var(--orange);} }
.fab-quiz { background: white; border-radius: 14px; padding: 14px 15px; font-size: 13.5px; color: var(--text); border: 2px solid var(--orange); max-width: 290px; line-height: 1.65; word-break: break-word; font-family: 'Plus Jakarta Sans', sans-serif; box-shadow: 0 4px 16px var(--orange-glow); }
.fab-quiz b { color: var(--orange); }
.fab-progress { font-size: 11px; color: var(--text-light); text-align: right; margin-bottom: 6px; font-weight: 600; }
.quiz-opts { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.quiz-btn { background: var(--fab-bg); border: 1.5px solid var(--fab-border); border-radius: 10px; padding: 9px 12px; font-size: 13px; cursor: pointer; text-align: left; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); transition: all 0.18s; font-weight: 500; }
.quiz-btn:hover:not(:disabled){ border-color: var(--orange); background: var(--orange-light); }
.quiz-btn.correct { background: rgba(16,185,129,0.1); border-color: var(--success); color: #059669; font-weight: 700; }
.quiz-btn.wrong { background: rgba(239,68,68,0.08); border-color: var(--danger); color: #dc2626; }
.quiz-btn:disabled { cursor: default; }
.fab-score-card { background: linear-gradient(135deg, var(--orange-light), rgba(255,140,0,0.1)); border: 2px solid rgba(255,85,0,0.2); border-radius: 14px; padding: 20px 15px; max-width: 290px; text-align: center; font-family: 'Plus Jakarta Sans', sans-serif; }
.fab-score-card .score-big { font-size: 48px; font-weight: 800; color: var(--orange); margin: 8px 0; }
.fab-score-card .score-label { font-size: 13px; color: var(--text-light); font-weight: 500; }
.fab-input-area { padding: 12px 14px; border-top: 1.5px solid var(--fab-border); background: white; display: flex; gap: 8px; flex-shrink: 0; }
.fab-input { flex: 1; border: 2px solid var(--fab-border); border-radius: 100px; padding: 10px 18px; font-size: 14px; font-family: 'Plus Jakarta Sans', sans-serif; outline: none; transition: border 0.2s, box-shadow 0.2s; background: var(--fab-bg); color: var(--text); font-weight: 400; }
.fab-input:focus { border-color: var(--orange); background: white; box-shadow: 0 0 0 3px rgba(255,85,0,0.12); }
.fab-send { width: 40px; height: 40px; background: var(--orange); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.15s, box-shadow 0.15s; color: white; box-shadow: 0 3px 12px var(--orange-glow); }
.fab-send:hover { transform: scale(1.1); box-shadow: 0 6px 20px var(--orange-glow); }
.fab-send:active { transform: scale(0.93); }
.fab-welcome { background: linear-gradient(135deg, var(--orange), #ff8c00); border-radius: 14px; padding: 16px; max-width: 290px; color: white; font-family: 'Plus Jakarta Sans', sans-serif; }
.fab-welcome h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.fab-welcome p { font-size: 13px; opacity: 0.9; line-height: 1.6; }
.fab-progress-card { background: white; border: 1.5px solid var(--border); border-radius: 14px; padding: 13px 14px; max-width: 290px; font-family: 'Plus Jakarta Sans', sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.fpc-title { font-size: 13px; font-weight: 800; color: var(--orange); margin-bottom: 8px; }
.fpc-steps { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.fpc-step { font-size: 12px; color: var(--text-light); font-weight: 500; transition: color 0.3s; line-height: 1.4; }
.fpc-bar { height: 4px; background: var(--border); border-radius: 4px; overflow: hidden; }
.fpc-fill { height: 100%; background: linear-gradient(90deg, var(--orange), #ff8c00); border-radius: 4px; transition: width 0.35s ease; }
.fab-sticky-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px 12px; background: white; border-top: 1.5px solid var(--fab-border); flex-shrink: 0; }
.fab-sticky-btn { background: var(--fab-bg); border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 6px; font-size: 12.5px; font-weight: 700; color: var(--text); cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; transition: all 0.18s; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fab-sticky-btn:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.fab-sticky-primary { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.fab-sticky-primary:hover { background: var(--orange); color: white; border-color: var(--orange); }

/* ═══════════════════════════════════════════════════════════════════
   VERDICT CARD
   ═══════════════════════════════════════════════════════════════════ */
.nv-card { background: #ffffff; border-radius: 18px; max-width: 290px; width: 290px; font-family: 'Plus Jakarta Sans', sans-serif; overflow: hidden; border: 1.5px solid #e2e8f0; box-shadow: 0 8px 28px rgba(0,0,0,0.09); animation: aiCardIn 0.45s cubic-bezier(.2,.9,.3,1.1); }
@keyframes aiCardIn { from{opacity:0;transform:translateY(16px) scale(0.95);} to{opacity:1;transform:translateY(0) scale(1);} }
.nv-header { display: flex; align-items: flex-start; gap: 10px; padding: 14px 14px 12px; border-bottom: 1.5px solid #f1f5f9; }
.nv-header-icon { font-size: 24px; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.nv-header-title { font-size: 14px; font-weight: 800; line-height: 1.25; margin-bottom: 3px; letter-spacing: -0.2px; }
.nv-header-sub { font-size: 11.5px; color: #64748b; font-weight: 500; line-height: 1.4; }
.nv-bar-wrap { padding: 12px 14px 10px; background: #f8fafc; border-bottom: 1.5px solid #f1f5f9; }
.nv-bar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.nv-bar-label { font-size: 10px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.09em; }
.nv-bar-pct { font-size: 15px; font-weight: 800; letter-spacing: -0.5px; }
.nv-bar-track { height: 7px; background: #e2e8f0; border-radius: 100px; overflow: hidden; }
.nv-bar-fill { height: 100%; border-radius: 100px; transition: width 1.1s cubic-bezier(.2,.9,.3,1); }
.nv-toggle { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #f8fafc; border: none; border-bottom: 1.5px solid #f1f5f9; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12.5px; font-weight: 700; color: #475569; transition: background 0.15s; text-align: left; }
.nv-toggle:hover { background: #f1f5f9; }
.nv-toggle-icon { font-size: 13px; }
.nv-toggle-label { flex: 1; color: #334155; }
.nv-toggle-arrow { font-size: 10px; color: #94a3b8; }
.nv-details { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(.4,0,.2,1); background: #ffffff; }
.nv-details.open { max-height: 700px; }
.nv-pill { flex-shrink: 0; display: inline-block; font-size: 10px; font-weight: 800; color: #ffffff !important; padding: 3px 9px; border-radius: 100px; letter-spacing: 0.01em; white-space: nowrap; text-align: center; max-width: 120px; overflow: visible; border: none; outline: none; }
.nv-row { display: flex; align-items: flex-start; gap: 9px; padding: 9px 13px; border-bottom: 1px solid #f1f5f9; }
.nv-row:last-child { border-bottom: none; }
.nv-row-icon { font-size: 16px; flex-shrink: 0; width: 20px; text-align: center; margin-top: 2px; }
.nv-row-body { flex: 1; min-width: 0; }
.nv-row-label { font-size: 12px; font-weight: 700; color: #1e293b; margin-bottom: 2px; line-height: 1.3; }
.nv-row-sub { font-size: 10.5px; color: #94a3b8; font-weight: 500; line-height: 1.4; white-space: normal; overflow: visible; word-break: break-word; max-width: 140px; }

/* ═══════════════════════════════════════════════════════════════════
   FEEDBACK — inline thumbs (non-blocking, best practice)
   ═══════════════════════════════════════════════════════════════════ */
.fab-fb-inline-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 6px 38px;
  animation: msgIn 0.2s ease-out;
}
.fb-inline-label {
  font-size: 12px;
  color: var(--ink-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}
.fb-thumb {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
  line-height: 1;
}
.fb-thumb:hover:not(:disabled) {
  border-color: var(--orange);
  background: var(--orange-light);
  transform: scale(1.15);
}
.fb-thumb:disabled { cursor: default; }
.fb-inline-thanks {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Comment card — shown only on negative feedback */
.fab-feedback-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  max-width: 260px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  animation: msgIn 0.25s ease-out;
}
.fb-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.fb-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  resize: none;
  outline: none;
  background: var(--fab-bg);
  transition: border 0.2s;
  box-sizing: border-box;
}
.fb-textarea:focus { border-color: var(--orange); background: white; }
.fb-textarea::placeholder { color: var(--ink-muted); }
.fb-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 7px;
}
.fb-skip {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.15s;
}
.fb-skip:hover { border-color: var(--orange); color: var(--orange); }
.fb-send-btn {
  background: var(--orange);
  border: none;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.15s;
  box-shadow: 0 2px 8px var(--orange-glow);
}
.fb-send-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.fb-thanks {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  padding-top: 6px;
}


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 80px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .threats-grid { grid-template-columns: 1fr 1fr; }
  .flags-layout { grid-template-columns: 1fr; }
  .url-checker { display: none; }
  .stats-band-inner { grid-template-columns: repeat(2,1fr); }
  .tips-grid { grid-template-columns: 1fr; }
  .stats-band { padding: 60px 24px; }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .how-arrow { display: none; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 40px 24px; }
  .fab-window { width: calc(100vw - 20px); max-height: 75vh; border-radius: 18px; }
  .fab-chatbot { bottom: 16px; right: 10px; }
  .threats-grid { grid-template-columns: 1fr; }
  .scan-section { padding: 80px 24px; }
  .scan-layout { grid-template-columns: 1fr; gap: 48px; }
  .scan-sticky { position: static; }
  .scan-big-num { font-size: 72px; }
}

/* ═══════════════════════════════════════════════════════════════════
   RATE ME — conversational star rating
   ═══════════════════════════════════════════════════════════════════ */
.fab-rate-stars {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  animation: msgIn 0.25s ease-out;
}

.rate-star {
  background: none;
  border: none;
  font-size: 32px;
  color: #e2e8f0;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
}
.rate-star:hover:not(:disabled) {
  color: #fbbf24;
  transform: scale(1.25);
}
.rate-star:disabled { cursor: default; }

.fab-rate-stars > div:first-of-type {
  display: flex;
  gap: 2px;
}

.rate-star-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 18px;
  transition: color 0.2s;
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURE 1: OCR SCREENSHOT UPLOAD
   ═══════════════════════════════════════════════════════════════════ */
.fab-ocr-drop {
  background: white;
  border: 2.5px dashed var(--orange);
  border-radius: 16px;
  padding: 24px 20px;
  max-width: 270px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  animation: msgIn 0.25s ease-out;
}
.fab-ocr-drop:hover {
  background: var(--orange-light);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURE 3: REPORT SCAM CARD
   ═══════════════════════════════════════════════════════════════════ */
.fab-report-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  max-width: 285px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  animation: msgIn 0.25s ease-out;
}
.fab-report-title {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.fab-report-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: var(--fab-bg);
  margin-bottom: 7px;
  transition: all 0.15s;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.fab-report-btn:last-child { margin-bottom: 0; }
.fab-report-btn:hover { transform: translateX(4px); }
.fab-report-icon { font-size: 20px; flex-shrink: 0; }
.fab-report-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.fab-report-sub   { font-size: 10.5px; color: var(--ink-muted); font-weight: 500; }
.fab-report-arrow { font-size: 14px; color: #cbd5e1; margin-left: auto; font-weight: 700; }

.fab-report-mcmc { border-color: rgba(255,85,0,0.3);  background: rgba(255,85,0,0.04); }
.fab-report-mcmc:hover { background: rgba(255,85,0,0.1); border-color: var(--orange); }
.fab-report-mcmc .fab-report-label { color: var(--orange); }

.fab-report-bnm  { border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.04); }
.fab-report-bnm:hover { background: rgba(59,130,246,0.1); border-color: #3b82f6; }
.fab-report-bnm .fab-report-label { color: #3b82f6; }

.fab-report-pdrm { border-color: rgba(139,92,246,0.3); background: rgba(139,92,246,0.04); }
.fab-report-pdrm:hover { background: rgba(139,92,246,0.1); border-color: #8b5cf6; }
.fab-report-pdrm .fab-report-label { color: #8b5cf6; }

.fab-report-wa   { border-color: rgba(37,211,102,0.3); background: rgba(37,211,102,0.04); }
.fab-report-wa:hover { background: rgba(37,211,102,0.1); border-color: #25d366; }
.fab-report-wa .fab-report-label { color: #25d366; }

.fab-report-copy { border-color: rgba(100,116,139,0.3); background: var(--fab-bg); }
.fab-report-copy:hover { background: #f1f5f9; border-color: var(--border-strong); }

/* ═══════════════════════════════════════════════════════════════════
   INPUT AREA — + IMAGE BUTTON
   ═══════════════════════════════════════════════════════════════════ */
.fab-img-btn {
  width: 38px;
  height: 38px;
  background: var(--fab-bg);
  border: 1.5px solid var(--fab-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: all 0.18s;
  position: relative;
}
.fab-img-btn:hover {
  background: var(--orange-light);
  border-color: var(--orange);
  color: var(--orange);
  transform: scale(1.08);
}
.fab-img-btn:active {
  transform: scale(0.94);
}
/* ═══════════════════════════════════════════════════════════════════
   SMOOTH ANIMATIONS — CHATBOT
   ═══════════════════════════════════════════════════════════════════ */

/* Override msgIn with smoother version */
@keyframes msgIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* User bubble slide from right */
.fab-user-row {
    display: flex;
    justify-content: flex-end;
    animation: msgInRight 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes msgInRight {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Chips fade up */
.fab-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    margin-left: 38px;
    animation: chipsIn 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@keyframes chipsIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Bubble soft pop */
.fab-bubble {
    padding: 11px 15px;
    border-radius: 6px 18px 18px 18px;
    background: white;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
    max-width: 290px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    word-break: break-word;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    border: 1px solid var(--fab-border);
    animation: bubblePop 0.25s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@keyframes bubblePop {
    from { opacity: 0; transform: scale(0.93) translateY(6px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Card smooth pop */
.fab-card {
    background: white;
    border-radius: 14px;
    padding: 14px 15px;
    font-size: 13.5px;
    color: var(--text);
    border: 1.5px solid var(--border);
    max-width: 290px;
    line-height: 1.75;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    word-break: break-word;
    font-family: 'Plus Jakarta Sans', sans-serif;
    animation: cardPop 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@keyframes cardPop {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Verdict card */
.nv-card {
    animation: cardPop 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* Chip hover smoother */
.fab-chip {
    background: white;
    border: 2px solid var(--orange);
    color: var(--orange);
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
}
.fab-chip:hover {
    background: var(--orange);
    color: white;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 6px 18px var(--orange-glow);
}

/* FAB window open animation */
@keyframes fabSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Progress card */
.fab-progress-card {
    animation: cardPop 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* Welcome card */
.fab-welcome {
    animation: cardPop 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* Feedback card */
.fab-feedback-card {
    animation: cardPop 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* Rate stars */
.fab-rate-stars {
    animation: cardPop 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* Report card */
.fab-report-card {
    animation: cardPop 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* Score card */
.fab-score-card {
    animation: cardPop 0.4s cubic-bezier(0.34, 1.5, 0.64, 1);
}

/* OCR drop */
.fab-ocr-drop {
    animation: cardPop 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}