/* Caribbean AI Solutions — premium redesign
   Design DNA borrowed structurally from Lattice.com (soft pastel hero, pill badges,
   tinted rounded cards, bold color-block rhythm breaks, dense clean footer),
   expressed in Caribbean AI Solutions' own navy/blue brand + original copy/assets. */

:root {
  --navy-950: #001947;
  --navy-900: #002868;
  --navy-800: #003a8c;
  --navy-700: #005cae;
  --blue-500: #0074da;
  --blue-400: #34d7ff;
  --teal-400: #34d7ff;
  --cream: #ffffff;
  --paper: #ffffff;
  --ink: #002868;
  --ink-soft: #4a5468;
  --mint: #eaf6ff;
  --sand: #eef3fb;
  --blush: #eef5ff;
  --sky: #e3f2ff;
  --lilac: #ecf4ff;
  --line: rgba(0, 40, 104, 0.1);
  --shadow-soft: 0 20px 50px -25px rgba(0, 40, 104, 0.35);
  --shadow-card: 0 10px 30px -15px rgba(0, 40, 104, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { line-height: 1.6; color: var(--ink-soft); margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-800);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 7px 16px 7px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-400));
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.nav-brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--navy-800);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--blue-500); transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  border: none; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--navy-900); color: #fff;
  box-shadow: 0 12px 24px -10px rgba(11, 24, 48, 0.5);
}
.btn-primary:hover { background: var(--navy-800); box-shadow: 0 16px 30px -10px rgba(11, 24, 48, 0.55); }
.btn-outline {
  background: transparent; color: var(--navy-900); border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--navy-900); background: rgba(11,24,48,0.04); }
