* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000000;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

a {
  text-decoration: none;
  color: #fff;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: #fff;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: 100vh;
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  width: 80%;
  height: 6.4rem;
  padding-inline: 21.6rem;
  margin-block: 2.4rem;
}

nav a {
  font-family: Roboto;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 24px;
  letter-spacing: 0.19px;
  color: #72727a;
  cursor: pointer;
}

nav a:nth-last-child(1) {
  text-align: center;
  background-color: #8e8e98;
  color: #000000;
  width: 10.1rem;
  border-radius: 6px;
  padding: 0.6rem 1rem;
}

nav a:nth-last-child(1):hover {
  text-decoration: none;
  background-color: #fff;
  color: #000000;
  cursor: pointer;
}

.container {
  width: 1200px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: flex-start;
  gap: 1.6rem;
  margin-top: 1.6rem;
}

header .container h5 {
  font-family: Roboto;
  font-weight: 400;
  font-size: 22px;
  line-height: 30.8px;
  letter-spacing: 0%;
  color: #fff;
}

header .container h5 span {
  font-family: Roboto;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 12px;
  letter-spacing: 0%;
  color: #000000;
  background-color: #742eff;
  border: 1px solid #742eff;
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  margin-left: 1rem;
}

.fade-text {
  transition: opacity 0.5s ease-in-out;
  font-size: 2rem;
  text-align: center;
}

header .container h1,
header .container h1 span {
  font-family: Roboto;
  font-weight: 400;
  font-size: 112px;
  line-height: 112px;
  letter-spacing: 1.12px;
  color: #fff;
}

.input-field {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 0;
  margin-top: 9.6rem;
}

header .container input {
  font-family: Roboto;
  font-weight: 400;
  font-size: 2rem;
  line-height: 12px;
  letter-spacing: 0%;
  width: 34.8rem;
  height: 5rem;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border: none;
  background: #8e8e9833;
  color: #fff;
  padding: 0.7rem;
}

header .container button {
  width: 10.5rem;
  height: 5rem;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border: none;
  font-family: Roboto;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.38px;
  text-align: center;
  color: #fff;
  background-color: #47474c;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

header .container button:active {
  transform: scale(0.95);
}

header .container p {
  font-family: Roboto;
  font-weight: 400;
  font-size: 12px;
  line-height: 16.8px;
  letter-spacing: 0%;
  color: #47474c;
}

header .container .cookie {
  width: 41.1rem;
  max-width: 100%;
  padding: 0.85rem;
  background: #8e8e98;
  border: 1px solid #8e8e98;
  box-shadow: 0px 1px 2px 0px #00000026;
  border-radius: 4px;
  font-family: Roboto;
  font-weight: 400;
  font-size: 13px;
  line-height: 20.8px;
  letter-spacing: 0%;
  color: #1c1c1e;
  margin: 100px auto;
}

.cookie {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.cookie.hide {
  opacity: 0;
  pointer-events: none;
}

header img {
  position: fixed;
  bottom: 0;
  right: 0;
  margin-right: 1.6rem;
  max-width: 300px;
  height: auto;
  cursor: pointer;
  z-index: 2;
}

/* Burger Menu Styles */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1001;
}

.burger-line {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-family: Roboto;
  font-weight: 400;
  font-size: 2.4rem;
  color: #72727a;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #fff;
}

.mobile-nav a:last-child {
  background-color: #8e8e98;
  color: #000000;
  padding: 1rem 2rem;
  border-radius: 6px;
}

.mobile-nav a:last-child:hover {
  background-color: #fff;
  text-decoration: none;
}

main {
  width: 100%;
  object-fit: cover;
}

main img {
  margin: 0 auto;
  width: 100%;
  object-fit: cover;
}

.description {
  max-width: 100%;
  margin: 0 auto;
  /* text-align: center; */
  padding: 21.6rem 32.445rem;
}

.description span {
  font-family: Roboto;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 40px;
  letter-spacing: 0%;
  color: #fff;
}

.description h3 {
  font-family: Roboto;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 40px;
  letter-spacing: 0%;
  color: #8e8e98;
}

.description p {
  font-family: Roboto;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 21px;
  letter-spacing: 0%;
  color: #8e8e98;
}

.description a {
  font-family: Roboto;
  font-weight: 400;
  font-size: 13px;
  line-height: 21px;
  letter-spacing: 0%;
  color: #196cfa;
}

.description a:hover {
  text-decoration: none;
}

.cards {
  max-width: 100%;
}

.cards .container {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 0 auto;
}

.cards .container .card {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem;
  max-width: 49.6rem;
  min-height: 66.1rem;
  border-radius: 16px;
  background-color: #1c1c1e;
}

#cards-container {
  flex-direction: row-reverse;
}

