/* ==========================================================================
   ChatCart Pro AI — central marketing site stylesheet
   Extracted from index.html (source of truth) and deduplicated across the
   ~26 marketing pages that used to carry an identical copy of these rules
   in their own inline <style> blocks.

   Structure:
   1. Marketing template base (:root vars, reset, typography, nav, buttons,
      hero, sections, cards, FAQ, demo form, footer, RTL overrides).
      Used by the flagship homepage, ar/, pricing/, the vertical industry
      pages, and the competitor-alternative pages.
   2. Floating AI chat widget (#ccChatBubble / #ccChatPanel / #ccTeaser).
      Used by every page on the site, including privacy-policy/ and
      terms-and-conditions/, since those pages embed the same widget.
   ========================================================================== */

/* ---------- 1. Marketing template base ---------- */

:root{
  --navy:#0b0f0d;
  --navy-soft:#5b6360;
  --ink:#0a0a0a;
  --lime:#ccff00;
  --lime-dark:#a6d600;
  --grad-a:#25d366;
  --grad-b:#128c7e;
  --bg-blue:#e7f8ee;
  --bg-peach:#eef7f2;
  --pastel-pink:#fbe7f3;
  --pastel-blue:#e3f0fc;
  --pastel-yellow:#fdf3d9;
  --pastel-mint:#e6f7ee;
  --card:#ffffff;
  --border:#ececec;
  --shadow: 0 20px 45px -20px rgba(7,94,84,0.22);
  --body-bg:#ffffff;
  --glass-bg:rgba(255,255,255,0.55);
  --glass-border:rgba(255,255,255,0.4);
  --glass-blur:18px;
  --nav-bg:rgba(15,17,15,0.46);
  --nav-border:rgba(255,255,255,0.12);
  --surface-dark:#0a0a0a;
  --chip-bg:#f6f7fb;
  --input-bg:#fafbfe;
  --input-border:#dfe2ec;
  --input-text:#0a0a0a;
  --call-body-bg:#f3f6f4;
  --theme-transition:background-color .6s ease, color .6s ease, border-color .6s ease, box-shadow .6s ease;
}

/* Dark theme: applied to <html data-theme="dark">, toggled automatically by
   js/main.js based on the visitor's own device clock (7pm-7am local = dark),
   with a smooth cross-fade via --theme-transition on themeable surfaces. */
html[data-theme="dark"]{
  --navy:#e8ece9;
  --navy-soft:#a7b0ac;
  --ink:#f2f4f2;
  --bg-blue:#0f1a14;
  --bg-peach:#171310;
  --pastel-pink:#1c1218;
  --pastel-blue:#0f1720;
  --pastel-yellow:#1a1710;
  --pastel-mint:#0f1a15;
  --card:#161a17;
  --border:#2a2f2b;
  --shadow: 0 20px 45px -20px rgba(0,0,0,0.6);
  --body-bg:#0a0d0b;
  --glass-bg:rgba(22,26,23,0.55);
  --glass-border:rgba(255,255,255,0.08);
  --chip-bg:#1c211d;
  --input-bg:#1c211d;
  --input-border:#2a2f2b;
  --input-text:#f2f4f2;
  --call-body-bg:#12160f;
}
html[data-theme="dark"] body{background:var(--body-bg);}

*{box-sizing:border-box;}
html{transition:var(--theme-transition);}
body{
  margin:0;
  line-height:1.5;
  font-family:-apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Noto Sans Tamil', 'Noto Sans Malayalam', 'Nirmala UI', 'Tamil MN', 'Malayalam MN', Helvetica, Arial, sans-serif;
  color:var(--ink);
  background:var(--body-bg);
  overflow-x:hidden;
  transition:var(--theme-transition);
}
@media (prefers-reduced-motion: reduce){
  html, body, .glass, .benefit-card, .testi-card, .tier-card, nav.wrap{transition:none !important;}
}

