/* ============================================
   Mosey Tour Builder — Marketing Site Styles
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0&display=block');

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

:root {
  --color-bg-dark: #1C1C1E;
  --color-bg-light: #FFFFFF;
  --color-bg-section: #F5F5F7;
  --color-accent: #007AFF;
  --color-accent-dark: #0056CC;
  --color-text-primary: #1C1C1E;
  --color-text-secondary: #6E6E73;
  --color-text-on-dark: #FFFFFF;
  --color-text-on-dark-muted: rgba(255, 255, 255, 0.7);
  --color-border: #D1D1D6;
  --color-card-bg: #FFFFFF;
  --color-pro-bg: #1C1C1E;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hero: 0 8px 40px rgba(0, 0, 0, 0.3);
  --max-width: 1100px;
  --section-padding: 80px 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-primary);
  background: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: 80px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-app-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
  border-radius: 26px;
  background: linear-gradient(145deg, #2C2C2E, #1C1C1E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hero), inset 0 1px 0 rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.hero-app-icon svg {
  width: 68px;
  height: 68px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
}

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

.hero-tagline {
  font-size: clamp(1rem, 3vw, 1.35rem);
  color: var(--color-text-on-dark-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* App Store Badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-text-on-dark);
  color: var(--color-text-primary);
  padding: 13px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  text-decoration: none;
}

.appstore-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  text-decoration: none;
}

.appstore-badge .badge-icon {
  flex-shrink: 0;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.badge-sub {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6E6E73;
  line-height: 1;
}

.badge-main {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C1C1E;
  line-height: 1.2;
}

.hero-sub {
  font-size: 0.85rem;
  color: var(--color-text-on-dark-muted);
}

/* ============================================
   SECTION COMMON
   ============================================ */

section {
  padding: var(--section-padding);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
  background: var(--color-bg-section);
  text-align: center;
}

.how-it-works .section-subtitle {
  margin: 0 auto 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

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

.step-card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon {
  margin-bottom: 16px;
  color: var(--color-accent);
}

.step-icon .material-symbols-rounded {
  font-size: 36px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}

.step-card p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* ============================================
   FEATURES
   ============================================ */

.features {
  background: var(--color-bg-light);
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

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

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

.feature-item {
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.08);
}

.feature-icon {
  margin-bottom: 14px;
  color: var(--color-accent);
}

.feature-icon .material-symbols-rounded {
  font-size: 32px;
}

/* Material Symbols base */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* ============================================
   SCREENSHOTS
   ============================================ */

.screenshots {
  background: var(--color-bg-dark);
  text-align: center;
  overflow: hidden;
}

.screenshots .section-title,
.screenshots .section-label {
  color: var(--color-text-on-dark);
}

.screenshots .section-subtitle {
  color: var(--color-text-on-dark-muted);
  margin: 0 auto 48px;
}

.screenshots-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.screenshot-frame {
  width: 200px;
  flex-shrink: 0;
}

.screenshot-frame img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,255,255,0.08);
}

.screenshot-placeholder {
  width: 200px;
  aspect-ratio: 9/19.5;
  background: linear-gradient(160deg, #2C2C2E 0%, #3A3A3C 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  padding: 20px;
  gap: 10px;
}

.screenshot-placeholder svg {
  opacity: 0.4;
}

/* ============================================
   PRICING
   ============================================ */

.pricing {
  background: var(--color-bg-section);
  text-align: center;
}

.pricing .section-subtitle {
  margin: 0 auto 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

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

.pricing-card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  text-align: left;
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  border-color: var(--color-accent);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-tier {
  color: var(--color-text-on-dark-muted);
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price-sub {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.pricing-card.featured .pricing-price-sub {
  color: var(--color-text-on-dark-muted);
}

.pricing-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 28px;
}

.pricing-card.featured .pricing-divider {
  background: rgba(255,255,255,0.1);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.4;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.12);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card.featured .check-icon {
  background: rgba(0, 122, 255, 0.25);
}

.btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  color: var(--color-accent);
  padding: 13px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--color-accent);
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.pricing-note {
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark-muted);
  padding: 48px 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-on-dark);
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--color-text-on-dark-muted);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

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

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   LEGAL PAGES (privacy.html, terms.html)
   ============================================ */

.legal-nav {
  background: var(--color-bg-dark);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-on-dark);
  font-weight: 600;
}

.legal-nav-logo:hover {
  text-decoration: none;
  color: #fff;
}

.legal-nav-home {
  font-size: 0.85rem;
  color: var(--color-accent);
}

.legal-header {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: 60px 20px 70px;
  text-align: center;
}

.legal-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.legal-effective {
  color: var(--color-text-on-dark-muted);
  font-size: 0.9rem;
}

.legal-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.legal-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3A3A3C;
  margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.legal-body li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3A3A3C;
  margin-bottom: 6px;
}

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

.legal-contact-box {
  margin-top: 48px;
  padding: 28px;
  background: var(--color-bg-section);
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--color-accent);
}

.legal-contact-box h2 {
  margin-top: 0 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 768px) {
  :root {
    --section-padding: 100px 40px;
  }
}

@media (max-width: 480px) {
  .screenshot-frame,
  .screenshot-placeholder {
    width: 160px;
  }
}
