/*
 * home.css — Styles specific to the Front Page / Home template.
 * Loaded only on front-page.php.
 *
 * @package ChefAnandHub
 */

/* ── HERO ── */
.hero { padding: 72px 24px 64px; background: var(--white); }
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 60px; align-items: center;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 500; color: var(--muted);
  letter-spacing: .04em; margin-bottom: 16px; text-transform: uppercase;
}
.hero h1 {
  font-size: 44px; font-weight: 700; line-height: 1.1;
  color: var(--dark); letter-spacing: -.025em; margin-bottom: 18px;
}
.hero-desc {
  font-size: 14.5px; color: var(--mid); line-height: 1.72;
  margin-bottom: 28px; max-width: 430px;
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-sub { font-size: 12px; color: var(--muted); }
.hero-sub a { color: var(--dark); font-weight: 500; text-decoration: underline; }

/* ── DASHBOARD MOCKUP ── */
.dashboard-mockup {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.05);
  overflow: hidden; font-size: 12px;
}
.mockup-titlebar {
  background: var(--off-white); border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: #ddd; }
.mockup-title-text { font-size: 11px; font-weight: 600; color: var(--mid); }
.mockup-body { display: flex; }
.mockup-sidebar {
  width: 110px; border-right: 1px solid var(--border);
  padding: 12px 0; flex-shrink: 0;
}
.sidebar-label {
  font-size: 9.5px; font-weight: 600; color: var(--muted);
  padding: 0 12px; margin-bottom: 6px;
  letter-spacing: .06em; text-transform: uppercase;
}
.mockup-sidebar a {
  display: block; padding: 6px 12px;
  font-size: 11px; color: var(--mid); transition: background .1s;
}
.mockup-sidebar a.active {
  background: var(--border); color: var(--dark); font-weight: 600;
}
.mockup-sidebar a:hover { background: var(--border); }
.mockup-main { flex: 1; padding: 12px; }
.mockup-search {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: 5px;
  padding: 5px 9px; margin-bottom: 12px;
}
.mockup-search i { color: var(--muted); font-size: 10px; }
.mockup-search input {
  border: none; outline: none; font-size: 11px; color: var(--mid);
  background: transparent; width: 100%; font-family: inherit;
}
.mockup-thead {
  display: grid; grid-template-columns: 1.4fr 0.9fr 1.1fr 0.7fr;
  gap: 4px; margin-bottom: 4px;
}
.mockup-thead span {
  font-size: 9.5px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; padding: 3px 5px;
}
.mockup-row {
  display: grid; grid-template-columns: 1.4fr 0.9fr 1.1fr 0.7fr;
  gap: 4px; border-radius: 4px; margin-bottom: 1px;
}
.mockup-row:hover { background: var(--off-white); }
.mockup-row span { font-size: 11px; color: var(--dark); padding: 4px 5px; }
.badge {
  display: inline-flex; align-items: center;
  font-size: 9.5px; font-weight: 500;
  padding: 2px 7px; border-radius: 20px; margin-top: 2px;
}
.b-green  { background: #E6F4EC; color: #277A46; }
.b-orange { background: #FEF2E2; color: #9A5A00; }
.b-blue   { background: #EEF1FD; color: #4050B5; }
.mockup-foot {
  border-top: 1px solid var(--border); padding: 7px 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.mockup-foot span { font-size: 10px; color: var(--muted); }
.mockup-foot a { font-size: 10px; color: var(--dark); font-weight: 600; }

/* ── STATS ── */
.stats {
  padding: 64px 24px; background: var(--white);
  border-top: 1px solid var(--border);
}
.stats-eyebrow {
  text-align: center; font-size: 11.5px; font-weight: 500; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 36px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px; max-width: 840px; margin: 0 auto 44px; text-align: center;
}
.stat-num { font-size: 42px; font-weight: 700; color: var(--dark); letter-spacing: -.025em; line-height: 1.1; }
.stat-sub { font-size: 12px; color: var(--muted); margin-top: 5px; }
.stats-quote {
  max-width: 640px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 28px 36px; text-align: center; background: var(--off-white);
}
.stats-quote p {
  font-size: 15px; color: var(--mid); line-height: 1.72;
  font-style: italic; margin-bottom: 12px;
}
.stats-quote cite { font-size: 12px; color: var(--muted); font-style: normal; font-weight: 500; }

/* ── FEATURES ── */
.features {
  padding: 72px 24px; background: var(--white);
  border-top: 1px solid var(--border);
}
.feature-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 18px; max-width: 960px; margin: 0 auto;
}
.feature-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--off-white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 17px; color: var(--dark);
}
.feature-card h3 { font-size: 14.5px; font-weight: 700; color: var(--dark); margin-bottom: 9px; }
.feature-card p { font-size: 12.5px; color: var(--mid); line-height: 1.65; margin-bottom: 14px; }
.feature-card a { font-size: 12.5px; color: var(--dark); font-weight: 600; }
.feature-card a:hover { text-decoration: underline; }

/* ── PERSONAS ── */
.personas {
  padding: 72px 24px; background: var(--off-white);
  border-top: 1px solid var(--border);
}
.persona-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 14px; max-width: 880px; margin: 0 auto 32px;
}
.persona-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px;
  transition: box-shadow .2s;
}
.persona-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.persona-icon {
  width: 34px; height: 34px; background: var(--off-white);
  border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; font-size: 14px; color: var(--dark);
}
.persona-card h4 { font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.persona-card p { font-size: 12px; color: var(--mid); line-height: 1.6; }
.personas-cta { text-align: center; }

/* ── WORKFLOW ── */
.workflow {
  padding: 72px 24px; background: var(--white);
  border-top: 1px solid var(--border);
}
.workflow-steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 36px; max-width: 900px; margin: 0 auto 24px;
}
.step-num {
  font-size: 56px; font-weight: 700; color: #DDDDD9;
  line-height: 1; margin-bottom: 12px; letter-spacing: -.02em;
}
.workflow-step h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.workflow-step p { font-size: 13px; color: var(--mid); line-height: 1.65; margin-bottom: 10px; }
.workflow-step a { font-size: 12.5px; color: var(--dark); font-weight: 600; }
.workflow-step a:hover { text-decoration: underline; }
.workflow-note { text-align: center; font-size: 13px; color: var(--muted); max-width: 500px; margin: 0 auto; }

/* ── COMMAND CENTER (dark) ── */
.command-center {
  padding: 72px 24px; background: var(--dark); color: var(--white);
}
.command-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.command-left h3 { font-size: 25px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.command-left > p { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 20px; }
.command-left ul { margin-bottom: 26px; }
.command-left ul li {
  font-size: 13px; color: rgba(255,255,255,.7);
  padding: 5px 0; display: flex; align-items: flex-start; gap: 9px; line-height: 1.5;
}
.command-left ul li::before { content: '✓'; color: rgba(255,255,255,.35); font-size: 11px; margin-top: 1px; flex-shrink: 0; }
.command-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* Table Mockup (dark) */
.table-mockup {
  background: #242420; border: 1px solid #333330;
  border-radius: 12px; overflow: hidden; font-size: 12px;
}
.table-mockup-header {
  padding: 10px 14px; border-bottom: 1px solid #333330;
  display: flex; gap: 6px;
}
.tab-btn {
  font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 5px;
  color: rgba(255,255,255,.4); cursor: pointer; transition: all .15s;
}
.tab-btn.active { background: rgba(255,255,255,.1); color: var(--white); }
.table-mockup-body { padding: 14px; }
.tm-label {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,.3);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
}
.tm-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid #2E2E2A;
}
.tm-row:last-of-type { border-bottom: none; }
.tm-name { font-size: 12px; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; }
.badge-new {
  font-size: 9px; font-weight: 700; background: #3B82F6;
  color: white; padding: 1px 6px; border-radius: 10px;
}
.tm-pct { font-size: 12px; color: rgba(255,255,255,.6); }
.tm-bar { height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; margin: 4px 0 10px; }
.tm-bar-fill { height: 100%; background: rgba(255,255,255,.3); border-radius: 2px; }
.tm-stat-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px; margin-top: 10px;
}
.tm-stat-box {
  background: rgba(255,255,255,.04); border: 1px solid #2E2E2A;
  border-radius: 7px; padding: 9px; text-align: center;
}
.tms-num { font-size: 17px; font-weight: 700; color: var(--white); }
.tms-label { font-size: 9px; color: rgba(255,255,255,.35); margin-top: 2px; }

