* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  background: #000;
}

/* NAVBAR */

.navbar {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 43px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 10;
}

.logo {
  width: 182px;
  height: 64px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 32px;
  transition: 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
}

.nav-button {
  height: 47px;
  padding: 0 32px;
  background: #8200db;
  border-radius: 30px;
  color: #fff;
  line-height: 47px;
  font-weight: 600;
  white-space: nowrap;
}

/* HERO */

.tech-hero {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 70px 0 80px;
  text-align: center;
}

.hero-badge {
  width: fit-content;
  margin: 0 auto;
  padding: 8px 36px;
  background: rgba(130, 0, 219, 0.2);
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  line-height: 32px;
}

.tech-hero h1 {
  margin: 64px auto 0;
  max-width: 1000px;
  color: #fff;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.34;
  font-weight: 500;
}

.tech-hero p {
  max-width: 982px;
  margin: 38px auto 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  line-height: 33px;
}

.see-more {
  width: 250px;
  height: 48px;
  margin: 42px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  border-radius: 40px;
  font-size: 22px;
  font-weight: 500;
}

.dashboard-image {
  width: min(100%, 1058px);
  height: auto;
  margin: 105px auto 0;
  display: block;
  object-fit: cover;
}

/* PLATFORM SECTION */

.platform-section {
  background: #000;
  padding: 80px 24px 60px;
}

.platform-intro {
  width: min(100%, 1040px);
  margin: 0 auto;
  text-align: center;
}

.platform-intro p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  line-height: 33px;
  margin: 0;
}

.recommendation-grid {
  width: min(100%, 1280px);
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
}

.recommendation-card {
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 4px 47px rgba(0, 0, 0, 0.25);
}

.recommendation-card:first-child {
  background: #f0fdf4;
  border: 2px solid #b9f8cf;
}

.recommendation-card:nth-child(2) {
  background: #eff6ff;
  border: 1px solid #bedbff;
}

.recommendation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.recommendation-card h3 {
  margin: 0;
  color: #101828;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.recommendation-header span {
  padding: 4px 10px;
  background: #00a63e;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.recommendation-header .alt {
  background: #155dfc;
}

.recommendation-card h4 {
  margin: 10px 0 18px;
  color: #364153;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.metric-row p {
  margin: 0;
  color: #6a7282;
  font-size: 14px;
  line-height: 20px;
}

.metric-row strong {
  color: #00a63e;
  font-size: 14px;
  line-height: 20px;
}

.recommendation-card:first-child .metric-row:last-child strong {
  color: #d08700;
}

.recommendation-card:nth-child(2) .metric-row strong {
  color: #155dfc;
}

.recommendation-card:nth-child(2) .metric-row:last-child strong {
  color: #f54900;
}

/* ADVANTAGES */

.advantages-section {
  width: min(100% - 48px, 964px);
  margin: 100px auto 0;
  text-align: center;
}

.section-label {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.35;
  font-weight: 500;
}

.advantages-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  position: relative;
  top: 20px;
}