.btn-accent {
  background: var(--paper); color: var(--navy-900);
  box-shadow: 0 12px 24px -10px rgba(11, 24, 48, 0.25);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  padding: 168px 0 90px;
  position: relative;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  margin: 22px 0 20px;
}
.hero-copy h1 .accent {
  background: linear-gradient(100deg, var(--blue-500), var(--teal-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy p.lead { font-size: 18px; max-width: 480px; margin-bottom: 18px; }
.hero-tags {
  display: flex; gap: 18px; flex-wrap: wrap; margin: 22px 0 30px;
  font-size: 13.5px; font-weight: 700; color: var(--navy-800);
}
.hero-tags span { display: flex; align-items: center; gap: 7px; }
.hero-tags span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-blob {
  position: absolute; inset: -40px -20px auto auto;
  width: 92%; height: 108%;
  background: linear-gradient(140deg, var(--sky) 0%, var(--lilac) 45%, var(--mint) 100%);
  border-radius: 40px;
  filter: blur(0px);
  opacity: 0.9;
  z-index: 0;
}
.chat-row { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.chat-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-400));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700;
}
.chat-bubble {
  background: var(--sky); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: var(--navy-900);
  max-width: 82%;
}
.chat-row.self { flex-direction: row-reverse; }
.chat-row.self .chat-bubble { background: var(--navy-900); color: #fff; }
.chat-quickreplies { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chat-quickreplies span {
  font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--navy-800);
}

/* ---------- HERO VISUAL SWAP (photo <-> logo crossfade) ---------- */
.hero-visual-swap {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--paper);
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-visual-primary {
  width: 100%; height: auto; display: block;
  animation: heroPrimarySwap 12s ease-in-out infinite;
}
.hero-visual-logo {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 15%; opacity: 0; animation: heroLogoSwap 12s ease-in-out infinite;
}
.hero-visual-logo img { width: 100%; height: auto; object-fit: contain; }
@keyframes heroPrimarySwap {
  0%, 42%, 100% { opacity: 1; transform: scale(1); }
  50%, 92% { opacity: 0; transform: scale(1.015); }
}
@keyframes heroLogoSwap {
  0%, 42%, 100% { opacity: 0; transform: scale(0.97); }
  50%, 92% { opacity: 1; transform: scale(1); }
}
.hero-tech-grid, .hero-scan-line, .hero-data-pixels { position: absolute; inset: 0; pointer-events: none; }
.hero-tech-grid {
  opacity: 0.25;
  background-image: linear-gradient(var(--blue-500) 1px, transparent 1px), linear-gradient(90deg, var(--blue-500) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 68% 42%, #000 0%, transparent 64%);
  mask-image: radial-gradient(circle at 68% 42%, #000 0%, transparent 64%);
}
.hero-scan-line {
  opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(transparent 0%, rgba(52,215,255,0) 43%, rgba(52,215,255,0.35) 50%, rgba(52,215,255,0) 57%, transparent 100%);
  animation: heroScan 12s ease-in-out infinite;
}
@keyframes heroScan {
  0%, 40%, 100% { opacity: 0; transform: translateY(-44%); }
  48% { opacity: 0.7; }
  72% { opacity: 0.18; transform: translateY(44%); }
  92% { opacity: 0; transform: translateY(50%); }
}
.hero-data-pixels span {
  position: absolute; width: 7px; height: 7px; border-radius: 2px; background: var(--blue-400);
  box-shadow: 0 0 14px rgba(52,215,255,0.6); opacity: 0;
  animation: heroPixelRise 12s ease-in-out infinite;
}
.hero-data-pixels span:nth-child(1) { top: 28%; right: 20%; }
.hero-data-pixels span:nth-child(2) { top: 38%; right: 14%; animation-delay: 0.5s; }
.hero-data-pixels span:nth-child(3) { top: 48%; right: 27%; animation-delay: 1s; }
.hero-data-pixels span:nth-child(4) { top: 60%; right: 18%; animation-delay: 1.5s; }
.hero-data-pixels span:nth-child(5) { top: 34%; right: 31%; animation-delay: 2s; }
.hero-data-pixels span:nth-child(6) { top: 52%; right: 10%; animation-delay: 2.5s; }
@keyframes heroPixelRise {
  0%, 42%, 100% { opacity: 0; transform: translateY(14px) scale(0.8); }
  50%, 88% { opacity: 0.78; transform: translate(-8px, -18px) scale(1); }
  92% { opacity: 0; transform: translate(-14px, -30px) scale(0.72); }
}
.floating-chip {
  position: absolute; z-index: 2; background: var(--paper); border-radius: 16px;
  box-shadow: var(--shadow-card); padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
}
.floating-chip.one { top: -18px; left: -28px; }
.floating-chip.two { bottom: -20px; right: -18px; }
.floating-chip .num { font-size: 20px; font-weight: 800; color: var(--navy-900); }
.floating-chip .label { color: var(--ink-soft); font-weight: 600; font-size: 12px; }

/* ---------- AI AGENT DEMO ---------- */
.agent-demo { display: flex; justify-content: center; }
.agent-demo-card {
  width: 100%; max-width: 640px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  padding: 26px;
}
.agent-demo-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 13.5px; font-weight: 700; color: var(--navy-800);
}
.agent-demo-body {
  display: flex; flex-direction: column; gap: 14px;
  min-height: 180px; max-height: 320px; overflow-y: auto;
  padding-right: 4px; margin-bottom: 16px;
}
.agent-demo-body .chat-bubble { font-size: 14.5px; }
.agent-demo-body .typing { display: flex; gap: 4px; padding: 12px 14px; }
.agent-demo-body .typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500);
  opacity: 0.4; animation: typingDot 1s infinite ease-in-out;
}
.agent-demo-body .typing span:nth-child(2) { animation-delay: 0.15s; }
.agent-demo-body .typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.agent-demo-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.agent-demo-quick button {
  font-size: 12.5px; font-weight: 700; padding: 9px 14px; border-radius: 999px;
  background: var(--sky); border: 1px solid var(--line); color: var(--navy-800);
  transition: background 0.2s ease, transform 0.2s ease;
}
.agent-demo-quick button:hover { background: var(--blue-500); color: #fff; transform: translateY(-2px); }
.agent-demo-input {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 6px 6px 18px; background: var(--sky);
}
.agent-demo-input input {
  flex: 1; border: none; background: transparent; font-size: 14px; outline: none;
  font-family: inherit; color: var(--ink);
}
.agent-demo-input button {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy-900); color: #fff;
  border: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px;
}
.agent-demo-input input:disabled { cursor: not-allowed; opacity: 0.72; }
.agent-demo-quick button[hidden] { display: none; }
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 0 rgba(52, 215, 255, 0.65);
  animation: pulse 2s infinite;
}

