/* =========================================================
   CatchGrow Voice Demo — Production
   ========================================================= */

.hero-voice-demo{
  position:relative;
  width:100%;
  max-width:620px;
  margin-top:26px;
  padding:18px;
  overflow:hidden;
  border:1px solid rgba(105,158,255,.22);
  border-radius:22px;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(75,130,255,.14),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(17,41,68,.97),
      rgba(7,23,40,.97)
    );
  box-shadow:
    0 24px 70px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.hero-voice-demo:before{
  content:"";
  position:absolute;
  top:-100px;
  right:40px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:rgba(64,121,255,.14);
  filter:blur(48px);
  pointer-events:none;
  animation:cgAmbient 5s ease-in-out infinite alternate;
}


/* Header */

.hero-voice-topline{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.hero-voice-title{
  display:flex;
  align-items:center;
  gap:9px;
  color:#edf5ff;
  font-size:13px;
  font-weight:700;
}

.hero-voice-title small{
  display:inline-flex;
  align-items:center;
  height:20px;
  padding:0 8px;
  border:1px solid rgba(62,220,155,.18);
  border-radius:999px;
  color:#6ce2aa;
  background:rgba(62,220,155,.07);
  font-size:8px;
  font-weight:800;
  letter-spacing:.1em;
}

.hero-voice-live-dot{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#45dfa0;
  box-shadow:
    0 0 0 5px rgba(69,223,160,.08),
    0 0 14px rgba(69,223,160,.55);
  animation:cgLiveDot 1.6s ease-in-out infinite;
}


/* Language */

select.hero-voice-language{
  appearance:none;
  -webkit-appearance:none;
  width:112px;
  height:34px;
  margin:0;
  padding:0 30px 0 12px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  outline:none;
  color:#b8c8d9;
  background-color:#0a2035;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      #7890aa 50%
    ),
    linear-gradient(
      135deg,
      #7890aa 50%,
      transparent 50%
    );
  background-position:
    calc(100% - 15px) 14px,
    calc(100% - 11px) 14px;
  background-size:4px 4px;
  background-repeat:no-repeat;
  box-shadow:none;
  font-size:11px;
  font-weight:600;
  cursor:pointer;
}


/* Start CTA */

button.hero-voice-main{
  position:relative;
  z-index:2;
  width:100%;
  min-height:82px;
  margin:0;
  padding:13px 15px;
  display:flex;
  align-items:center;
  gap:15px;
  border:1px solid rgba(104,159,255,.28);
  border-radius:16px;
  color:#fff;
  background:
    linear-gradient(
      110deg,
      rgba(57,107,224,.30),
      rgba(28,70,145,.15)
    );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045);
  cursor:pointer;
  text-align:left;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

button.hero-voice-main:hover{
  transform:translateY(-2px);
  border-color:rgba(111,169,255,.52);
  background:
    linear-gradient(
      110deg,
      rgba(62,116,239,.39),
      rgba(32,79,163,.22)
    );
  box-shadow:
    0 12px 34px rgba(4,25,55,.2),
    inset 0 1px 0 rgba(255,255,255,.06);
}


/* Animated microphone */

.hero-voice-mic{
  position:relative;
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:
    linear-gradient(
      145deg,
      #6397ff,
      #3262d5
    );
  box-shadow:
    0 0 0 7px rgba(80,135,255,.07),
    0 0 28px rgba(80,135,255,.3);
}

.hero-voice-mic:before,
.hero-voice-mic:after{
  content:"";
  position:absolute;
  inset:-7px;
  border:1px solid rgba(102,157,255,.22);
  border-radius:50%;
  animation:cgVoiceRing 2.2s ease-out infinite;
}

.hero-voice-mic:after{
  animation-delay:1.1s;
}

.hero-voice-mic span{
  position:relative;
  display:block;
  width:11px;
  height:18px;
  border:2px solid #fff;
  border-radius:8px;
  box-sizing:border-box;
}

.hero-voice-mic span:before{
  content:"";
  position:absolute;
  left:50%;
  bottom:-8px;
  width:17px;
  height:9px;
  border:2px solid #fff;
  border-top:0;
  border-radius:0 0 10px 10px;
  transform:translateX(-50%);
}

