/* ============================================
   BEAU Landing Page Styles
   ============================================ */

:root {
  --primary: #C8943E;
  --primary-light: #D4A855;
  --primary-dark: #A67A2E;
  --accent: #F5A623;
  --bg: #FFF8F0;
  --surface: #FFFFFF;
  --text: #2D1B0E;
  --text-secondary: #8B7355;
  --border: #E8DDD0;
  --tier-bronze: #CD7F32;
  --tier-bronze-bg: #FDF2E6;
  --tier-silver: #A0A0A0;
  --tier-silver-bg: #F5F5F5;
  --tier-gold: #C8943E;
  --tier-gold-bg: #FFF8E7;
  --tier-diamond: #4A90D9;
  --tier-diamond-bg: #EBF3FC;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(45,27,14,0.06);
  --shadow-md: 0 4px 12px rgba(45,27,14,0.08);
  --shadow-lg: 0 8px 24px rgba(45,27,14,0.12);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAV === */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.landing-nav.scrolled {
  background: rgba(255,248,240,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  padding: 10px 24px;
  background: var(--primary);
  color: white !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,148,62,0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--tier-gold-bg);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 6px 24px rgba(200,148,62,0.4);
  transition: all 0.2s;
}

.btn-hero-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(200,148,62,0.5); }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
}

.btn-hero-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* Phone mockup */
.hero-phone {
  flex-shrink: 0;
  width: 300px;
  height: 600px;
  background: var(--text);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 20px 60px rgba(45,27,14,0.15);
  position: relative;
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-phone-notch {
  width: 120px;
  height: 28px;
  background: var(--text);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.hero-phone-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.mock-greeting {
  flex: 1;
  margin-left: 8px;
}

.mock-greeting-sm { font-size: 10px; color: var(--text-secondary); }
.mock-greeting-lg { font-size: 14px; font-weight: 700; font-family: var(--font-display); }

.mock-points {
  padding: 4px 10px;
  background: var(--tier-gold-bg);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
}

.mock-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  padding: 14px;
  color: white;
}

.mock-banner h4 { font-size: 12px; font-family: var(--font-display); }
.mock-banner p { font-size: 9px; opacity: 0.8; }

.mock-tier-card {
  background: linear-gradient(135deg, #B8860B, #DAA520);
  border-radius: 12px;
  padding: 14px;
  color: white;
}

.mock-tier-card .tier-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.mock-tier-card .tier-pts { font-size: 20px; font-weight: 700; }
.mock-tier-card .tier-pts-label { font-size: 9px; opacity: 0.8; }

.mock-progress {
  height: 5px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.mock-progress-fill { height: 100%; width: 65%; background: white; border-radius: 3px; }

.mock-order-btn {
  background: var(--primary);
  color: white;
  border-radius: 28px;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(200,148,62,0.35);
}

/* === SECTIONS === */
.section-landing {
  padding: 100px 0;
}

.section-landing.alt-bg {
  background: var(--surface);
}

.section-header-landing {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 60px;
}

.section-header-landing .badge-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--tier-gold-bg);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header-landing h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header-landing p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--tier-gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(to right, var(--border), var(--primary), var(--border));
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(200,148,62,0.3);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* === TIER CARDS === */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tier-landing-card {
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.tier-landing-card:hover { transform: translateY(-4px); }

.tier-landing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.tier-landing-card.bronze { background: linear-gradient(135deg, #CD7F32, #E8A850); }
.tier-landing-card.silver { background: linear-gradient(135deg, #8E8E8E, #C0C0C0); }
.tier-landing-card.gold { background: linear-gradient(135deg, #B8860B, #DAA520, #F0C75E); }
.tier-landing-card.diamond { background: linear-gradient(135deg, #2E6AB3, #4A90D9, #7BB3E8); }

.tier-landing-icon { font-size: 40px; margin-bottom: 12px; }

.tier-landing-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: white;
  margin-bottom: 8px;
}

.tier-landing-card p {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.5;
}

.tier-landing-threshold {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 12px;
  opacity: 0.8;
}

/* === LOCATIONS === */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-landing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.location-landing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.location-landing-map {
  height: 160px;
  background: linear-gradient(135deg, #E8DDD0, #D4C4B0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}

.location-landing-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(200,148,62,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,148,62,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.location-landing-body {
  padding: 24px;
}

.location-landing-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
}

.location-landing-body p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.location-landing-hours {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--text) 0%, #4A2E18 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(200,148,62,0.1);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: white;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.7;
  margin-bottom: 32px;
  position: relative;
}

.cta-section .btn-hero-primary {
  position: relative;
}

/* === FOOTER === */
.landing-footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--primary); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .hero p { margin: 0 auto 24px; font-size: 16px; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-phone { width: 240px; height: 480px; }

  .section-header-landing h2 { font-size: 28px; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .tiers-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .locations-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding-top: 60px; min-height: auto; padding-bottom: 40px; }
  .hero h1 { font-size: 28px; }
  .btn-hero-primary, .btn-hero-secondary { padding: 14px 24px; font-size: 14px; }
  .section-landing { padding: 60px 0; }
  .tiers-grid { grid-template-columns: 1fr; }
  .hero-phone { width: 200px; height: 400px; border-radius: 30px; padding: 8px; }
  .hero-phone-screen { border-radius: 24px; }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