/* ---------- MARQUEE / INDUSTRY STRIP ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
}
.strip-label {
  text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--ink-soft); text-transform: uppercase; margin-bottom: 18px;
}
.marquee { display: flex; width: max-content; gap: 48px; animation: scroll 28s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px;
  color: var(--navy-800); white-space: nowrap;
}
.marquee-item .ico {
  width: 22px;
  height: 22px;
  color: var(--navy-900);
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- SECTION HEADERS ---------- */
.section { padding: 110px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-head p { margin-top: 16px; font-size: 16.5px; }
.section-head.left { text-align: left; margin: 0 0 48px; }

/* ---------- FEATURE GRID ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(11,24,48,0.06);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.feature-card .icon-circle {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.6); color: var(--navy-900); font-size: 24px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; }
.feature-card.mint { background: var(--mint); }
.feature-card.sand { background: var(--sand); }
.feature-card.blush { background: var(--blush); }
.feature-card.sky { background: var(--sky); }
.feature-card.lilac { background: var(--lilac); }
.feature-card.paper { background: var(--paper); }

/* ---------- PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--paper); border-radius: var(--radius-lg); padding: 34px 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.popular {
  background: var(--navy-900); color: #fff; transform: scale(1.04);
  box-shadow: 0 30px 60px -20px rgba(11,24,48,0.55);
  border: none; z-index: 1;
}
.price-card.popular p, .price-card.popular .price-tag-note { color: rgba(255,255,255,0.7); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal-400); color: var(--navy-950); font-size: 11.5px; font-weight: 800;
  padding: 6px 16px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.price-tier { font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px; }
.price-card.popular .price-tier { color: var(--teal-400); }
.price-amount { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.price-amount span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.price-card.popular .price-amount span { color: rgba(255,255,255,0.6); }
.price-list { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; }
.price-list li::before { content: "✓"; color: var(--teal-400); font-weight: 800; flex-shrink: 0; }
.price-card:not(.popular) .price-list li::before { color: var(--blue-500); }

/* ---------- COLOR BLOCK BAND ---------- */
.band {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: 40px;
  padding: 74px 60px;
  color: #fff;
  margin: 0 32px;
}
.band .section-head h2, .band .section-head p { color: #fff; }
.band .section-head p { color: rgba(255,255,255,0.72); }
.band .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: #fff; }
.component-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.component-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 26px 22px;
  backdrop-filter: blur(6px);
}
.component-card .icon-circle {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; margin-bottom: 16px;
}
.component-card h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.component-card p { font-size: 13.5px; color: rgba(255,255,255,0.68); }

/* ---------- AGENT GRID ---------- */
.agent-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.agent-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.agent-card:hover { transform: translateY(-4px); border-color: var(--blue-400); }
.agent-card .ico {
  width: 38px; height: 38px; border-radius: 11px; background: var(--sky); display: flex;
  align-items: center; justify-content: center; color: var(--navy-900); font-size: 20px; margin-bottom: 14px;
}
.agent-card h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 5px; }
.agent-card p { font-size: 12.5px; }