.hero-voice-mic span:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-12px;
  width:2px;
  height:5px;
  border-radius:2px;
  background:#fff;
  transform:translateX(-50%);
}


/* CTA copy */

.hero-voice-main-copy{
  min-width:0;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.hero-voice-main-copy strong{
  color:#f7fbff;
  font-size:16px;
  line-height:1.2;
  font-weight:700;
}

.hero-voice-main-copy small{
  color:#8ba1b9;
  font-size:11px;
  line-height:1.4;
}

.hero-voice-arrow{
  flex:0 0 auto;
  margin-right:3px;
  color:#7daaff;
  font-size:23px;
  transition:transform .2s ease;
}

button.hero-voice-main:hover .hero-voice-arrow{
  transform:translateX(4px);
}


/* Hidden engine button */

button.hero-voice-hidden-start{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:0 !important;
  opacity:0 !important;
  pointer-events:none !important;
}


/* Status */

.hero-voice-session{
  position:relative;
  z-index:2;
  min-height:18px;
  margin:10px 2px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.hero-voice-status{
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px;
  color:#688199;
  font-size:10px;
  line-height:1.2;
}

.hero-voice-status-dot{
  width:5px;
  height:5px;
  flex:0 0 5px;
  border-radius:50%;
  background:#526a82;
}

button.hero-voice-stop{
  margin:0;
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:8px;
  color:#8ca1b7;
  background:rgba(255,255,255,.03);
  font-size:9px;
  font-weight:600;
  cursor:pointer;
}

button.hero-voice-stop:disabled{
  display:none !important;
}


/* Conversation */

.hero-voice-conversation{
  position:relative;
  z-index:2;
  max-height:155px;
  margin:12px 0 0;
  padding:12px 13px;
  overflow:auto;
  border:1px solid rgba(255,255,255,.065);
  border-radius:12px;
  background:rgba(3,13,24,.42);
  text-align:left;
}

.voice-demo-live-line{
  min-height:16px;
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:#8198b0;
  font-size:10px;
  line-height:1.45;
}

.voice-demo-live-dot{
  width:6px;
  height:6px;
  flex:0 0 6px;
  margin-top:4px;
  border-radius:50%;
  background:#42d99a;
  box-shadow:0 0 10px rgba(66,217,154,.4);
}

.voice-demo-transcript{
  margin-top:7px;
  color:#d9e6f5;
  font-size:10px;
  line-height:1.5;
  white-space:pre-wrap;
}


/* Privacy */

.hero-voice-privacy{
  position:relative;
  z-index:2;
  margin:8px 2px 0;
  color:#506980;
  font-size:8px;
  line-height:1.4;
}

.hero-voice-privacy a{
  color:#70879f;
}


/* =========================================================
   Active voice states
   ========================================================= */

#voiceDemoShell.is-live{
  border-color:rgba(67,219,156,.2);
}

#voiceDemoShell.is-live .hero-voice-main{
  display:none;
}

#voiceDemoShell.is-live .hero-voice-status{
  color:#8ca4bb;
}

#voiceDemoShell.is-live .hero-voice-status-dot{
  background:#43dc9d;
  box-shadow:0 0 12px rgba(67,220,157,.55);
  animation:cgStatusPulse 1.2s ease-in-out infinite;
}

#voiceDemoShell.is-speaking:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-70px;
  width:280px;
  height:120px;
  border-radius:50%;
  background:rgba(70,124,255,.15);
  filter:blur(35px);
  transform:translateX(-50%);
  pointer-events:none;
  animation:cgSpeakingGlow .8s ease-in-out infinite alternate;
}


/* =========================================================
   Animation
   ========================================================= */

@keyframes cgVoiceRing{
  0%{
    transform:scale(.8);
    opacity:.75;
  }

  75%{
    transform:scale(1.4);
    opacity:0;
  }

  100%{
    transform:scale(1.4);
    opacity:0;
  }
}

@keyframes cgLiveDot{
  50%{
    opacity:.45;
    transform:scale(.82);
  }
}

@keyframes cgStatusPulse{
  50%{
    opacity:.4;
    transform:scale(.8);
  }
}

@keyframes cgSpeakingGlow{
  to{
    opacity:.45;
    transform:translateX(-50%) scale(1.18);
  }
}