/* Apple-style frosted glass surfaces */
.glass{
  background:var(--glass-bg);
  backdrop-filter:blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(160%);
  border:1px solid var(--glass-border);
}
html[lang="ta"] body{font-family:'Noto Sans Tamil', 'Tamil MN', 'Nirmala UI', 'Segoe UI', sans-serif;}
html[lang="ml"] body{font-family:'Noto Sans Malayalam', 'Malayalam MN', 'Nirmala UI', 'Segoe UI', sans-serif;}
a{text-decoration:none; color:inherit;}
.wrap{max-width:1200px; margin:0 auto; padding:0 24px;}
@media (max-width:420px){
  .wrap{padding:0 16px;}
}
img,svg{max-width:100%;}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:999px; font-weight:700; font-size:15px;
  cursor:pointer; border:none; white-space:nowrap;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{
  background:var(--lime);
  color:var(--surface-dark);
  box-shadow:0 12px 24px -10px rgba(204,255,0,0.55);
}
.btn-primary:hover{background:var(--lime-dark);}
.btn-ghost{
  background:rgba(255,255,255,0.1);
  color:#fff;
}
.btn-dark{
  background:var(--surface-dark); color:#fff;
}

/* Nav */
header{
  position:sticky; top:14px; z-index:50;
  padding:0 16px;
}
nav.wrap{
  position:relative;
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 10px 10px 22px; gap:16px; flex-wrap:wrap;
  max-width:1200px; margin:0 auto;
  background:var(--nav-bg);
  backdrop-filter:blur(22px) saturate(220%);
  -webkit-backdrop-filter:blur(22px) saturate(220%);
  border:1px solid var(--nav-border);
  border-radius:999px;
  box-shadow:0 18px 40px -18px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.12), inset 0 0 0 1px rgba(255,255,255,0.03);
}
nav.wrap::before{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 55%);
}
.logo{display:flex; align-items:center; gap:10px; font-weight:800; font-size:18px; min-width:0; color:#fff;}
.logo-mark{
  width:32px; height:32px; border-radius:9px;
  background:var(--lime);
  display:flex; align-items:center; justify-content:center;
  color:var(--surface-dark); font-size:18px; flex-shrink:0;
}
.logo-mark .ico-svg{width:17px; height:17px;}
.logo-mark img{width:100%; height:100%; object-fit:cover; border-radius:inherit;}

/* Inline SVG icon set (replaces decorative emoji) */
.ico-svg{width:1em; height:1em; display:inline-block; flex-shrink:0; vertical-align:middle;}
.nav-links{display:flex; gap:28px; font-size:14.5px; font-weight:600; color:rgba(255,255,255,0.75);}
.nav-links a:hover{color:#fff;}
.nav-cta{display:flex; align-items:center; gap:12px;}
.nav-toggle{display:none; background:none; border:none; font-size:24px; cursor:pointer; color:#fff; padding:4px 6px; line-height:1;}
.nav-cta .btn-primary{padding:11px 22px; font-size:14px;}

.lang-select{
  padding:8px 12px; border-radius:999px; border:1px solid rgba(255,255,255,0.18); background:rgba(255,255,255,0.08);
  font-size:12.5px; font-weight:600; color:#fff; cursor:pointer; font-family:inherit;
  max-width:132px;
}
.lang-select option{color:var(--ink);}

.nav-links-mobile-extra{display:none;}

@media (max-width:860px){
  header{top:10px; padding:0 12px;}
  nav.wrap{
    padding:10px 10px 10px 18px;
    border-radius:26px;
    flex-wrap:nowrap;
  }
  nav.wrap.menu-open{border-radius:20px;}
  .nav-links{
    display:none; flex-direction:column; align-items:stretch; gap:2px;
    width:100%; order:3;
    max-height:0; overflow:hidden;
    transition:max-height .25s ease;
  }
  .nav-links.open{display:flex; max-height:420px; margin-top:8px; padding-top:8px; border-top:1px solid rgba(255,255,255,0.12);}
  .nav-links a{width:100%; padding:12px 6px; border-top:1px solid rgba(255,255,255,0.1); font-size:16px; color:rgba(255,255,255,0.8);}
  .nav-links a:first-child{border-top:none;}
  .nav-toggle{display:block;}

  /* On mobile, the top bar shows only the logo + hamburger; language + CTA move into the dropdown */
  .nav-cta{gap:8px;}
  .nav-cta .lang-select, .nav-cta .btn-primary{display:none;}

  .nav-links-mobile-extra{
    display:flex; flex-direction:column; gap:10px;
    width:100%; padding:14px 6px 4px; border-top:1px solid rgba(255,255,255,0.12); margin-top:6px;
  }
  .nav-links-mobile-extra .lang-select{width:100%; max-width:none;}
  .nav-links-mobile-extra .btn-primary{width:100%; text-align:center;}
}

@media (max-width:420px){
  .logo{font-size:15px; gap:8px;}
}

/* Hero */
.hero{padding:96px 0 48px; text-align:center;}
.eyebrow{
  display:inline-block; padding:6px 16px; border-radius:999px;
  background:var(--surface-dark); color:var(--lime); font-weight:700; font-size:13px;
  letter-spacing:.02em; margin-bottom:20px;
}
.hero h1{
  font-size:56px; line-height:1.08; margin:0 0 20px; font-weight:700;
  max-width:820px; margin-left:auto; margin-right:auto; letter-spacing:-.02em;
}
.hero h1 .highlight{
  background:var(--lime);
  background-size:300% 100%;
  color:var(--surface-dark);
  padding:2px 10px; border-radius:10px;
  animation:gradientShift 6s ease-in-out infinite;
  display:inline-block;
}
.hero h1 .hero-vertical{
  display:inline-block; vertical-align:top; overflow:hidden; position:relative;
  color:var(--lime-dark);
}
.hero h1 .hero-vertical-inner{
  display:inline-block;
  animation:heroVerticalIn .45s ease;
}
.hero h1 .hero-vertical-inner.hero-vertical-out{
  animation:heroVerticalOut .35s ease forwards;
}
@keyframes heroVerticalIn{
  from{opacity:0; transform:translateY(.4em);}
  to{opacity:1; transform:translateY(0);}
}
@keyframes heroVerticalOut{
  from{opacity:1; transform:translateY(0);}
  to{opacity:0; transform:translateY(-.4em);}
}
@media (prefers-reduced-motion: reduce){
  .hero h1 .hero-vertical-inner{animation:none;}
}
@keyframes gradientShift{
  0%{background-color:var(--lime);}
  50%{background-color:var(--lime-dark);}
  100%{background-color:var(--lime);}
}
@media (prefers-reduced-motion: reduce){
  .hero h1 .highlight{animation:none;}
}
.hero p.sub{
  max-width:600px; margin:0 auto 32px; font-size:18px; color:var(--navy-soft); line-height:1.6;
}
.hero-ctas{display:flex; gap:14px; justify-content:center; margin-bottom:16px;}
.hero-note{font-size:13px; color:var(--navy-soft); margin-bottom:56px;}

@media (max-width:760px){
  .hero{padding:64px 0 32px;}
  .hero h1{font-size:36px;}
  .hero p.sub{font-size:16px; margin-bottom:24px;}
  .hero-note{margin-bottom:36px;}
}
@media (max-width:420px){
  .hero h1{font-size:28px;}
  .eyebrow{font-size:12px; padding:5px 12px;}
}

/* Hero mockup */
.mock-stage{
  position:relative; max-width:920px; margin:0 auto; padding:0 20px;
}
.chat-card{
  background:var(--card); border-radius:26px; box-shadow:var(--shadow);
  max-width:420px; width:100%; margin:0 auto; overflow:hidden; text-align:left;
  border:1px solid var(--border); direction:ltr;
}
@media (max-width:480px){
  .mock-stage{padding:0 8px;}
  .chat-card{border-radius:20px;}
  .chat-body{min-height:220px; padding:14px;}
  .bubble{max-width:86%; font-size:13px;}
}
.chat-head{
  background:#075e54; color:#fff; padding:14px 18px; display:flex; align-items:center; gap:12px;
}
.chat-head .avatar{
  width:38px; height:38px; border-radius:50%;
  background:var(--lime);
  color:var(--surface-dark);
  display:flex; align-items:center; justify-content:center; font-weight:700; flex-shrink:0;
}
.chat-head .name{font-weight:700; font-size:15px;}
.chat-head .status{font-size:12px; opacity:.8;}
.chat-body{background:#e5ddd3; padding:18px; display:flex; flex-direction:column; gap:10px; min-height:280px;}
.bubble{
  max-width:78%; padding:10px 14px; border-radius:14px; font-size:14px; line-height:1.45;
  box-shadow:0 1px 1px rgba(0,0,0,.08);
}
.bubble.in{background:#fff; color:#0a0a0a; border-top-left-radius:2px; align-self:flex-start;}
.bubble.out{background:#dcf8c6; color:#0a0a0a; border-top-right-radius:2px; align-self:flex-end;}
.bubble small{display:block; margin-top:4px; font-size:10.5px; color:#5b6a5d; text-align:right;}
.bubble .chips{display:flex; gap:6px; flex-wrap:wrap; margin-top:8px;}
.bubble .chip{
  background:#075e54; color:#fff; font-size:12px; padding:5px 10px; border-radius:999px; font-weight:600;
}

.float-card{
  position:absolute; background:var(--card); border-radius:16px; box-shadow:var(--shadow);
  padding:14px 16px; border:1px solid var(--border); font-size:13px; text-align:left; width:190px;
  direction:ltr;
}
.float-card .big{font-size:22px; font-weight:800; color:var(--ink);}
.float-card .lbl{color:var(--navy-soft); margin-top:2px;}
.fc1{top:10%; left:0;}
.fc2{top:55%; left:2%;}
.fc3{top:15%; right:0;}
.fc4{top:60%; right:2%;}
@media (max-width:900px){
  .float-card{position:static; width:auto; margin:10px auto; max-width:260px;}
  .float-row{display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:20px;}
}
@media (min-width:901px){
  .float-row{display:contents;}
}

/* Showcase (cycling business chat demo) */
.showcase{padding-top:10px;}
.showcase-stage{max-width:520px; margin:0 auto; padding:0 12px;}
.showcase-tabs{
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:22px;
}
.showcase-tabs button{
  display:inline-flex; align-items:center; gap:6px;
  border:1px solid var(--border); background:var(--card); color:var(--navy-soft);
  padding:8px 14px; border-radius:999px; font-size:13px; font-weight:600; cursor:pointer;
  font-family:inherit; transition:background .2s ease, color .2s ease, border-color .2s ease;
}
@media (max-width:480px){
  .showcase-tabs button{padding:7px 11px; font-size:12px;}
  .showcase-chat .chat-body{min-height:220px; padding:14px;}
}
.showcase-tabs button.active{
  background:var(--surface-dark); color:var(--lime); border-color:transparent;
}
.showcase-chat{margin:0 auto;}
.showcase-chat .chat-body{min-height:260px;}
.showcase-chat .bubble{
  opacity:0; transform:translateY(6px);
  animation:bubbleIn .35s ease forwards;
}
@keyframes bubbleIn{
  to{opacity:1; transform:translateY(0);}
}
@media (prefers-reduced-motion: reduce){
  .showcase-chat .bubble{animation:none; opacity:1; transform:none;}
}

/* Trusted strip */
.trusted{padding:50px 0; text-align:center;}
.trusted p{color:var(--navy-soft); font-weight:600; margin-bottom:28px; font-size:14px; letter-spacing:.03em;}
.logo-row{display:flex; justify-content:center; align-items:center; gap:48px; flex-wrap:wrap; opacity:.55; font-weight:700; font-size:17px; color:var(--navy-soft);}
@media (max-width:600px){
  .trusted{padding:32px 0;}
  .trusted p{font-size:12px; margin-bottom:18px;}
  .logo-row{gap:20px 28px; font-size:14px;}
}

/* Section shared */
section{padding:96px 0;}
.section-head{text-align:center; max-width:640px; margin:0 auto 64px;}
.section-head .eyebrow{margin-bottom:14px;}
.section-head h2{font-size:38px; font-weight:700; margin:0 0 16px; line-height:1.15; letter-spacing:-.015em; color:var(--ink);}
.section-head p{color:var(--navy-soft); font-size:17px; line-height:1.6; margin:0;}

/* Pastel section background blocks (Wati-style) */
.section-pastel{position:relative;}
.section-pastel-pink{background:var(--pastel-pink);}
.section-pastel-blue{background:var(--pastel-blue);}
.section-pastel-yellow{background:var(--pastel-yellow);}
.section-pastel-mint{background:var(--pastel-mint);}

@media (max-width:760px){
  section{padding:56px 0;}
  .section-head{margin-bottom:40px;}
  .section-head h2{font-size:26px;}
  .section-head p{font-size:14.5px;}
}

/* Two-mode */
.mode-grid{display:grid; grid-template-columns:1fr 1fr; gap:28px;}
@media (max-width:800px){.mode-grid{grid-template-columns:1fr;}}

/* Three-mode (One Agent, Three Jobs) */
.mode-grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; align-items:start;}
@media (max-width:1080px){.mode-grid-3{grid-template-columns:1fr; max-width:640px; margin:0 auto;}}

.mode-card{
  background:var(--card); border-radius:24px; padding:32px; border:1px solid var(--border); box-shadow:var(--shadow);
  display:flex; flex-direction:column;
}
.mode-card .tag{
  display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border-radius:999px; font-weight:700; font-size:13px; margin-bottom:16px;
  align-self:flex-start;
}
.mode-card .tag .ico-svg{width:15px; height:15px;}
.mode-card.orders .tag{background:var(--lime); color:var(--surface-dark);}
.mode-card.bookings .tag{background:var(--surface-dark); color:var(--lime);}
.mode-card.leads .tag{background:var(--pastel-blue); color:var(--navy);}
.mode-card h3{font-size:22px; margin:0 0 10px; line-height:1.25;}
.mode-card p.desc{color:var(--navy-soft); font-size:14.5px; line-height:1.6; margin:0 0 22px;}
.industry-list{display:flex; flex-direction:column; gap:8px;}
.industry-chip{
  display:flex; align-items:center; gap:10px; width:100%;
  background:var(--chip-bg); border:1px solid var(--border); border-radius:12px;
  padding:10px 14px; font-size:13.5px; font-weight:600; color:var(--navy);
  line-height:1.3;
}
.industry-chip .ico{font-size:16px; display:inline-flex; flex-shrink:0; width:20px; justify-content:center;}
.industry-chip .ico .ico-svg{color:var(--lime-dark);}

@media (max-width:600px){
  .mode-card{padding:22px;}
  .mode-card h3{font-size:20px;}
  .industry-chip{padding:9px 12px; font-size:13px;}
}

/* Benefits grid */
.benefits-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
@media (max-width:1000px){.benefits-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.benefits-grid{grid-template-columns:1fr;}}
.benefit-card{
  background:var(--card); border-radius:20px; padding:26px; border:1px solid var(--border);
  box-shadow:0 12px 30px -18px rgba(21,36,71,0.15);
}
.benefit-card .ico{
  width:44px; height:44px; border-radius:12px; margin-bottom:16px;
  background:var(--surface-dark);
  display:flex; align-items:center; justify-content:center; font-size:20px; color:var(--lime);
}
.benefit-card h4{margin:0 0 8px; font-size:17px;}
.benefit-card p{margin:0; font-size:14px; color:var(--navy-soft); line-height:1.55;}
@media (max-width:600px){
  .benefit-card{padding:20px;}
}

/* Bento grid variant: asymmetric tile sizes, first tile featured/larger.
   Applied via .benefits-grid.bento-grid so existing 4-equal-card sections
   are unaffected unless explicitly opted in. */
.bento-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:minmax(150px, auto);
  gap:18px;
  align-items:stretch;
}
.bento-grid .benefit-card{
  display:flex; flex-direction:column; justify-content:flex-start;
  height:100%;
}
.bento-grid .benefit-card:nth-child(1){grid-column:span 2; grid-row:span 2; padding:34px;}
.bento-grid .benefit-card:nth-child(1) .ico{width:72px; height:72px; font-size:32px; border-radius:18px; margin-bottom:24px;}
.bento-grid .benefit-card:nth-child(1) h4{font-size:23px; margin-bottom:12px;}
.bento-grid .benefit-card:nth-child(1) p{font-size:16px; line-height:1.6;}
.bento-grid .benefit-card:nth-child(1) p{margin-top:auto; padding-top:24px;}
.bento-grid .benefit-card:nth-child(2){grid-column:span 2; grid-row:span 1;}
.bento-grid .benefit-card:nth-child(3){grid-column:span 1; grid-row:span 1;}
.bento-grid .benefit-card:nth-child(4){grid-column:span 1; grid-row:span 1;}
@media (max-width:1000px){
  .bento-grid{grid-template-columns:repeat(2, 1fr); grid-auto-rows:minmax(140px, auto);}
  .bento-grid .benefit-card:nth-child(1){grid-column:span 2; grid-row:span 1; padding:26px;}
  .bento-grid .benefit-card:nth-child(1) .ico{width:44px; height:44px; font-size:20px; margin-bottom:16px;}
  .bento-grid .benefit-card:nth-child(1) h4{font-size:17px; margin-bottom:8px;}
  .bento-grid .benefit-card:nth-child(1) p{font-size:14px; margin-top:0; padding-top:0;}
  .bento-grid .benefit-card:nth-child(2){grid-column:span 2; grid-row:span 1;}
  .bento-grid .benefit-card:nth-child(3){grid-column:span 1;}
  .bento-grid .benefit-card:nth-child(4){grid-column:span 1;}
}
@media (max-width:640px){
  .bento-grid{grid-template-columns:1fr; grid-auto-rows:auto;}
  .bento-grid .benefit-card:nth-child(1),
  .bento-grid .benefit-card:nth-child(2),
  .bento-grid .benefit-card:nth-child(3),
  .bento-grid .benefit-card:nth-child(4){grid-column:span 1; grid-row:auto;}
}

/* Industry strip (all 12) */
.industry-strip{display:flex; flex-wrap:wrap; gap:14px; justify-content:center;}
.industry-strip .industry-chip{background:var(--card); box-shadow:0 8px 20px -14px rgba(21,36,71,0.2);}
@media (max-width:600px){
  .industry-strip{gap:10px;}
  .industry-strip .industry-chip{padding:8px 12px; font-size:13px;}
}

/* Testimonials */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
@media (max-width:900px){.testi-grid{grid-template-columns:1fr;}}
.testi-card{
  background:var(--card); border-radius:20px; padding:26px; border:1px solid var(--border);
  box-shadow:0 12px 30px -18px rgba(21,36,71,0.15);
}
.testi-card p.quote{font-size:14.5px; line-height:1.65; color:var(--navy-soft); margin:0 0 20px;}
.testi-person{display:flex; align-items:center; gap:12px;}
.testi-person .av{
  width:40px; height:40px; border-radius:50%;
  background:var(--lime);
  display:flex; align-items:center; justify-content:center; color:var(--surface-dark); font-weight:700; font-size:15px; flex-shrink:0;
}
.testi-person .who{font-weight:700; font-size:14px;}
.testi-person .role{font-size:12.5px; color:var(--navy-soft);}
@media (max-width:600px){
  .testi-card{padding:20px;}
}

/* FAQ */
.faq-list{max-width:760px; margin:0 auto;}
.faq-item{
  background:var(--card); border:1px solid var(--border); border-radius:16px; margin-bottom:12px; overflow:hidden;
}
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding:20px 22px; font-size:16px; font-weight:600;
  color:var(--navy); display:flex; justify-content:space-between; align-items:center; cursor:pointer; gap:16px;
}
.faq-q .chev{transition:transform .2s ease; font-size:14px; color:var(--navy-soft); flex-shrink:0;}
.faq-item.open .faq-q .chev{transform:rotate(180deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .25s ease;}
.faq-a p{margin:0; padding:0 22px 20px; color:var(--navy-soft); font-size:14.5px; line-height:1.6;}
@media (max-width:600px){
  .faq-q{padding:16px; font-size:14.5px; gap:10px;}
  .faq-a p{padding:0 16px 16px; font-size:13.5px;}
}

/* Demo form */
.demo-section{
  background:var(--card); border-radius:28px; box-shadow:var(--shadow); border:1px solid var(--border);
  padding:48px; max-width:760px; margin:0 auto;
}
@media (max-width:600px){
  .demo-section{padding:26px 20px; border-radius:20px;}
}
.demo-section h2{font-size:30px; margin:0 0 8px; text-align:center;}
.demo-section p.sub{text-align:center; color:var(--navy-soft); margin:0 0 32px; font-size:15px;}
form#demoForm{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
form#demoForm .full{grid-column:1 / -1;}
@media (max-width:600px){form#demoForm{grid-template-columns:1fr;}}
.field label{display:block; font-size:13px; font-weight:700; margin-bottom:6px; color:var(--navy);}
.field input, .field select{
  width:100%; padding:12px 14px; border-radius:12px; border:1px solid var(--input-border); font-size:14px;
  font-family:inherit; background:var(--input-bg); color:var(--input-text);
}
.field input:focus, .field select:focus{outline:2px solid var(--lime-dark); border-color:transparent;}
#demoForm .submit-row{margin-top:6px;}
#demoForm button{width:100%;}
#demoForm button[disabled]{opacity:0.6; cursor:not-allowed;}
.form-error{color:#c62828; font-size:13px; text-align:center; margin:12px 0 0;}
.demo-success{display:none; text-align:center; padding:20px 0;}
.demo-success .check{
  width:56px; height:56px; border-radius:50%; margin:0 auto 16px;
  background:var(--lime);
  color:var(--surface-dark); display:flex; align-items:center; justify-content:center; font-size:28px;
}
.demo-success h3{margin:0 0 8px;}
.demo-success p{color:var(--navy-soft); margin:0;}

/* Final CTA band */
.cta-band{
  background:var(--surface-dark);
  border-radius:32px; padding:64px 40px; text-align:center; color:#fff;
  max-width:1100px; margin:0 auto;
}
.cta-band h2{font-size:34px; margin:0 0 12px; font-weight:800;}
.cta-band p{opacity:.75; margin:0 0 28px; font-size:16px;}
.cta-band .btn-primary{background:var(--lime); color:var(--surface-dark); box-shadow:0 12px 24px -10px rgba(0,0,0,0.4);}
@media (max-width:600px){
  .cta-band{padding:40px 22px; border-radius:22px;}
  .cta-band h2{font-size:24px;}
  .cta-band p{font-size:14.5px;}
}

footer{background:var(--surface-dark); padding:48px 0 0; color:rgba(255,255,255,0.6); font-size:14px; margin-top:70px;}
footer .flogo{display:flex; align-items:center; gap:8px; font-weight:800; color:#fff; margin-bottom:12px; font-size:16px;}
footer .flogo .logo-mark{background:var(--lime); color:var(--surface-dark);}
footer .footer-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:32px 24px;
  padding-bottom:40px; text-align:left;
}
footer .footer-col{display:flex; flex-direction:column;}
footer .footer-col h5{
  margin:0 0 18px; font-size:14px; font-weight:800;
  color:var(--lime);
}
footer .footer-col ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px;}
footer .footer-col p{margin:0; line-height:1.6;}
footer .footer-col a{color:rgba(255,255,255,0.7); font-weight:500;}
footer .footer-col a:hover{color:var(--lime); text-decoration:underline;}
footer .footer-bottom{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
  padding:22px 0; margin-top:8px; border-top:1px solid rgba(255,255,255,0.1);
  text-align:left; font-size:12.5px;
}
footer .footer-bottom p{margin:0;}
footer .powered-by{font-size:12.5px; color:rgba(255,255,255,0.5);}
footer .powered-by a{color:var(--lime); font-weight:700; text-decoration:none;}
footer .powered-by a:hover{text-decoration:underline;}
footer .footer-social{display:flex; align-items:center; gap:10px;}
footer .footer-social a{
  width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.7); flex-shrink:0;
  transition:background .15s ease, color .15s ease;
}
footer .footer-social a:hover{background:var(--lime); color:var(--surface-dark);}
footer .footer-social svg{width:16px; height:16px;}
@media (max-width:860px){
  footer .footer-grid{grid-template-columns:repeat(2, 1fr);}
}
@media (max-width:520px){
  footer{text-align:center;}
  footer .flogo{justify-content:center;}
  footer .footer-grid{grid-template-columns:1fr; text-align:center; gap:30px;}
  footer .footer-bottom{flex-direction:column; text-align:center; justify-content:center;}
}
/* Legacy single-line footer, still used by a few flat pages */
footer .footer-legal{margin-top:16px; font-size:13px;}
footer .footer-legal a{color:rgba(255,255,255,0.6); font-weight:600;}
footer .footer-legal a:hover{color:var(--lime); text-decoration:underline;}

/* RTL adjustments */
html[dir="rtl"] .faq-q{text-align:right;}
html[dir="rtl"] .testi-person, html[dir="rtl"] .chat-head{direction:rtl;}
html[dir="rtl"] .field label{text-align:right;}
html[dir="rtl"] footer .footer-grid, html[dir="rtl"] footer .footer-bottom{text-align:right;}
@media (max-width:520px){
  html[dir="rtl"] footer .footer-grid{text-align:center;}
}

/* ---------- 2. Floating AI chat widget ---------- */

#ccChatBubble{
  position:fixed; right:20px; bottom:20px; z-index:999;
  width:58px; height:58px; border-radius:50%;
  background:#0a0a0a; color:#ccff00;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px -10px rgba(0,0,0,0.4);
  cursor:pointer; border:none;
  transition:transform .15s ease;
}
#ccChatBubble:hover{transform:scale(1.06);}
#ccChatBubble svg{width:26px; height:26px;}
#ccChatBubble .cc-close-ico{display:none;}
#ccChatBubble.open .cc-chat-ico{display:none;}
#ccChatBubble.open .cc-close-ico{display:block;}

/* Lime pulsing waves drawing attention to the chat bubble, off while the panel is open */
#ccChatBubble::before, #ccChatBubble::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  border:2px solid var(--lime); pointer-events:none;
  animation:ccBubbleWave 2.4s ease-out infinite;
}
#ccChatBubble::after{animation-delay:1.2s;}
#ccChatBubble.open::before, #ccChatBubble.open::after{display:none;}
@keyframes ccBubbleWave{
  0%{transform:scale(1); opacity:.6;}
  100%{transform:scale(1.8); opacity:0;}
}
@media (prefers-reduced-motion: reduce){
  #ccChatBubble::before, #ccChatBubble::after{animation:none; display:none;}
}

#ccChatPanel{
  position:fixed; right:20px; bottom:88px; z-index:999;
  width:340px; max-width:calc(100vw - 40px);
  height:460px; max-height:calc(100vh - 140px);
  background:#fff; color:#0a0a0a; border-radius:20px; overflow:hidden;
  box-shadow:0 24px 60px -16px rgba(0,0,0,0.35);
  border:1px solid #ececec;
  display:none; flex-direction:column;
  font-family:-apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
#ccChatPanel.open{display:flex;}

#ccChatPanel .cc-head{
  background:#0a0a0a; color:#fff; padding:14px 16px;
  display:flex; align-items:center; gap:10px; flex-shrink:0;
}
#ccChatPanel .cc-head .cc-avatar{
  width:32px; height:32px; border-radius:50%; background:#ccff00; color:#0a0a0a;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; flex-shrink:0;
}
#ccChatPanel .cc-head .cc-title{font-weight:700; font-size:14px;}
#ccChatPanel .cc-head .cc-sub{font-size:11.5px; opacity:.65;}

#ccChatBody{
  flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:8px;
  background:#f7f7f4;
}
#ccChatBody .cc-bubble{
  max-width:82%; padding:9px 13px; border-radius:14px; font-size:13.5px; line-height:1.45;
}
#ccChatBody .cc-bubble.bot{background:#fff; color:#0a0a0a; border:1px solid #ececec; align-self:flex-start; border-bottom-left-radius:3px;}
#ccChatBody .cc-bubble.user{background:#0a0a0a; color:#fff; align-self:flex-end; border-bottom-right-radius:3px;}
#ccChatBody .cc-bubble.typing{color:#5b6360; font-style:italic;}

