/* ============================================================
   mac-overview — Theme-aligned with mac-v3 / mac-onboarding
   Clean, spacious marketing page design
   ============================================================ */

:root {
  --background: #ECF1F3;
  --foreground: #151B23;
  --primary: #336699;
  --primary-dark: #264666;
  --primary-light: #4A7FB5;
  --primary-tint: #EDF3F8;
  --primary-foreground: #FAFAFA;
  --accent: #6666E6;
  --card: #FFFFFF;
  --muted-foreground: #536275;
  --secondary: #D6DEE6;
  --border: #C4D0DC;
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--foreground);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  padding: 120px 24px 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.hero .role-callout {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.hero .role-selector {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.hero .role-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.hero .role-tab:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
.hero .role-tab.active {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero .role-tab .icon { font-size: 18px; }
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 720px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.hero p.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ---- SECTIONS ---- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}
.section-gray { background: var(--background); }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 56px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* ---- HOW IT WORKS (STEPS) ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  text-align: center;
  background: var(--card);
  border-radius: 16px;
  padding: 40px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}
.step-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--muted-foreground); font-size: 14px; line-height: 1.6; }

/* ---- SIMPLE BY DESIGN ---- */
.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.simple-card { text-align: center; padding: 28px 20px; }
.simple-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
}
.simple-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.simple-card p { color: var(--muted-foreground); font-size: 14px; line-height: 1.6; }

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.feature-card {
  background: var(--card);
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); transform: translateY(-2px); }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted-foreground); font-size: 13px; line-height: 1.6; }

/* ---- VIDEO WALKTHROUGH ---- */
.video-section { margin-top: 64px; }
.video-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-tint); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(51,102,153,0.3); }
.feature-cta { text-align: center; margin-top: 48px; }

/* ---- WHY FREE ---- */
.why-free { max-width: 640px; margin: 0 auto; text-align: center; }
.why-free p { font-size: 17px; color: var(--muted-foreground); margin-bottom: 16px; line-height: 1.7; }
.why-free strong { color: var(--foreground); }
.why-free .highlight {
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 24px;
}

/* ---- COMPARISON TABLE ---- */
.comparison-wrap { overflow-x: auto; border-radius: 14px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
table { width: 100%; border-collapse: collapse; background: var(--card); }
thead { background: var(--background); }
th { padding: 14px 20px; text-align: center; font-size: 14px; font-weight: 700; border-bottom: 2px solid var(--border); }
th:first-child { text-align: left; }
td { padding: 12px 20px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--border); }
td:first-child { text-align: left; color: var(--foreground); font-weight: 500; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) { background: var(--primary-tint); }
.check { color: #22c55e; font-weight: 700; font-size: 18px; }
.dash { color: var(--border); }
.th-rea { color: var(--primary); }
.th-lo { color: #16a34a; }
.th-ia { color: #9333ea; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--card);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}
.stars { color: #facc15; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 14px;
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--muted-foreground); opacity: 0.7; }

/* ---- FINAL CTA ---- */
.final-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 100px 24px;
}
.final-cta h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.final-cta p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }

/* ---- FOOTER ---- */
footer { background: #0f172a; color: #94a3b8; text-align: center; padding: 32px 24px; font-size: 13px; }

/* ---- ROLE CONTENT VISIBILITY ---- */
.role-content { display: none; }
.role-content.active { display: block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 80px 20px 100px; }
  .section { padding: 72px 20px; }
  .steps { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .simple-grid { grid-template-columns: 1fr; max-width: 320px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero .role-tab { padding: 10px 16px; font-size: 13px; }
  .btn { padding: 12px 24px; font-size: 15px; }
}