@keyframes cgAmbient{
  to{
    transform:translate(-50px,30px) scale(1.15);
    opacity:.65;
  }
}


/* =========================================================
   Hero proportions
   ========================================================= */

@media(min-width:851px){
  .hero-grid{
    grid-template-columns:
      minmax(0,1.13fr)
      minmax(410px,.87fr) !important;
    gap:44px !important;
  }

  .hero h1{
    max-width:710px;
    font-size:clamp(46px,4.15vw,68px) !important;
    line-height:1.015 !important;
  }

  .hero-lead{
    max-width:650px;
  }

  .hero-visual{
    width:100%;
    max-width:590px !important;
    justify-self:end;
  }
}


/* =========================================================
   Mobile
   ========================================================= */

@media(max-width:850px){
  .hero-voice-demo{
    max-width:600px;
    margin:26px auto 0;
    text-align:left;
  }
}

@media(max-width:560px){
  .hero-voice-demo{
    padding:14px;
    border-radius:18px;
  }

  .hero-voice-title{
    font-size:12px;
  }

  .hero-voice-title small{
    display:none;
  }

  select.hero-voice-language{
    width:98px;
  }

  button.hero-voice-main{
    min-height:72px;
    padding:10px 12px;
  }

  .hero-voice-mic{
    width:46px;
    height:46px;
    flex-basis:46px;
  }

  .hero-voice-main-copy strong{
    font-size:14px;
  }
}

@media(prefers-reduced-motion:reduce){
  .hero-voice-demo:before,
  .hero-voice-live-dot,
  .hero-voice-mic:before,
  .hero-voice-mic:after,
  .hero-voice-status-dot{
    animation:none !important;
  }
}

/* =========================================================
   Hero final compact polish
   ========================================================= */

/* Keep floating Facebook badge away from headline */
@media(min-width:851px){
  .hero .channel-float.facebook,
  .hero .floating-channel.facebook,
  .hero [class*="facebook"][class*="float"]{
    transform:translate(-42px,-34px);
  }

  .hero h1{
    font-size:clamp(44px,3.85vw,62px) !important;
    line-height:1.02 !important;
    max-width:690px;
  }
}

/* More compact voice card */
.hero-voice-demo{
  max-width:600px;
  margin-top:10px;
  padding:14px 15px;
  border-radius:18px;
}

.hero-voice-topline{
  margin-bottom:10px;
}

.hero-voice-title{
  font-size:12px;
}

/* Make language control clearly recognizable */
select.hero-voice-language{
  width:124px;
  height:32px;
  padding-left:34px;
  font-size:10px;
  background-color:#0a2035;
}

.hero-voice-topline:after{
  content:"🌐";
  position:absolute;
  right:94px;
  top:8px;
  z-index:4;
  font-size:11px;
  pointer-events:none;
}

/* Compact main voice action */
button.hero-voice-main{
  min-height:68px;
  padding:9px 12px;
  gap:12px;
  border-radius:14px;
}

.hero-voice-mic{
  width:44px;
  height:44px;
  flex-basis:44px;
}

.hero-voice-main-copy strong{
  font-size:14px;
}

.hero-voice-main-copy small{
  font-size:10px;
}

.hero-voice-arrow{
  font-size:20px;
}

/* Tighten bottom metadata */
.hero-voice-session{
  margin-top:7px;
  min-height:14px;
}

.hero-voice-status{
  font-size:9px;
}

.hero-voice-privacy{
  margin-top:5px;
  font-size:7px;
}

/* Slightly more room between left and right hero areas */
@media(min-width:851px){
  .hero-grid{
    grid-template-columns:
      minmax(0,1.08fr)
      minmax(430px,.92fr) !important;
    gap:56px !important;
  }

  .hero-visual{
    max-width:570px !important;
  }
}


/* Final Facebook orbit position */
@media(min-width:851px){
  .hero .channel-orbit.channel-facebook{
    transform:translate(70px,-72px) !important;
  }
}