/* ---------- INDUSTRIES ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industry-pill {
  display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px; font-weight: 700; font-size: 14.5px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.industry-pill:hover { background: var(--sky); transform: translateY(-3px); }
.industry-pill .ico {
  width: 22px;
  height: 22px;
  color: var(--navy-900);
}

/* ---------- COMPARISON ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius-lg); padding: 36px 32px; }
.compare-card.without { background: var(--paper); border: 1px solid var(--line); }
.compare-card.with { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-soft); }
.compare-card h3 { font-size: 19px; margin-bottom: 22px; }
.compare-card.with h3 { color: #fff; }
.compare-card ul { display: flex; flex-direction: column; gap: 15px; }
.compare-card li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; }
.compare-card.without li::before { content: "×"; color: #d9534f; font-weight: 800; font-size: 16px; }
.compare-card.with li::before { content: "✓"; color: var(--teal-400); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
  font-weight: 700; font-size: 15.5px; cursor: pointer;
}
.faq-q .plus { font-size: 20px; transition: transform 0.25s ease; color: var(--blue-500); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 220px; padding: 0 24px 22px; }
.faq-a p { font-size: 14.5px; }

/* ---------- FINAL CTA ---------- */
.cta-final {
  border-radius: 40px; padding: 80px 60px; text-align: center;
  background: radial-gradient(circle at 30% 20%, var(--navy-700), var(--navy-950) 70%);
  color: #fff; margin: 0 32px;
}
.cta-final h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); max-width: 620px; margin: 0 auto 18px; }
.cta-final p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 32px; font-size: 16.5px; }

/* ---------- FOOTER ---------- */
footer { padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 16px; }
.footer-brand img { height: 30px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; color: var(--navy-800); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--navy-900); }
.newsletter-form { display: flex; margin-top: 16px; border: 1px solid var(--line); border-radius: 999px; padding: 5px; background: var(--paper); }
.newsletter-form input { flex: 1; border: none; background: transparent; padding: 10px 14px; font-size: 14px; outline: none; }
.newsletter-form button {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy-900); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 28px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; gap: 12px;
}
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.footer-socials:not(.footer-socials-real) { display: none; }
.footer-socials-real a {
  color: var(--navy-900);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-socials-real a:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
}
.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ---------- AI WIDGET ---------- */
.ai-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.ai-launcher {
  min-width: 150px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 18px 35px -12px rgba(0, 25, 71, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ai-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px -15px rgba(0, 25, 71, 0.62);
}
.ai-bot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-400));
  display: grid;
  place-items: center;
  position: relative;
  animation: botFloat 3.5s ease-in-out infinite;
}
.ai-bot::before {
  content: "";
  position: absolute;
  top: -5px;
  width: 14px;
  height: 7px;
  border-radius: 999px 999px 0 0;
  border: 2px solid #fff;
  border-bottom: 0;
}
.ai-bot-face {
  width: 25px;
  height: 19px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.ai-bot-face span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--navy-900);
  animation: botBlink 4s infinite;
}
.ai-panel {
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 110px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 28px 70px -30px rgba(0, 25, 71, 0.58);
  padding: 18px;
  display: none;
}
.ai-widget.panel-open .ai-panel { display: block; }
.ai-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ai-panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy-900);
}
.ai-panel-hide {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--sky);
  color: var(--navy-900);
  font-size: 17px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.ai-panel-body {
  min-height: 190px;
  max-height: 300px;
  margin-bottom: 12px;
}
.ai-panel-quick { margin-bottom: 12px; }
.ai-panel-input { margin-bottom: 0; }
@keyframes botFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-2deg); }
}
@keyframes botBlink {
  0%, 45%, 55%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.15); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,199,192,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,199,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,199,192,0); }
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto 20px; }
  .feature-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-grid, .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .component-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .price-card.popular { transform: none; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 130px 0 60px; }
  .feature-grid, .pricing-grid, .agent-grid, .industry-grid, .component-grid { grid-template-columns: 1fr; }
  .band, .cta-final { margin: 0 16px; padding: 50px 26px; border-radius: 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .ai-widget { right: 14px; bottom: 14px; }
  .ai-panel { width: calc(100vw - 28px); padding: 16px; }
  .ai-launcher { min-width: 132px; height: 54px; }
}
