* {
  margin: 0;
  padding: 0;
}

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

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #323232;
  color: #ffffff;
  line-height: 1.6;
}

.demo {
  text-align: center;
  font-size: 1.5rem;
  background-color: #333333;
  padding: 3rem 1rem;
  border-radius: 1rem;
}

.demo h2 {
  font-size: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 3rem;
  color: #ff4081;
}

.demo video {
  width: 90%;
}

a {
  color: #00bcd4;
}

/* Container */
.container {
  width: 90%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 0;
}

/* Navigation Bar */
.navbar {
  background-color: #323232;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Left Logo & Title */
.navbar-left {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.logo-img {
  width: 4hem;
  height: 4rem;
  margin-right: 1.5rem;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff4081;
  text-decoration: none;
}

/* Right Navigation Link */
.navbar-right {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 3rem; /* Space between links */
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.6rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00bcd4;
}

.nav-links i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.hamburger {
  display: none;
  font-size: 2.6rem;
  color: #ffffff;
  cursor: pointer;
  margin-left: 2rem;
  line-height: 1;
}

/* Hero Section */
.hero {
  /* background: linear-gradient(135deg, #ff4081, #00bcd4); */
  background: linear-gradient(135deg, #bf295c, #08525b);
  color: #ffffff;
  padding: 10rem 0;
  text-align: center;
}

.features .bi {
  font-size: 3rem;
  color: #00bcd4;
}

.features .bi-badge-cc {
  margin-right: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.hero a {
  margin-bottom: 4rem;
}

.hero-image {
  width: 85%;
  margin: 0 auto;
}

.hero-image-link {
  padding: 2rem;
  color: #888;
}

.btn {
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 2.5rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
}

.primary-btn {
  background-color: #ff4081;
}

.primary-btn:hover {
  background-color: #e73370;
}

.secondary-btn {
  background-color: #00bcd4;
}

.secondary-btn i {
  margin-right: 0.5rem;
}

.secondary-btn:hover {
  background-color: #0097a7;
}

/* Features Section */
.features {
  background-color: #1e1e1e;
  padding: 6rem 0;
  text-align: center;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #ff4081;
}

.features h3 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  color: #ff4081;
}

.more-features {
  text-align: center;
  font-size: 1.7rem;
  background-color: #333333;
  padding: 3rem 1rem;
  border-radius: 1rem;
}

.more-features h2 {
  font-size: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 6rem;
  color: #ff4081;
}

.more-features ul {
  column-count: 2;

  max-width: 80rem;
  margin: 0 auto;
}

.more-features li {
  list-style: none;
  margin-bottom: 3rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 3rem;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.card {
  background-color: #2c2c2c;
  padding: 3rem;
  border-radius: 1rem;
  width: calc(33.333% - 2rem); /* 3-column layoutu */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card .material-icons {
  font-size: 3rem;
  color: #00bcd4;
}

.card h3 {
  margin-bottom: 1.5rem;
  color: #ff4081;
}

.card p {
  color: #cccccc;
  font-size: 1.4rem;
}

/* Screenshots Section */
.screenshots {
  background-color: #1e1e1e;
  padding: 6rem 0;
  text-align: center;
}

.screenshots h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #ff4081;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 100rem;
  margin: 0 auto;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-images img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 1rem;
  margin: 0 1rem;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(31, 31, 31, 0.8);
  border: none;
  color: #ffffff;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  font-size: 2rem;
  z-index: 1;
}

.carousel .prev {
  left: 1rem;
}

.carousel .next {
  right: 1rem;
}

.carousel button:hover {
  background-color: rgba(31, 31, 31, 1);
}

.carousel-images img {
  width: calc(100% - 2rem); /* Margin calculation */
}

.splide__slide img {
  width: 80%;
  height: auto;
  display: flex;
  justify-content: center;
  object-fit: contain;
}

li.splide__slide {
  display: flex;
  justify-content: center;
}

/* Download Section */
.download {
  padding: 6rem 0;
  text-align: center;
}

.download-title {
  margin-bottom: 2rem;
  font-size: 1.3rem;
}

.download h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: #ff4081;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1.7rem;
  flex-wrap: wrap;
}

/* Footer Section */
footer {
  background-color: #1f1f1f;
  padding: 2rem 0;
  text-align: center;
  color: #cccccc;
  font-size: 1.3rem;
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlay.active {
  display: block;
}

@media (max-width: 1024px) {
  .card {
    width: calc(50% - 2rem); /* 2-column layout */
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0;
  }
  .navbar-container {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }

  .navbar-left {
    flex: 1;
    margin-left: 2rem;
  }

  .navbar-right {
    margin-right: 2rem;
  }

  .hamburger {
    display: block; /* View hamburger on mobile */
  }

  .more-features ul {
    -webkit-column-count: unset;
    -moz-column-count: unset;
    column-count: unset;
  }

  /* Navigation Links */
  .nav-links {
    flex-direction: column;
    width: 100%;
    background-color: #1f1f1f;
    position: absolute;
    top: 5rem;
    left: 0;
    padding: 2rem 0;
    display: none; /* none for init */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 2rem;
    width: 100%;
    font-size: 1.2rem;
  }

  /* Featuures Section */
  .feature-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%; /* 1-column layout */
  }

  .download-buttons {
    flex-direction: column;
  }
}