.cards .container .card .card-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cards .container .card .card-title h3 {
  font-family: Roboto;
  font-weight: 400;
  font-size: 18px;
  /* leading-trim: NONE; */
  line-height: 25.2px;
  letter-spacing: 0%;
  color: #8e8e98;
}

.cards .container .card .card-title :nth-child(2) {
  font-family: Roboto;
  font-weight: 400;
  font-size: 32px;
  /* leading-trim: NONE; */
  line-height: 40px;
  letter-spacing: 0%;
  color: #fff;
}

.cards .container .card .card-title :nth-child(3) {
  font-family: Roboto;
  font-weight: 400;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0%;
  color: #8e8e98;
}

.cards .container .card .card-title p {
  font-family: Roboto;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.4px;
  letter-spacing: 0%;
  color: #72727a;
  margin-top: 8.2rem;
}

.cards .container .card .card-img {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cards .container .card .card-img img {
  object-fit: cover;
}

#card-img {
  margin-top: 9.7rem;
}

#card-img-1 {
  margin-top: 3.2rem;
}

article {
  max-width: 100%;
  height: 80vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-block: 21.6rem;
}

article h1 {
  font-family: Roboto;
  font-weight: 400;
  font-size: 96px;
  line-height: 96px;
  letter-spacing: 0%;
  color: #fff;
  white-space: normal;
  overflow-wrap: break-word;
  overflow: hidden;
  /* border-right: 2px solid #fff;  */
  width: fit-content;
  animation: blink 0.7s infinite;
}

.features-section {
  max-width: 100%;
  padding: 80px 20px;
  background-color: #000000;
  min-height: 100vh;
}

.features-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  text-align: left;
  margin-bottom: 60px;
}

.title {
  font-family: Roboto;
  font-weight: 400;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0%;
  color: #fff;
}

.subtitle {
  font-family: Roboto;
  font-weight: 400;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0%;
  color: #8e8e98;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #3a3a3a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #2a2a2a; */
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: #3a3a3a;
  transform: scale(1.1);
}

.feature-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.feature-icon :hover {
  opacity: 1;
  filter: none;
}

.feature-title {
  font-family: Roboto;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0%;
  color: #eaeaf0;
}

.feature-description {
  font-family: Roboto;
  font-weight: 400;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: 0%;
  color: #8e8e98;
}


footer {
  color: #ffffff;
  line-height: 1.6;
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}


.footer-section {
  width: 100%;
  max-width: 1200px;
  padding: 60px 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Newsletter Section */
.newsletter-section {
  max-width: 400px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.newsletter-input {
  flex: 1;
  background-color: #222;
  border: 1px solid #444;
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.newsletter-input::placeholder {
  color: #666;
}

.newsletter-input:focus {
  outline: none;
  border-color: #666;
}

.subscribe-btn {
  font-family: Roboto;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 24px;
  letter-spacing: 0.38px;
  text-align: center;
  color: #FFFFFF;  
  background-color: #47474C;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.subscribe-btn:hover {
  background-color: #666;
}

.gdpr-text {
  font-family: Roboto;
  font-weight: 400;
  font-size: 12px;
  line-height: 16.8px;
  letter-spacing: 0%;
  color: #8e8e98;  
}

/* Footer Links */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  font-family: Roboto;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0%;
  color: #8e8e98;  
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0.5rem;
}

.footer-links li {
  position: relative;
}

.footer-links a {
  font-family: Roboto;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.4px;
  letter-spacing: 0%;
  color: #55555B;  
}

.footer-links a:hover {
  color: #fff;
}

/* New Badge */
.new-badge {
  background-color: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
  }

  .newsletter-section {
      grid-column: 1 / -1;
      max-width: none;
  }
}

@media (max-width: 768px) {
  .footer-section {
      padding: 40px 20px;
  }

  .footer-content {
      grid-template-columns: 1fr;
      gap: 30px;
  }

  .newsletter-form {
      flex-direction: column;
      gap: 10px;
  }

  .subscribe-btn {
      align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-content {
      gap: 25px;
  }

  /* .footer-column h3 {
      font-size: 0.8rem;
      margin-bottom: 15px;
  }

  .footer-links {
      gap: 10px;
  }

  .footer-links a {
      font-size: 0.85rem;
  } */
}

/* Responsive Design */
.blog {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Title */
.blog h1 {
  font-family: Roboto;
  font-weight: 400;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0%;
  color: #fff;
}

.blog-subtitle {
  font-family: Roboto;
  font-weight: 400;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0%;
  color: #8e8e98;
}

/* Cards Grid */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

#post-1,
#post-2,
#post-3,
#post-4,
#post-5,
#post-6
 {
  width: 100%;
  height: 48rem;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 2.5rem;
}

#post-4,
#post-5,
#post-6{
  display: none;
  transition: all 0.5s ease-in-out;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Read All Button */
.read-more-btn,
.read-less-btn {
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: Roboto;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 15px;
  letter-spacing: 0%;
  text-align: center;
  background-color: #8E8E98;
  color: #000000;
}

.read-more-btn:hover,
.read-less-btn:hover {
  background-color: #444;
}

.read-less-btn {
  display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .blog-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .blog {
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .blog-card {
    height: 200px;
  }

  .blog h1 {
    font-size: 3rem;
  }
}

/* Responsive Design */

@media (max-width: 1240px) {
  .features-section {
    max-width: 100%;
    padding: 60px 16px;
  }

  .features-section .container {
    max-width: 100%;
    margin: 0 auto;
    /* text-align: center; */
  }

  .header {
    text-align: center;
    margin-bottom: 40px;
  }

  .features-grid {
    max-width: 1200px;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .features-section {
    max-width: 100%;
    padding: 60px 16px;
  }

  .features-section .container {
    max-width: 100%;
  }

  .features .title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 24px 20px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 2.75rem;
  }

  .subtitle {
    font-size: 2rem;
  }

  .feature-card {
    padding: 20px 16px;
  }
}

/* Animation for cards appearing */
.feature-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}
.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}
.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}
.feature-card:nth-child(7) {
  animation-delay: 0.7s;
}
.feature-card:nth-child(8) {
  animation-delay: 0.8s;
}



/* Faollashgan holati */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}

