/* =========================================================
   voiceup styles: fonts, variables, nav (index/landing)
   Use from: <link href="{{ asset('frontend-assets/css/voiceup.css') }}" rel="stylesheet">
========================================================= */

/* Premium SaaS font stack: Inter with Arial fallback */

/* Variable CSS (design tokens) */
:root {
  --el-body-font-family: Inter, Arial, sans-serif;
  --el-heading-font-family: Inter, Arial, sans-serif;
  --el-body-font-color: #1b1b1b;
  --el-heading-font-color: #000000;
  --el-paragraph-color: #101010;
  --el-body-font-size: 16px;
  --el-body-font-weight: 400;
  --el-heading-font-weight: 700;
  --el-body-line-height: 18px;
  --el-heading-line-height: 28px;
  --el-black-color: #000;
  --el-black-color-two: #2b2b2b;
  --el-gray-black: #8C8C96;
  --el-white-color: #ffffff;
  --el-active-bg: #f5f5f5;
  --el-bright-gray-color: #f9f9f9;
  --el-primary-color: #2137fc;
  --el-primary-color-hover: #6b78fc;
  --el-chakra-blue: #2871DE;
}

body {
  font-family: var(--el-body-font-family);
  font-weight: var(--el-body-font-weight);
  font-size: var(--el-body-font-size);
  line-height: 1.5;
  color: var(--el-body-font-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.font-heading {
  font-family: var(--el-heading-font-family);
  font-weight: var(--el-heading-font-weight);
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
.btn {
  font-family: var(--el-heading-font-family);
  letter-spacing: -0.02em;
}

input,
textarea,
select {
  font-family: var(--el-body-font-family);
}

.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Nav – design tokens
   Use higher specificity (a.nav-link) to beat Bootstrap's .nav-link blue override */
a.nav-link,
button.nav-link,
.nav-link {
  color: var(--el-heading-font-color) !important;
  text-decoration: none !important;
}

a.nav-link:hover,
button.nav-link:hover,
.nav-link:hover {
  color: var(--el-heading-font-color) !important;
  background-color: var(--el-active-bg);
}

.nav-signup {
  background-color: var(--el-primary-color);
  color: var(--el-white-color);
}

.nav-signup:hover {
  background-color: var(--el-primary-color-hover);
}

/* Desktop dropdown – wider, cleaner */
.dropdown-panel {
  background: var(--el-white-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.dropdown-panel--wide {
  border-radius: 1rem;
}

/* Mega dropdown: full container width, always centered */
.dropdown-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: 52px;
  /* below nav */
  z-index: 40;
  padding: 0 1rem;
  pointer-events: none;
  /* CSS-driven visibility — avoids Bootstrap's visibility:hidden !important conflict */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.group:hover .dropdown-mega {
  pointer-events: auto;
  opacity: 1;
  visibility: visible !important;
}

.dropdown-mega__inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  width: 100%;
  background: var(--el-white-color);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(243, 244, 246, 0.8);
  padding: 1.25rem 1.5rem;
}

.dropdown-mega--narrow .dropdown-mega__inner {
  max-width: 420px;
}

/* line-clamp for dropdown descriptions */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dropdown-item:hover {
  background: var(--el-bright-gray-color);
}

.dropdown-icon-bg {
  background: var(--el-bright-gray-color);
  border-color: #d1fae9;
}

.nav-chevron {
  color: var(--el-gray-black);
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

/* Mobile menu accordion */
.mobile-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0.75rem;
  font-weight: 500;
  border-radius: 0.5rem;
  color: var(--el-heading-font-color);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s;
}

.mobile-nav-parent:hover {
  background-color: var(--el-active-bg);
}

.mobile-nav-parent i.fa-chevron-down {
  color: var(--el-gray-black);
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.mobile-nav-parent.is-open i.fa-chevron-down {
  transform: rotate(180deg);
}

.mobile-nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav-sub.is-open {
  max-height: 1200px;
}

.mobile-nav-sub a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem 0.625rem 2rem;
  font-size: 0.9375rem;
  color: var(--el-body-font-color);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.mobile-nav-sub a:hover {
  background-color: var(--el-bright-gray-color);
}

.mobile-nav-sub .sub-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 2px solid #d1fae9;
  background: var(--el-bright-gray-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-sub .sub-icon img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.mobile-nav-sub .sub-text strong {
  display: block;
  color: var(--el-heading-font-color);
  font-size: 0.875rem;
}

.mobile-nav-sub .sub-text strong+span {
  display: block;
  font-size: 0.75rem;
  color: var(--el-paragraph-color);
  margin-top: 0.125rem;
}

/* Hero voice items – show play button only on active */
.hero-voice-item .hero-play-voice-btn {
  display: none;
}

.hero-voice-item.bg-gray-100 .hero-play-voice-btn {
  display: flex;
}

.hero-voice-item:hover .hero-play-voice-btn {
  display: flex;
}

/* Hero language dropdown scroll */
#hero-lang-dropdown::-webkit-scrollbar {
  width: 4px;
}

#hero-lang-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

#hero-lang-dropdown::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 4px;
}

/* Hero example card hover border */
.hero-example-card {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* ---- Hero entry animations ---- */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim {
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-anim-d1 {
  animation-delay: 0.06s;
}

.hero-anim-d2 {
  animation-delay: 0.13s;
}

.hero-anim-d3 {
  animation-delay: 0.21s;
}

.hero-anim-d4 {
  animation-delay: 0.29s;
}

.hero-anim-d5 {
  animation-delay: 0.38s;
}

/* ---- Examples panel scrollable container ---- */
#hero-ex-scroll {
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}

#hero-ex-scroll::-webkit-scrollbar {
  width: 4px;
}

#hero-ex-scroll::-webkit-scrollbar-track {
  background: transparent;
}

#hero-ex-scroll::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 4px;
}

#hero-ex-scroll::-webkit-scrollbar-thumb:hover {
  background: #d1d5db;
}

/* AI Voice Suite for Creators - Features section */
.title-animated {
  background-image: linear-gradient(-225deg, #37a000 0%, #29B841 29%, #1148d7 67%, #fff800 100%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textanim 2s linear infinite;
  display: inline-block;
}

@keyframes textanim {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 100% 0;
  }
}

.section-title {
  line-height: 52px;
  text-align: center;
}

.section-short-description {
  font-weight: 400;
  font-size: 18px;
  color: var(--el-black-color);
  text-align: center;
  line-height: 24px;
  width: 80%;
}

.voice-solution-item {
  background: var(--el-white-color);
  border: 1px solid var(--el-gray-black);
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  height: 100%;
}

.voice-solution-item .solution-img {
  width: 55px;
  height: 55px;
  line-height: 55px;
  background: var(--el-primary-color);
  border-radius: 10px;
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-solution-item h6 {
  font-size: 24px;
  font-weight: 500;
  color: var(--el-black-color);
}

.voice-solution-item .rating svg,
.voice-solution-item .rating i {
  color: #ffaf19;
}

.voice-solution-item p {
  font-size: 16px;
  color: var(--el-black-color);
  line-height: 24px;
}

.voice-solution-item a {
  font-weight: 500;
  font-size: 16px;
  color: var(--el-primary-color);
  transition: 0.3s ease;
}

.voice-solution-item:hover a {
  color: var(--el-primary-color-hover);
  letter-spacing: 0.5px;
}

/* ---- Section reveal animations (scroll) ---- */
.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section-reveal-delay-1 {
  transition-delay: 0.08s;
}

.section-reveal-delay-2 {
  transition-delay: 0.16s;
}

.section-reveal-delay-3 {
  transition-delay: 0.24s;
}

.section-reveal-delay-4 {
  transition-delay: 0.32s;
}

.section-reveal-delay-5 {
  transition-delay: 0.4s;
}

.section-reveal-delay-6 {
  transition-delay: 0.48s;
}

/* ---- FAQ accordion ---- */
.faq-btn[aria-expanded="true"] {
  color: var(--el-primary-color);
  background-color: #eff6ff;
}

.faq-btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--el-primary-color);
}

