/*
Theme Name: AI Talks Studio
Theme URI: https://aitalksstudio.com
Author: AI Talks Studios
Description: A dark AI-automation landing page theme with blue-to-violet gradient accents, built for AI Talks Studio.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ai-talks-studio
*/

/* ============================================
   TOKENS
   ============================================ */
:root{
  --bg:#08080F;
  --bg-panel:#11111C;
  --bg-panel-2:#151526;
  --line:#22223A;
  --blue:#50a2c7;
  --violet:#50a2c7;
  --pink:#50a2c7;
  --grad: linear-gradient(90deg, var(--blue), var(--violet), var(--pink));
  --text:#F4F4F8;
  --text-dim:#9CA3B0;
  --text-faint:#5D6072;
  --radius:14px;
  --radius-sm:8px;
  --container:1180px;
  --font-display:'Sora', sans-serif;
  --font-body:'Inter', sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important; transition-duration:.001ms !important;}
}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{margin:0; padding:0; list-style:none;}
h1,h2,h3,h4{font-family:var(--font-display); margin:0; font-weight:700; letter-spacing:-0.02em;}
p{margin:0;}
.wrap{max-width:var(--container); margin:0 auto; padding:0 32px;}

.grad-text{
  background:var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--violet);
}
a:focus-visible, button:focus-visible{ outline:2px solid var(--violet); outline-offset:3px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-body);
  font-size:14.5px;
  font-weight:600;
  padding:13px 24px;
  border-radius:var(--radius-sm);
  border:1px solid transparent;
  cursor:pointer;
  transition:all .2s ease;
  white-space:nowrap;
}
.btn-grad{
  background:var(--grad);
  color:#fff;
}
.btn-grad:hover{ filter:brightness(1.1); transform:translateY(-1px); box-shadow:0 8px 24px -8px rgba(139,92,246,0.6); }
.btn-outline{
  border-color:var(--line);
  color:var(--text);
  background:rgba(255,255,255,0.02);
}
.btn-outline:hover{ border-color:var(--violet); }

/* ============================================
   HEADER
   ============================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(8,8,15,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:78px; }
.site-logo{ display:flex; align-items:center; gap:10px; }
.logo-mark{
  width:34px; height:34px;
  background:var(--grad);
  border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:800; font-size:17px; color:#fff;
  flex-shrink:0;
}
.logo-text{ line-height:1.1; }
.logo-text .top{ font-family:var(--font-display); font-weight:700; font-size:16px; letter-spacing:0.01em; }
.logo-text .bottom{ font-size:9px; letter-spacing:0.2em; color:var(--text-faint); text-transform:uppercase; margin-top:2px; }

.main-nav ul{ display:flex; gap:34px; }
.main-nav a{ font-size:14.5px; color:var(--text-dim); position:relative; padding-bottom:4px; transition:color .2s ease; }
.main-nav a:hover, .main-nav a.active{ color:var(--text); }
.main-nav a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--grad); border-radius:2px;
}

/* ============================================
   HERO
   ============================================ */
.hero{ padding:96px 0 90px; position:relative; overflow:hidden; }
.hero .wrap{ display:grid; grid-template-columns:1fr 0.95fr; gap:40px; align-items:center; }
.hero h1{ font-size:clamp(34px, 4.6vw, 54px); line-height:1.12; margin:18px 0 22px; }
.hero .sub{ color:var(--text-dim); font-size:16.5px; max-width:480px; margin-bottom:34px; }
.hero-actions{ display:flex; gap:14px; margin-bottom:44px; flex-wrap:wrap; }
.hero-features{ display:flex; gap:28px; flex-wrap:wrap; }
.hf-item{ display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--text-dim); }
.hf-icon{
  width:22px; height:22px; border-radius:50%;
  background:rgba(80,162,199,0.15); border:1px solid rgba(80,162,199,0.15);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.hf-icon svg{ width:12px; height:12px; }

/* hero visual */
.hero-visual{ position:relative; height:460px; display:flex; align-items:center; justify-content:center; }
.hv-glow{
  position:absolute; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle, rgba(80,162,199,0.35), transparent 70%);
  filter:blur(10px);
  animation:pulse 5s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{opacity:0.6; transform:scale(1);} 50%{opacity:1; transform:scale(1.08);} }
.hv-rings{ position:absolute; bottom:20px; width:280px; height:90px; }
.hv-rings svg{ width:100%; height:100%; }
.hv-core{ position:relative; z-index:3; width:150px; }
.hv-core svg{ width:100%; filter:drop-shadow(0 0 22px rgba(139,92,246,0.55)); }
.hv-card{
  position:absolute; z-index:4;
  background:rgba(17,17,28,0.9);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:10px 14px;
  font-size:11.5px;
  backdrop-filter:blur(6px);
  animation:float 4.5s ease-in-out infinite;
}
.hv-card .tag{ display:block; font-size:9px; letter-spacing:0.1em; color:var(--violet); font-weight:700; margin-bottom:3px; }
.hv-card .name{ font-weight:600; color:var(--text); font-size:12.5px; }
.hv-c1{ top:6%; left:0%; animation-delay:0s; }
.hv-c2{ top:24%; left:4%; animation-delay:.5s; }
.hv-c3{ top:52%; left:2%; animation-delay:1s; }
.hv-c4{ top:12%; right:0%; animation-delay:1.5s; }
.hv-c5{ top:40%; right:4%; animation-delay:2s; }
@keyframes float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }

/* ============================================
   TRUST STRIP
   ============================================ */
