/* ============================================
   Slowburn Wealth — Landing Page Styles
   ============================================ */

:root {
  --color-bg: #FFFAF5;
  --color-surface: #FFFFFF;
  --color-text: #1A0505;
  --color-text-secondary: #6B5C52;
  --color-accent: #D45500;
  --color-accent-hover: #B84800;
  --color-accent-light: #FFF0E6;
  --color-amber: #FFAA00;
  --color-border: #F0E6DC;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-hover); }

.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.nav-logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

/* ---- Hero ---- */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px 24px 80px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 480px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.hero-subtitle {
  margin-top: 20px;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.hero-content .btn {
  margin-top: 32px;
}

.hero-phones {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 520px;
}

/* ---- Phone Mockup ---- */

.phone {
  position: relative;
  width: 260px;
  background: var(--color-surface);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 2px 8px rgba(26, 5, 5, 0.06),
    0 12px 40px rgba(26, 5, 5, 0.10);
}

.phone img {
  border-radius: 26px;
  width: 100%;
}

.hero-phones .phone-front {
  position: relative;
  z-index: 2;
}

.hero-phones .phone-back {
  position: absolute;
  left: 0;
  top: 40px;
  z-index: 1;
  opacity: 0.7;
  transform: scale(0.92) rotate(-4deg);
}

/* ---- Features ---- */

.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 80px;
}

.feature-right {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feature-text p {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.feature-phone {
  flex-shrink: 0;
}

.feature-phone .phone {
  width: 260px;
}

/* ---- CTA Section ---- */

.cta {
  padding: 80px 24px;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(212, 85, 0, 0.2);
}

.cta-inner h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

.cta-inner p {
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.cta-inner .btn {
  margin-top: 28px;
}

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* ---- Dark Mode ---- */

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121010;
    --color-surface: #1E1A1A;
    --color-text: #F5EDE6;
    --color-text-secondary: #A89A90;
    --color-accent: #FF6E1A;
    --color-accent-hover: #FF8C42;
    --color-accent-light: #2A1A10;
    --color-border: #2E2626;
  }

  .nav {
    background: rgba(18, 16, 16, 0.85);
  }

  .phone {
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.2),
      0 12px 40px rgba(0, 0, 0, 0.35);
  }

  .cta-icon {
    box-shadow: 0 4px 20px rgba(255, 110, 26, 0.25);
  }
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-phones {
    min-height: auto;
  }

  .hero-phones .phone-back {
    display: none;
  }

  .hero-phones .phone-front {
    position: relative;
  }

  .feature {
    flex-direction: column !important;
    text-align: center;
    gap: 40px;
  }

  .features {
    gap: 72px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .feature-text h2 {
    font-size: 1.6rem;
  }

  .phone {
    width: 220px;
  }

  .feature-phone .phone {
    width: 220px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
