/* ==========================================================================
   JobLedger Pro — Apple-Grade Light Design System & Stylesheet
   ========================================================================== */

:root {
  /* Surface & Background Colors (Apple Light Mode) */
  --bg-white: #ffffff;
  --bg-page: #fbfbfd;
  --bg-secondary: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-elevated: #f0f0f2;
  
  /* Text Colors */
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --text-muted: #a1a1a6;
  
  /* Apple Accents */
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-green: #1d8338;
  --accent-amber: #b25e00;
  --accent-purple: #9a32cd;
  
  /* Borders & Dividers */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --border-glow: rgba(0, 113, 227, 0.35);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 16px 36px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-floating: 0 18px 40px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.04);
  
  /* Frosted Glass Navigation */
  --glass-nav: rgba(255, 255, 255, 0.82);
  --glass-blur: blur(20px) saturate(180%);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 9999px;
  
  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, monospace;
  
  /* Layout */
  --max-width: 1200px;
  --nav-height: 52px;
  --ribbon-height: 38px;
}

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

html {
  font-family: var(--font-system);
  background-color: var(--bg-page);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  line-height: 1.5;
  background-color: var(--bg-page);
  min-height: 100vh;
}

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

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

/* ==========================================================================
   Header & Sticky Navigation (Apple Global & Product Nav)
   ========================================================================== */

.top-ribbon {
  height: var(--ribbon-height);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 0 16px;
  text-align: center;
}

.top-ribbon span.badge {
  background: rgba(0, 113, 227, 0.12);
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-right: 8px;
  letter-spacing: 0.02em;
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-nav);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

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

.nav-links a {
  font-size: 12px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  font-weight: 400;
  letter-spacing: -0.01em;
}

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

