/* Public marketing site (Home, Features, Pricing, Partners, Contact) -
   kept separate from app.css so nothing here can affect the logged-in app. */

.mkt-body { background: var(--bg); color: var(--text); }

.mkt-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.mkt-nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mkt-logo { height: 30px; width: auto; display: block; }
.mkt-logo-suffix { font-weight: 750; font-size: 17px; letter-spacing: -0.01em; color: var(--text); }
.mkt-nav-links { display: flex; align-items: center; gap: 30px; }
.mkt-nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 14.5px; padding: 6px 0; position: relative; }
.mkt-nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 2px;
  background: var(--primary); transform: scaleX(0); transition: transform .15s var(--ease, ease);
}
.mkt-nav-links a:hover { color: var(--text); }
.mkt-nav-links a.active { color: var(--primary); }
.mkt-nav-links a.active::after { transform: scaleX(1); }
.mkt-nav-cta { display: flex; align-items: center; gap: 10px; }
.mkt-nav-toggle { display: none; }

.mkt-container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.mkt-hero { padding: 76px 0 40px; text-align: center; }
.mkt-hero-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 12.5px; margin-bottom: 20px;
}
.mkt-hero h1 { font-size: 46px; font-weight: 850; letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 18px; }
.mkt-hero h1 span { color: var(--primary); }
.mkt-hero p.lead { font-size: 18px; color: var(--text-muted); max-width: 640px; margin: 0 auto 32px; line-height: 1.6; }
.mkt-hero-ctas { display: flex; gap: 14px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.mkt-hero-note { font-size: 13px; color: var(--text-faint); }

.mkt-shot { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); margin: 44px auto 0; max-width: 1000px; }
.mkt-shot img { display: block; width: 100%; height: auto; }

.mkt-section { padding: 72px 0; }
.mkt-section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mkt-section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.mkt-eyebrow { color: var(--primary); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.mkt-section-head h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
.mkt-section-head p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin: 0; }

.mkt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mkt-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); }
.mkt-card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.mkt-card h3 { font-size: 16.5px; font-weight: 750; margin: 0 0 8px; }
.mkt-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0; }

.mkt-feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 84px; }
.mkt-feature-row:last-child { margin-bottom: 0; }
.mkt-feature-row.reverse .mkt-feature-text { order: 2; }
.mkt-feature-row.reverse .mkt-feature-shot { order: 1; }
.mkt-feature-text h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.mkt-feature-text p { color: var(--text-muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 18px; }
.mkt-feature-text ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mkt-feature-text ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text); }
.mkt-feature-text ul li i { color: var(--success); margin-top: 3px; }
.mkt-feature-shot { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.mkt-feature-shot img { display: block; width: 100%; height: auto; }

.mkt-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.mkt-plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.mkt-plan.featured { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light), var(--shadow-md); position: relative; }
.mkt-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.mkt-plan h3 { font-size: 18px; font-weight: 750; margin: 0 0 6px; }
.mkt-plan .price { font-size: 38px; font-weight: 850; letter-spacing: -0.02em; margin: 4px 0 2px; }
.mkt-plan .price small { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.mkt-plan .trial-note { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.mkt-plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.mkt-plan ul li { display: flex; gap: 9px; font-size: 14px; align-items: flex-start; }
.mkt-plan ul li i { color: var(--success); margin-top: 3px; }

.mkt-cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center; margin: 0 auto; }
.mkt-cta-band h2 { font-size: 30px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
.mkt-cta-band p { opacity: .9; font-size: 16px; margin: 0 0 28px; }
.mkt-cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.mkt-cta-band .btn-primary:hover { background: #f0f4ff; }

.mkt-form-card { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }

.mkt-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 960px; margin: 0 auto; align-items: start; }
.mkt-contact-info { display: flex; flex-direction: column; gap: 22px; }
.mkt-contact-item { display: flex; gap: 14px; align-items: flex-start; }
.mkt-contact-item .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mkt-contact-item strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.mkt-contact-item span, .mkt-contact-item a { font-size: 14px; color: var(--text-muted); text-decoration: none; }

.mkt-footer { border-top: 1px solid var(--border); padding: 48px 0 28px; background: var(--surface); }
.mkt-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.mkt-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mkt-footer-brand .mkt-logo { height: 26px; }
.mkt-footer p.tagline { color: var(--text-muted); font-size: 13.5px; max-width: 260px; line-height: 1.6; }
.mkt-footer h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); margin: 0 0 14px; }
.mkt-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mkt-footer a { text-decoration: none; color: var(--text-muted); font-size: 14px; }
.mkt-footer a:hover { color: var(--primary); }
.mkt-footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 13px; color: var(--text-faint); }

.mkt-alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.mkt-alert.success { background: var(--success-light); color: var(--success); }
.mkt-alert.error { background: var(--danger-light); color: var(--danger); }

@media (max-width: 900px) {
  .mkt-nav-links { display: none; }
  .mkt-grid, .mkt-pricing-grid, .mkt-feature-row, .mkt-footer-grid, .mkt-contact-grid { grid-template-columns: 1fr; }
  .mkt-feature-row.reverse .mkt-feature-text, .mkt-feature-row.reverse .mkt-feature-shot { order: initial; }
  .mkt-hero h1 { font-size: 32px; }
  .mkt-hero p.lead { font-size: 16px; }
  .mkt-cta-band { padding: 36px 24px; }
}
