*, ::after, ::before {
  box-sizing: border-box;
}

/* Base styles */
:root {
  --primary-color: #386eff;
  --secondary-color: #6CDE91;
  --text-light: #f7f8fe;
  --text-gray: #d8dce6;
  --background-dark: #21252f;
  --background-light: #707070;
  --background-black: #000;
  --link-color: #ffffff;
  --video-width: 100vw;
  --video-height: 100vh;
  --padding-horizontal: 96px;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    "Recursive",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  background-color: var(--background-dark);
  color: var(--text-light);
  background-image: url("../images/AI-4EI_iK7.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.main-content {
  width: 100%;
  /* max-width: 1920px; */
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: var(--padding-horizontal);
  overflow: hidden;
  /*background: linear-gradient(134deg, var(--primary-color), rgba(111, 231, 151, 0.70));*/
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header */
.main-header {
  position: relative;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 1;
  gap: 24px;
}

.max-width {
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  width: 160px;
  aspect-ratio: 1.42;
  object-fit: contain;
}

.header-navigation {
  display: flex;
  min-width: 240px;
  gap: 16px;
  justify-content: flex-end;
}

.nav-button {
  padding: 8px 16px;
  border-radius: 4.8px;
  text-decoration: none;
  border: 1px solid var(--text-light);
  /*background: transparent;
  color: var(--text-light);*/
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--text-light);
  color: var(--background-dark);
}

/* Hero Content */
.hero-content {
  position: relative;
  margin-top: 96px;
  z-index: 1;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.hero-subtitle {
  font-size: 80px;
  font-weight: 300;
  line-height: 1.2;
}

.hero-headline {
  font-size: 80px;
  font-weight: 800;
  line-height: 96px;
}

.hero-description {
  font-size: 40px;
  font-weight: 300;
  line-height: 60px;
  margin-top: 48px;
  max-width: 1200px;
}

.vimeo-video {
  height: var(--video-height);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--video-width);
}

/* Video Section */
.video-section {
  padding: 0 var(--padding-horizontal) 96px;
  display: flex;
  justify-content: center;
  background-color: var(--background-dark);
  position: relative;
}

.video-container {
  margin-top: -384px;
  max-width: 1440px;
  width: 100%;
  min-height: 800px;
  aspect-ratio: 9/5;
  border-radius: 32px;
  background-color: var(--background-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.video-thumbnail {
  width: 177px;
  aspect-ratio: 1;
  object-fit: contain;
}

.aspect-ratio {
  color: var(--text-gray);
  font-size: 80px;
  font-weight: 300;
}

/* References Section */
.references-section {
  padding: 128px var(--padding-horizontal);
  background: #000;
  box-shadow: 0 0 100px var(--background-black);
}

.references-title {
  margin-bottom: 1rem;
  font-weight: 300;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-gray);
}

.references-grid {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1920px;
}

.references-section h2 {
  margin-bottom: 3rem;
}

.reference {
  color: var(--link-color);
  font-size: 20px;
  gap: 64px;
  text-decoration: none;
  background-color: var(--background-dark);
  padding: 32px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}

.reference .title {
  margin-bottom: 6px;
  font-weight: 800;
}

.reference i {
  color: var(--link-color);
  font-weight: 400;
  font-size: 32px;
}

.reference-logo {
  width: 146px;
  aspect-ratio: 3.04;
  object-fit: contain;
}

/* Features Section */
.features-section {
  background-color: var(--background-dark);
  padding: var(--padding-horizontal);
  margin: 0 auto;
  box-shadow: 0 0 100px var(--background-dark);
}

.features-title {
  font-size: 160px;
  font-weight: 1000;
  line-height: 1.2;
  color: var(--text-gray);
  margin: 0;
}

.features-grid {
  display: flex;
  margin-top: 96px;
  gap: 96px;
  flex-wrap: wrap;
}

.feature-card {
  flex: 1;
  min-width: 360px;
}

.feature-heading {
  font-size: 40px;
  font-weight: 800;
  line-height: 48px;
  margin: 0 0 16px;
}

.feature-description {
  font-size: 20px;
  line-height: 30px;
  margin: 0;
}

/* Tabs Section */
.tabs-section {
  background-color: var(--background-dark);
  padding: 1px var(--padding-horizontal) 192px;
  margin: 0 auto;
}

.tabs-content .hero-subtitle {
  margin: 96px 0 48px;
}

.tabs-box {
  margin: 0 auto;
  border-radius: 32px;
  background-color: var(--background-black);
  padding: var(--padding-horizontal);
  max-width: 1632px;
}

.tabs-navigation {
  display: flex;
  gap: 36px;
  row-gap: 24px;
  flex-wrap: wrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  white-space: nowrap;
  border: none;
  max-width: 1440px;
  margin: 0 auto;
}

.tabs-navigation::-webkit-scrollbar {
  display: none;
}

.tabs-arrow-container {
  position: relative;
}

.tab-button {
  padding-bottom: 12px;
  padding-left: 0;
  padding-right: 0;
  border: none;
  background: none;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-gray);
  cursor: pointer;
  font-family: inherit;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.tab-button.active {
  border-bottom: 2px solid var(--text-gray);
}

.tab-pane {
  display: flex;
  margin-top: 96px;
  gap: 32px;
  flex-wrap: wrap;
  flex-direction: column;
}

.tab-text {
  flex: 1;
}

.tab-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 16px;
  word-break: break-word;
}

.tab-subtitle {
  margin: 0 0 16px;
}

.tab-details h4 {
  margin: 16px 0 8px;
}

.tab-details p {
  margin: 0 0 16px;
}

.tab-figure {
  flex: 2;
  width: 100%;
  /*min-width: 720px;*/
  margin: 0;
  text-align: right;
}

.tab-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tab-image {
  width: 100%;
  max-width: 600px;
  object-fit: contain;
}

.cta-gpt {
  background-color: var(--secondary-color);
  height: 128px;
  width: 128px;
  border-radius: 50%;
  position: fixed;
  right: 64px;
  bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 0 100px var(--background-black);
  cursor: pointer;
}

.cta-gpt > i {
  font-size: 64px;
}

#gptModal .modal-content {
  background: none;
}