/* Public website language selector */
.site-language-select{
  appearance:none;
  -webkit-appearance:none;
  height:42px;
  min-width:62px;
  margin:0 2px 0 0;
  padding:0 25px 0 13px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  outline:none;
  color:#b9c9da;
  background-color:#081a2c;
  background-image:
    linear-gradient(45deg,transparent 50%,#7890aa 50%),
    linear-gradient(135deg,#7890aa 50%,transparent 50%);
  background-position:
    calc(100% - 13px) 18px,
    calc(100% - 9px) 18px;
  background-size:4px 4px;
  background-repeat:no-repeat;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}

.site-language-select:hover{
  border-color:rgba(105,159,255,.35);
}

@media(max-width:850px){
  .site-language-select{
    width:100%;
    margin-bottom:8px;
  }
}

/* Compact flag-only website language selector */
.site-language-select{
  width:54px;
  min-width:54px;
  padding-left:11px;
  padding-right:20px;
  font-size:18px;
}

/* =========================================================
   Voice Demo — stronger visual separation
   ========================================================= */

.hero-voice-demo{
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(91,151,255,.24),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      rgba(25,61,101,.98),
      rgba(10,35,61,.98)
    ) !important;

  border:1px solid rgba(105,174,255,.48) !important;

  box-shadow:
    0 24px 70px rgba(0,0,0,.30),
    0 0 0 1px rgba(69,220,170,.06),
    inset 0 1px 0 rgba(255,255,255,.09) !important;
}

/* subtle illuminated edge */
.hero-voice-demo:after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(
      115deg,
      rgba(86,148,255,.11),
      transparent 32%,
      transparent 70%,
      rgba(67,217,170,.06)
    );
}

/* Keep all content above decorative layers */
.hero-voice-demo > *{
  position:relative;
  z-index:2;
}

/* Make header more visible */
.hero-voice-title{
  color:#ffffff;
}

.hero-voice-title > span:not(.hero-voice-live-dot){
  text-shadow:0 1px 12px rgba(0,0,0,.18);
}

/* Language control separated from card background */
select.hero-voice-language{
  border-color:rgba(126,178,255,.28);
  background-color:rgba(5,27,48,.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04);
}

/* Main demo CTA gets its own visual layer */
button.hero-voice-main{
  background:
    radial-gradient(
      circle at 0% 50%,
      rgba(75,130,255,.28),
      transparent 42%
    ),
    linear-gradient(
      110deg,
      rgba(51,104,220,.38),
      rgba(17,59,120,.32)
    ) !important;

  border-color:rgba(112,169,255,.50) !important;

  box-shadow:
    0 10px 30px rgba(2,18,42,.18),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

button.hero-voice-main:hover{
  border-color:rgba(124,185,255,.78) !important;

  box-shadow:
    0 14px 38px rgba(2,18,42,.28),
    0 0 30px rgba(70,126,255,.10),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

/* Status and privacy should stay visible */
.hero-voice-status{
  color:#8fa9c2;
}

.hero-voice-privacy{
  color:#68839d;
}

/* =========================================================
   Voice Demo — brighter highlighted card
   ========================================================= */

.hero-voice-demo{
  background:
    radial-gradient(
      circle at 12% 5%,
      rgba(100,166,255,.38),
      transparent 42%
    ),
    radial-gradient(
      circle at 92% 90%,
      rgba(66,211,190,.16),
      transparent 42%
    ),
    linear-gradient(
      135deg,
      #214d7d 0%,
      #173f6c 48%,
      #123657 100%
    ) !important;

  border:1px solid rgba(126,190,255,.68) !important;

  box-shadow:
    0 28px 70px rgba(0,0,0,.32),
    0 0 45px rgba(63,128,255,.12),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
}

/* brighter top sheen */
.hero-voice-demo:after{
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,.08),
      transparent 30%,
      transparent 68%,
      rgba(83,225,190,.07)
    ) !important;
}

/* Start area should still be visually distinct */
button.hero-voice-main{
  background:
    radial-gradient(
      circle at 5% 50%,
      rgba(101,159,255,.40),
      transparent 40%
    ),
    linear-gradient(
      110deg,
      rgba(58,116,232,.62),
      rgba(28,76,157,.52)
    ) !important;

  border-color:rgba(140,194,255,.68) !important;

  box-shadow:
    0 12px 32px rgba(5,24,55,.25),
    inset 0 1px 0 rgba(255,255,255,.13) !important;
}

.hero-voice-status{
  color:#abc1d8;
}

.hero-voice-privacy{
  color:#829bb3;
}

