/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Roboto",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 52px;
}

.header .container {
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4146FF, #7C7FF5);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3338E0, #6B6EE0);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(65, 70, 255, 0.35);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #2E2E3A;
}

/* ===== HERO ===== */
.hero {
  padding: 85px 0 60px;
  background: #F8F8F8;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 113px;
}

.hero-content {
  flex: 1;
  min-width: 566px;
}

.hero-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  font-family: "Roboto";
  letter-spacing: 1.2px;
  color: #7C7FF5;
  background: rgba(65, 70, 255, 0.12);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 76px;
  font-weight: 900;
  line-height: 1.05;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 16px;
  color: #6b6b6b;
  max-width: 380px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.store-buttons {
  display: flex;
  gap: 20px;
}

.store-buttons--center {
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 273px;
  height: 71px;
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 12px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.store-btn-icon {
  width: 26px;
  height: 26px;
  margin-right: 16px;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-label {
  font-size: 16px;
  font-weight: 400;
  font-family: "Roboto";
  color: #BCBCBC;
  opacity: 0.85;
  margin-bottom: 4px;
}

.store-btn-title {
  font-size: 18px;
  font-weight: 600;
}

.hero-image {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  max-height: 507px;
  object-fit: contain;
}

/* ===== FEATURES ===== */
.features {
  padding: 80px 0;
  background: transparent;
}

.section-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  color: #474747;
  margin-bottom: 72px;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.feature-card {
  background: #F8F8F8;
  border-radius: 40px;
  padding: 32px 28px;
  width: 373px;
  min-height: 224px;
  flex-shrink: 0;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 16px;
}

.feature-card-text {
  font-size: 16px;
  font-weight: 400;
  color: #474747;
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 162px 0 80px;
  background: #F8F8F8;
  overflow: hidden;
}

.testimonials .section-title {
  margin-bottom: 40px;
}

.avatar-group {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.avatar-group img {
  width: 162px;
  height: 56px;
  object-fit: contain;
}

/* Infinite slider */
.testimonials-slider {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  width: 321px;
  height: 201px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.testimonial-name {
  font-size: 20px;
  font-weight: 600;
  color: #2E2E3A;
}

.stars {
  color: #ffb800;
  font-size: 13px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 12px;
  font-weight: 400;
  color: #2F2F2F;
  line-height: 1.65;
}

/* ===== DOWNLOAD CTA ===== */
.download-cta {
  padding: 40px 0 60px;
  background: #ffffff;
}

.download-cta-inner {
  display: flex;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  padding: 24px 0 40px;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

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

.footer-nav a {
  font-size: 13px;
  color: #6b6b6b;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #6c5ce7;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .hero-inner {
    gap: 48px;
  }

  .hero-content {
    min-width: 0;
  }

  .hero-title {
    font-size: 56px;
  }

  .store-btn {
    width: auto;
    padding: 0 24px;
  }

  .feature-card {
    width: auto;
    flex-shrink: 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header .container {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 0 40px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .hero-title {
    font-size: 44px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .store-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .store-btn {
    width: auto;
    height: 56px;
    padding: 0 20px;
  }

  .hero-image img {
    max-height: 360px;
  }

  .features {
    padding: 60px 0;
  }

  .features-grid {
    flex-wrap: wrap;
    gap: 16px;
  }

  .feature-card {
    width: 100%;
    flex-shrink: 1;
    min-height: auto;
    border-radius: 24px;
    padding: 24px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .testimonials {
    padding: 80px 0 40px;
  }

  .testimonial-card {
    width: 260px;
    height: auto;
    min-height: 170px;
  }

  .testimonial-name {
    font-size: 16px;
  }

  .download-cta {
    padding: 32px 0 48px;
  }

  .footer-nav {
    gap: 20px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .header-inner {
    height: 56px;
  }

  .btn-primary {
    padding: 8px 18px;
    font-size: 13px;
  }

  .store-btn {
    width: 100%;
    height: 56px;
    justify-content: center;
  }

  .store-btn-label {
    font-size: 12px;
  }

  .store-btn-title {
    font-size: 15px;
  }

  .feature-card {
    border-radius: 20px;
  }

  .section-title {
    font-size: 24px;
  }
}