/* ── DAILY PASS ── */
.daily-pass {
  padding: 72px 24px; background: var(--off-white);
  border-top: 1px solid var(--border); text-align: center;
}
.daily-pass-inner { max-width: 580px; margin: 0 auto; }
.daily-pass h3 { font-size: 26px; font-weight: 700; color: var(--dark); margin-bottom: 10px; letter-spacing: -.01em; }
.dp-desc { font-size: 14px; color: var(--mid); margin-bottom: 26px; line-height: 1.65; }
.sample-list {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 26px;
  text-align: left; margin-bottom: 26px;
}
.sample-list h4 { font-size: 12.5px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.sample-list li {
  font-size: 13px; color: var(--mid); padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.55;
}
.sample-list li:last-child { border-bottom: none; }
.sample-list li::before { content: '→'; color: var(--muted); font-size: 10px; margin-top: 2px; flex-shrink: 0; }
.dp-sub { font-size: 12px; color: var(--muted); }
.dp-sub a { color: var(--dark); font-weight: 500; }
.dp-note { font-size: 12px; color: var(--muted); margin-top: 5px; }

/* ── PRICING (dark) ── */
.pricing {
  padding: 80px 24px; background: var(--dark);
  color: var(--white); text-align: center;
}
.pricing-inner { max-width: 540px; margin: 0 auto; }
.pricing-eyebrow { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.pricing h3 { font-size: 27px; font-weight: 700; margin-bottom: 14px; line-height: 1.2; letter-spacing: -.01em; }
.pricing p { font-size: 13.5px; color: rgba(255,255,255,.58); line-height: 1.7; margin-bottom: 28px; }
.pricing-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FAQ ── */
.faq { padding: 72px 24px; background: var(--white); border-top: 1px solid var(--border); }
.faq-inner { max-width: 660px; margin: 0 auto; }
.faq-sub { text-align: center; font-size: 13.5px; color: var(--mid); margin-bottom: 32px; }
.faq-accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; cursor: pointer; transition: background .15s; user-select: none;
}
.faq-question:hover { background: var(--off-white); }
.faq-question h4 { font-size: 13.5px; font-weight: 500; color: var(--dark); }
.faq-icon { font-size: 14px; color: var(--mid); transition: transform .2s; flex-shrink: 0; margin-left: 12px; }
.faq-answer { display: none; padding: 0 20px 16px; }
.faq-answer p { font-size: 13.5px; color: var(--mid); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-contact { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }
.faq-contact a { color: var(--dark); font-weight: 500; }

/* ── FINAL CTA ── */
.final-cta {
  padding: 80px 24px; background: var(--white);
  border-top: 1px solid var(--border); text-align: center;
}
.final-cta-inner { max-width: 500px; margin: 0 auto; }
.final-cta h3 { font-size: 27px; font-weight: 700; color: var(--dark); margin-bottom: 12px; letter-spacing: -.01em; }
.final-cta p { font-size: 14px; color: var(--mid); line-height: 1.65; margin-bottom: 26px; }
.final-cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 30px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid, .workflow-steps { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: repeat(2,1fr); }
  .command-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .persona-grid { grid-template-columns: 1fr; }
  .final-cta-btns, .hero-ctas { flex-direction: column; }
  .hero h1 { font-size: 26px; }
}
