/* ===== FONTS ===== */
@font-face {
  font-family: "Cooper Black";
  src:
    local("Cooper Black"),
    url("assets/cooper-black.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.font-cooper {
  font-family: "Cooper Black", "Alfa Slab One", serif;
  font-weight: normal;
}

/* ===== 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: #FF6600;
  box-shadow: 0 5px 7px -3px rgba(0, 0, 0, 0.14);
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  font-size: 24px;
  color: #ffffff;
}

.logo-domain {
  font-weight: 300;
  opacity: 0.9;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.header-nav-link:hover {
  opacity: 0.8;
}

.header-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.header-toggle-bars,
.header-toggle-bars::before,
.header-toggle-bars::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.header-toggle-bars {
  position: relative;
}

.header-toggle-bars::before {
  position: absolute;
  top: -7px;
}

.header-toggle-bars::after {
  position: absolute;
  top: 7px;
}

.header--open .header-toggle-bars {
  background: transparent;
}

.header--open .header-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.header--open .header-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.header-mobile-link {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.header-mobile-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== 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: 56px 0;
  background: #FF6600;
  color: #ffffff;
}

.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
}

.footer-intro {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}

.footer-intro-link {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

.footer-intro-link:hover {
  text-decoration-color: #ffffff;
}

.footer-brands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  margin-top: 48px;
  text-align: center;
}

.footer-brands ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brands a {
  font-family: "Cooper Black", "Alfa Slab One", serif;
  font-size: 18px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

.footer-brands a:hover {
  text-decoration-color: #ffffff;
}

.footer-legal {
  margin-top: 56px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
}

/* ===== 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;
  }

  .header-nav {
    display: none;
  }

  .header-toggle {
    display: inline-flex;
  }

  .header-mobile {
    display: flex;
  }

  .header--open .header-mobile {
    max-height: 200px;
  }

  .footer {
    padding: 40px 0;
  }

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

/* 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;
  }
}
