/* ============================================================
   QuickAtWork — Homepage Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:          #FAF8F5;
  --surface:     #F2EDE6;
  --surface2:    #EBE4DA;
  --border:      #DDD5C8;
  --border-soft: #EDE6DC;
  --text-1:      #1C1917;
  --text-2:      #6B5E52;
  --text-3:      #9C8C80;
  --accent:      #C17F3A;
  --accent-dark: #A36A28;
  --accent-pale: #F5EBD8;
  --white:       #FFFFFF;

  --font-heading: 'DM Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-pill: 100px;
  --radius-card: 12px;
  --radius-tile: 0px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ── Top Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 32px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--text-1);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo .accent { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-pill);
  transition: color 200ms ease, background 200ms ease;
}

.nav-link:hover { color: var(--text-1); background: var(--surface2); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.btn-signin {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  transition: all 200ms ease;
}

.btn-signin:hover { border-color: var(--text-1); color: var(--text-1); }

.btn-start {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--text-1);
  border: none;
  transition: background 200ms ease;
}

.btn-start:hover { background: #2C2926; }

/* ── Hero ── */
.hero {
  padding: 80px 32px 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.cta-primary {
  padding: 13px 28px;
  background: var(--text-1);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: background 200ms ease, transform 150ms ease;
}
.cta-primary:hover { background: #2C2926; transform: translateY(-1px); }

.cta-secondary {
  padding: 13px 28px;
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  transition: all 200ms ease;
}
.cta-secondary:hover { border-color: var(--text-1); color: var(--text-1); }

/* ── Grid Section ── */
.grid-section {
  padding: 40px 32px 64px;
  max-width: 920px;
  margin: 0 auto;
}

.grid-hint {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 16px;
}

/* Industry Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.industry-tile {
  background: var(--white);
  padding: 28px;
  cursor: pointer;
  position: relative;
  transition: background 200ms ease;
  border: none;
  text-align: left;
  overflow: hidden;
}

.industry-tile:hover { background: var(--surface); }
.industry-tile:hover .tile-border-r { border-color: var(--border); }
.industry-tile:hover .tile-arrow { color: var(--accent); transform: rotate(90deg); }

/* Tile internal layout */
.tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tile-emoji { font-size: 22px; line-height: 1; }

.tile-arrow {
  font-size: 18px;
  color: var(--text-3);
  transition: transform 200ms ease, color 200ms ease;
  line-height: 1;
}

.tile-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 3px;
}

.tile-count {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 0;
}

/* Tool list — slides down on hover */
.tile-tools {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
  border-top: 0px solid var(--border-soft);
  margin-top: 0;
}

.industry-tile:hover .tile-tools {
  max-height: 300px;
  border-top-width: 1px;
  margin-top: 12px;
  padding-top: 8px;
}

.tile-tool-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-2);
  transition: color 200ms ease;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-tool-item::before {
  content: '→';
  color: var(--text-3);
  font-size: 12px;
  flex-shrink: 0;
  transition: color 200ms ease;
}

.tile-tool-item:hover { color: var(--accent); }
.tile-tool-item:hover::before { color: var(--accent); }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 32px;
  display: flex;
  justify-content: center;
  gap: 48px;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-1);
  display: block;
}

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

/* ── Pricing Section ── */
.pricing-section {
  padding: 64px 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-3);
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text-2);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li.muted { color: var(--text-3); }
.pricing-features li.muted::before { content: '—'; color: var(--text-3); }

.btn-pricing {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: block;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: transparent;
  transition: all 200ms ease;
  cursor: pointer;
}

.btn-pricing:hover { border-color: var(--text-1); color: var(--text-1); }

.btn-pricing.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-pricing.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ── Footer ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  padding: 48px 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 200ms ease;
}

.footer-links a:hover { color: var(--accent); }

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.footer-brand-name .accent { color: var(--accent); }

.footer-brand-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 16px 0;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy { font-size: 13px; color: var(--text-3); }

.footer-domain {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 24px; }
  .footer-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nav { padding: 0 16px; gap: 12px; }
  .nav-links { display: none; }
  .hero { padding: 48px 16px 32px; }
  .grid-section { padding: 24px 16px 48px; }
  .industry-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 24px; flex-wrap: wrap; padding: 20px 16px; }
  .pricing-section { padding: 40px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer { padding: 32px 16px 0; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Preview Mode bar ── */
.footer-preview {
  border-top: 1px dashed #3A3128;
  margin-top: 20px;
  padding: 16px 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 12px;
}
.footer-preview-label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #C17F3A;
  background: rgba(193,127,58,.12);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(193,127,58,.25);
  white-space: nowrap;
}
.footer-preview a {
  color: #8C7B70;
  text-decoration: none;
  font-size: 12px;
  transition: color 150ms;
}
.footer-preview a:hover { color: #C17F3A; }
