/* --- Tokens ------------------------------------------------------------ */
:root {
  --gm-blue: #005DAA;
  --gm-blue-light: #0077C8;
  --gm-blue-deep: #003F72;
  --accent: #00A0DC;
  --bg-0: #050A12;
  --bg-1: #0A121C;
  --bg-2: #121C2A;
  --surface: #1B2839;
  --border: #35485F;
  --text: #E6ECF3;
  --text-dim: #8FA0B5;
  --danger: #D32F2F;
  --amber: #EF6C00;
  --green: #2E7D32;

  --shadow-lg: 0 30px 60px -20px rgba(0, 30, 60, 0.55);
  --shadow-focus: 0 0 0 3px rgba(0, 160, 220, 0.5);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-stack: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-stack);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Focus rings */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: 6px;
}

/* Skip link */
.skip-link {
  position: absolute; top: -60px; left: 20px;
  background: var(--gm-blue); color: white;
  padding: 10px 20px; border-radius: 8px;
  z-index: 100; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 20px; }

/* --- Background blobs -------------------------------------------------- */
.bg-blobs { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
  animation: blobDrift 22s ease-in-out infinite alternate;
}
.blob.b1 { top: -12%; left: -8%; width: 480px; height: 480px; background: radial-gradient(circle, var(--gm-blue) 0%, transparent 65%); }
.blob.b2 { top: 32%; right: -12%; width: 560px; height: 560px; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); opacity: 0.35; animation-delay: -7s; }
.blob.b3 { bottom: -18%; left: 30%; width: 620px; height: 620px; background: radial-gradient(circle, var(--gm-blue-deep) 0%, transparent 70%); opacity: 0.5; animation-delay: -14s; }
@keyframes blobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.1); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* --- Nav ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 40px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(10, 18, 28, 0.6);
  border-bottom: 1px solid rgba(53, 72, 95, 0.4);
  transition: padding 0.25s ease, background 0.25s ease;
}
.nav.shrunk {
  padding: 8px 40px;
  background: rgba(10, 18, 28, 0.9);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.2px;
}
.brand-icon {
  filter: drop-shadow(0 0 12px rgba(0, 160, 220, 0.4));
  /* Rounded-square like an Android/iOS app launcher — ~22% of the icon size
   * matches the Material adaptive-icon "squircle" and Apple's iOS radius. */
  border-radius: 22%;
  width: 34px; height: 34px;
  object-fit: cover;
}
.nav-links { display: flex; gap: 20px; margin-left: 20px; flex: 1; }
.nav-links a {
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  padding: 8px 4px; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Language picker */
.lang-picker { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 20px;
  background: rgba(0, 93, 170, 0.15); border: 1px solid rgba(0, 93, 170, 0.3);
  color: var(--text); font-size: 13px; font-weight: 600;
  transition: background 0.2s;
}
.lang-toggle:hover { background: rgba(0, 93, 170, 0.28); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  list-style: none; margin: 0; padding: 6px;
  min-width: 180px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-height: 400px; overflow-y: auto;
}
.lang-menu li {
  padding: 10px 14px; border-radius: 8px;
  cursor: pointer; font-size: 13px;
  transition: background 0.15s;
  display: flex; align-items: center; gap: 10px;
}
.lang-menu li:hover, .lang-menu li[aria-selected="true"] {
  background: rgba(0, 93, 170, 0.2);
}
.lang-menu li .flag { font-size: 18px; }
.lang-menu li .code { color: var(--text-dim); font-size: 11px; margin-left: auto; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 40px 120px;
  max-width: 1200px; margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(0, 160, 220, 0.14);
  color: var(--accent);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  margin: 20px 0 24px;
  letter-spacing: -1.5px;
  background: linear-gradient(180deg, #FFFFFF 0%, #B8CCE2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lede {
  font-size: 18px; color: var(--text-dim);
  max-width: 500px; margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 30px;
  font-weight: 600; font-size: 15px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn.primary {
  background: linear-gradient(135deg, var(--gm-blue) 0%, var(--gm-blue-light) 100%);
  color: white;
  box-shadow: 0 12px 30px -12px rgba(0, 93, 170, 0.6);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0, 93, 170, 0.8); }
.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text); border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.hero-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px; color: var(--text-dim); font-size: 14px;
}
.hero-bullets li { padding-left: 22px; position: relative; }
.hero-bullets li::before {
  content: "✓"; color: var(--accent);
  position: absolute; left: 0; top: 0;
  font-weight: 700;
}

