/* Variables */
:root {
  font-size: 14px;
  --primary-color: #00AAEC;
  --secondary-color: #0387bb;
  --text-color: #000;
  --light-color: #f8f9fa;
  --accent-color: #e74c3c;
  --transition-speed: 0.3s;
  --container-width: 1200px;
  --navbar-height: 70px;
  --navbar-bg: var(--primary-color, #00AAEC);
  --navbar-color: #fff;
  --navbar-color-nobile: #000;
  --navlink-hover: #fff;
  --navlink-hover-mobile: #f7f7f7;
  --page-title-bg: rgb(0 170 236 / 10%);
  --page-title-color: #000;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--navbar-height);
  color: var(--navbar-color);
  background-color: var(--navbar-bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  width: 100%;
}

.navbar .mobile-only {
  flex-basis: 100%;
  width: 100%;
  text-align: center;
  display: none;
}

header .logo {
  display: flex;
  text-decoration: none;
}

header .logo img {
  max-width: 175px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.navbar-menu .nav-list {
  /*margin: 0 auto;*/ /** centered **/
  margin: 0 3rem 0 auto; /** right **/
}

.nav-list {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--navbar-color);
  text-decoration: none;
  /*font-weight: 500;*/
  padding: 10px 20px;
  border-radius: 20px;
  transition: var(--transition-speed) ease-in-out;
}

.nav-link:hover {
  background-color: var(--navlink-hover);
  color: var(--primary-color);
}

.navbar-buttons {
  display: flex;
  align-items: center;
}

.btn {
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-speed);
  text-decoration: none;
  min-width: 250px;
  text-align: center;
}

header .btn {
  background-color: var(--text-color);
}

.btn {
  font-weight: bold;
}

.btn:hover {
  background-color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  width: 100%;
  height: 2px;
  background-color: var(--navbar-color);
  transition: all var(--transition-speed);
  transform-origin: center;
}

/* Main Content */
main {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: var(--navbar-height);
  min-height: calc(100vh - calc(var(--navbar-height) + 15px));
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card {
  background: #F7F7F7;
  padding: 30px;
  border-radius: 5px;
  overflow: hidden;
}

.card .footnote {
  margin-top: 30px;
  font-size: 12px;
}

.card .footnote a {
  color: #000;
}

.hero.card {
  margin-top: -15px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 45px 0 0;
}

.hero-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}

.hero-text {
  grid-area: 1 / 1 / 1 / 8;
  padding: 30px 50px 0 50px;
}

.hero-cta {
  grid-area: 1 / 9 / 1 / 13;
  padding: 15px;
  margin: 10px;
  padding-top: 45px;
}

.hero-faces {
  grid-area: 2 / 1 / 2 / 13;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.hero-faces > div {
  background-color: #fff;
  aspect-ratio: 30 / 37;
  background-image: var(--bg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  transition: var(--transition-speed) ease-in-out;
  filter: opacity(0.3);
}

.hero-faces > div:hover {
  /*scale: 1.05;*/
  /*border-radius: 4px;*/
  /*filter: opacity(1);*/
  /*z-index: 2;*/
}

.hero h1 {
  font-size: 5.4rem;
  line-height: 0.9;
  letter-spacing: -0.1rem;
}

p, ul:not(.nav-list) {
  font-size: 1.4rem;
  line-height: 1.4;
}

.hero p {
  margin: 30px 0 20px 0;
}

.hero .btn-large {
  font-size: 1.75rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  text-align: center;
}

.hero-cta a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 30px;
}

.top-gap {
  margin-top: 30px;
}

ul, ol {
  padding-left: 1.5rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.25;
}

h2 {
  font-size: 3rem;
  line-height: 1.25;
  letter-spacing: -0.1rem;
}

.how-to-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}

.how-to-text {
  grid-area: 1 / 1 / 1 / 6;
}

.how-to-text ul, .disappear-text ul {
  margin: 25px 0;
  font-size: 1.2rem;
}

.how-to-text .btn, .solution .btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 3rem;
  font-size: 1.2rem;
}