.advantage-card {
  width: 100%;
  background: rgba(107, 38, 203, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

.advantage-card.active {
  background: rgba(107, 38, 203, 0.32);
  box-shadow: 0 0 40px rgba(152, 16, 250, 0.25);
}

.accordion-btn {
  width: 100%;
  min-height: 86px;
  padding: 23px 44px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.accordion-btn h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  text-align: left;
}

.accordion-btn span {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;

  background: rgba(217, 217, 217, 0.2);
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: #fff;
  font-size: 38px;
  line-height: 1;
  font-weight: 300;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.advantage-card.active .accordion-btn span {
  transform: rotate(180deg);
  background: rgba(152, 16, 250, 0.55);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);

  transition:
    max-height 0.55s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
}

.accordion-content p {
  margin: 0;
  padding: 0 44px 34px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 32px;
  text-align: left;
}

.advantage-card.active .accordion-content {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .advantages-section {
    width: min(60% - 32px, 964px);
  }

  .accordion-btn {
    padding: 22px;
  }

  .accordion-btn h3 {
    font-size: 17px;
    line-height: 24px;
  }

  .accordion-content p {
    padding: 0 22px 28px;
    font-size: 16px;
    line-height: 28px;
  }
}
/* COMPARISON */

.comparison-section {
  width: min(100% - 48px, 1083px);
  margin: 120px auto 0;
}

.comparison-grid {
  border: 1px solid #fff;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison-column h3 {
  margin: 0;
  min-height: 80px;
  background: #8200db;
  color: #fff;
  font-size: 24px;
  line-height: 75px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.comparison-column p {
  min-height: 160px;
  margin: 0;
  padding: 44px 32px;
  border-top: 1px solid #fff;
  color: #fff;
  text-align: center;
  font-size: 24px;
  line-height: 39px;
}

.comparison-column.traditional {
  border-right: 1px solid #fff;
}

/* FOOTER */

.footer {
  background: #7228d9;
  margin-top: 130px;
  padding: 74px 24px 36px;
}

.footer-inner {
  width: min(100%, 1268px);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  width: 182px;
  height: 64px;
  object-fit: cover;
}

.footer-brand p,
.footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 26px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 0.5px solid #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.footer-social img {
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.footer-nav-cols {
  display: flex;
  gap: 60px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-col h4,
.footer-newsletter h4,
.footer-newsletter label {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 32px;
  font-weight: 500;
}

.footer-nav-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 28px;
}

.footer-newsletter {
  max-width: 262px;
}

.footer-newsletter input {
  width: 262px;
  height: 55px;
  border: none;
  outline: none;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 14px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  margin: 36px 0 18px;
  background: rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  font-size: 14px;
  line-height: 32px;
}

/* ANIMATIONS */

.fade-left-scroll {
  opacity: 0;
  transform: translateX(-80px);
}

.fade-left-scroll.visible {
  animation: fadeLeftScrollIn 0.9s ease-out forwards;
}

.fade-right-scroll {
  opacity: 0;
  transform: translateX(80px);
}

.fade-right-scroll.visible {
  animation: fadeRightScrollIn 0.9s ease-out forwards;
}

.fade-bottom-scroll {
  opacity: 0;
  transform: translateY(80px);
}

.fade-bottom-scroll.visible {
  animation: fadeBottomScrollIn 0.9s ease-out forwards;
}

@keyframes fadeLeftScrollIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRightScrollIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* RESPONSIVE */

@media (max-width: 1100px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .footer-top {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .navbar {
    width: min(100% - 32px, 1120px);
    padding-top: 28px;
  }

  .logo {
    width: 150px;
    height: auto;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .nav-button {
    width: 100%;
    text-align: center;
  }

  .tech-hero {
    width: min(100% - 32px, 1120px);
    padding-top: 60px;
  }

  .tech-hero p,
  .platform-intro p {
    font-size: 16px;
    line-height: 28px;
  }

  .dashboard-image {
    margin-top: 70px;
  }

  .advantages-section,
  .comparison-section {
    width: min(100% - 32px, 1083px);
  }

  .advantage-card {
    padding: 22px;
    gap: 20px;
  }

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

  .comparison-column.traditional {
    border-right: none;
  }

  .comparison-column.keti {
    border-top: 1px solid #fff;
  }

  .comparison-column h3 {
    font-size: 18px;
  }

  .comparison-column p {
    min-height: auto;
    padding: 28px 22px;
    font-size: 18px;
    line-height: 30px;
  }

  .footer-top,
  .footer-nav-cols {
    flex-direction: column;
  }

  .footer-newsletter,
  .footer-newsletter input {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .see-more {
    width: 100%;
  }

  .recommendation-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section-label,
  .advantages-section h2 {
    font-size: 30px;
  }

  .advantage-card h3 {
    font-size: 17px;
    line-height: 24px;
  }
}