#ccChatForm{
  display:flex; gap:8px; padding:10px; border-top:1px solid #ececec; background:#fff; flex-shrink:0;
}
#ccChatForm input{
  flex:1; border:1px solid #ececec; border-radius:999px; padding:9px 14px; font-size:13.5px;
  font-family:inherit; outline:none; background:#fff; color:#0a0a0a;
}
#ccChatForm input::placeholder{color:#8a8f8c;}
#ccChatForm input:focus{border-color:#a6d600;}
#ccChatForm button{
  background:#ccff00; color:#0a0a0a; border:none; border-radius:999px; width:38px; height:38px;
  display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0;
}
#ccChatForm button:disabled{opacity:.5; cursor:not-allowed;}
#ccChatForm button svg{width:16px; height:16px;}

.cc-cta-wrap{background:transparent !important; border:none !important; padding:2px 0 !important; align-self:flex-start;}
.cc-cta-btn{
  background:#0a0a0a; color:#ccff00; border:none; border-radius:999px;
  padding:9px 18px; font-weight:700; font-size:13px; cursor:pointer; font-family:inherit;
}
.cc-cta-btn:hover{background:#1a1a1a;}

@media (max-width:420px){
  #ccChatPanel{right:12px; bottom:82px; width:calc(100vw - 24px);}
  #ccChatBubble{right:14px; bottom:14px;}
}
@media (prefers-reduced-motion: reduce){
  #ccChatBubble{transition:none;}
}

#ccTeaser{
  position:fixed; right:20px; bottom:88px; z-index:998;
  max-width:230px; background:#fff; color:#0a0a0a;
  border:1px solid #ececec; border-radius:16px; border-bottom-right-radius:4px;
  padding:12px 14px; font-size:13.5px; line-height:1.4;
  box-shadow:0 14px 30px -10px rgba(0,0,0,0.25);
  font-family:-apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  display:none; cursor:pointer;
  animation:ccTeaserIn .25s ease;
}
#ccTeaser.show{display:block;}
#ccTeaser .cc-teaser-close{
  position:absolute; top:-8px; right:-8px; width:22px; height:22px; border-radius:50%;
  background:#0a0a0a; color:#fff; border:none; display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:13px; line-height:1; padding:0;
}
@keyframes ccTeaserIn{
  from{opacity:0; transform:translateY(6px);}
  to{opacity:1; transform:translateY(0);}
}
@media (max-width:420px){
  #ccTeaser{right:14px; bottom:80px; max-width:calc(100vw - 84px);}
}
@media (prefers-reduced-motion: reduce){
  #ccTeaser{animation:none;}
}
</content>
