/*
 * ============================================================================
 * Copyright (c) 2025 ATH SOLUTIONS (PTY) LTD. All rights reserved.
 * KwaZulu-Natal, Republic of South Africa.
 * ============================================================================
 *
 * @BEGIN Developer Log Header Block
 * @FILENAME: marketing.css
 * @TITLE: NEXATHON -- Transport, Towing & Workshop Management System
 * @DESCRIPTION: marketing -- Public brochure site styles (nav, hero, bento feature grid, sections, CTA banner)
 * @AUTHOR: Ary van der Pijl
 * @COMPANY: ATH SOLUTIONS (PTY) LTD
 * @WEBSITE: https://www.ath.solutions/
 * @EMAIL: info@ath.solutions
 * @COPYRIGHT: All Rights Reserved
 * @LICENSE: ATH SOLUTIONS - PROPRIETARY SOFTWARE LICENCE AGREEMENT (https://www.ath.solutions/documents/ath_solutions_software_licence_agreement.pdf)
 *
 * BEGIN CHANGELOG
 * @IMPORTANT NOTICE: Developers working on these files MUST update and maintain the Developers Change Log, failure to do is not an option:
 * !==================================================================================================================================================================
 * VERSION 1.0.1
 * + File Created | Ary van der Pijl | 2026/07/31 | FEATURE | Public brochure site (Home/Features/Industries/About/Contact) -- built entirely from the existing design-tokens.css palette (no new hardcoded colours), reusing .card/.btn from main.css. Bento grid for the feature showcase, Material Elevation for everything else, matching the app's existing look. |
 * ==================================================================================================================================================================!
 * END CHANGELOG
 */

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.mkt-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.mkt-nav__logo img {
  height: 32px;
  width: auto;
  display: block;
}

.mkt-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin: 0 auto 0 var(--space-8);
}

.mkt-nav__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  transition: color var(--transition-base);
}

.mkt-nav__links a:hover,
.mkt-nav__links a.active {
  color: var(--color-text);
}

.mkt-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.mkt-nav__toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: var(--space-2);
}

@media (max-width: 860px) {
  .mkt-nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
    margin: 0;
  }

  .mkt-nav__links.open { display: flex; }

  .mkt-nav__links a {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-border);
  }

  .mkt-nav__toggle { display: block; }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.mkt-hero {
  position: relative;
  padding: var(--space-16) var(--space-6) var(--space-12);
  text-align: center;
  overflow: hidden;
}

.mkt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--color-primary) 12%, transparent), transparent 70%);
  pointer-events: none;
}

.mkt-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mkt-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-text);
  max-width: 900px;
  margin: var(--space-6) auto var(--space-5);
}

.mkt-hero__title em {
  font-style: normal;
  background: var(--gradient-primary-sheen);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mkt-hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: var(--lh-loose);
}

.mkt-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.mkt-hero__actions .btn {
  height: 44px;
  padding: 0 var(--space-6);
  font-size: var(--text-md);
}

/* Repeating road-divider motif -- brand accent, used sparingly between sections */
.mkt-divider {
  height: 3px;
  background: var(--road-divider);
  opacity: 0.5;
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── Trust / compliance badge strip ────────────────────────────────────── */
.mkt-trust-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.mkt-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
}

.mkt-trust-badge .material-icons-round {
  font-size: 16px;
  color: var(--color-primary);
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
.mkt-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
}

.mkt-section--tight { padding-top: var(--space-12); padding-bottom: var(--space-12); }

.mkt-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.mkt-section-header h2 {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin: 0 0 var(--space-4);
}

.mkt-section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--lh-loose);
  margin: 0;
}

.mkt-eyebrow {
  display: block;
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

/* ─── Bento feature grid ─────────────────────────────────────────────────── */
.mkt-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: var(--space-4);
}

.mkt-bento-card {
  grid-column: span 2;
  background: var(--color-surface);
  background-image: var(--gradient-metal-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), var(--shadow-inset-hairline);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.mkt-bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-light);
}

.mkt-bento-card--wide  { grid-column: span 4; }
.mkt-bento-card--tall  { grid-row: span 2; }

.mkt-bento-card .material-icons-round {
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.mkt-bento-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin: 0 0 var(--space-2);
}

.mkt-bento-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
  margin: 0;
}

@media (max-width: 900px) {
  .mkt-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .mkt-bento-card, .mkt-bento-card--wide { grid-column: span 2; }
  .mkt-bento-card--tall { grid-row: auto; }
}

@media (max-width: 560px) {
  .mkt-bento { grid-template-columns: 1fr; }
  .mkt-bento-card, .mkt-bento-card--wide { grid-column: span 1; }
}

/* ─── Feature deep-dive (Features page) ─────────────────────────────────── */
.mkt-deepdive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.mkt-deepdive-card {
  background: var(--color-surface);
  background-image: var(--gradient-metal-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), var(--shadow-inset-hairline);
  padding: var(--space-8);
}

.mkt-deepdive-card h3 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin: 0 0 var(--space-4);
}

.mkt-deepdive-card h3 .material-icons-round {
  font-size: 24px;
  color: var(--color-primary);
}

.mkt-deepdive-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mkt-deepdive-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--lh-normal);
}

.mkt-deepdive-card li .material-icons-round {
  font-size: 18px;
  color: var(--color-success);
  margin-top: 1px;
}

@media (max-width: 900px) {
  .mkt-deepdive { grid-template-columns: 1fr; }
}

/* ─── 3-column "why us" ──────────────────────────────────────────────────── */
.mkt-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .mkt-cols-3 { grid-template-columns: 1fr; }
}

.mkt-col-card {
  text-align: center;
  padding: var(--space-8);
}

.mkt-col-card .material-icons-round {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.mkt-col-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin: 0 0 var(--space-3);
}

.mkt-col-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-loose);
  margin: 0;
}

/* ─── Industry cards ─────────────────────────────────────────────────────── */
.mkt-industry-card {
  background: var(--color-surface);
  background-image: var(--gradient-metal-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), var(--shadow-inset-hairline);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.mkt-industry-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.mkt-industry-card__header .material-icons-round {
  font-size: 32px;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.mkt-industry-card__header h3 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin: 0;
}

.mkt-industry-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

@media (max-width: 700px) {
  .mkt-industry-card__grid { grid-template-columns: 1fr; }
}

.mkt-industry-card__grid h4 {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 var(--space-3);
}

.mkt-industry-card__grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mkt-industry-card__grid li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
  padding-left: var(--space-5);
  position: relative;
}

.mkt-industry-card__grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ─── CTA banner ─────────────────────────────────────────────────────────── */
.mkt-cta {
  max-width: 1200px;
  margin: 0 auto var(--space-16);
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-surface-2) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.mkt-cta h2 {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin: 0 0 var(--space-3);
}

.mkt-cta p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-8);
}

.mkt-cta .mkt-hero__actions .btn { height: 44px; }

/* ─── About / Contact ────────────────────────────────────────────────────── */
.mkt-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (max-width: 700px) {
  .mkt-contact-grid { grid-template-columns: 1fr; }
}

.mkt-contact-card {
  background: var(--color-surface);
  background-image: var(--gradient-metal-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), var(--shadow-inset-hairline);
  padding: var(--space-8);
  text-align: center;
}

.mkt-contact-card .material-icons-round {
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.mkt-contact-card h3 {
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin: 0 0 var(--space-2);
}

.mkt-contact-card a,
.mkt-contact-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-decoration: none;
  margin: 0;
}

.mkt-contact-card a:hover { color: var(--color-primary); }