select.hero-voice-language{
  background-color:rgba(7,34,59,.78);
  border-color:rgba(144,193,255,.38);
}

/* =========================================================
   Voice Demo — minimal animated live state
   ========================================================= */

.hero-voice-wave{
  display:none;
  height:54px;
  margin:8px 0 4px;
  align-items:center;
  justify-content:center;
  gap:5px;
}

.hero-voice-wave span{
  display:block;
  width:5px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(
    180deg,
    #79f0c3 0%,
    #67a6ff 55%,
    #8c78ff 100%
  );
  opacity:.82;
  transform-origin:center;
}

/* Show waveform only while demo is running */
#voiceDemoShell.is-live .hero-voice-wave{
  display:flex;
}

/* Listening — calm movement */
#voiceDemoShell.is-live:not(.is-speaking) .hero-voice-wave span{
  animation:cgVoiceListen 1.4s ease-in-out infinite;
}

/* Speaking — stronger movement */
#voiceDemoShell.is-speaking .hero-voice-wave span{
  animation:cgVoiceSpeak .72s ease-in-out infinite;
  opacity:1;
  box-shadow:0 0 12px rgba(100,160,255,.18);
}

.hero-voice-wave span:nth-child(2){animation-delay:-.10s!important}
.hero-voice-wave span:nth-child(3){animation-delay:-.22s!important}
.hero-voice-wave span:nth-child(4){animation-delay:-.34s!important}
.hero-voice-wave span:nth-child(5){animation-delay:-.18s!important}
.hero-voice-wave span:nth-child(6){animation-delay:-.42s!important}
.hero-voice-wave span:nth-child(7){animation-delay:-.27s!important}
.hero-voice-wave span:nth-child(8){animation-delay:-.48s!important}
.hero-voice-wave span:nth-child(9){animation-delay:-.15s!important}
.hero-voice-wave span:nth-child(10){animation-delay:-.37s!important}
.hero-voice-wave span:nth-child(11){animation-delay:-.25s!important}
.hero-voice-wave span:nth-child(12){animation-delay:-.46s!important}
.hero-voice-wave span:nth-child(13){animation-delay:-.20s!important}
.hero-voice-wave span:nth-child(14){animation-delay:-.33s!important}
.hero-voice-wave span:nth-child(15){animation-delay:-.12s!important}

@keyframes cgVoiceListen{
  0%,100%{
    transform:scaleY(.55);
    opacity:.48;
  }
  50%{
    transform:scaleY(1.15);
    opacity:.78;
  }
}

@keyframes cgVoiceSpeak{
  0%,100%{
    transform:scaleY(.55);
  }
  25%{
    transform:scaleY(2.0);
  }
  50%{
    transform:scaleY(.85);
  }
  75%{
    transform:scaleY(2.7);
  }
}

/* Once live, remove the large start CTA */
#voiceDemoShell.is-live button.hero-voice-main{
  display:none !important;
}

/* Make live mode cleaner */
#voiceDemoShell.is-live{
  padding-top:16px;
  padding-bottom:14px;
}

#voiceDemoShell.is-live .hero-voice-session{
  margin-top:2px;
  justify-content:center;
  gap:18px;
}

#voiceDemoShell.is-live .hero-voice-status{
  font-size:11px;
  color:#b8cbe0;
}

#voiceDemoShell.is-live .hero-voice-stop{
  position:absolute;
  right:16px;
  bottom:13px;
}

/* Transcript becomes secondary, not the main visual */
#voiceDemoShell.is-live .hero-voice-conversation{
  margin-top:8px;
  max-height:86px;
  overflow:auto;
  background:rgba(4,23,42,.35);
  border:1px solid rgba(133,181,255,.12);
  box-shadow:none;
}

#voiceDemoShell.is-live .voice-demo-transcript{
  font-size:10px;
  line-height:1.45;
  opacity:.72;
}

#voiceDemoShell.is-live .voice-demo-live-line{
  font-size:10px;
}

@media(max-width:850px){
  .hero-voice-wave{
    gap:4px;
  }

  .hero-voice-wave span{
    width:4px;
  }
}

@media(prefers-reduced-motion:reduce){
  .hero-voice-wave span{
    animation:none !important;
  }
}