/* Phone frame wrapper (holds floating pills) */
.phone-frame-wrap {
  position: relative;
  width: 340px; margin: 0 auto;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.phone-glow {
  position: absolute; inset: 30px;
  background: radial-gradient(circle at 50% 40%, rgba(0, 160, 220, 0.35) 0%, transparent 60%);
  filter: blur(60px);
  z-index: -1;
  animation: phoneGlow 4s ease-in-out infinite alternate;
}
@keyframes phoneGlow {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}
.phone-frame {
  width: 340px; height: 720px;
  border-radius: 40px;
  background: linear-gradient(135deg, #1a2434 0%, #0d1420 100%);
  padding: 12px;
  box-shadow:
    0 60px 120px -30px rgba(0, 30, 60, 0.8),
    0 0 0 2px rgba(53, 72, 95, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
  position: relative;
}
.phone-frame:hover { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg) translateY(-8px); }
.phone-notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px;
  background: #050A12; border-radius: 12px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-1);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Shared pulse used by the typing dot in the (former) chatbot area — kept
 * because the CSS is small and might be reused. Removed from actual DOM. */
@keyframes dotPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.3); }
}

/* --- Stats strip ------------------------------------------------------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px; margin: 0 auto;
  padding: 40px 40px 60px;
}
.stat { text-align: center; padding: 24px 12px; border-right: 1px solid rgba(53, 72, 95, 0.4); }
.stat:last-child { border-right: none; }
.stat-value {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Sections ---------------------------------------------------------- */
.section {
  padding: 100px 40px;
  max-width: 1200px; margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 16px 0 12px;
  color: var(--text);
}
.section-header p {
  color: var(--text-dim); max-width: 620px;
  margin: 0 auto; font-size: 16px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.feature {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(27, 40, 57, 0.7) 0%, rgba(18, 28, 42, 0.7) 100%);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 160, 220, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 160, 220, 0.5);
  box-shadow: 0 20px 40px -20px rgba(0, 93, 170, 0.4);
}
.feature:hover::before { opacity: 1; }
.feature-head {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px;
  position: relative;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gm-blue) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex: 0 0 auto;
  box-shadow: 0 8px 20px -8px rgba(0, 93, 170, 0.6);
}
.feature h3 { margin: 0; font-size: 17px; font-weight: 700; }
.feature-desc { color: var(--text-dim); font-size: 14px; margin: 0 0 16px; position: relative; }
.feature-modes { display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.mode-badge {
  display: inline-block; padding: 4px 10px;
  border-radius: 12px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.4px;
}
.mode-badge.mode-restricted { background: rgba(211, 47, 47, 0.14); color: #FF6B6B; }
.mode-badge.mode-standard { background: rgba(0, 93, 170, 0.14); color: var(--accent); }
.mode-badge.mode-disabled { background: rgba(46, 125, 50, 0.14); color: #6FC372; }
.mode-badge.always-on { background: rgba(255, 193, 7, 0.14); color: #FFCA28; }

/* Modes */
.modes { max-width: 1100px; }
.mode-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.mode-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform 0.25s;
}
.mode-card:hover { transform: translateY(-4px); }
.mode-card::before {
  content: ""; position: absolute; inset: 0;
  opacity: 0.16; pointer-events: none;
}
.mode-card.mode-restricted::before { background: radial-gradient(circle at top right, var(--danger) 0%, transparent 55%); }
.mode-card.mode-standard::before { background: radial-gradient(circle at top right, var(--gm-blue) 0%, transparent 55%); }
.mode-card.mode-disabled::before { background: radial-gradient(circle at top right, var(--green) 0%, transparent 55%); }
.mode-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-bottom: 12px;
}
.mode-card.mode-restricted .mode-dot { background: var(--danger); }
.mode-card.mode-standard .mode-dot { background: var(--gm-blue); }
.mode-card.mode-disabled .mode-dot { background: var(--green); }
.mode-badge-current {
  position: absolute; top: 20px; right: 20px;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--accent); color: var(--bg-0);
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.mode-card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; position: relative; }
.mode-card p { margin: 0; color: var(--text-dim); font-size: 14px; position: relative; }
.modes-footnote {
  text-align: center; margin: 32px auto 0;
  color: var(--text-dim); font-size: 13px; max-width: 600px;
}

/* --- How it works ------------------------------------------------------ */
.how { max-width: 1100px; }
.how-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: how;
}
.how-steps li {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(27, 40, 57, 0.65) 0%, rgba(18, 28, 42, 0.65) 100%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.how-steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 160, 220, 0.5);
}
.how-num {
  position: absolute; top: 10px; right: 20px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(0, 93, 170, 0.15);
  line-height: 1;
  font-family: var(--font-stack);
}
.how-steps li h3 {
  margin: 0 0 10px; font-size: 18px; font-weight: 700;
  position: relative;
}
.how-steps li p {
  margin: 0; font-size: 14px; color: var(--text-dim);
  position: relative;
}

