/* ============================================================
   TEZ ERP — Alerts & Business Automation Stylesheet
   Swiss Editorial Typography: -0.055em Tracking, 0.95 Leading
   ============================================================ */

.autoPage {
  zoom: 0.9;
  --autoBlue: #0284c7;
  --autoDark: #09131d;
  --autoVolt: #38bdf8;
  --autoPale: #f0f7fc;
  --autoCardTint: #e0f2fe;
  color: var(--autoDark);
  background: #ffffff;
  font-family: var(--font-body, 'Inter', sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============ 1. HERO SECTION ============ */
.autoHero {
  background: linear-gradient(140deg, #f8fafc 0%, #e0f2fe 55%, #f1f5f9 100%);
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 7vw;
  min-height: 800px;
  padding: 100px 7vw 90px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.autoCopy > span,
.autoStatement > span,
.autoCoreHead > span,
.autoFlowHead > span,
.autoAudience > div > span,
.autoControl > span,
.autoFinal > span {
  letter-spacing: 0.2em;
  color: var(--autoBlue);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.autoHero h1 {
  font-family: var(--font-display, 'Inter', sans-serif);
  letter-spacing: -0.055em;
  margin: 24px 0;
  font-size: clamp(52px, 6.8vw, 98px);
  line-height: 0.94;
  font-weight: 400;
  color: var(--autoDark);
}

.autoHero h1 em {
  color: var(--autoBlue);
  font-style: normal;
}

.autoCopy > p {
  color: #475569;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 400;
  margin: 0;
}

.autoActions {
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  display: flex;
}

.btn-auto-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--autoDark);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(9, 19, 29, 0.25);
}

.btn-auto-primary:hover {
  background: #1e293b;
  box-shadow: 0 6px 20px rgba(9, 19, 29, 0.35);
}

.btn-auto-link {
  color: var(--autoDark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-auto-link:hover {
  color: var(--autoBlue);
}

/* ============ AUTOMATION CONTROL CONSOLE ============ */
.autoConsole {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 18px 18px 0 var(--autoDark);
  border-radius: 4px;
  overflow: hidden;
}

.autoConsole header {
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  justify-content: space-between;
  align-items: center;
  height: auto;
  padding: 24px;
  display: flex;
  position: static;
  background: #ffffff;
}

.autoConsole header div {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.autoConsole header small {
  letter-spacing: 0.16em;
  color: var(--autoBlue);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
}

.autoConsole header b {
  font-size: 22px;
  font-weight: 600;
  color: var(--autoDark);
  letter-spacing: -0.02em;
}

.autoConsole header > span {
  background: #bae6fd;
  color: #0369a1;
  letter-spacing: 0.13em;
  padding: 8px 12px;
  font-size: 9.5px;
  font-weight: 700;
  border-radius: 2px;
}

.autoMetrics {
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.autoMetrics article {
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  flex-direction: column;
  min-height: 150px;
  padding: 24px;
  display: flex;
}

.autoMetrics article:last-child {
  border-right: none;
}

.autoMetrics small {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.autoMetrics strong {
  margin: auto 0 6px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--autoDark);
}

.autoMetrics i {
  color: var(--autoBlue);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.autoTimeline {
  padding: 12px 24px;
}

.autoTimeline > div {
  border-bottom: 1px solid #f1f5f9;
  grid-template-columns: 65px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  display: grid;
}

.autoTimeline > div:last-child {
  border-bottom: none;
}

.autoTimeline span {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.autoTimeline b {
  font-size: 14px;
  font-weight: 500;
  color: var(--autoDark);
}

.autoTimeline em {
  letter-spacing: 0.1em;
  color: var(--autoBlue);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
}

.autoConsole footer {
  background: var(--autoDark);
  color: #ffffff;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  display: flex;
}

.autoConsole footer span {
  color: #ffffff;
  letter-spacing: 0.14em;
  font-size: 9.5px;
  font-weight: 700;
}

.autoConsole footer b {
  font-size: 12.5px;
  font-weight: 400;
  color: #ffffff;
}

/* ============ 2. PROOF PILLARS STRIP ============ */
.autoProof {
  background: var(--autoDark);
  color: #ffffff;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 6vw;
  display: grid;
}

.autoProof span {
  text-align: center;
  letter-spacing: 0.1em;
  border-right: 1px solid #1e293b;
  padding: 28px 20px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.autoProof span:last-child {
  border-right: none;
}

/* ============ 3. EDITORIAL STATEMENT ============ */
.autoStatement {
  background: #ffffff;
  padding: 130px 8vw;
}

.autoStatement h2 {
  font-family: var(--font-display, 'Inter', sans-serif);
  letter-spacing: -0.055em;
  margin: 24px 0;
  font-size: clamp(48px, 6vw, 90px);
  line-height: 0.95;
  font-weight: 400;
  color: var(--autoDark);
  max-width: 1100px;
}

.autoStatement p {
  color: #475569;
  max-width: 800px;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 400;
  margin: 0;
}

/* ============ 4. WHAT TEZ CAN AUTOMATE GRID ============ */
.autoCore {
  background: var(--autoPale);
  padding: 115px 6vw 125px;
}

.autoCoreHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 65px;
}

.autoCoreHead > span {
  display: block;
  margin-bottom: 18px;
}

.autoCoreHead h2 {
  font-family: var(--font-display, 'Inter', sans-serif);
  letter-spacing: -0.055em;
  margin: 0;
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 0.95;
  font-weight: 400;
  color: var(--autoDark);
  text-align: center;
}

.autoCoreGrid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  display: grid;
}

.autoCoreGrid article {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 320px;
  padding: 40px 32px;
  transition: all 0.25s ease;
  display: flex;
}

/* Cards 02, 04, 06 have sky tint */
.autoCoreGrid article:nth-child(2),
.autoCoreGrid article:nth-child(4),
.autoCoreGrid article:nth-child(6) {
  background: var(--autoCardTint);
}

.autoCoreGrid article:hover {
  background: var(--autoCardTint);
  transform: translateY(-5px);
}

.autoCoreGrid small {
  color: var(--autoBlue);
  font-weight: 600;
  font-size: 11px;
}

.autoCoreGrid h3 {
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  font-size: clamp(26px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--autoDark);
}

.autoCoreGrid p {
  color: #475569;
  line-height: 1.65;
  font-size: 17.5px;
  font-weight: 400;
  margin: 0;
  max-width: 380px;
}

.autoCoreGrid article > b {
  letter-spacing: 0.13em;
  margin-top: 20px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--autoBlue);
}

/* ============ 5. FROM RULE TO RESULT FLOW RAIL ============ */
.autoFlow {
  background: var(--autoDark);
  color: #ffffff;
  padding: 110px 6vw 125px;
}

.autoFlowHead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 65px;
}

.autoFlowHead > span {
  color: #ffffff;
  display: block;
  margin-bottom: 18px;
}

.autoFlowHead h2 {
  font-family: var(--font-display, 'Inter', sans-serif);
  letter-spacing: -0.055em;
  margin: 0;
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 0.95;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
}

.autoFlowRail {
  border-top: 1px solid #1e293b;
  border-left: 1px solid #1e293b;
  grid-template-columns: repeat(5, 1fr);
  display: grid;
}

.autoFlowRail article {
  border-bottom: 1px solid #1e293b;
  border-right: 1px solid #1e293b;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 350px;
  padding: 28px;
  transition: all 0.25s ease;
  display: flex;
  background: transparent;
}

.autoFlowRail article:hover {
  background: #0284c7;
  transform: translateY(-6px);
}

.autoFlowRail small {
  color: var(--autoVolt);
  font-weight: 600;
  font-size: 11px;
}

.autoFlowRail article:hover small {
  color: #ffffff;
}

.autoFlowRail h3 {
  margin: 0 0 14px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.autoFlowRail p {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 14.5px;
  font-weight: 400;
  margin: 0;
}

.autoFlowRail article:hover p {
  color: #f1f5f9;
}

/* ============ 6. DIFFERENT AUDIENCES ============ */
.autoAudience {
  background: #f8fafc;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8vw;
  padding: 120px 7vw;
  display: grid;
  align-items: start;
}

.autoAudience h2 {
  font-family: var(--font-display, 'Inter', sans-serif);
  letter-spacing: -0.055em;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.95;
  font-weight: 400;
  color: var(--autoDark);
  margin-top: 18px;
}

.autoAudience > div > p {
  color: #475569;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  margin: 18px 0 0;
}

.audienceRows {
  border-top: 1px solid #cbd5e1;
}

.audienceRows article {
  border-bottom: 1px solid #cbd5e1;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  padding: 22px 0;
  display: grid;
}

.audienceRows small {
  color: var(--autoBlue);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.audienceRows b {
  font-size: 17px;
  font-weight: 500;
  color: var(--autoDark);
}

.audienceRows span {
  letter-spacing: 0.12em;
  color: var(--autoBlue);
  font-size: 9.5px;
  font-weight: 700;
}

/* ============ 7. KEEP CONTROL QUOTE ============ */
.autoControl {
  background: #bae6fd;
  padding: 120px 8vw;
}

.autoControl > span {
  color: #0369a1;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.autoControl blockquote {
  font-family: var(--font-display, 'Inter', sans-serif);
  letter-spacing: -0.055em;
  max-width: 1100px;
  margin: 30px 0;
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 0.95;
  font-weight: 400;
  color: var(--autoDark);
}

.autoControl p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #075985;
  margin: 0;
}

/* ============ 8. CLOSING FINAL BAND ============ */
.autoFinal {
  text-align: center;
  background: linear-gradient(140deg, #e0f2fe, #f8fafc);
  padding: 135px 7vw;
}

.autoFinal > span {
  letter-spacing: 0.2em;
  color: var(--autoBlue);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.autoFinal h2 {
  font-family: var(--font-display, 'Inter', sans-serif);
  letter-spacing: -0.055em;
  max-width: 1100px;
  margin: 26px auto 38px;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.95;
  font-weight: 400;
  color: var(--autoDark);
}

.btn-auto-final {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--autoDark);
  color: #ffffff !important;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(9, 19, 29, 0.25);
  transition: all 0.2s ease;
}

.btn-auto-final:hover {
  background: #1e293b;
  box-shadow: 0 6px 22px rgba(9, 19, 29, 0.35);
}

/* ============ RESPONSIVE MEDIA QUERIES ============ */
@media (max-width: 1050px) {
  .autoFlowRail {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .autoPage {
    zoom: 1;
  }

  .autoHero,
  .autoAudience,
  .autoFlowHead,
  .autoCoreHead {
    grid-template-columns: 1fr;
  }

  .autoFlowHead,
  .autoCoreHead {
    gap: 25px;
  }

  .autoCoreGrid,
  .autoProof {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .autoHero {
    padding: 65px 20px;
    min-height: auto;
  }

  .autoHero h1 {
    font-size: 46px;
  }

  .autoActions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-auto-primary,
  .btn-auto-link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .autoConsole {
    box-shadow: 10px 10px 0 var(--autoDark);
    margin-top: 30px;
  }

  .autoMetrics {
    grid-template-columns: 1fr;
  }

  .autoMetrics article {
    min-height: 115px;
  }

  .autoConsole footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .autoProof,
  .autoFlowRail,
  .autoCoreGrid {
    grid-template-columns: 1fr;
  }

  .autoProof {
    padding: 0 20px;
  }

  .autoProof span {
    border-right: none !important;
    border-bottom: 1px solid #1e293b;
    padding: 20px 16px;
    text-align: center;
    display: block;
  }

  .autoProof span:last-child {
    border-bottom: none;
  }

  .autoStatement,
  .autoFlow,
  .autoCore,
  .autoAudience,
  .autoControl,
  .autoFinal {
    padding: 65px 20px;
  }

  .autoFlowRail article,
  .autoCoreGrid article {
    min-height: 260px;
  }

  .audienceRows article {
    grid-template-columns: 75px 1fr;
  }

  .audienceRows span {
    grid-column: 2;
    margin-top: 6px;
  }

  .autoStatement h2,
  .autoFinal h2 {
    font-size: 46px;
  }
}
