/* RouteOps Landing Page Theme */
:root {
  --bg: #f8f7f4;
  --bg-dark: #ece9e3;
  --fg: #1a2b3c;
  --fg-muted: #64748b;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --green: #16a34a;
  --white: #ffffff;
  --border: #e2ddd5;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* HERO */
.hero { padding: 80px 40px 100px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero-headline { font-size: clamp(40px, 5vw, 64px); font-weight: 800; color: var(--fg); margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: var(--fg-muted); max-width: 460px; margin-bottom: 40px; line-height: 1.7; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat-value { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 700; color: var(--fg); display: block; }
.stat-label { font-size: 12px; color: var(--fg-muted); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Dashboard Mock */
.dashboard-mock { background: #1a2b3c; border-radius: 16px; box-shadow: 0 24px 60px rgba(26,43,60,0.2); overflow: hidden; }
.mock-header { background: #0f1a25; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: #3d4f63; }
.mock-dots span:first-child { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }
.mock-title { font-size: 11px; color: #64748b; font-family: 'DM Sans', sans-serif; }
.mock-body { display: grid; grid-template-columns: 120px 1fr; min-height: 360px; }
.mock-sidebar { background: #0f1a25; padding: 16px 0; border-right: 1px solid #1e2d3d; }
.sidebar-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-size: 11px; color: #64748b; font-family: 'DM Sans', sans-serif; cursor: pointer; }
.sidebar-item.active { color: #f59e0b; background: rgba(245,158,11,0.08); border-left: 2px solid var(--accent); }
.sidebar-icon { opacity: 0.7; }
.sidebar-item.active .sidebar-icon { opacity: 1; }
.mock-main { padding: 16px; overflow: hidden; }
.mock-date { font-size: 11px; color: #64748b; margin-bottom: 12px; font-family: 'DM Sans', sans-serif; }
.mock-jobs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.job-row { display: flex; align-items: center; gap: 8px; }
.job-time { font-size: 9px; color: #f59e0b; font-family: 'DM Sans', sans-serif; min-width: 48px; font-weight: 600; }
.job-card { flex: 1; background: #0f1a25; border-radius: 6px; padding: 8px 10px; border: 1px solid #1e2d3d; }
.job-name { font-size: 10px; font-weight: 600; color: #e2ddd5; font-family: 'DM Sans', sans-serif; }
.job-address { font-size: 9px; color: #64748b; font-family: 'DM Sans', sans-serif; margin-top: 2px; }
.job-status { font-size: 8px; padding: 3px 7px; border-radius: 10px; font-family: 'DM Sans', sans-serif; font-weight: 600; }
.job-status.confirmed { background: rgba(22,163,74,0.15); color: #4ade80; }
.job-status.reminder { background: rgba(245,158,11,0.15); color: #f59e0b; }
.job-status.pending { background: rgba(100,116,139,0.15); color: #94a3b8; }
.mock-route { background: #0f1a25; border-radius: 8px; padding: 10px 12px; border: 1px solid #1e2d3d; }
.route-label { font-size: 9px; color: #f59e0b; font-family: 'DM Sans', sans-serif; margin-bottom: 6px; font-weight: 600; }
.route-map { width: 100%; }

/* PROBLEM */
.problem { background: var(--fg); padding: 100px 40px; }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.problem-headline { font-size: clamp(28px, 3.5vw, 44px); color: var(--white); max-width: 700px; margin-bottom: 56px; font-weight: 700; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 56px; }
.problem-card { }
.problem-icon { color: var(--accent); margin-bottom: 16px; }
.problem-card h3 { font-size: 20px; color: var(--white); margin-bottom: 10px; }
.problem-card p { font-size: 15px; color: #94a3b8; line-height: 1.7; }
.problem-quote { border-left: 3px solid var(--accent); padding-left: 28px; }
.problem-quote blockquote { font-size: 20px; color: #e2ddd5; font-style: italic; line-height: 1.6; margin-bottom: 12px; }
.problem-quote cite { font-size: 13px; color: var(--accent); font-style: normal; }

/* FEATURES */
.features { padding: 100px 40px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { margin-bottom: 56px; }
.features-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.features-headline { font-size: clamp(28px, 3.5vw, 44px); color: var(--fg); max-width: 600px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; transition: box-shadow 0.2s ease; }
.feature-card:hover { box-shadow: 0 8px 32px rgba(26,43,60,0.08); }
.feature-icon-wrap { color: var(--accent); margin-bottom: 18px; }
.feature-card h3 { font-size: 18px; color: var(--fg); margin-bottom: 10px; font-family: 'Sora', sans-serif; }
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* PROMISE */
.promise { background: var(--bg-dark); padding: 100px 40px; }
.promise-inner { max-width: 1100px; margin: 0 auto; }
.promise-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.promise-headline { font-size: clamp(28px, 3.5vw, 44px); color: var(--fg); max-width: 700px; margin-bottom: 24px; }
.promise-body { font-size: 18px; color: var(--fg-muted); max-width: 660px; line-height: 1.7; margin-bottom: 56px; }
.promise-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 72px; }
.promise-col h4 { font-size: 16px; color: var(--fg); margin-bottom: 10px; font-family: 'Sora', sans-serif; }
.promise-col p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }
.promise-pricing { }
.pricing-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 24px; }
.pricing-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; position: relative; }
.tier-featured { border: 2px solid var(--accent); }
.tier-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 12px; border-radius: 20px; font-family: 'Sora', sans-serif; }
.tier-name { font-size: 13px; font-weight: 600; color: var(--fg-muted); margin-bottom: 8px; font-family: 'Sora', sans-serif; }
.tier-price { font-family: 'Sora', sans-serif; font-size: 36px; font-weight: 800; color: var(--fg); }
.tier-price span { font-size: 16px; font-weight: 400; color: var(--fg-muted); }
.tier-desc { font-size: 13px; color: var(--fg-muted); margin-top: 8px; line-height: 1.5; }

/* CLOSING */
.closing { background: var(--fg); padding: 100px 40px; }
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-content { position: relative; }
.closing-quote-mark { font-family: 'Sora', sans-serif; font-size: 120px; color: var(--accent); line-height: 0.6; margin-bottom: 16px; opacity: 0.5; }
.closing-headline { font-size: clamp(26px, 3vw, 40px); color: var(--white); max-width: 680px; margin: 0 auto 28px; line-height: 1.35; }
.closing-body { font-size: 16px; color: #94a3b8; line-height: 1.8; margin-bottom: 40px; }
.closing-cta { }
.closing-cta-text { font-size: 18px; color: var(--accent); font-weight: 600; font-family: 'Sora', sans-serif; }

/* FOOTER */
.footer { background: var(--bg-dark); border-top: 1px solid var(--border); padding: 64px 40px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 56px; }
.footer-logo { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; color: var(--fg); margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: var(--fg-muted); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col-head { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 16px; font-family: 'Sora', sans-serif; }
.footer-link { font-size: 13px; color: var(--fg-muted); margin-bottom: 10px; cursor: pointer; }
.footer-link:hover { color: var(--fg); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: var(--fg-muted); }
.footer-meta { font-size: 12px; color: var(--fg-muted); }

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(248,247,244,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0 40px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800; color: var(--fg); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--fg-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { background: var(--fg); color: var(--white) !important; padding: 8px 20px; border-radius: 8px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: #2a3b4c !important; }

/* HERO */
.hero-actions { display: flex; gap: 16px; align-items: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--white); padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--fg); padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--border); cursor: pointer; transition: background 0.2s; }
.btn-secondary:hover { background: var(--bg-dark); }

/* APP PAGES */
.app-page { min-height: 100vh; background: var(--bg); }
.app-nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.app-nav-logo { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 800; color: var(--fg); text-decoration: none; }
.app-nav-logo span { color: var(--accent); }
.app-nav-links { display: flex; gap: 24px; }
.app-nav-links a { font-size: 14px; font-weight: 500; color: var(--fg-muted); text-decoration: none; }
.app-nav-links a:hover, .app-nav-links a.active { color: var(--fg); }
.app-content { max-width: 1200px; margin: 0 auto; padding: 40px; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.page-title { font-size: 28px; font-weight: 800; color: var(--fg); }

/* GRID */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* CARDS */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card-title { font-size: 16px; font-weight: 700; color: var(--fg); }

/* STATS */
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.stat-card .stat-value { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; color: var(--fg); display: block; }
.stat-card .stat-label { font-size: 13px; color: var(--fg-muted); margin-top: 4px; display: block; }
.stat-card .stat-change { font-size: 12px; margin-top: 8px; }
.stat-change.up { color: var(--green); }
.stat-change.down { color: #dc2626; }

/* TABLE */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-muted); border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--fg); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }
.job-client { font-weight: 600; }
.job-address { color: var(--fg-muted); font-size: 13px; }
.job-actions { display: flex; gap: 8px; }

/* BADGE */
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.badge-green { background: rgba(22,163,74,0.1); color: var(--green); }
.badge-amber { background: rgba(245,158,11,0.1); color: var(--accent-dark); }
.badge-blue { background: rgba(59,130,246,0.1); color: #2563eb; }
.badge-gray { background: var(--bg-dark); color: var(--fg-muted); }
.badge-red { background: rgba(220,38,38,0.1); color: #dc2626; }

/* FORM */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--fg); transition: border-color 0.2s; box-sizing: border-box; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-hint { font-size: 12px; color: var(--fg-muted); margin-top: 4px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; text-decoration: none; font-family: 'DM Sans', sans-serif; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--fg); }
.btn-outline:hover { background: var(--bg-dark); }
.btn-danger { background: #dc2626; color: var(--white); }
.btn-danger:hover { background: #b91c1c; }
.btn-ghost { background: transparent; color: var(--fg-muted); }
.btn-ghost:hover { background: var(--bg-dark); color: var(--fg); }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(26,43,60,0.5); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal { background: var(--white); border-radius: 16px; padding: 32px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; box-sizing: border-box; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-size: 20px; font-weight: 700; color: var(--fg); }
.modal-close { width: 32px; height: 32px; border-radius: 8px; border: none; background: var(--bg-dark); cursor: pointer; font-size: 18px; color: var(--fg-muted); display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--border); }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

/* TABS */
.tabs { display: flex; gap: 4px; background: var(--bg-dark); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.tab { padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; background: transparent; color: var(--fg-muted); transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.tab.active { background: var(--white); color: var(--fg); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.tab:hover:not(.active) { color: var(--fg); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 60px 40px; color: var(--fg-muted); }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 16px; display: block; opacity: 0.4; }
.empty-state h3 { font-size: 16px; font-weight: 600; color: var(--fg); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-columns { grid-template-columns: 1fr; }
  .pricing-tiers { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero { padding: 60px 24px 80px; }
  .problem, .features, .promise, .closing { padding: 72px 24px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-divider { display: none; }
}