.how-to-video {
  grid-area: 1 / 6 / 1 / 13;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-container.playing .custom-play-btn {
  display: none;
}


.card.code {
  background: var(--primary-color);
}

.code-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  color: var(--navbar-color);
}

.code-flex h2 {
  font-weight: 500;
}

.disappear-text p, .solution p, .about-us p {
  margin: 25px 0;
}

.disappear.card {
  padding: 0;
}

.disappear-text {
  padding: 30px;
}

.disappear-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}

.disappear-text {
  grid-area: 1 / 1 / 1 / 9;
}

.disappear-faces.hero-faces {
  grid-area: 1 / 9 / 1 / 13;
  grid-template-columns: repeat(2, 1fr);
  height: 100%;
}

.stats-grid p {
  margin-top: 25px;
}

.stats-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(4, 1fr);
}

.solution-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

.solution-grid > div {
  flex: 0 0 auto;
  width: auto;
}

.about-us img {
  max-width: 300px;
  width: 100%;
}

.about-us-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}

.about-us-grid > div:first-child {
  grid-area: 1 / 1 / 1 / 7;
}

.about-us-grid > div:last-child {
  grid-area: 1 / 7 / 1 / 13;
  text-align: right;
}

/* Page title */
.page-title {
  background: var(--page-title-bg);
  color: var(--page-title-color);
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 15px 0;
}

.pages ul {
  list-style-type: none;
  padding-left: 0;
}

.pages ul li {
  position: relative;
  padding-left: 20px;
}

.pages ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  background-color: transparent;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  margin-top: .5em;
}

ul:not(.nav-list) li:not(:last-child) {
  margin-bottom: .5em;
}

.pages .smaller {
  font-size: .85em;
  display: inherit;
}

.mb-15 {
  margin-bottom: 15px;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow: auto;
}

.table-responsive table {
  font-family: inherit;
  font-size: 1em;
  border-collapse: collapse;
  width: 100%;
}

.table-responsive table th, .table-responsive table td {
  text-align: left;
  padding: 10px;
  color: #000;
  word-break: normal;
}

.table-responsive table th {
  background-color: #000;
  color: #fff;
}

.table-responsive table tr:nth-child(2n + 1) td {
  background: rgb(0 170 236 / 10%);
}

.table-responsive table th:first-child {
  border-top-left-radius: 5px;
}

.table-responsive table th:last-child {
  border-top-right-radius: 5px;
}

.table-responsive table tr:last-child td:first-child {
  border-bottom-left-radius: 5px;
}

.table-responsive table tr:last-child td:last-child {
  border-bottom-right-radius: 5px;
}

.cookie-consent-section {
  background-color: #f2f9fc;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #c5e3f1;
  margin-bottom: 30px;
}

.consent-options {
  margin: 20px 0;
}

