@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-background: #F5F0E8;
  --color-surface: #EDE8DC;
  --color-surface-variant: #E0D9CC;
  --color-on-background: #1A1A1A;
  --color-on-background-secondary: #6B6B6B;
  --color-divider: #BDB5A6;
  --color-accent: #FF6B35;
  --color-danger: #FF5252;
  --color-success: #4CAF50;
  --color-gold: #CC8800;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-on-background);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background-color: var(--color-background);
  border-bottom: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A1814;
  text-decoration: none;
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-brand img {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.logo-text-go {
  color: #1A1814;
}

.logo-text-guitar {
  color: var(--color-accent);
}

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

.nav-links a {
  color: var(--color-on-background-secondary);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-on-background);
  text-decoration: none;
}

/* Hero */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 64px 48px 48px;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  max-width: 440px;
}

.hero-logo {
  width: 72px;
  height: 72px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-on-background-secondary);
}

.hero-tagline {
  font-size: 0.9375rem;
  color: var(--color-on-background-secondary);
  font-style: italic;
}

.hero-screenshots {
  flex-shrink: 0;
}

.phone-frame {
  width: 220px;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--color-divider);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 2246.4;
  overflow: hidden;
}

.carousel-slide {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.google-play-badge {
  display: inline-block;
  margin-left: -12px;
  transition: opacity 0.2s;
}

.google-play-badge:hover {
  opacity: 0.85;
}

.google-play-badge img {
  height: 60px;
  width: auto;
}

/* Features */

.features {
  padding: 48px 24px;
  max-width: none;
  background-color: var(--color-surface);
}

.features h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
  max-width: 720px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background-color 0.15s;
}

.feature-row:hover {
  background-color: var(--color-surface);
}

.feature-icon {
  flex-shrink: 0;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.feature-row h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.feature-row p {
  font-size: 0.8125rem;
  color: var(--color-on-background-secondary);
  line-height: 1.4;
}

/* Footer */

.footer {
  padding: 32px 24px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-on-background-secondary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-on-background-secondary);
}

.footer-links a:hover {
  color: var(--color-on-background);
}

/* Privacy policy page */

.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.policy h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.policy-date {
  font-size: 0.875rem;
  color: var(--color-on-background-secondary);
  margin-bottom: 32px;
}

.policy h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 8px;
}

.policy p {
  color: var(--color-on-background-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.policy strong {
  color: var(--color-on-background);
}

.policy a {
  color: var(--color-accent);
}

/* Responsive */

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 40px 24px 32px;
    gap: 32px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .google-play-badge {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-logo {
    width: 64px;
    height: 64px;
  }

  .hero-screenshots {
    justify-content: center;
  }

  .phone-frame {
    width: 260px;
  }

  .nav {
    padding: 12px 16px;
  }

  .nav-links {
    gap: 12px;
  }

  .features {
    padding: 32px 16px;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .feature-row {
    padding: 10px 12px;
  }
}