/* CTA Section */
.cta-section {
  display: flex;
  padding: 192px var(--padding-horizontal);
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-card {
  flex: 1;
  min-width: 300px;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  border-radius: 29px;
  background-color: var(--background-black);
  padding: var(--padding-horizontal);
  text-align: center;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  margin: 0;
}

.cta-description {
  font-size: 20px;
  margin: 24px 0 0;
}

.cta-button {
  display: block;
  text-decoration: none;
  justify-content: flex-end;
  margin-top: 96px;
  width: 100%;
  padding: 16px 16px;
  border-radius: 4.8px;
  background-color: var(--primary-color);
  color: var(--link-color);
  font-size: 20px;
  cursor: pointer;
  text-align: center;
}

.glide__slide {
  flex: 1;
  height: auto;
}

/* Advantages Section */
.advantages-section {
  padding: 96px 0 192px 96px;
  background-color: var(--primary-color);
}

.advantages-title {
  font-size: 160px;
  font-weight: 1000;
  line-height: 1.2;
  color: var(--background-black);
  margin-bottom: 96px;
}

.advantages-navigation {
  display: flex;
  margin: 24px;
  gap: 24px;
  justify-content: flex-end;
}

.nav-button {
  font-size: 16px;
}

.nav-arrow {
  font-size: 80px;
  font-weight: 900;
  background: none;
  border: none;
  color: var(--background-black);
  cursor: pointer;
}

.advantages-cards {
  /*display: flex;
  padding-top: 70px; */
  gap: 8px;
  overflow-x: auto;
}

.advantage-card {
  min-width: 240px;
  padding-top: 70px;
  border-radius: 29px;
  margin-top: 96px;
  background-color: var(--background-black);
  padding: 96px 64px 64px;
  position: relative;
}

.advantage-content {
  color: white;
}

.advantage-title {
  font-size: 40px;
  font-weight: 1000;
  line-height: 48px;
  margin: 0;
  word-break: break-word;
}

.advantage-description {
  font-size: 20px;
  line-height: 30px;
  margin: 24px 0 0;
}

.advantage-icon,
.cta-icon {
  position: absolute;
  top: -70px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon,
i {
  font-size: 64px;
  color: var(--background-black);
  font-family: "Font Awesome 6 Pro";
}

/* Footer */
.main-footer {
  background-color: var(--background-black);
  padding: 192px var(--padding-horizontal) 192px;
  box-shadow: 0 0 100px var(--background-black);
}

.footer-address {
  font-size: 40px;
  font-weight: 300;
  font-style: normal;
  color: white;
}

.footer-address a {
  color: var(--link-color);
}

.social-links {
  display: flex;
  margin-top: 48px;
  gap: 48px;
}

.social-link {
  font-size: 48px;
  color: var(--text-gray);
  text-decoration: none;
}

.social-link svg {
  fill: #ffffff;
  width: 44px;
  height: 44px;
} 

.footer-nav {
  display: flex;
  margin-top: 48px;
  gap: 48px;
}

.footer-link {
  font-size: 20px;
  color: var(--link-color);
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 991px) {
  .logo {
    width: 80px;
  }

  .tab-button {
    padding-bottom: 8px;
  }

  .cta-gpt {
    width: 96px;
    height: 96px;
  }

  .cta-gpt > i {
    font-size: 48px;
  }

  .video-container { 
    margin-top: -250px;
  }

  .tab-pane {
    margin-top: 48px;
  }

  .main-header {
    align-items: center;
  }

  .advantage-card {
    padding: 72px 24px 24px
  }

  .hero-section {
    padding: 64px 24px 300px;
  }

  .cta-section {
    padding: 126px 24px 64px;
  }

  .video-section,
  .features-section,
  .tabs-section,
  .advantages-section {
    padding: 64px 24px;
  }

  .tabs-box {
    padding: 64px 32px;
    position: relative;
  }

  .references-section {
    padding: 64px 36px;
  }

  .main-footer {
    padding: 40px 20px 100px;
  }

  .hero-subtitle,
  .hero-headline {
    font-size: 40px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 24px;
    line-height: 1.2;
  }

  .features-title,
  .advantages-title {
    font-size: 64px;
    line-height: 1.2;
  }

  .video-container {
    min-height: auto;
  }

  .aspect-ratio {
    font-size: 40px;
  }

  .nav-arrow {
    font-size: 40px;
  }

  .advantage-content {
    padding: 96px 20px 40px;
  }

  .social-link {
    font-size: 40px;
  }
}

@media (max-width: 479px) {
  .video-container { 
    margin-top: -200px;
  }

  .tabs-navigation {
    row-gap: 12px;
  }

  .cta-gpt {
    width: 64px;
    height: 64px;
    right: 32px;
    bottom: 32px;
  }

  .cta-gpt > i {
    font-size: 32px;
  }

  .tab-button {
    font-size: 16px;
    padding-bottom: 4px;
  }
}

.tab-content {
  max-width: 1440px;
  margin: 0 auto;
}

.tab-content>.tab-pane {
  display: none;
}

.tab-content>.active {
  display: flex;
}




/**
  GPT Modal
**/

.chat-modal {
  border: none;
  padding: 32px;
  margin: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}

.chat-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.chat-modal[open] {
  display: flex;
  align-items: center;
}

.chat-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 100%;
  background-color: var(--secondary-color);
  border-radius: 32px;
  box-shadow: 0px 0px 100px 0px #000;
  position: relative;
  padding: var(--padding-horizontal);
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto;
}

.close-button {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.close-button i {
  font-size: 64px;
  color: #212529;
  font-weight: 300;
}

.chat-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 32px;
  padding-bottom: 300px;
  overflow: auto;
  scrollbar-color: #0D111D var(--secondary-color);
}

.main-heading {
  font-size: 200px;
  font-weight: 1000;
  line-height: 120%;
  color: #000;
  font-family: Recursive;
  padding-bottom: 24px;
  margin: 0;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: var(--padding-horizontal);
  padding-right: var(--padding-horizontal);
}

.question-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-left: 20%;
}