/* Star / CTA button */
.star-now-btn a {
  font-weight: 400;
  font-size: 18px;
  background: var(--el-primary-color);
  color: var(--el-white-color);
  padding: 15px 45px;
  border-radius: 10px;
  transition: 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.star-now-btn a:hover {
  background: var(--el-primary-color-hover);
}

/* Ultimate AI Tools */
.ultimate-tools-item {
  padding: 15px;
  height: 100%;
}

.ultimate-tools-item h3 {
  font-weight: 700;
  font-size: 24px;
}

.ultimate-tools-item p {
  font-size: 16px;
  line-height: 22px;
}

/* AI Voice Example */
.voice-example-part {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  max-width: 95%;
  margin: 0 auto;
}

.voice-example-item {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 440px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.voice-example-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(8, 15, 35, 0.92) 0%, rgba(8, 15, 35, 0.35) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .voice-example-item {
    min-height: 520px;
  }
}

@media (min-width: 1200px) {
  .voice-example-item {
    min-height: 560px;
  }
}

.voice-example-part .section-title {
  color: var(--el-white-color);
}

.voice-example-part .section-short-description {
  color: rgba(255, 255, 255, 0.9);
}

.voice-example-item h3 {
  font-size: 24px;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 140px;
  color: var(--el-white-color);
  z-index: 1;
  text-align: center;
  width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
}

.voice-example-item p {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 100px;
  color: rgba(255, 255, 255, 0.88);
  z-index: 1;
  text-align: center;
  width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 15px;
}

.voice-example-item .audio-content {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 42px;
  color: var(--el-white-color);
  z-index: 1;
}

/* Stagger: odd cards lower, even cards higher — same min-height on every card */
.voice-example-even {
  margin-top: 0;
}

.voice-example-odd {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .voice-example-odd {
    margin-top: 2.75rem;
  }
}

@media (min-width: 1200px) {
  .voice-example-odd {
    margin-top: 3.25rem;
  }
}

/* Splide: room for stagger so shorter row does not clip */
.voice-example-splide {
  position: relative;
  padding-bottom: 0.5rem;
}

.voice-example-splide .splide__list {
  align-items: flex-start;
}

.voice-example-splide .splide__slide {
  height: auto;
  min-height: calc(560px + 3.25rem);
}

@media (max-width: 1199px) {
  .voice-example-splide .splide__slide {
    min-height: calc(520px + 2.75rem);
  }
}

@media (max-width: 767px) {
  .voice-example-splide .splide__slide {
    min-height: calc(440px + 2rem);
  }

  .voice-example-odd {
    margin-top: 1.5rem;
  }
}

.voice-example-splide .splide__arrow {
  background: rgba(255, 255, 255, 0.95);
  opacity: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.voice-example-splide .splide__arrow:hover {
  background: #fff;
}

.voice-example-splide .splide__arrow svg {
  fill: #1e40af;
}

.custom-audio-player .play-btn button {
  width: 40px;
  height: 40px;
  background: var(--el-white-color);
  border-radius: 50%;
  border: none;
  outline: none;
  text-align: center;
  line-height: 40px;
  color: var(--el-primary-color);
  font-size: 18px;
}

/* Voice Example — red play button + waveform (index page) */
.ve-play-btn {
  width: 42px;
  height: 42px;
  background: #e74c3c;
  border-radius: 50%;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.5);
}

.ve-play-btn:hover {
  background: #c0392b;
  transform: scale(1.07);
}

.ve-play-btn:active {
  transform: scale(0.96);
}

.ve-waveform {
  width: 200px;
  min-height: 38px;
}

@media (max-width: 767px) {
  .ve-waveform {
    width: 120px;
  }
}

/* Features (Voiceup) */
.features .sec-image img {
  border: 5px solid #EBECF0;
  border-radius: 10px;
}

.features .sec-image .uniq-img {
  border-radius: 10px;
  border: none;
}

.features h3 {
  line-height: 32px;
}

.features p {
  line-height: 24px;
}

.features .star-now-btn a {
  font-weight: 500;
  font-size: 16px;
  padding: 12px 36px;
  border-radius: 8px;
}

/* Customer review */
.customer-review {
  background: linear-gradient(180deg, #E1E8FA 0%, #ABE4F0 100%);
  border-top: 1px dotted var(--el-black-color);
  border-bottom: 1px dotted var(--el-black-color);
}

.message p {
  font-family: var(--el-heading-font-family);
  text-align: justify;
  line-height: 28px;
  color: var(--el-black-color);
}

.review .author {
  display: flex;
  align-items: center;
  gap: 1rem;
  clear: both;
}

.review .author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review .name {
  flex: 1;
}

.review .name h6 {
  font-weight: 600;
  font-size: 18px;
  margin-top: 3px;
}

.review .name p {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 8px;
}

/* Saving time / CTA */
.saving-time {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(200, 237, 245, 0.5) 100%);
}

.marketing-btn {
  font-weight: 600;
  font-size: 24px;
  width: 100%;
  background: var(--el-primary-color);
  color: var(--el-white-color);
  border-radius: 10px;
  height: 55px;
  line-height: 55px;
  text-align: center;
  transition: 0.3s ease;
  display: block;
  text-decoration: none;
}

.marketing-btn:hover {
  background: var(--el-primary-color-hover);
}

.marketing-btn.btn-2 {
  background: #abe4f0;
  color: var(--el-black-color);
}

.marketing-btn.btn-3 {
  background: #d8d8d8;
  color: var(--el-black-color);
}

.marketing-btn.btn-2:hover {
  background: #C8EDF5;
}

.marketing-btn.btn-3:hover {
  background: #EFEFEF;
}

.prerequisite ul li {
  font-weight: 500;
  font-size: 18px;
  color: var(--el-black-color);
}

/* Accordion (FAQ) */
.accordion-item {
  margin: 20px 0;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.accordion-item .accordion-button {
  outline: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
  background-color: var(--el-white-color);
}

.accordion-button {
  font-family: var(--el-heading-font-family);
  color: var(--el-black-color);
  font-weight: 500;
  font-size: 16px;
}

.accordion-item:not(:first-of-type) {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.accordion-button {
  padding: 20px;
  border-radius: 5px;
}

.accordion-body {
  font-family: var(--el-heading-font-family);
  padding: 0.75rem 1.25rem;
  font-weight: 300;
  font-size: 15px;
  line-height: 22px;
  padding-bottom: 30px;
}

/* Case study */
.case-study {
  font-family: var(--el-heading-font-family);
}

.case-study-title {
  color: var(--el-black-color-two);
  font-weight: 700;
  font-size: 48px;
  line-height: 68px;
}

.case-study-paragraph {
  color: var(--el-black-color-two);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.case-study-subtitle {
  font-weight: 600;
  font-size: 32px;
  color: var(--el-black-color-two);
  line-height: 40px;
  border-left: 6px solid var(--el-primary-color);
  padding-left: 12px;
}

/* Languages */
.languages {
  text-align: center;
}

.languages .language-item {
  display: inline-block;
  margin: 11px 5px;
}

.languages .language-item span {
  background: #f9efef;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 16px;
}

.view-languages span {
  font-weight: 500;
}

/* Footer */
.footer-part {
  background-image: url('../img/photos/background_in_space_for_tts_ai.gif');
  background-repeat: repeat;
  position: relative;
}

.footer-part .astronaut {
  position: absolute;
  right: 0;
  bottom: 0;
}

.footer-gap {
  padding-bottom: 180px;
}

.footer-item-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--el-gray-black);
  background: #282a35;
}

.footer-part .address p {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
}

.footer-part .social-media {
  list-style: none;
}

.footer-part .social-media li {
  float: left;
  margin-right: 18px;
}

.footer-part .social-media li a {
  color: var(--el-white-color);
  font-size: 1.25rem;
  transition: color 0.2s;
}

.footer-part .social-media li a:hover {
  color: var(--el-primary-color-hover);
}

.footer-part .copyright .small-p {
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 0.5rem;
}

.footer-part .copyright-text {
  font-weight: 600;
  font-size: 14px;
}

.footer-part .footer-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-part .footer-item li a {
  font-family: var(--el-heading-font-family);
  font-weight: 400;
  font-size: 15px;
  color: var(--el-white-color);
  text-decoration: none;
  position: relative;
}

.footer-part .footer-item li a:hover {
  color: var(--el-primary-color-hover);
}

.astronaut img {
  max-width: 450px;
}

@media (max-width: 768px) {
  .astronaut img {
    max-width: 340px;
  }
}