@media (max-width: 768px) {
  #typing-text {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (max-width: 1024px) {
  .cards .container {
    max-width: 100%;
    padding: 2rem;
  }

  .cards .container .card {
    max-width: 80%;
    flex-direction: column;
  }

  #cards-container {
    flex-direction: column-reverse;
  }
}

@media (max-width: 589px) {
  .cards .container .card {
    justify-content: center;
    max-width: 100%;
  }
  #card-img-1 {
    max-width: 300px;
  }
  #card-img-1 img {
    max-width: 275px;
  }
}

@media (max-width: 360px) {
  .cards .container .card {
    max-width: 100%;
  }
  .cards .container :nth-child(2) {
    padding: 0.5rem;
  }
  .cards .container :nth-child(2) .card-title :nth-child(3) {
    font-size: 14px;
  }
  .cards .container :nth-child(2) .card-title p {
    font-size: 10px;
  }
  #card-img-1 {
    max-width: 300px;
  }
  #card-img-1 img {
    max-width: 200px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .description {
    padding: 12rem 8rem;
  }

  .description span,
  .description h3 {
    font-size: 2.8rem;
    line-height: 3.6rem;
  }

  .description p {
    font-size: 1.3rem;
    line-height: 2rem;
  }

  .description a {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
    padding: 8rem 2rem;
    text-align: center;
  }

  .description span,
  .description h3 {
    text-align: center;
    font-size: 2.2rem;
    line-height: 3rem;
  }

  .description p {
    font-size: 1.2rem;
    line-height: 1.8rem;
  }

  .description a {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 1024px) {
  nav {
    padding-inline: 5rem;
    width: 90%;
  }

  header .container h1,
  header .container h1 span {
    font-size: 80px;
    line-height: 80px;
  }

  header .container input {
    width: 28rem;
  }
}

@media screen and (max-width: 768px) {
  nav {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  header .container h1,
  header .container h1 span {
    font-size: 60px;
    line-height: 60px;
    text-align: center;
  }

  header .container h5 {
    text-align: center;
    font-size: 18px;
  }

  .input-field {
    flex-direction: column;
    gap: 1rem;
    margin-top: 5rem;
  }

  header .container input {
    width: 100%;
    max-width: 35rem;
    border-radius: 8px;
  }

  header .container button {
    width: 100%;
    max-width: 35rem;
    border-radius: 8px;
  }

  header .container .cookie {
    margin: 50px auto;
    width: 100%;
    max-width: 35rem;
  }

  header img {
    display: none;
  }

  .container {
    align-items: center;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 55%;
  }

  header .container h1,
  header .container h1 span {
    font-size: 40px;
    line-height: 40px;
  }

  header .container h5 {
    font-size: 16px;
  }

  .input-field {
    margin-top: 3rem;
  }

  header .container input {
    font-size: 1.6rem;
    height: 4.5rem;
  }

  header .container button {
    height: 4.5rem;
    font-size: 12px;
  }

  .burger-menu {
    top: 1.5rem;
    right: 1.5rem;
  }

  .burger-line {
    width: 20px;
    height: 2px;
  }
}

@media screen and (max-width: 320px) {
  header .container h1,
  header .container h1 span {
    font-size: 32px;
    line-height: 32px;
  }

  header .container input,
  header .container button {
    height: 4rem;
  }
}