/* --- Chatbot section --------------------------------------------------- */
.chatbot-section { max-width: 1180px; }
.chatbot-wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  align-items: stretch;
}
.chatbot-side {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(27, 40, 57, 0.7) 0%, rgba(18, 28, 42, 0.7) 100%);
  border: 1px solid var(--border);
}
.chatbot-side h3 {
  margin: 0 0 20px;
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.3px;
}
.chatbot-side-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.chatbot-side-list li {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 18px; position: relative;
}
.chatbot-side-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0, 160, 220, 0.6);
}
.chatbot-side-list strong { color: var(--text); font-size: 15px; font-weight: 700; }
.chatbot-side-list span { color: var(--text-dim); font-size: 13px; line-height: 1.55; }

/* --- Chatbot panel ---------------------------------------------------- */
.chatbot-panel {
  display: flex; flex-direction: column;
  min-height: 560px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 28, 42, 0.95) 0%, rgba(10, 18, 28, 0.95) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.chatbot-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(0, 93, 170, 0.14);
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}
.chatbot-avatar {
  width: 40px; height: 40px; border-radius: 22%;
  overflow: hidden;
  background: rgba(0, 160, 220, 0.15);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.chatbot-avatar img { border-radius: 22%; width: 100%; height: 100%; object-fit: cover; }
.chatbot-headline { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.chatbot-name { font-weight: 700; font-size: 15px; color: var(--text); }
.chatbot-sub { font-size: 11px; color: var(--text-dim); }
.chatbot-online-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(46, 125, 50, 0.16);
  color: #6FC372;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  flex: 0 0 auto;
}
.chatbot-online-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #6FC372;
  box-shadow: 0 0 8px #6FC372;
  animation: dotPulse 1.4s ease-in-out infinite;
}

/* Messages area */
.chatbot-messages {
  flex: 1 1 0;
  min-height: 0;              /* required for flex-child scrolling in Firefox */
  overflow-y: auto;
  padding: 20px 18px;
  display: flex; flex-direction: column; gap: 14px;
  scroll-behavior: smooth;
}
.chatbot-messages::-webkit-scrollbar { width: 6px; }
.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14); border-radius: 3px;
}

/* Individual message — outer wrapper is COLUMN-flex so suggestion chips
 * stack UNDER the row instead of becoming a sibling of the bubble. */
.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 100%;
  animation: fadeUp 0.25s ease;
}
.chat-msg-bot { align-items: flex-start; }
.chat-msg-user { align-items: flex-end; }

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 88%;
}
.chat-msg-user .chat-row { flex-direction: row-reverse; }

.chat-avatar {
  flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 22%;
  overflow: hidden;
  background: rgba(0, 160, 220, 0.15);
  display: flex; align-items: center; justify-content: center;
}
.chat-avatar img { border-radius: 22%; width: 100%; height: 100%; object-fit: cover; }

.chat-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px; line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  max-width: 100%;
}
.chat-msg-bot .chat-bubble {
  background: var(--surface); color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg-user .chat-bubble {
  background: linear-gradient(135deg, var(--gm-blue) 0%, var(--gm-blue-light) 100%);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-bubble strong { font-weight: 700; }

/* Typing indicator */
.chat-msg.typing .chat-bubble {
  display: inline-flex; gap: 4px;
  padding: 12px 16px;
  align-items: center;
}
.chat-msg.typing .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 1s ease-in-out infinite;
}
.chat-msg.typing .dot:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing .dot:nth-child(3) { animation-delay: 0.3s; }

/* Suggestion chips — stack UNDER the bubble because parent .chat-msg is
 * column-flex. Indented past the avatar so they align with the bubble. */
.chat-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-left: 36px;
  max-width: 100%;
}
.chat-chip {
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0, 93, 170, 0.14);
  color: var(--accent);
  border: 1px solid rgba(0, 160, 220, 0.28);
  font-size: 12px; font-weight: 600;
  transition: background 0.15s, transform 0.1s;
  font-family: var(--font-stack);
  cursor: pointer;
}
.chat-chip:hover { background: rgba(0, 93, 170, 0.24); transform: translateY(-1px); }