.question-bubble {
  color: #fff;
  font-size: 20px;
  line-height: 150%;
  font-family: Recursive;
  padding: 16px 32px;
  background-color: #21252f;
  border-radius: 24px;
}

.answer-section {
  display: flex;
  gap: 16px;
  padding-right: var(--padding-horizontal);
}

.answer-icon i {
  font-size: 64px;
  color: #000;
}

.answer-text {
  flex: 1;
  color: #000;
  font-size: 20px;
  line-height: 150%;
  font-family: Recursive;
}

.feedback-buttons {
  display: flex;
  gap: 16px;
  padding-left: var(--padding-horizontal);
}

.feedback-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.feedback-button i {
  font-size: 32px;
  color: #212529;
}

.chat-footer {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding: 0px var(--padding-horizontal) 96px var(--padding-horizontal);
}

.input-container {
  display: flex;
  align-items: center;
  gap: -32px;
  position: relative;
}

.input-wrapper {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  border: 2px solid #c8ceda;
  padding: 24px 32px;
  box-shadow: 0 0 100px var(--background-black);
  margin-right: 5%;
  z-index: 2;
}

.chat-container form {
  width: 100%;
}


.loader {
  display: none;
}

.send {
  display: block;
}

.loading .loader{
  display: block;
}

.loading .send{
  display: none;
}