.consent-option {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.consent-checkbox {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

.consent-btn {
  min-width: 200px;
  margin-top: 10px;
  background-color: var(--primary-color);
  font-weight: bold;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 0;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner-content p {
  margin: 5px 20px 5px 0;
  font-size: 1rem;
}

.cookie-banner-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.cookie-banner-content a:hover {
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
}

.cookie-banner-buttons .btn {
  min-width: 120px;
  margin: 5px 0;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-content p {
    margin: 10px 0;
  }
}


/* Footer */
footer {
  margin-top: 50px;
  background: var(--primary-color);
  color: var(--navbar-color);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.container {
  max-width: var(--container-width);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 30px;
}

footer a {
  text-decoration: none;
  color: var(--navbar-color);
}

footer a:hover {
  text-decoration: underline;
}

.foot {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.foot-menu {
  display: flex;
  gap: 15px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3.4rem;
  }

  h1 {
    font-size: 2.8rem !important;
  }

  h2 {
    font-size: 2.4rem !important;
  }

  .hero .btn-large {
    font-size: 1.5rem;
    padding: .75rem 1.15rem;
    border-radius: 2.5rem;
  }

  .hero-cta p {
    text-align: center;
  }
}
@media (max-width: 992px) {
  :root {
    --navbar-height: 125px;
  }
  .navbar {
    flex-direction: column;
  }
  
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--navbar-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed);
    margin: 0;
    padding: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .navbar-menu.active {
    max-height: 500px; /* Adjust based on your content */
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    padding: 10px 20px;
    gap: 0;
  }

  .nav-item:not(:last-child) {
    border-bottom: 1px solid #f9f9f9;
  }

  .nav-link {
    display: flex;
    padding: 10px;
    color: var(--navbar-color-nobile);
  }

  .nav-link:hover {
    background-color: var(--navlink-hover-mobile);
    color: var(--navbar-color-nobile);
    border-radius: 4px;
  }

  .nav-link:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .nav-item:last-child {
    border-bottom: none;
  }

  .navbar-buttons {
    margin: 10px 20px 20px;
    width: calc(100% - 40px);
  }

  .navbar-buttons .btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .navbar-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-grid {
    gap: 30px;
  }
  
  .hero-text {
    grid-area: 1 / 1 / 1 / 8;
  }
  
  .hero-cta {
    grid-area: 1 / 8 / 1 / 13; 
  }
  
  .hero-faces {
    grid-template-columns: repeat(6, 1fr);
  }

  .hero-faces > div:nth-child(n+7) {
    display: none;
  }

  .how-to-grid {
    grid-template-columns: 1fr;
  }

  .how-to-text, .how-to-video {
    grid-area: auto;
  }

  .disappear-grid {
    grid-template-columns: 1fr;
  }

  .disappear-faces.hero-faces, .disappear-text {
    grid-area: auto;
  }

  .disappear-faces.hero-faces {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-us-grid {
    display: block;
  }

  .about-us-grid > div:last-child {
    margin-top: 30px;
    text-align: left;
  }

  .about-us img {
    max-width: 250px;
  }

  .foot {
    flex-direction: column;
  }

  .hide-mobile {
    display: none;
  }

  .navbar .mobile-only {
    display: flex;
    margin: 0;
    margin-top: 20px;
  }

  header .logo img {
    max-width: 150px;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero h1 {
    margin-top: 30px;
    text-align: center;
  }

  .hero-text p {
    text-align: center;
  }
  
  .hero-text, .hero-cta {
    grid-area: auto;
    padding: 20px 25px;
  }

  .card, .disappear-text, .container {
    padding: 25px;
  }
  
  .hero-faces {
    grid-area: auto;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-faces > div:nth-child(n+5) {
    display: none;
  }

  .hero.card {
    padding-top: 15px;
  }

  p, ul:not(.nav-list) {
    font-size: 1.2rem;
  }

  .hero-text p {
    margin-bottom: 0;
  }

  .top-gap {
    margin-top: 20px;
  }

  .code-flex {
    display: flex;
    gap: 15px;
    flex-direction: column;
  }

  .code-flex h2 {
    letter-spacing: 0;
  }

  .disappear-grid {
    gap: 0;
  }

  .how-to-text .btn-wrapper {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-faces {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-faces > div:nth-child(n+4) {
    display: none;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  h1 {
    font-size: 1.8rem !important;
  }

  h2 {
    font-size: 1.4rem !important;
  }

  .hero-text, .hero-cta, .card, .disappear-text, .container {
    padding: 20px;
  }

  .disappear-faces.hero-faces {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid p {
    margin-top: 15px;
  }

  .disappear-text p, .solution p, .about-us p, .how-to-text ul, .hero p {
    margin: 15px 0;
  }
}

@media (min-width: 993px) {
  .break {
    display: block;
  }

  .navbar {
    padding: 20px 0;
  }

  header .btn {
    min-width: unset;
    padding: 15px 30px;
    border-radius: 50px;
  }
}