/* Input row */
.chatbot-input {
  display: flex; gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  background: rgba(10, 18, 28, 0.6);
  flex: 0 0 auto;
  align-items: center;
}
.chatbot-input input {
  flex: 1 1 0; min-width: 0;
  padding: 12px 16px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 24px;
  font-size: 14px;
  font-family: var(--font-stack);
}
.chatbot-input input::placeholder { color: var(--text-dim); }
.chatbot-input input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.2);
}
.chatbot-input button {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gm-blue) 0%, var(--gm-blue-light) 100%);
  color: white;
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(0, 93, 170, 0.6);
  transition: transform 0.15s;
  cursor: pointer;
}
.chatbot-input button:hover { transform: scale(1.06); }
.chatbot-input button:active { transform: scale(0.96); }
.chatbot-input button:disabled { opacity: 0.5; cursor: not-allowed; }

/* RTL: mirror the message layout so bot msgs sit on the right, user on left. */
[dir="rtl"] .chat-msg-bot { align-items: flex-end; }
[dir="rtl"] .chat-msg-user { align-items: flex-start; }
[dir="rtl"] .chat-msg-user .chat-row { flex-direction: row; }
[dir="rtl"] .chat-msg-bot .chat-row { flex-direction: row-reverse; }
[dir="rtl"] .chat-chips { padding-left: 0; padding-right: 36px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- FAQ --------------------------------------------------------------- */
.faq { max-width: 900px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(0, 160, 220, 0.4); }
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-weight: 600; font-size: 15px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px; font-weight: 400;
  transition: transform 0.2s;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 24px 22px;
  color: var(--text-dim); font-size: 14px;
  line-height: 1.6;
}

/* --- Privacy ----------------------------------------------------------- */
.privacy { max-width: 900px; }
.privacy-card {
  padding: 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 93, 170, 0.15) 0%, rgba(0, 160, 220, 0.06) 100%);
  border: 1px solid rgba(0, 160, 220, 0.25);
  text-align: center;
}
.privacy-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #7ABDD6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.privacy-card p {
  color: var(--text-dim); font-size: 16px; margin: 0 auto 24px; max-width: 600px;
}
.privacy-pills {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.privacy-pill {
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(0, 160, 220, 0.14);
  color: var(--accent);
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(0, 160, 220, 0.25);
}

/* --- Footer ------------------------------------------------------------ */
.site-footer {
  text-align: center; padding: 60px 20px 40px;
  color: var(--text-dim); font-size: 13px;
  border-top: 1px solid rgba(53, 72, 95, 0.3);
}
.site-footer .fine-print { font-size: 11px; margin-top: 8px; }

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .nav { padding: 12px 20px; }
  .nav.shrunk { padding: 8px 20px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 40px 20px 80px; gap: 40px; }
  .phone-frame-wrap { width: 280px; }
  .phone-frame { transform: none; width: 280px; height: 580px; }
  .phone-frame:hover { transform: translateY(-4px); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .stat { border-right: none; padding: 16px 8px; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(53, 72, 95, 0.4); }
  .section { padding: 60px 20px; }
  .privacy-card { padding: 40px 24px; }
  .how-num { font-size: 48px; }
  .chatbot-wrap { grid-template-columns: 1fr; gap: 20px; }
  .chatbot-panel { min-height: 480px; }
  .chatbot-side { padding: 20px; }
}

/* --- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- RTL support (Arabic) --------------------------------------------- */
[dir="rtl"] .nav-links { margin-left: 0; margin-right: 20px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .hero-bullets li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .hero-bullets li::before { left: auto; right: 0; }
[dir="rtl"] .feature-head { flex-direction: row-reverse; }
[dir="rtl"] .pill-protected { left: auto; right: -60px; }
[dir="rtl"] .pill-gatekeeper { right: auto; left: -80px; }
[dir="rtl"] .how-num { right: auto; left: 20px; }
[dir="rtl"] .mode-badge-current { right: auto; left: 20px; }
