/* ============================================================
   ASLIN POWER TRAILERS — Global Stylesheet
   Version: 1.0  |  2026-06-03
   Fonts: Exo 2 Bold (display) + IBM Plex Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700;800;900&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --black:    #0D0F11;
  --obsidian: #1A1C1E;
  --gold:     #C5A028;
  --gold-dim: #9A7C1E;
  --white:    #F8F6F2;
  --chrome:   #C8C9C7;
  --muted:    #6B7177;

  --font-display: 'Exo 2', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;

  --max-w: 1200px;
  --nav-h: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { color: var(--chrome); line-height: 1.75; }
p + p { margin-top: 1.25rem; }
strong { color: var(--white); font-weight: 600; }

/* ---- Layout Utilities ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--obsidian); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0;
}
.divider--center { margin: 24px auto; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(13, 15, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 160, 40, 0.12);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.nav__logo span { color: var(--gold); }
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrome);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--gold);
  padding: 10px 22px;
  border-radius: 3px;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--white) !important; color: var(--black) !important; }

/* ---- Hamburger toggle ---- */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--open span:nth-child(2) { opacity: 0; }
.nav__toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn--gold {
  background: var(--gold);
  color: var(--black);
}
.btn--gold:hover { background: var(--white); }
.btn--outline {
  border: 1px solid var(--chrome);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost {
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--chrome);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(197,160,40,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}
.hero__inner--split {
  display: grid;
  grid-template-columns: 25% 75%;
  width: 100%;
  max-width: 100%;
  padding: 0;
  min-height: calc(100vh - var(--nav-h));
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(20px, 2vw, 48px) 60px clamp(20px, 3vw, 60px);
  overflow: hidden;
}
.hero__inner--split .hero__tagline {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
}
@media (max-width: 1024px) {
  .hero__inner--split .hero__tagline {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
  }
}
.hero__img-wrap {
  overflow: hidden;
  background: #0D0F11;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 1024px) {
  .hero__inner--split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }
  .hero__content {
    order: 2;
    padding: 40px 24px 60px;
  }
  .hero__img-wrap {
    order: 1;
    aspect-ratio: 16/9;
  }
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 32px;
}
.hero__tagline em {
  font-style: normal;
  color: var(--gold);
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--chrome);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(197,160,40,0.35);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}

/* ---- Category Contrast ---- */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(197,160,40,0.2);
  border: 1px solid rgba(197,160,40,0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 60px;
}
.contrast-col {
  padding: 48px 40px;
  background: var(--obsidian);
}
.contrast-col--active { background: rgba(197,160,40,0.06); }
.contrast-col__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.contrast-col--active .contrast-col__label { color: var(--gold); }
.contrast-col h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--muted);
}
.contrast-col--active h3 { color: var(--white); }
.contrast-col p { font-size: 0.95rem; }

/* ---- Product Cards ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.product-card {
  background: var(--obsidian);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.product-card:hover {
  border-color: rgba(197,160,40,0.4);
  transform: translateY(-4px);
}
.product-card__img {
  aspect-ratio: 16/9;
  background: #0D0F11;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.product-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card__img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, var(--obsidian));
}
.product-card__body { padding: 32px 28px; }
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.product-card__full {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
}
.spec-row:last-of-type { border-bottom: none; }
.spec-label { color: var(--muted); }
.spec-value { color: var(--white); font-weight: 600; }
.spec-value--gold { color: var(--gold); }
.product-card__cta {
  margin-top: 28px;
  width: 100%;
  display: block;
  text-align: center;
}

/* ---- Manifesto ---- */
.manifesto {
  max-width: 780px;
  margin: 0 auto;
}
.manifesto p {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.8;
  color: var(--chrome);
  margin-bottom: 1.5rem;
}
.manifesto p strong { color: var(--white); }
.manifesto .manifesto__close {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--gold);
  margin-top: 2.5rem;
}