/* Public Voice Demo: keep transcript/history in backend, hide debug transcript UI */
#voiceDemoShell .hero-voice-conversation{
  display:none !important;
}


/* Hero balance: move left content up, tighten headline, emphasize Voice AI */
@media(min-width:851px){

  .hero-copy{
    transform:translateY(-48px);
  }

  .hero h1{
    font-size:clamp(42px,3.45vw,56px) !important;
    line-height:1.01 !important;
    max-width:650px !important;
  }

  .hero-lead{
    max-width:650px;
    margin-top:24px;
  }

  .hero-voice-demo{
    width:100%;
    max-width:650px !important;
    min-height:188px;
    margin-top:16px !important;
    padding:17px 18px !important;
  }

  #voiceDemoShell.is-live{
    min-height:188px;
    padding:18px 20px 16px !important;
  }

  #voiceDemoShell.is-live .hero-voice-wave{
    height:68px;
    margin:13px 0 7px;
  }

  #voiceDemoShell.is-live .hero-voice-wave span{
    width:6px;
  }

  #voiceDemoShell.is-live .hero-voice-status{
    font-size:12px;
  }

}


/* Larger Voice Demo microphone */
.hero .hero-voice-mic{
  width:58px !important;
  height:58px !important;
  flex:0 0 58px !important;
}

.hero .hero-voice-mic span{
  width:15px !important;
  height:24px !important;
  border-width:2px !important;
  border-radius:9px !important;
}

.hero .hero-voice-mic span:before{
  width:22px !important;
  height:11px !important;
  bottom:-9px !important;
  border-width:2px !important;
}

.hero .hero-voice-mic span:after{
  height:7px !important;
  bottom:-14px !important;
}

@media(max-width:850px){
  .hero .hero-voice-mic{
    width:52px !important;
    height:52px !important;
    flex-basis:52px !important;
  }
}


/* Extra-large Voice Demo microphone */
.hero .hero-voice-mic{
  width:72px !important;
  height:72px !important;
  flex:0 0 72px !important;
}

.hero .hero-voice-mic span{
  width:18px !important;
  height:30px !important;
  border-width:2.5px !important;
  border-radius:10px !important;
}

.hero .hero-voice-mic span:before{
  width:27px !important;
  height:14px !important;
  bottom:-11px !important;
  border-width:2.5px !important;
  border-radius:0 0 16px 16px !important;
}

.hero .hero-voice-mic span:after{
  width:3px !important;
  height:9px !important;
  bottom:-18px !important;
}

@media(max-width:850px){
  .hero .hero-voice-mic{
    width:62px !important;
    height:62px !important;
    flex-basis:62px !important;
  }
}


/* Final larger microphone */
.hero .hero-voice-mic{
  width:80px !important;
  height:80px !important;
  flex:0 0 80px !important;
}

.hero .hero-voice-mic span{
  width:20px !important;
  height:34px !important;
  border-width:2.5px !important;
  border-radius:11px !important;
}

.hero .hero-voice-mic span:before{
  width:30px !important;
  height:15px !important;
  bottom:-12px !important;
  border-width:2.5px !important;
}

.hero .hero-voice-mic span:after{
  width:3px !important;
  height:10px !important;
  bottom:-20px !important;
}

@media(max-width:850px){
  .hero .hero-voice-mic{
    width:68px !important;
    height:68px !important;
    flex-basis:68px !important;
  }
}


/* Armenian layout — give the header and hero more horizontal room */
@media(min-width:851px){

  .site-header .container,
  .hero .container{
    max-width:1500px !important;
    width:calc(100% - 72px) !important;
  }

  .nav{
    gap:28px !important;
  }

  .nav > a{
    white-space:nowrap;
  }

  .nav-actions{
    gap:10px !important;
  }

  .hero-grid{
    grid-template-columns:
      minmax(0,1.16fr)
      minmax(460px,.84fr) !important;
    gap:52px !important;
  }

  .hero-copy{
    max-width:720px !important;
  }

  .hero h1{
    max-width:720px !important;
  }

}

/* Armenian headline needs slightly more compact typography */
html[lang="hy"] .hero h1{
  letter-spacing:-0.035em;
}

html[lang="hy"] .hero-lead{
  max-width:700px;
}