.nav-cta-btn {
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta-btn:hover {
  background: var(--accent-blue-hover);
  transform: scale(1.02);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 70px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, #ffffff 0%, var(--bg-page) 70%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
}

.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  max-width: 900px;
  margin: 0 auto 18px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 34px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Hardware Mockups (CSS iPhone 16 Pro Natural Titanium Frame)
   ========================================================================== */

.hero-stage {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iphone-frame {
  position: relative;
  width: 340px;
  height: 708px;
  background: #f2f2f7;
  border-radius: 54px;
  padding: 12px;
  box-shadow: 
    0 0 0 4px #d1d1d6,
    0 0 0 5px #e5e5ea,
    0 25px 70px rgba(0, 0, 0, 0.12),
    0 0 50px rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dynamic-island {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 106px;
  height: 28px;
  background: #000000;
  border-radius: 20px;
  z-index: 50;
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Floating Badges around Phone */
.floating-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-floating);
  z-index: 20;
  transition: transform 0.3s ease;
  animation: float 6s ease-in-out infinite;
}

.floating-badge.badge-left {
  left: 20px;
  top: 25%;
  animation-delay: 0s;
}

.floating-badge.badge-right {
  right: 20px;
  top: 50%;
  animation-delay: 2s;
}

.floating-badge.badge-bottom {
  bottom: 40px;
  left: 40px;
  animation-delay: 4s;
}

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

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.badge-icon-blue { background: rgba(0, 113, 227, 0.1); color: var(--accent-blue); }
.badge-icon-green { background: rgba(29, 131, 56, 0.1); color: var(--accent-green); }
.badge-icon-amber { background: rgba(178, 94, 0, 0.1); color: var(--accent-amber); }

.badge-content h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.badge-content p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Section Layout & Headers
   ========================================================================== */

section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.45;
  margin-bottom: 48px;
}

/* ==========================================================================
   Apple Bento Grid
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.bento-card-header {
  margin-bottom: 24px;
}

.bento-card-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.bento-card-title {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bento-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.col-8 { grid-column: span 8; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

/* Bento Preview Graphics */
.bento-preview-scanner {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.receipt-sim-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sim-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.sim-value {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent-green);
}

.job-costing-stat-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Feature Deep-Dive 1: Interactive OCR Scanner
   ========================================================================== */

.scanner-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.scanner-visual-wrap {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 30px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.scan-viewfinder {
  position: relative;
  background: #ffffff;
  color: #111111;
  border-radius: var(--radius-md);
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-subtle);
}

.scan-bounding-box {
  position: relative;
  display: inline-block;
  border: 1.5px solid var(--accent-blue);
  background: rgba(0, 113, 227, 0.08);
  border-radius: 4px;
  padding: 2px 6px;
  margin: 2px 0;
}

.scan-bounding-box .tag {
  position: absolute;
  top: -16px;
  right: -4px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 9px;
  font-family: var(--font-system);
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.feature-point-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.feature-point-item {
  display: flex;
  gap: 18px;
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--accent-blue);
}

.feature-point-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* ==========================================================================
   Feature Deep-Dive 2: Job Costing & Mac/iPad Window Frame
   ========================================================================== */

.mac-window-frame {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 0 auto;
}

.mac-window-header {
  height: 38px;
  background: #f5f5f7;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mac-dot-red { background: #ff5f56; }
.mac-dot-yellow { background: #ffbd2e; }
.mac-dot-green { background: #27c93f; }

.mac-window-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.mac-window-content {
  background: #ffffff;
  padding: 0;
}

.mac-window-content img {
  width: 100%;
  display: block;
}

/* ==========================================================================
   Interactive Country Switcher (Tax Center)
   ========================================================================== */

.tax-switcher-container {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 30px;
  box-shadow: var(--shadow-card);
}

.country-nav-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.country-pill-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.country-pill-btn:hover {
  background: #e8e8ed;
  color: var(--text-primary);
}

.country-pill-btn.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.country-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.country-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tax-preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.tax-sheet-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.tax-sheet-card img {
  width: 100%;
  border-radius: var(--radius-md);
}

.tax-details-box h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.tax-details-box p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.tax-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tax-specs-list li {
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tax-specs-list li span.check {
  color: var(--accent-green);
  font-weight: bold;
}

/* ==========================================================================
   Privacy Banner
   ========================================================================== */

.privacy-banner {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.privacy-feature-card {
  background: var(--bg-secondary);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
  text-align: center;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  border-color: var(--accent-blue);
  box-shadow: 0 16px 40px rgba(0, 113, 227, 0.08);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.plan-price-wrap {
  margin: 18px 0 22px;
}

.plan-price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.plan-period {
  font-size: 15px;
  color: var(--text-secondary);
}

.plan-price-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.4;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.plan-features-list li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features-list li.highlight {
  color: var(--text-primary);
  font-weight: 500;
}

.plan-features-list li span.check {
  color: var(--accent-blue);
  font-weight: bold;
}

/* ==========================================================================
   Apple Directory Footer
   ========================================================================== */

footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 24px 40px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-disclaimer {
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.6;
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Scroll Trigger / Animations
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .col-8, .col-4, .col-6 { grid-column: span 12; }
  .scanner-showcase, .tax-preview-grid { grid-template-columns: 1fr; gap: 40px; }
  .floating-badge { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .pricing-cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* App mockups (HTML replacements for screenshots) */
.app-mock{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;background:#fff;height:100%;padding:58px 18px 0;color:#111;overflow:hidden}
.am-title{font-size:26px;font-weight:700;margin-bottom:4px}
.am-sub{font-size:12px;color:#6e6e73;margin-bottom:12px}
.am-search{background:#f2f2f4;border-radius:10px;padding:9px 12px;font-size:13px;color:#8e8e93;margin-bottom:12px}
.am-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}
.am-chips span{background:#e6edf7;color:#1d5cab;border:1px solid #c9d6ea;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:600}
.am-chips span.on{background:#1d5cab;color:#fff;border-color:#1d5cab}
.am-group{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6e6e73;font-weight:600;margin:14px 0 8px}
.am-row{display:flex;align-items:center;gap:12px;padding:8px 0}
.am-row i{width:38px;height:38px;border-radius:50%;color:#fff;font-style:normal;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;flex:none}
.am-row div{flex:1;min-width:0}
.am-row b,.am-job b{display:block;font-size:14px}
.am-row small,.am-job small{display:block;font-size:12px;color:#6e6e73;margin-top:2px}
.am-row em,.am-job em{font-style:normal;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px}
.am-row u{text-decoration:none;color:#d02b20;margin-right:6px;font-size:12px}
.app-mock-wide{padding:24px 28px 28px;height:auto}
.am-job{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #ececf0}
.am-job i{width:34px;height:34px;border-radius:8px;background:#e6edf7;color:#1d5cab;font-style:normal;display:flex;align-items:center;justify-content:center;flex:none}
.am-job div{flex:1;min-width:0}
.am-status{background:#ececf0;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600}
.am-job em{min-width:90px;text-align:right}
.sheet{padding:22px 24px;color:#111;font-size:14px}
.sheet-title{font-weight:700;border-bottom:2px solid #1f2f46;padding-bottom:8px;margin-bottom:10px}
.sheet-row{display:flex;gap:14px;padding:7px 0;border-bottom:1px solid #f0f0f3}
.sheet-row .sc{width:44px;flex:none;font-family:ui-monospace,Menlo,monospace;color:#6e6e73}
.sheet-row .sl{flex:1}
.sheet-row .sa{font-family:ui-monospace,Menlo,monospace}
.sheet-total{font-weight:700;border-bottom:0;border-top:1px solid #aaa;margin-top:4px;color:#0077ed}
.app-mock{text-align:left}
.country-pill-btn{padding-left:14px;padding-right:14px;font-size:14px}

.privacy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:50px;text-align:left}
html,body{overflow-x:hidden}
@media (max-width:900px){.privacy-grid{grid-template-columns:1fr;gap:16px}}
@media (max-width:600px){
  .app-mock-wide{padding:16px}
  .am-job{flex-wrap:wrap;gap:8px 12px}
  .am-job div{flex-basis:calc(100% - 60px)}
  .am-job em{min-width:0;margin-left:auto}
  .sheet{padding:16px}
  .sheet-row{gap:10px;font-size:13px}
  .sheet-row .sc{width:34px}
  .country-pill-btn{font-size:13px;padding:8px 12px}
  .tax-switcher-container{padding:20px 16px}
  .privacy-banner{padding:40px 20px}
}

.sheet-row .sl:first-child{flex:1}

/* Complete feature directory */
.feature-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature-directory-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.feature-directory-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.feature-directory-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
}
.feature-directory-icon svg { width: 24px; height: 24px; }
.feature-directory-icon.icon-blue { color: #0066d6; background: #e8f1ff; }
.feature-directory-icon.icon-violet { color: #7054c4; background: #f0ebfa; }
.feature-directory-icon.icon-teal { color: #087e79; background: #e6f5f2; }
.feature-directory-icon.icon-amber { color: #a96709; background: #fff3df; }
.feature-directory-tag {
  display: block;
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.feature-directory-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.feature-directory-card p,
.feature-availability p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}
.feature-availability {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
}
.feature-availability p + p { margin-top: 12px; }
.feature-availability strong { color: var(--text-primary); }
.feature-availability a { color: var(--accent-blue); text-decoration: underline; }
@media (max-width: 1024px) {
  .feature-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .feature-directory { grid-template-columns: 1fr; }
  .feature-directory-card, .feature-availability { padding: 24px; }
}

.launch-status {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
}
.preview-caption {
  margin: 20px auto;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}
.pricing-terms {
  max-width: 780px;
  margin: 28px auto 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}
.pricing-terms a, .website-disclosure a {
  color: var(--accent-blue);
  text-decoration: underline;
}
.website-disclosure {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .launch-status { justify-content: center; }
}

.plan-price-label { display: block; font-size: 32px; line-height: 1.2; }
.plan-period { display: block; margin-top: 4px; }

.mac-app-screenshot { margin: 0 auto; }
.mac-app-screenshot img { display: block; width: 100%; height: auto; }

.mac-app-screenshot a { display: block; cursor: zoom-in; }

/* Scalable sample jobs preview, following the app's job list */
.job-preview { max-width: 800px; margin: 0 auto; padding: 32px; border-radius: var(--radius-xl); background: #f3f3ef; }
.job-preview-header, .job-preview-controls, .job-card-top, .job-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.job-preview-header h3 { font-size: 36px; letter-spacing: -.03em; margin-bottom: 18px; }
.job-preview-header p, .job-preview-count { font-size: 15px; color: var(--text-secondary); }
.job-preview-sample { padding: 6px 10px; background: #fff; border-radius: var(--radius-pill); font-size: 12px; color: var(--text-secondary); white-space: nowrap; }
.job-preview-controls { margin: 18px 0 30px; flex-wrap: wrap; }
.job-preview-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.job-preview-filters button { font: inherit; font-size: 15px; font-weight: 500; padding: 10px 22px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); background: #fff; color: var(--text-primary); cursor: pointer; }
.job-preview-filters button[aria-pressed="true"] { background: #2454df; border-color: #2454df; color: #fff; }
.job-preview-filters button:focus-visible { outline: 3px solid var(--border-glow); outline-offset: 3px; }
.job-preview-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.job-preview-card { min-width: 0; padding: 26px; border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(30,30,20,.04); }
.job-preview-card[hidden] { display: none; }
.job-card-top { align-items: flex-start; }
.job-card-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex-shrink: 0; border-radius: 14px; background: #e9edfa; color: #2852ce; }
.job-card-icon svg { width: 32px; height: 32px; }
.job-card-heading { flex: 1; min-width: 0; }
.job-card-status { flex-shrink: 0; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 14px; line-height: 1.2; background: #ebebe7; color: #27272a; }
.job-status-current { background: #e0e9f0; }
.job-status-completed { background: #e7f4e9; color: #256b36; }
.job-preview-card h4 { margin: 0 0 6px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
.job-card-client { color: var(--text-secondary); font-size: 16px; line-height: 1.4; }
.job-card-footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-subtle); color: #68686b; font-size: 15px; flex-wrap: wrap; }
.job-card-date, .job-card-counts, .job-card-counts > span { display: flex; align-items: center; gap: 7px; }
.job-card-counts { gap: 18px; margin-left: auto; }
.job-card-footer svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 600px) {
  .job-preview { padding: 20px 16px; border-radius: var(--radius-lg); }
  .job-preview-card { padding: 20px 16px; }
  .job-card-top { gap: 12px; flex-wrap: wrap; }
  .job-card-icon { width: 46px; height: 46px; border-radius: 12px; }
  .job-card-icon svg { width: 27px; height: 27px; }
  .job-card-heading { flex-basis: calc(100% - 58px); }
  .job-card-status { margin-left: 58px; font-size: 12px; }
  .job-preview-card h4 { font-size: 18px; }
  .job-card-client { font-size: 14px; }
  .job-card-footer { font-size: 13px; gap: 10px; }
  .job-card-counts { gap: 12px; }
  .job-preview-controls { gap: 12px; }
  .job-preview-filters button { padding: 9px 16px; }
}