/* ---- Pillars ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.pillar {
  background: var(--obsidian);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 40px 36px;
  border-left: 3px solid var(--gold);
}
.pillar__number {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.pillar h3 { font-size: 1.3rem; margin-bottom: 14px; }
.pillar p { font-size: 0.9rem; }

/* ---- Blog Cards ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.blog-card {
  background: var(--obsidian);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover { border-color: rgba(197,160,40,0.3); transform: translateY(-3px); }
.blog-card__tag {
  padding: 28px 28px 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-display);
}
.blog-card__body { padding: 16px 28px 32px; }
.blog-card h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 10px; color: var(--white); }
.blog-card p { font-size: 0.85rem; line-height: 1.6; }
.blog-card__link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog-card__link::after { content: ' →'; }

/* ---- Article Layout ---- */
.article-hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.article-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 20px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}
.article-body h2 {
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
  color: var(--white);
}
.article-body h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--white);
}
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--chrome);
}
.article-body li { margin-bottom: 0.6rem; line-height: 1.7; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.callout {
  background: var(--obsidian);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  border-radius: 0 4px 4px 0;
  margin: 2rem 0;
}
.callout p { color: var(--white); font-size: 1rem; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.88rem;
}
.data-table th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 2px solid rgba(197,160,40,0.3);
  padding: 10px 14px;
  text-align: left;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--chrome);
}
.data-table tr:hover td { background: var(--obsidian); color: var(--white); }
.article-cta {
  background: var(--obsidian);
  border: 1px solid rgba(197,160,40,0.25);
  border-radius: 4px;
  padding: 40px;
  margin: 3rem 0;
  text-align: center;
}
.article-cta h3 { color: var(--white); margin-bottom: 12px; }
.article-cta p { font-size: 0.9rem; margin-bottom: 24px; }

/* ---- Footer ---- */
.footer {
  background: var(--obsidian);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.footer__brand p { font-size: 0.85rem; margin-top: 16px; max-width: 300px; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer__col ul li a:hover { color: var(--gold); }
.footer__bottom {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p { font-size: 0.8rem; color: var(--muted); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 0.78rem; color: var(--muted); transition: color 0.2s; }
.footer__legal a:hover { color: var(--gold); }

/* ---- Page Hero (non-home) ---- */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 60px;
}
.page-hero__eyebrow { margin-bottom: 16px; }
.page-hero h1 { max-width: 800px; }
.page-hero__sub {
  font-size: 1.1rem;
  color: var(--chrome);
  max-width: 600px;
  margin-top: 20px;
}

/* ---- Stat Bar ---- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 64px;
}
.stat-item {
  background: var(--obsidian);
  padding: 32px 28px;
  text-align: center;
}
.stat-item__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.stat-item__label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ---- About Page ---- */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-block--reverse { direction: rtl; }
.story-block--reverse > * { direction: ltr; }
.story-img {
  aspect-ratio: 4/5;
  background: var(--obsidian);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-display);
  position: relative;
  overflow: hidden;
}
.story-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- HubSpot Form Styling ---- */
#hubspot-form-container {
  max-width: 480px;
  margin: 0 auto;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .story-block { grid-template-columns: 1fr; gap: 48px; }
  .story-block--reverse { direction: ltr; }

  /* Product section layout on tablet/mobile */
  .section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 15, 17, 0.97);
    border-bottom: 1px solid rgba(197, 160, 40, 0.15);
    padding: 8px 0 20px;
  }
  .nav__links--open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 14px 24px;
  }
  .nav__links .nav__cta {
    display: block;
    margin: 12px 24px 0;
    text-align: center;
    border-radius: 3px;
    padding: 12px 24px;
  }

  .products-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contrast-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .hero__tagline { font-size: clamp(2.5rem, 10vw, 4rem); }
  .section { padding: 64px 0; }

  /* Product section layout on mobile */
  .section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