@media(max-width:850px){
  .site-header .container,
  .hero .container{
    width:calc(100% - 32px) !important;
  }
}


/* Move Facebook badge above the hero headline */
@media(min-width:851px){
  .hero .channel-orbit.channel-facebook{
    transform:translate(70px,-145px) !important;
  }
}


/* Final Facebook badge position */
@media(min-width:851px){
  .hero .channel-orbit.channel-facebook{
    transform:translate(150px,-175px) !important;
  }
}


/* Keep Facebook badge completely outside the Armenian headline */
@media(min-width:851px){
  .hero .channel-orbit.channel-facebook{
    transform:translate(180px,-245px) !important;
  }
}


/* Move Facebook badge further right */
@media(min-width:851px){
  .hero .channel-orbit.channel-facebook{
    transform:translate(380px,-245px) !important;
  }
}


/* =========================================================
   Header — keep Armenian navigation inside viewport
   ========================================================= */

@media(min-width:851px){

  .site-header .nav-wrap{
    width:100%;
    max-width:none;
    padding-left:48px;
    padding-right:48px;
    box-sizing:border-box;
  }

  .site-header .nav{
    display:flex;
    align-items:center;
    gap:22px;
    min-width:0;
  }

  .site-header .nav > a{
    white-space:nowrap;
    font-size:14px;
  }

  .site-header .nav-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
    flex-shrink:0;
  }

  .site-header .brand{
    flex-shrink:0;
    margin-right:auto;
  }

  .site-header .nav-actions .btn{
    white-space:nowrap;
  }

}

/* Armenian / long-language navigation */
@media(min-width:851px) and (max-width:1250px){

  .site-header .nav-wrap{
    padding-left:32px;
    padding-right:32px;
  }

  .site-header .nav{
    gap:14px;
  }

  .site-header .nav > a{
    font-size:13px;
  }

  .site-header .nav-actions{
    gap:7px;
  }

  .site-header .nav-actions .btn{
    padding-left:15px;
    padding-right:15px;
  }

}


/* =========================================================
   FINAL HEADER FIX — Armenian navigation must fit
   ========================================================= */

@media(min-width:851px){

  .site-header .nav-wrap{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box !important;
    padding-left:40px !important;
    padding-right:28px !important;
    gap:24px !important;
  }

  .site-header .brand{
    flex:0 0 auto !important;
    margin-right:20px !important;
  }

  .site-header .nav{
    flex:1 1 auto !important;
    min-width:0 !important;
    width:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:14px !important;
  }

  .site-header .nav > a{
    flex:0 1 auto !important;
    white-space:nowrap !important;
    font-size:13px !important;
    letter-spacing:-0.15px !important;
  }

  .site-header .nav-actions{
    flex:0 0 auto !important;
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    margin-left:4px !important;
  }

  .site-header .nav-actions .btn{
    white-space:nowrap !important;
    padding-left:13px !important;
    padding-right:13px !important;
  }

  .site-language-select{
    flex:0 0 54px !important;
  }

}

/* Medium desktop — Armenian needs more compression */
@media(min-width:851px) and (max-width:1450px){

  .site-header .nav-wrap{
    padding-left:28px !important;
    padding-right:18px !important;
    gap:14px !important;
  }

  .site-header .brand{
    margin-right:8px !important;
  }

  .site-header .nav{
    gap:10px !important;
  }

  .site-header .nav > a{
    font-size:12px !important;
  }

  .site-header .nav-actions .btn{
    font-size:12px !important;
    padding-left:11px !important;
    padding-right:11px !important;
  }

}

/* Prevent header content from creating horizontal overflow */
.site-header,
.site-header .nav-wrap{
  overflow:visible !important;
}


/* =========================================================
   Header — fit long translated navigation
   ========================================================= */

@media(min-width:851px){

  .site-header .nav-wrap{
    padding-left:32px !important;
    padding-right:24px !important;
    gap:16px !important;
  }

  .site-header .brand{
    margin-right:10px !important;
  }

  .site-header .nav{
    gap:8px !important;
    justify-content:flex-end !important;
  }

  .site-header .nav > a{
    font-size:11px !important;
    letter-spacing:-0.3px !important;
  }

  .site-header .nav-actions{
    gap:5px !important;
    margin-left:2px !important;
  }

  .site-header .nav-actions .btn{
    font-size:11px !important;
    padding-left:9px !important;
    padding-right:9px !important;
  }

  .site-language-select{
    width:48px !important;
    min-width:48px !important;
    padding-left:8px !important;
    padding-right:15px !important;
  }

}