.chat-input {
  width: 100%;
  font-size: 20px;
  line-height: 150%;
  font-family: Recursive;
  border: none;
  background-color: transparent;
}

.chat-input:focus {
  outline: none;
}

.send-button,
.send-button-shadow {
  position: absolute;
  right: -10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  background-color: #6cde91;
  border-radius: 200px;
  cursor: pointer;
  border: none;
  z-index: 3;
}

.send-button-shadow {
  box-shadow: 0 0 100px var(--background-black);
  z-index: 1;
}

.send-button i {
  font-size: 64px;
  color: #000;
}

@media (max-width: 991px) {
  .chat-container {
    padding: 48px;
  }

  .demo-container {
    width: 100%;
    padding-left: 48px;
    padding-right: 48px;
  }

  .chat-content {
    padding-bottom: 200px;
  }

  .main-heading {
    font-size: 140px;
  }

  .chat-messages {
    padding-left: 48px;
    padding-right: 48px;
  }

  .input-wrapper {
    padding: 16px 24px;
  }

  .answer-section {
    padding-right: 48px;
  }

  .feedback-buttons {
    padding-left: 48px;
  }

  .chat-footer {
    padding: 0px 48px 48px 48px;
  }

  .send-button,
  .send-button-shadow {
    width: 100px;
    height: 100px;
  }

  .send-button i {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .chat-container {
    padding: 24px;
  }

  .chat-content {
    padding-bottom: 100px;
    margin-top: 48px;
  }

  .main-heading {
    font-size: 80px;
  }

  .chat-messages {
    padding-left: 16px;
    padding-right: 16px;
  }

  .answer-section {
    padding-right: 16px;
  }

  .feedback-buttons {
    padding-left: 16px;
  }

  .chat-footer {
    padding: 0px 24px 24px 24px;
  }

  .send-button,
  .send-button-shadow {
    width: 80px;
    height: 80px;
  }

  .send-button i {
    font-size: 32px;
  }
}