.trust{ padding:44px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust .label{ text-align:center; font-size:11.5px; letter-spacing:0.16em; text-transform:uppercase; color:var(--text-faint); margin-bottom:28px; }
.trust-logos{ display:flex; justify-content:center; align-items:center; gap:52px; flex-wrap:wrap; }
.trust-logo{ display:flex; align-items:center; gap:8px; color:var(--text-faint); font-family:var(--font-display); font-weight:600; font-size:15px; opacity:0.7; }
.trust-logo svg{ width:18px; height:18px; }

/* ============================================
   SECTIONS
   ============================================ */
.section{ padding:96px 0; }
.section-head{ text-align:center; max-width:620px; margin:0 auto 56px; }
.section-head h2{ font-size:clamp(26px, 3.2vw, 36px); margin-top:14px; }
.section-head p{ color:var(--text-dim); margin-top:14px; font-size:15px; }

/* solutions grid */
.solutions-grid{ display:grid; grid-template-columns:repeat(5, 1fr); gap:18px; }
.sol-card{
  display:block;
  background:var(--bg-panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 22px;
  color:inherit;
  transition:border-color .2s ease, transform .2s ease;
}
.sol-card:hover{ border-color:rgba(139,92,246,0.5); transform:translateY(-3px); }
.sol-icon{
  width:52px; height:52px; border-radius:12px;
  background:linear-gradient(160deg, rgba(91,108,240,0.25), rgba(192,132,252,0.15));
  border:1px solid rgba(139,92,246,0.3);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.sol-icon svg{ width:24px; height:24px; }
.sol-card h3{ font-size:16.5px; margin-bottom:10px; }
.sol-card p{ font-size:13.5px; color:var(--text-dim); line-height:1.55; margin-bottom:16px; }
.sol-card .learn{ font-size:13px; font-weight:600; color:var(--violet); display:inline-flex; align-items:center; gap:5px; }

/* process */
.process-row{ display:grid; grid-template-columns:repeat(4, 1fr); gap:0; position:relative; }
.process-item{ text-align:center; position:relative; padding:0 16px; }
.process-item::after{
  content:""; position:absolute; top:34px; left:calc(50% + 44px); right:calc(-50% + 44px);
  height:1px; background-image:linear-gradient(90deg, var(--line) 50%, transparent 50%);
  background-size:10px 1px;
}
.process-item:last-child::after{ display:none; }
.process-hex{
  width:68px; height:68px; margin:0 auto 18px;
  border-radius:16px;
  background:var(--bg-panel);
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  position:relative; z-index:2;
}
.process-hex svg{ width:28px; height:28px; }
.process-num{ font-size:12px; color:var(--text-faint); font-weight:700; margin-bottom:8px; }
.process-item h3{ font-size:17px; margin-bottom:10px; }
.process-item p{ font-size:13.5px; color:var(--text-dim); line-height:1.55; max-width:220px; margin:0 auto; }

/* CTA banner */
.cta-banner{
  background:linear-gradient(120deg, #2C6E8C 0%, #50a2c7 55%, #7FC4E0 100%);
  border-radius:20px;
  padding:56px 56px;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:30px;
  align-items:center;
  overflow:hidden;
  position:relative;
}
.cta-banner h2{ font-size:clamp(24px,3vw,34px); color:#fff; margin-bottom:14px; }
.cta-banner p{ color:rgba(255,255,255,0.85); font-size:15px; margin-bottom:26px; max-width:420px; }
.cta-banner .btn-grad{ background:#fff; color:#4C3FE0; }
.cta-banner .btn-grad:hover{ filter:none; box-shadow:0 8px 24px -8px rgba(0,0,0,0.4); }
.cta-visual{ display:flex; align-items:center; justify-content:center; }
.cta-visual svg{ width:100%; max-width:280px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer{ padding:70px 0 30px; border-top:1px solid var(--line); }
.footer-top{ display:grid; grid-template-columns:1.3fr repeat(3, 1fr); gap:40px; margin-bottom:50px; }
.footer-brand .site-logo{ margin-bottom:14px; }
.footer-brand p{ color:var(--text-faint); font-size:13.5px; max-width:240px; }
.footer-col h4{ font-size:13px; letter-spacing:0.04em; margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:13.5px; color:var(--text-dim); }
.footer-col a:hover{ color:var(--text); }
.footer-social{ display:flex; gap:12px; }
.footer-social a{
  width:34px; height:34px; border-radius:50%;
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ border-color:var(--violet); }
.footer-social svg{ width:15px; height:15px; }
.footer-bottom{ text-align:center; padding-top:26px; border-top:1px solid var(--line); font-size:12.5px; color:var(--text-faint); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 0.85fr;
  gap:50px;
  align-items:center;
}
.contact-form-wrap{
  background:var(--bg-panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:36px;
}
.contact-form{ display:flex; flex-direction:column; gap:18px; }
.contact-form label{
  display:flex; flex-direction:column; gap:8px;
  font-size:13.5px; color:var(--text-dim); font-weight:500;
}
.contact-form input,
.contact-form textarea{
  background:var(--bg-panel-2);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:12px 14px;
  color:var(--text);
  font-family:var(--font-body);
  font-size:14.5px;
  resize:vertical;
  transition:border-color .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--violet);
}
.contact-notice{
  padding:14px 18px;
  border-radius:var(--radius-sm);
  font-size:14px;
  margin-bottom:20px;
}
.contact-success{
  background:rgba(34,197,94,0.1);
  border:1px solid rgba(34,197,94,0.4);
  color:#86efac;
}
.contact-error{
  background:rgba(239,68,68,0.1);
  border:1px solid rgba(239,68,68,0.4);
  color:#fca5a5;
}
.contact-visual{ display:flex; align-items:center; justify-content:center; }
.contact-visual svg{ width:100%; max-width:380px; }

@media (max-width: 900px){
  .contact-grid{ grid-template-columns:1fr; }
  .contact-visual{ order:-1; max-width:280px; margin:0 auto; }
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
}
.blog-card{
  display:block;
  background:var(--bg-panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  color:inherit;
  transition:border-color .2s ease, transform .2s ease;
}
.blog-card:hover{ border-color:rgba(139,92,246,0.5); transform:translateY(-3px); }
.blog-img{
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:var(--bg-panel-2);
}
.blog-img img{ width:100%; height:100%; object-fit:cover; }
.blog-img-fallback{
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg, rgba(91,108,240,0.12), rgba(192,132,252,0.08));
}
.blog-img-fallback svg{ width:40px; height:40px; opacity:0.7; }
.blog-body{ padding:24px 22px; }
.blog-meta{
  display:flex; align-items:center; gap:12px;
  margin-bottom:14px;
}
.blog-tag{
  font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--violet);
  background:rgba(139,92,246,0.12);
  border:1px solid rgba(139,92,246,0.3);
  padding:4px 10px;
  border-radius:20px;
}
.blog-date{ font-size:12px; color:var(--text-faint); }
.blog-card h3{ font-size:17px; margin-bottom:10px; line-height:1.35; }
.blog-card p{ font-size:13.5px; color:var(--text-dim); line-height:1.55; margin-bottom:16px; }

.blog-pagination{ margin-top:50px; display:flex; justify-content:center; }
.blog-pagination .nav-links{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.blog-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:38px; height:38px; padding:0 12px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  font-size:13.5px; color:var(--text-dim);
  transition:all .2s ease;
}
.blog-pagination .page-numbers.current{
  background:var(--grad);
  color:#fff;
  border-color:transparent;
}
.blog-pagination .page-numbers:hover:not(.current){ border-color:var(--violet); color:var(--text); }

@media (max-width: 980px){
  .blog-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px){
  .blog-grid{ grid-template-columns:1fr; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero-visual{ height:340px; }
  .solutions-grid{ grid-template-columns:repeat(2,1fr); }
  .process-row{ grid-template-columns:repeat(2,1fr); row-gap:40px; }
  .process-item::after{ display:none; }
  .cta-banner{ grid-template-columns:1fr; text-align:center; padding:44px 30px; }
  .cta-banner p{ margin-left:auto; margin-right:auto; }
  .footer-top{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px){
  .wrap{ padding:0 20px; }
  .solutions-grid{ grid-template-columns:1fr; }
  .process-row{ grid-template-columns:1fr; }
  .trust-logos{ gap:28px; }
  .footer-top{ grid-template-columns:1fr; }
}
/* ============================================
   PRICING
   ============================================ */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
  align-items:stretch;
}
.price-card{
  position:relative;
  background:var(--bg-panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px 26px;
  display:flex;
  flex-direction:column;
  transition:border-color .2s ease, transform .2s ease;
}
.price-card:hover{ border-color:rgba(139,92,246,0.4); transform:translateY(-3px); }
.price-card-featured{
  border-color:var(--violet);
  background:linear-gradient(160deg, rgba(139,92,246,0.10), var(--bg-panel) 60%);
}
.price-badge{
  position:absolute;
  top:-13px; left:50%;
  transform:translateX(-50%);
  background:var(--grad);
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  padding:5px 14px;
  border-radius:20px;
  white-space:nowrap;
}
.price-card h3{ font-size:19px; margin-bottom:8px; }
.price-tagline{ font-size:13px; color:var(--text-dim); line-height:1.5; margin-bottom:22px; min-height:40px; }
.price-amount{ display:flex; align-items:baseline; gap:6px; margin-bottom:22px; }
.price-num{ font-family:var(--font-display); font-size:34px; font-weight:700; color:var(--text); }
.price-period{ font-size:13px; color:var(--text-faint); }
.price-features{ display:flex; flex-direction:column; gap:13px; margin-top:auto; }
.price-features li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:13.5px; color:var(--text-dim); line-height:1.5;
}
.price-features li svg{ width:16px; height:16px; flex-shrink:0; margin-top:2px; }

@media (max-width: 980px){
  .pricing-grid{ grid-template-columns:repeat(2,1fr); }
  .price-card-featured{ order:-1; }
}
@media (max-width: 640px){
  .pricing-grid{ grid-template-columns:1fr; }
}
/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px; height:38px;
  background:none;
  border:1px solid var(--line);
  border-radius:8px;
  cursor:pointer;
  padding:0;
}
.mobile-toggle span{
  display:block;
  width:18px; height:2px;
  background:var(--text);
  margin:0 auto;
  transition:transform .2s ease, opacity .2s ease;
}
.mobile-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2){ opacity:0; }
.mobile-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display:none;
  position:fixed;
  top:78px; left:0; right:0;
  background:var(--bg);
  border-bottom:1px solid var(--line);
  padding:10px 20px 20px;
  max-height:calc(100vh - 78px);
  overflow-y:auto;
  z-index:99;
}
.mobile-nav.open{ display:block; }
.mobile-nav ul{ display:flex; flex-direction:column; gap:4px; }
.mobile-nav a{
  display:block;
  padding:14px 6px;
  font-size:15.5px;
  color:var(--text-dim);
  border-bottom:1px solid var(--line);
}
.mobile-nav a:hover, .mobile-nav a.active{ color:var(--text); }

@media (max-width: 900px){
  .mobile-toggle{ display:flex; }
  .main-nav{ display:none; }
}
@media (max-width: 640px){
  .header-cta-btn{ display:none; }
}
.mobile-nav-cta{
  display:block;
  margin-top:14px;
  text-align:center;
  background:var(--grad);
  color:#fff !important;
  font-weight:600;
  padding:13px;
  border-radius:var(--radius-sm);
  border-bottom:none !important;
}
/* ============================================
   DEMO VIDEO SECTION
   ============================================ */
.demo-section{ padding:70px 0 20px; }
.demo-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:50px;
  align-items:center;
}
.demo-video{
  position:relative;
  width:100%;
  padding-bottom:56.25%;
  height:0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
}
.demo-video iframe{
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  border:0;
}
.demo-copy h2{
  font-size:26px;
  line-height:1.25;
  margin:16px 0 18px;
}
.demo-copy p{
  color:var(--text-dim);
  font-size:15px;
  line-height:1.7;
  margin-bottom:26px;
}

@media (min-width: 700px){
  .demo-copy h2{ font-size:clamp(28px, 3.2vw, 38px); }
}
.demo-desc-short{ display:none; }

@media (max-width: 900px){
  .demo-grid{ grid-template-columns:1fr; gap:20px; }
  .demo-copy{ order:1; }
  .demo-video{ order:2; }
  .demo-desc-full{ display:none; }
  .demo-desc-short{ display:block; }
}
}

@media (max-width: 640px){
  .hero{ padding-top:36px; padding-bottom:30px; }
  .hero-features{ margin-top:4px; gap:14px; }

  .trust{ padding:44px 0; }
  .trust .label{ margin-bottom:24px; }
  .trust-logos{ gap:24px 32px; row-gap:28px; }
  .trust-logo{ font-size:13px; }

  .demo-section{ padding-top:50px; padding-bottom:40px; }
  .demo-grid{ gap:24px; }
  .demo-copy h2{ margin:14px 0 22px; font-size:24px; }
  .demo-copy .btn{ display:inline-flex; margin-top:10px; margin-bottom:20px; }
  .demo-video{ margin-top:4px; }
}
/* ============================================
   NAV DROPDOWN (Flagship Systems)
   ============================================ */
.main-nav ul li{ position:relative; }
.main-nav ul li > a.has-dropdown::after{
  content:"▾";
  font-size:10px;
  margin-left:5px;
  opacity:0.7;
}
.main-nav .sub-menu{
  display:none;
  position:absolute;
  top:100%; padding-top:18px;;
  left:-16px;
  min-width:230px;
  background:var(--bg-panel);
  border:1px solid var(--line);
  border-radius:12px;
  padding:8px;
  box-shadow:0 20px 40px -12px rgba(0,0,0,0.6);
  z-index:200;
}
.main-nav li:hover .sub-menu{ display:block; }
.main-nav .sub-menu li{ list-style:none; }
.main-nav .sub-menu a{
  display:block;
  padding:11px 14px;
  font-size:14px;
  border-radius:8px;
  color:var(--text-dim);
}
.main-nav .sub-menu a:hover{
  background:rgba(139,92,246,0.12);
  color:var(--text);
}
/* ============================================
   FLAGSHIP SYSTEM PAGES
   ============================================ */
.flagship-hero{ position:relative; overflow:hidden; padding:100px 0 60px; }
.flagship-bg{
  position:absolute; inset:0;
  background:radial-gradient(ellipse 60% 50% at 50% 30%, rgba(139,92,246,0.12), transparent 70%);
  pointer-events:none;
}
.flagship-visual{
  position:relative;
  width:100%;
  max-width:360px;
  height:280px;
  margin:0 auto;
}

/* --- AI CEO: orbiting rings --- */
.fv-orbit-ring{
  position:absolute; top:50%; left:50%;
  border:1px solid rgba(139,92,246,0.35);
  border-radius:50%;
  transform:translate(-50%,-50%);
}
.fv-ring-1{ width:120px; height:120px; }
.fv-ring-2{ width:200px; height:200px; border-color:rgba(139,92,246,0.22); animation:spin 14s linear infinite; }
.fv-ring-3{ width:280px; height:280px; border-color:rgba(192,132,252,0.18); animation:spin 22s linear infinite reverse; }
.fv-core{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:60px; height:60px; border-radius:50%;
  background:var(--grad);
  box-shadow:0 0 40px 6px rgba(139,92,246,0.5);
  animation:pulse 4s ease-in-out infinite;
}
.fv-node{
  position:absolute; width:12px; height:12px; border-radius:50%;
  background:#C084FC; box-shadow:0 0 10px 2px rgba(192,132,252,0.7);
}
.fv-node-1{ top:20%; left:50%; animation:spin 14s linear infinite; transform-origin:0 100px; }
.fv-node-2{ top:50%; left:8%; animation:spin 22s linear infinite reverse; transform-origin:132px 0; }
.fv-node-3{ bottom:12%; right:18%; animation:float 5s ease-in-out infinite; }
@keyframes spin{ from{ transform:translate(-50%,-50%) rotate(0deg); } to{ transform:translate(-50%,-50%) rotate(360deg); } }

/* --- Digital Twin Room: mirrored shapes --- */
.fv-twin{
  position:absolute; top:50%; width:100px; height:140px;
  border:1.5px solid rgba(139,92,246,0.5);
  border-radius:16px;
  background:rgba(139,92,246,0.06);
}
.fv-twin-left{ left:calc(50% - 120px); transform:translateY(-50%); animation:float 4.5s ease-in-out infinite; }
.fv-twin-right{ left:calc(50% + 20px); transform:translateY(-50%); animation:float 4.5s ease-in-out infinite reverse; }
.fv-twin-sync{
  position:absolute; top:50%; left:calc(50% - 20px);
  width:40px; height:1.5px;
  background:linear-gradient(90deg, transparent, #C084FC, transparent);
  animation:pulse 2.5s ease-in-out infinite;
}

/* --- Competitor War Room: radar sweep --- */
.fv-radar-ring{
  position:absolute; top:50%; left:50%;
  border:1px solid rgba(139,92,246,0.3);
  border-radius:50%;
  transform:translate(-50%,-50%);
}
.fv-radar-1{ width:100px; height:100px; }
.fv-radar-2{ width:180px; height:180px; }
.fv-radar-3{ width:260px; height:260px; }
.fv-radar-sweep{
  position:absolute; top:50%; left:50%;
  width:130px; height:1.5px;
  background:linear-gradient(90deg, rgba(192,132,252,0.9), transparent);
  transform-origin:0 0;
  animation:radarspin 4s linear infinite;
}
@keyframes radarspin{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
.fv-blip{ position:absolute; width:8px; height:8px; border-radius:50%; background:#C084FC; box-shadow:0 0 8px 2px rgba(192,132,252,0.6); }
.fv-blip-1{ top:32%; left:62%; animation:pulse 3s ease-in-out infinite; }
.fv-blip-2{ top:60%; left:30%; animation:pulse 3.5s ease-in-out infinite; }
.fv-blip-3{ top:70%; left:70%; animation:pulse 2.8s ease-in-out infinite; }

.flagship-block{ padding:34px 0; border-bottom:1px solid var(--line); }
.flagship-block:last-of-type{ border-bottom:none; }
.flagship-num{ font-family:var(--font-display); font-size:13px; color:var(--violet); font-weight:700; letter-spacing:0.08em; }
.flagship-block h2{ font-size:24px; margin:10px 0 14px; }
.flagship-block p{ color:var(--text-dim); font-size:15.5px; line-height:1.75; }
/* ============================================
   HOMEPAGE BLOG SWIPE SECTION
   ============================================ */
.home-blog-scroll{
  display:flex;
  gap:22px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding-bottom:10px;
  scrollbar-width:none;
}
.home-blog-scroll::-webkit-scrollbar{ display:none; }
.home-blog-card{
  flex:0 0 auto;
  width:300px;
  scroll-snap-align:start;
}

@media (max-width: 640px){
  .home-blog-card{ width:82%; }
}
/* ============================================
   GHOST WORKFORCE REVEAL ANIMATION
   ============================================ */
.gr-letters .gr-char{
  display:inline-block;
  opacity:0;
  filter:blur(6px);
  transform:translateY(14px);
}
.ghost-reveal.gr-active .gr-char{
  animation:ghostCharIn 0.6s ease forwards;
}
@keyframes ghostCharIn{
  to{ opacity:1; filter:blur(0); transform:translateY(0); }
}
@media (min-width: 981px){
	.pricing-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.price-card {
	min-width: 0; /* prevents card from growing to fit its content */
}

.price-amount {
	white-space: nowrap;
	overflow: hidden;
}

.price-num {
	font-size: clamp(20px, 4vw, 32px); /* shrinks slightly instead of forcing width */
}
/* ============================================
   VIRTUAL AI AGENT TOUR
   ============================================ */
.tour-progress{ position:fixed; top:0; left:0; right:0; height:3px; background:transparent; z-index:999; }
.tour-progress-bar{ height:100%; width:0%; background:var(--grad); transition:width 0.1s linear; }

.tour-pulse-bubble{
  position:absolute; top:60px; left:50%; transform:translateX(-50%);
  width:200px; height:200px; border-radius:50%;
  background:radial-gradient(circle, rgba(139,92,246,0.18), transparent 70%);
  animation:pulse 3.5s ease-in-out infinite;
  pointer-events:none;
}

.tour-fade-section{ opacity:0; transform:translateY(24px); transition:opacity 0.7s ease, transform 0.7s ease; }
.tour-fade-section.tour-visible{ opacity:1; transform:translateY(0); }

/* chat journey */
.tour-chat-wrap{ max-width:560px; margin:0 auto; text-align:center; }
.tour-chat{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:16px;
  padding:24px; min-height:260px; text-align:left; display:flex; flex-direction:column; gap:12px;
}
.tour-msg{
  max-width:80%; padding:11px 16px; border-radius:14px; font-size:14px; line-height:1.5;
  opacity:0; transform:translateY(10px); transition:opacity 0.4s ease, transform 0.4s ease;
}
.tour-msg.tour-shown{ opacity:1; transform:translateY(0); }
.tour-msg-user{ align-self:flex-end; background:var(--grad); color:#fff; border-bottom-right-radius:4px; }
.tour-msg-ai{ align-self:flex-start; background:var(--bg-panel-2); border:1px solid var(--line); color:var(--text); border-bottom-left-radius:4px; }
.tour-typing{
  display:none; align-self:flex-start; gap:4px; padding:11px 16px;
  background:var(--bg-panel-2); border:1px solid var(--line); border-radius:14px; border-bottom-left-radius:4px;
}
.tour-typing.tour-shown{ display:flex; }
.tour-typing span{ width:6px; height:6px; border-radius:50%; background:var(--text-faint); animation:typingDot 1.2s ease-in-out infinite; }
.tour-typing span:nth-child(2){ animation-delay:0.2s; }
.tour-typing span:nth-child(3){ animation-delay:0.4s; }
@keyframes typingDot{ 0%,60%,100%{ opacity:0.3; transform:translateY(0); } 30%{ opacity:1; transform:translateY(-3px); } }

.tour-track{ display:flex; justify-content:center; gap:18px; flex-wrap:wrap; margin-top:34px; }
.tour-track-step{
  display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-faint);
  border:1px solid var(--line); border-radius:20px; padding:7px 14px; opacity:0.5; transition:all 0.3s ease;
}
.tour-track-step.tour-lit{ opacity:1; color:var(--text); border-color:var(--violet); }
.tour-track-icon{
  width:18px; height:18px; border-radius:50%; background:var(--line); color:var(--text-faint);
  display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; transition:all 0.3s ease;
}
.tour-track-step.tour-lit .tour-track-icon{ background:var(--grad); color:#fff; }

/* industry tabs */
.tour-tabs{ display:flex; gap:10px; overflow-x:auto; padding-bottom:14px; margin-bottom:30px; scrollbar-width:none; }
.tour-tabs::-webkit-scrollbar{ display:none; }
.tour-tab{
  flex:0 0 auto; display:flex; align-items:center; gap:8px;
  background:var(--bg-panel); border:1px solid var(--line); color:var(--text-dim);
  padding:11px 18px; border-radius:24px; font-size:13.5px; cursor:pointer; transition:all 0.25s ease;
}
.tour-tab svg{ width:16px; height:16px; }
.tour-tab.active{ background:var(--grad); color:#fff; border-color:transparent; }
.tour-panel{ display:none; }
.tour-panel.active{ display:block; animation:tourPanelIn 0.3s ease; }
@keyframes tourPanelIn{ from{ opacity:0; } to{ opacity:1; } }
.tour-points{ display:flex; flex-direction:column; gap:16px; }
.tour-point{ padding:16px 20px; background:var(--bg-panel); border:1px solid var(--line); border-radius:10px; font-size:14px; line-height:1.6; }
.tour-point strong{ color:var(--violet); display:block; margin-bottom:4px; }
.tour-point span{ color:var(--text-dim); }

/* workflow */
.tour-flow{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:0; }
.tour-flow-node{ display:flex; flex-direction:column; align-items:center; gap:10px; font-size:12.5px; color:var(--text-dim); width:110px; text-align:center; }
.tour-flow-icon{
  width:56px; height:56px; border-radius:14px; background:var(--bg-panel); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
}
.tour-flow-icon svg{ width:24px; height:24px; }
.tour-flow-line{ width:40px; height:1px; background:var(--line); margin-bottom:24px; }

/* try live */
.tour-live-form{ display:flex; gap:10px; }
.tour-live-form input{
  flex:1; background:var(--bg-panel-2); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:14px 16px; color:var(--text); font-size:14.5px;
}
.tour-live-form input:focus{ outline:none; border-color:var(--violet); box-shadow:0 0 0 3px rgba(139,92,246,0.2); }
.tour-live-form button{
  background:var(--grad); border:none; border-radius:var(--radius-sm); width:50px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}

/* comparison */
.tour-compare{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.tour-compare-col{ border-radius:var(--radius); padding:30px 26px; }
.tour-compare-old{ background:var(--bg-panel); border:1px solid var(--line); opacity:0.75; }
.tour-compare-new{ background:linear-gradient(160deg, rgba(139,92,246,0.1), var(--bg-panel) 60%); border:1px solid var(--violet); }
.tour-compare-col h4{ font-size:17px; margin-bottom:20px; }
.tour-compare-col ul{ display:flex; flex-direction:column; gap:14px; }
.tour-compare-col li{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text-dim); }
.tour-x{ color:#F87171; font-weight:700; }
.tour-check{ color:#C084FC; font-weight:700; }

/* testimonials */
.tour-testimonial{
  flex:0 0 auto; width:300px; scroll-snap-align:start;
  background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 26px; position:relative;
}
.tour-quote-mark{ font-family:var(--font-display); font-size:50px; color:var(--violet); opacity:0.25; line-height:1; margin-bottom:6px; }
.tour-testimonial p{ font-size:14px; color:var(--text-dim); line-height:1.65; margin-bottom:18px; }
.tour-testimonial-name{ font-size:12.5px; color:var(--text-faint); font-weight:600; }

/* FAQ */
.tour-faq{ background:var(--bg-panel); border:1px solid var(--line); border-radius:12px; padding:18px 22px; margin-bottom:14px; }
.tour-faq summary{ cursor:pointer; font-weight:600; color:var(--text); font-size:15.5px; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.tour-faq summary::-webkit-details-marker{ display:none; }
.tour-faq-chevron{ transition:transform 0.25s ease; color:var(--violet); }
.tour-faq[open] .tour-faq-chevron{ transform:rotate(180deg); }
.tour-faq p{ color:var(--text-dim); margin-top:14px; line-height:1.7; font-size:14px; }

@media (max-width: 900px){
  .tour-flow{ flex-direction:column; }
  .tour-flow-line{ width:1px; height:24px; margin-bottom:0; }
  .tour-compare{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .tour-track{ flex-direction:column; align-items:flex-start; gap:10px; }
  .tour-msg{ max-width:90%; }
}
/* ============================================
   DEPARTMENT DEMOS (Tour page)
   ============================================ */
.dept-mock{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:16px;
  padding:24px; max-width:520px; margin:0 auto;
}
.dept-mock-header{
  display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-faint);
  text-transform:uppercase; letter-spacing:0.05em; margin-bottom:18px; font-weight:600;
}
.dept-dot{ width:7px; height:7px; border-radius:50%; background:#4ADE80; box-shadow:0 0 6px 1px rgba(74,222,128,0.6); animation:pulse 2s ease-in-out infinite; display:inline-block; }
.dept-mock-footer{ font-size:12px; color:var(--text-faint); margin-top:14px; }
.dept-caption{ text-align:center; color:var(--text-dim); font-size:14px; max-width:480px; margin:20px auto 0; line-height:1.6; }

/* sales/calling */
.call-row{ display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--line); font-size:13.5px; }
.call-row:last-child{ border-bottom:none; }
.call-name{ color:var(--text); font-weight:500; }
.call-time{ color:var(--text-faint); font-variant-numeric:tabular-nums; }
.call-tag{ font-size:11px; padding:3px 10px; border-radius:20px; font-weight:600; }
.call-tag-good{ background:rgba(74,222,128,0.12); color:#4ADE80; }
.call-tag-wait{ background:rgba(250,204,21,0.12); color:#FACC15; }
.call-tag-live{ background:rgba(139,92,246,0.15); color:var(--violet); display:flex; align-items:center; gap:5px; }
.call-row-live{ background:rgba(139,92,246,0.05); border-radius:8px; padding-left:8px; padding-right:8px; }

/* HR interview */
.interview-card{ display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; }
.interview-avatar{
  width:42px; height:42px; border-radius:50%; background:var(--grad); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0;
}
.interview-name{ font-size:13.5px; font-weight:600; margin-bottom:6px; }
.interview-q{ font-size:13.5px; color:var(--text-dim); font-style:italic; line-height:1.5; }
.interview-progress{ height:5px; background:var(--line); border-radius:4px; overflow:hidden; }
.interview-progress-bar{ height:100%; background:var(--grad); border-radius:4px; }

/* marketing calendar */
.cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:18px; }
.cal-day{
  position:relative; text-align:center; font-size:11px; color:var(--text-faint);
  background:var(--bg-panel-2); border-radius:8px; padding:12px 4px 16px;
}
.cal-dot{ position:absolute; bottom:5px; left:50%; width:6px; height:6px; border-radius:50%; margin-left:-3px; }
.cal-dot-ig{ background:#E1306C; }
.cal-dot-fb{ background:#1877F2; margin-left:-8px; }
.cal-dot-li{ background:#0A66C2; }
.cal-dot-x{ background:#fff; margin-left:3px; }
.ad-stat{ display:flex; justify-content:space-between; align-items:center; font-size:13.5px; color:var(--text-dim); padding-top:14px; border-top:1px solid var(--line); }
.ad-stat-up{ color:#4ADE80; }

/* finance */
.fin-row{ display:flex; justify-content:space-between; font-size:13.5px; color:var(--text-dim); padding:8px 0; }
.fin-up{ color:#4ADE80; }
.invoice-row{ display:flex; justify-content:space-between; align-items:center; font-size:13px; padding:9px 0; border-top:1px solid var(--line); margin-top:8px; }

/* workflow pipeline */
.pipeline-row{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--text-dim); padding:9px 0; }
.pipeline-check{ color:#4ADE80; font-weight:700; }
.pipeline-active{ color:var(--text); }
.pipeline-spin{
  width:12px; height:12px; border-radius:50%; border:2px solid var(--line); border-top-color:var(--violet);
  animation:pipelineSpin 0.8s linear infinite; display:inline-block;
}
@keyframes pipelineSpin{ to{ transform:rotate(360deg); } }

@media (max-width: 640px){
  .cal-grid{ gap:4px; }
  .cal-day{ font-size:9.5px; padding:8px 2px 12px; }
  .dept-mock{ padding:18px; }
}
/* ============================================
   MOBILE NAV DROPDOWN (Flagship Systems)
   ============================================ */
.mobile-nav .sub-menu{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.3s ease;
  padding-left:14px;
}
.mobile-nav li.mobile-sub-open > .sub-menu{
  max-height:400px;
}
.mobile-nav li:has(.sub-menu) > a{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.mobile-nav li:has(.sub-menu) > a::after{
  content:"▾";
  font-size:11px;
  transition:transform 0.25s ease;
}
.mobile-nav li.mobile-sub-open > a::after{
  transform:rotate(180deg);
}
/* ============================================
   COMMAND CENTER — Solution Page Components
   ============================================ */
.cc-page{ --dept:var(--violet); --dept2:var(--pink); }
.cc-breadcrumb{ font-size:13px; color:var(--text-faint); margin-bottom:10px; }
.cc-breadcrumb a{ color:var(--text-faint); }
.cc-breadcrumb a:hover{ color:var(--dept); }

.cc-hero .eyebrow{ color:var(--dept); }
.cc-hero .eyebrow::before{ content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--dept); margin-right:7px; box-shadow:0 0 10px var(--dept); }

.cc-card{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius);
  transition:border-color .25s ease, transform .25s ease;
}
.cc-card:hover{ border-color:color-mix(in srgb, var(--dept) 45%, var(--line)); }

.cc-stat-row{ display:flex; gap:26px; flex-wrap:wrap; margin-top:30px; }
.cc-stat b{ display:block; font-family:var(--font-display); font-size:24px; color:var(--text); }
.cc-stat span{ font-size:12.5px; color:var(--text-dim); }

.cc-dash{ padding:22px; }
.cc-dash-top{ display:flex; align-items:center; gap:7px; margin-bottom:16px; }
.cc-dot{ width:8px; height:8px; border-radius:50%; background:var(--text-faint); opacity:.5; }
.cc-dash-title{ margin-left:auto; font-size:12px; color:var(--text-dim); display:flex; align-items:center; gap:6px; }
.cc-live-dot{ width:7px; height:7px; border-radius:50%; background:#34d399; box-shadow:0 0 8px #34d399; animation:ccPulse 1.6s infinite; }
@keyframes ccPulse{ 0%,100%{opacity:1} 50%{opacity:.25} }

.cc-grid{ display:grid; gap:18px; }
.cc-grid-3{ grid-template-columns:repeat(3,1fr); }
.cc-grid-4{ grid-template-columns:repeat(4,1fr); }

.cc-feed{ margin-top:16px; max-height:170px; overflow:hidden; }
.cc-feed-row{ padding:9px 0; border-bottom:1px solid var(--line); font-size:12.5px; color:var(--text-dim); display:flex; gap:8px; align-items:center; opacity:0; transition:opacity .5s ease; }
.cc-feed-row .dot{ width:6px; height:6px; border-radius:50%; background:var(--dept); flex:none; }

.cc-feat{ padding:24px; cursor:pointer; }
.cc-feat-icon{ width:42px; height:42px; border-radius:11px; background:linear-gradient(135deg,var(--dept),var(--dept2)); display:flex; align-items:center; justify-content:center; font-size:19px; margin-bottom:14px; }
.cc-feat-arrow{ float:right; color:var(--text-faint); transition:transform .3s ease; }
.cc-feat.is-open .cc-feat-arrow{ transform:rotate(45deg); }
.cc-feat h3{ font-size:16.5px; margin-bottom:6px; }
.cc-feat-more{ max-height:0; overflow:hidden; transition:max-height .4s ease; font-size:13.5px; color:var(--text-dim); line-height:1.6; }
.cc-feat.is-open .cc-feat-more{ max-height:200px; margin-top:10px; }

.cc-flow{ display:flex; align-items:stretch; gap:0; overflow-x:auto; padding:10px 0; }
.cc-flow-step{ flex:1; min-width:170px; padding:20px 16px; text-align:center; opacity:.5; transition:.4s ease; }
.cc-flow-step.is-active{ opacity:1; border-color:var(--dept); box-shadow:0 0 30px -12px var(--dept); }
.cc-flow-n{ width:28px; height:28px; border-radius:50%; background:var(--dept); color:#08080F; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:12.5px; margin:0 auto 10px; }
.cc-flow-arrow{ align-self:center; color:var(--text-faint); padding:0 6px; font-size:18px; }

.cc-metric{ text-align:center; padding:28px 18px; }
.cc-metric b{ font-family:var(--font-display); font-size:36px; background:linear-gradient(90deg,var(--dept),var(--dept2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.cc-metric span{ display:block; color:var(--text-dim); font-size:13px; margin-top:6px; }

.cc-compare{ position:relative; overflow:hidden; user-select:none; }
.cc-compare-after,.cc-compare-before{ padding:30px; }
.cc-compare-before{ background:#0d0d16; position:absolute; inset:0; clip-path:inset(0 50% 0 0); }
.cc-compare-handle{ position:absolute; top:0; bottom:0; left:50%; width:2px; background:var(--dept); cursor:ew-resize; box-shadow:0 0 14px var(--dept); }
.cc-compare-handle::after{ content:'⇔'; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:34px; height:34px; background:var(--dept); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#08080F; font-weight:700; }
.cc-compare input[type=range]{ position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:ew-resize; }

.cc-int{ padding:20px 12px; text-align:center; font-weight:600; color:var(--text-dim); font-size:13.5px; }
.cc-int:hover{ color:var(--text); }

.cc-trust-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:20px; }
.cc-trust{ padding:11px 16px; border-radius:999px; font-size:13px; color:var(--text-dim); }

.cc-faq{ padding:18px 22px; margin-bottom:12px; }
.cc-faq summary{ cursor:pointer; font-weight:600; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.cc-faq summary::-webkit-details-marker{ display:none; }
.cc-faq summary::after{ content:'+'; font-size:20px; color:var(--dept); transition:.3s ease; }
.cc-faq[open] summary::after{ transform:rotate(45deg); }
.cc-faq p{ color:var(--text-dim); margin-top:12px; line-height:1.7; font-size:14.5px; }

.cc-alt{ background:var(--bg-panel-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

/* Update the homepage grid to fit 8 departments cleanly */
.solutions-grid{ grid-template-columns:repeat(auto-fit,minmax(210px,1fr)) !important; }

@media (max-width:900px){
  .cc-grid-3,.cc-grid-4{ grid-template-columns:repeat(2,1fr); }
  .cc-stat-row{ gap:20px; }
}
@media (max-width:560px){
  .cc-grid-3,.cc-grid-4{ grid-template-columns:1fr; }
}
/* ============================================
   BLOG UPGRADES
   ============================================ */
.cc-blog-toolbar{ display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; padding:20px 0; border-bottom:1px solid var(--line); margin-bottom:10px; }
.cc-blog-filters{ display:flex; gap:10px; flex-wrap:wrap; }
.cc-tab-btn{ padding:9px 18px; border-radius:999px; border:1px solid var(--line); background:transparent; color:var(--text-dim); cursor:pointer; font-size:13.5px; font-weight:600; transition:.25s ease; }
.cc-tab-btn.is-active{ background:var(--grad); color:#fff; border-color:transparent; }
.cc-blog-search{ display:flex; align-items:center; border:1px solid var(--line); border-radius:999px; overflow:hidden; background:var(--bg-panel); }
.cc-blog-search input{ background:transparent; border:none; outline:none; color:var(--text); padding:10px 16px; font-size:13.5px; width:200px; }
.cc-blog-search button{ background:transparent; border:none; cursor:pointer; padding:10px 14px; color:var(--text-dim); }

.cc-featured-post{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:0; overflow:hidden; }
.cc-featured-img{ min-height:280px; background:var(--bg-panel-2); }
.cc-featured-img img{ width:100%; height:100%; object-fit:cover; }
.cc-featured-body{ padding:36px; display:flex; flex-direction:column; justify-content:center; }
.cc-blog-badge{ display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--violet); }
.cc-blog-item.cc-hide{ display:none; }

.cc-newsletter{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; max-width:380px; }
.cc-newsletter input{ flex:1; min-width:180px; padding:13px 16px; border-radius:8px; border:1px solid rgba(255,255,255,0.3); background:rgba(255,255,255,0.1); color:#fff; }
.cc-newsletter input::placeholder{ color:rgba(255,255,255,0.7); }

.cc-share-row{ display:flex; align-items:center; gap:12px; margin-top:40px; padding-top:24px; border-top:1px solid var(--line); font-size:13.5px; color:var(--text-dim); }
.cc-share-btn{ padding:8px 16px; border:1px solid var(--line); border-radius:999px; color:var(--text-dim); font-weight:600; font-size:13px; }
.cc-share-btn:hover{ border-color:var(--violet); color:var(--text); }

.cc-post-content h2{ font-size:24px; margin-top:40px; margin-bottom:14px; }
.cc-post-content h3{ font-size:19px; margin-top:30px; margin-bottom:10px; }
.cc-post-content img{ border-radius:12px; margin:20px 0; }
.cc-post-content a{ color:var(--violet); text-decoration:underline; }

@media (max-width:900px){
  .cc-featured-post{ grid-template-columns:1fr; }
  .cc-featured-img{ min-height:200px; }
}
/* ============================================
   TOUR PAGE — Live Chat Demo
   ============================================ */
.tour-live-chat{ max-height:320px; overflow-y:auto; margin-bottom:18px; padding-right:4px; text-align:left; }
.tour-live-chat:empty{ display:none; }
.cc-chat-row{ display:flex; margin-bottom:12px; }
.cc-chat-user{ justify-content:flex-end; }
.cc-chat-ai{ justify-content:flex-start; }
.cc-chat-bubble{ max-width:80%; padding:12px 16px; border-radius:16px; font-size:14.5px; line-height:1.55; }
.cc-chat-user .cc-chat-bubble{ background:var(--grad); color:#fff; border-bottom-right-radius:4px; }
.cc-chat-ai .cc-chat-bubble{ background:var(--bg-panel); border:1px solid var(--line); color:var(--text-dim); border-bottom-left-radius:4px; }
.cc-chat-typing{ font-weight:700; letter-spacing:2px; opacity:.6; }
/* ============================================
   FLAGSHIP SYSTEMS — CONTROL ROOM UI
   ============================================ */
.flag-hero{ position:relative; overflow:hidden; }
.flag-grid-bg{
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(139,92,246,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,0.06) 1px, transparent 1px);
  background-size:40px 40px;
  mask-image:radial-gradient(ellipse 70% 60% at 50% 20%, black 30%, transparent 75%);
}

.flag-fade{ opacity:1; transform:translateY(0); transition:opacity 0.7s ease, transform 0.7s ease; }

.flag-kpi-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.flag-kpi{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:14px; padding:22px;
  text-align:center; backdrop-filter:blur(6px);
}
.flag-kpi-label{ display:block; font-size:11.5px; color:var(--text-faint); text-transform:uppercase; letter-spacing:0.05em; margin-bottom:10px; }
.flag-kpi strong{ display:block; font-family:var(--font-display); font-size:30px; color:var(--text); }
.flag-kpi-sub{ font-size:12px; color:var(--text-dim); }
.flag-up{ color:#4ADE80 !important; }
.flag-warn{ color:#FACC15 !important; }

.flag-dept-map{ position:relative; display:grid; grid-template-columns:repeat(3,1fr); grid-template-rows:repeat(3,auto); gap:14px; max-width:560px; margin:0 auto; place-items:center; min-height:260px; }
.flag-dept-node{
  position:relative; z-index:2; background:var(--bg-panel); border:1px solid var(--line); border-radius:12px;
  padding:16px 20px; font-size:13.5px; color:var(--text-dim); text-align:center;
}
.flag-dept-node:nth-child(1){ grid-column:1; grid-row:1; }
.flag-dept-node:nth-child(2){ grid-column:3; grid-row:1; }
.flag-dept-node.flag-dept-center{ grid-column:2; grid-row:2; background:var(--grad); color:#fff; border:none; font-weight:700; }
.flag-dept-node:nth-child(4){ grid-column:1; grid-row:3; }
.flag-dept-node:nth-child(5){ grid-column:3; grid-row:3; }
.flag-dept-lines{ position:absolute; inset:0; width:100%; height:100%; z-index:1; pointer-events:none; }
.flag-line{ stroke:rgba(139,92,246,0.3); stroke-width:1.5; stroke-dasharray:6 6; animation:flagDash 3s linear infinite; }
@keyframes flagDash{ to{ stroke-dashoffset:-24; } }

.flag-notif-feed{ display:flex; flex-direction:column; gap:10px; text-align:left; }
.flag-notif{
  background:var(--bg-panel); border:1px solid var(--line); border-left:3px solid var(--violet);
  border-radius:8px; padding:13px 16px; font-size:13.5px; color:var(--text-dim);
  opacity:0; transform:translateX(-10px); animation:flagNotifIn 0.5s ease forwards;
}
@keyframes flagNotifIn{ to{ opacity:1; transform:translateX(0); } }

.flag-sim-buttons{ display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-bottom:24px; }
.flag-sim-btn.flag-sim-active{ background:var(--grad); color:#fff; border-color:transparent; }
.flag-sim-result{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:14px; padding:24px;
  font-size:14.5px; color:var(--text-dim); line-height:1.7; min-height:70px;
}

.flag-competitor-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.flag-competitor-card{ background:var(--bg-panel); border:1px solid var(--line); border-radius:14px; padding:22px; }
.flag-competitor-card h4{ font-size:15px; margin-bottom:16px; }
.flag-comp-row{ display:flex; justify-content:space-between; font-size:13px; color:var(--text-dim); padding:7px 0; border-top:1px solid var(--line); }
.flag-comp-row:first-of-type{ border-top:none; }

.flag-recommend{ background:linear-gradient(160deg, rgba(139,92,246,0.1), var(--bg-panel) 60%); border:1px solid var(--violet); border-radius:14px; padding:26px; font-size:14.5px; color:var(--text-dim); line-height:1.7; max-width:700px; margin:0 auto; }

@media (max-width: 900px){
  .flag-kpi-row{ grid-template-columns:repeat(2,1fr); }
  .flag-competitor-grid{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .flag-kpi-row{ grid-template-columns:1fr; }
  .flag-dept-map{ grid-template-columns:1fr; grid-template-rows:none; gap:12px; }
  .flag-dept-node{ grid-column:1 !important; grid-row:auto !important; width:100%; }
  .flag-dept-lines{ display:none; }
  .flag-sim-buttons{ flex-direction:column; }
}
/* ============================================
   FLAGSHIP HERO — override the 2-column grid
   ============================================ */
.flag-hero .wrap{
  display:block !important;
}
/* ============================================
   AI TALKS CONCIERGE (added)
   ============================================ */
.aits-lock-scroll{ overflow:hidden; }

.aits-loader{
  position:fixed; inset:0; z-index:9999;
  background:rgba(4,4,10,0.97);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  display:flex; align-items:center; justify-content:center;
  transition:opacity 0.5s ease;
}
.aits-loader.aits-loader-hide{ opacity:0; pointer-events:none; }
.aits-loader-inner{ text-align:center; padding:20px; }
.aits-loader-eyebrow{ font-size:12px; letter-spacing:0.2em; color:var(--violet); font-weight:700; }
.aits-loader-title{ font-family:var(--font-display); font-size:clamp(24px,4vw,40px); margin:16px 0 30px; }
.aits-loader-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

.aits-lang-modal{
  position:fixed; inset:0; z-index:10000;
  background:rgba(8,8,15,0.85); backdrop-filter:blur(6px);
  align-items:center; justify-content:center;
}
.aits-lang-modal:not([hidden]){ display:flex; }
.aits-lang-modal[hidden]{ display:none; }
.aits-lang-box{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px; text-align:center; display:flex; flex-direction:column; gap:14px; min-width:240px;
}
.aits-lang-box h3{ font-size:18px; margin-bottom:6px; }

.aits-orb{
  position:fixed; right:22px; bottom:22px; z-index:9000;
  width:64px; height:64px; border-radius:50%;
  background:var(--grad); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  color:#fff; box-shadow:0 8px 28px -6px rgba(80,162,199,0.6);
}
.aits-orb svg{ width:26px; height:26px; }
.aits-orb-pulse{
  position:absolute; inset:-6px; border-radius:50%;
  border:2px solid rgba(80,162,199,0.5);
  animation:pulse 2.4s ease-in-out infinite;
}
.aits-orb-label{
  position:absolute; right:76px; bottom:20px;
  background:var(--bg-panel); border:1px solid var(--line); border-radius:20px;
  padding:6px 14px; font-size:12.5px; white-space:nowrap;
  opacity:0; transform:translateX(6px); transition:all 0.2s ease; pointer-events:none;
}
.aits-orb:hover .aits-orb-label{ opacity:1; transform:translateX(0); }

.aits-assistant-panel{
  position:fixed; right:22px; bottom:96px; z-index:9000;
  width:340px; max-width:calc(100vw - 44px);
  max-height:calc(100vh - 120px);
  overflow-y:auto;
  background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:18px; box-shadow:0 20px 40px -12px rgba(0,0,0,0.6);
}
.aits-assistant-header{ display:flex; justify-content:space-between; align-items:center; font-weight:700; margin-bottom:8px; }
.aits-assistant-x{ background:none; border:none; color:var(--text-dim); font-size:20px; cursor:pointer; }
.aits-command-tagline{ font-size:12px; color:var(--text-dim); line-height:1.5; margin-bottom:12px; }
.aits-command-tagline strong{ display:block; color:var(--text); font-size:13px; margin-bottom:4px; }
.aits-assistant-status{ font-size:13px; color:var(--text-dim); margin-bottom:8px; }
.aits-assistant-transcript{ font-size:13.5px; color:var(--text); min-height:20px; margin-bottom:10px; }

.aits-assistant-type-row{ display:flex; gap:8px; margin-bottom:14px; }
.aits-assistant-input{
  flex:1; background:var(--bg-panel-2); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:10px 12px; color:var(--text); font-size:13.5px; font-family:var(--font-body);
}
.aits-assistant-input:focus{ outline:none; border-color:var(--violet); }
.aits-assistant-send{
  background:var(--grad); border:none; border-radius:var(--radius-sm); color:#fff;
  width:40px; flex-shrink:0; cursor:pointer; font-size:16px;
}

.aits-assistant-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.aits-assistant-actions .btn{ font-size:12.5px; padding:9px 14px; }

/* Business Diagnosis / Command Center */
.aits-diag-body{ margin-bottom:14px; }
.aits-diag-progress{ font-size:11px; color:var(--text-faint); letter-spacing:0.05em; text-transform:uppercase; margin-bottom:6px; }
.aits-diag-question{ font-size:14px; color:var(--text); margin-bottom:10px; font-weight:600; line-height:1.4; }
.aits-diag-options{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:6px; }
.aits-diag-btn{
  background:var(--bg-panel-2); border:1px solid var(--line); color:var(--text-dim);
  font-size:12.5px; padding:8px 12px; border-radius:20px; cursor:pointer; transition:all .2s ease;
}
.aits-diag-btn:hover{ border-color:var(--violet); color:var(--text); }

.aits-reco-card{ background:var(--bg-panel-2); border:1px solid var(--violet); border-radius:10px; padding:14px; margin-bottom:12px; }
.aits-reco-card h4{ font-size:14px; margin-bottom:10px; }
.aits-blueprint-row{ display:flex; justify-content:space-between; font-size:12.5px; color:var(--text-dim); margin-bottom:6px; }
.aits-score-row{ display:flex; align-items:center; gap:10px; margin:8px 0 10px; }
.aits-score-num{ font-family:var(--font-display); font-size:26px; font-weight:700; color:var(--text); white-space:nowrap; }
.aits-score-bar{ flex:1; height:6px; background:var(--line); border-radius:4px; overflow:hidden; }
.aits-score-fill{ height:100%; background:var(--grad); }
.aits-reco-weak{ font-size:12.5px; color:var(--text-dim); margin-bottom:8px; line-height:1.5; }
.aits-reco-list{ display:flex; flex-direction:column; gap:6px; margin-bottom:10px; }
.aits-reco-list a{ font-size:13px; color:var(--violet); }
.aits-reco-list a:hover{ text-decoration:underline; }
.aits-reco-actions{ display:flex; flex-direction:column; gap:8px; margin-top:8px; }
.aits-reco-actions .btn{ width:100%; justify-content:center; font-size:13px; padding:10px; }

@media (max-width:640px){
  .aits-orb{ right:14px; bottom:14px; width:56px; height:56px; }
  .aits-assistant-panel{ right:14px; bottom:82px; }
}