/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #D4AF37;
  --gold-dark: #B8960C;
  --gold-light: #F5E6B3;
  --espresso: #292524;
  --stone-900: #1C1917;
  --stone-800: #292524;
  --stone-700: #44403C;
  --stone-600: #57534E;
  --stone-500: #78716C;
  --stone-400: #A8A29E;
  --stone-300: #D6D3D1;
  --stone-200: #E7E5E4;
  --stone-100: #F5F5F4;
  --stone-50: #FAFAF9;
  --white: #ffffff;
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, var(--stone-50) 0%, var(--amber-100) 100%);
  background-attachment: fixed;
  color: var(--espresso);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo-text, .nav-cta {
  font-family: ui-rounded, 'SF Compact Rounded', 'SF Pro Rounded', -apple-system, system-ui, sans-serif;
}

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

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone-200);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--espresso);
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-cta {
  background: var(--espresso);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
}

.nav-cta:active {
  transform: scale(0.98);
}

.nav-link {
  color: var(--stone-500);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--espresso);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

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

@media (min-width: 768px) {
  .hero-content {
    text-align: left;
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--espresso);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.text-gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--stone-500);
  margin-bottom: 2rem;
  max-width: 500px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    margin-left: 0;
  }
}

.app-store-badge img {
  height: 54px;
  width: auto;
}

.hero-image {
  display: flex;
  justify-content: center;
}

/* Hero Screenshot */
.hero-screenshot {
  max-width: 320px;
  height: auto;
  display: block;
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
  padding: 6rem 1.5rem;
  background: var(--white);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--espresso);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--stone-50);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--stone-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--espresso);
}

.feature-description {
  color: var(--stone-500);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--amber-50) 100%);
}

.pricing-container {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 10px 40px -10px rgba(212, 175, 55, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
}

.pricing-amount {
  margin: 1.5rem 0;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--espresso);
}

.price-period {
  color: var(--stone-500);
  font-size: 1rem;
  margin-left: 0.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--stone-200);
  color: var(--stone-600);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 700;
}

.pricing-cta {
  display: block;
  background: var(--espresso);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: opacity 0.2s, transform 0.2s;
}

.pricing-cta:hover {
  opacity: 0.9;
}

.pricing-cta:active {
  transform: scale(0.98);
}

/* Footer */
.footer {
  padding: 3rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--stone-200);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--espresso);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--stone-500);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-copyright {
  color: var(--stone-400);
  font-size: 0.875rem;
}

/* Legal Pages */
.legal-page {
  padding: 6rem 1.5rem 4rem;
  min-height: 100vh;
  background: var(--white);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--stone-200);
}

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--espresso);
}

.legal-date {
  color: var(--stone-500);
}

.legal-content {
  color: var(--stone-600);
  line-height: 1.8;
}

.legal-content h2 {
  color: var(--espresso);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--espresso);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--gold-dark);
}

.legal-content strong {
  color: var(--espresso);
}

.legal-back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone-200);
}

.legal-back a {
  color: var(--gold);
  font-weight: 500;
}

.legal-back a:hover {
  text-decoration: underline;
}