/* =========================================================
   HEADER FINAL — readable Armenian navigation
   ========================================================= */

@media(min-width:851px){

  .site-header .nav-wrap{
    padding-left:32px !important;
    padding-right:24px !important;
    gap:14px !important;
  }

  .site-header .brand{
    margin-right:12px !important;
  }

  .site-header .nav{
    gap:12px !important;
  }

  .site-header .nav > a{
    font-size:13px !important;
    letter-spacing:-0.2px !important;
    line-height:1.2 !important;
  }

  .site-header .nav-actions{
    gap:7px !important;
    margin-left:4px !important;
  }

  .site-header .nav-actions .btn{
    font-size:12px !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }

  .site-language-select{
    width:52px !important;
    min-width:52px !important;
  }
}

/* =========================================================
   FACEBOOK BADGE — keep below/away from header
   ========================================================= */


/* =========================================================
   Facebook badge — final hero position
   ========================================================= */

@media(min-width:851px){

  .hero .channel-orbit.channel-facebook{
    top:-28px !important;
    left:28% !important;
    z-index:20 !important;
  }

}


/* =========================================================
   FINAL HEADER — larger readable navigation
   ========================================================= */

@media(min-width:851px){

  .site-header .nav > a{
    font-size:14px !important;
    letter-spacing:-0.2px !important;
  }

  .site-header .nav{
    gap:13px !important;
  }

  .site-header .nav-actions .btn{
    font-size:13px !important;
    padding-left:13px !important;
    padding-right:13px !important;
  }

}

/* =========================================================
   Facebook badge — visible hero position
   ========================================================= */

@media(min-width:851px){

  .hero .channel-orbit.channel-facebook{
    top:72px !important;
    left:19% !important;
    z-index:50 !important;
  }

}


@media (min-width: 851px) {

  .site-header .nav > a {
    font-size: 15px !important;
    letter-spacing: 0 !important;
  }

  .site-header .nav {
    gap: 10px !important;
  }

}


/* =========================================================
   Global typography — remove artificial letter spacing
   ========================================================= */

body,
body * {
  letter-spacing: normal !important;
}


/* CatchGrow AI Sales Agent avatar */
.hero-voice-avatar{
  position:relative;
  z-index:2;
  display:none;
  justify-content:center;
  align-items:center;
  margin:4px auto 8px;
}

.hero-voice-demo.is-live .hero-voice-avatar{
  display:flex;
}

.hero-voice-avatar-ring{
  position:relative;
  width:124px;
  height:124px;
  border-radius:50%;
  transition:
    transform .3s ease,
    filter .3s ease;
}

.hero-voice-avatar-ring img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:50%;
  filter:
    drop-shadow(0 0 10px rgba(71,164,255,.25))
    drop-shadow(0 0 22px rgba(39,205,255,.12));
}

.hero-voice-demo.is-speaking .hero-voice-avatar-ring{
  animation:cgAvatarSpeaking 1.35s ease-in-out infinite;
}

.hero-voice-demo.is-speaking .hero-voice-avatar-ring:before{
  content:"";
  position:absolute;
  inset:-7px;
  z-index:-1;
  border-radius:50%;
  border:1px solid rgba(90,202,255,.55);
  box-shadow:
    0 0 18px rgba(72,163,255,.38),
    0 0 34px rgba(41,207,255,.18);
  animation:cgAvatarHalo 1.35s ease-out infinite;
}

@keyframes cgAvatarSpeaking{
  0%,100%{
    transform:scale(1);
    filter:brightness(1);
  }
  50%{
    transform:scale(1.045);
    filter:brightness(1.08);
  }
}

@keyframes cgAvatarHalo{
  0%{
    transform:scale(.96);
    opacity:.8;
  }
  70%,100%{
    transform:scale(1.12);
    opacity:0;
  }
}

@media(max-width:850px){
  .hero-voice-avatar-ring{
    width:104px;
    height:104px;
  }
}
