/* ===========================================================
   AUREMIX — Shared Stylesheet
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Colors — Auremix palette */
  --primary: #01292d;
  --bg: #001a1d;
  --bg-alt: #01292d;
  --card: #08363b;
  --card-border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.05);
  --white: #ffffff;
  --text-body: #eaf2f2;
  --text-dim: #9fb3b5;
  --accent: #57e5d3;
  --accent-hover: #73fff0;
  --accent-dim: #2f7d74;
  --accent-glow: rgba(87, 229, 211, 0.35);

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1400px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ===========================================================
   Eyebrow / labels
   =========================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}



/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--white);
  color: #0a0f14;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-outline:hover { border-color: var(--accent-hover); color: var(--accent-hover); }

.btn-sm { padding: 9px 16px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  border: 1px solid var(--card-border);
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.link-arrow:hover { border-color: var(--accent-hover); color: var(--accent-hover); }
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ===========================================================
   Header / Nav
   =========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.site-header .logo,
.site-header .nav-links a {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--white);
}

.logo img {
  height: 80px;
  width: auto;
  margin-top: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent);
}

.header-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 24px 32px 28px;
    border-bottom: 1px solid var(--card-border);
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
  }
  .nav-toggle span { height: 2px; background: var(--white); border-radius: 2px; }
  .header-cta .btn-outline { display: none; }
}

/* ===========================================================
   Hero shared
   =========================================================== */
.page-hero {
  padding: calc(var(--header-h) + 40px) 0 56px;
  border-bottom: 1px solid var(--border-soft);
}

/* ===========================================================
   Cards
   =========================================================== */
.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(87, 229, 211, 0.08);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.icon-badge svg { width: 28px; height: 28px; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: rgba(87, 229, 211, 0.35); transform: translateY(-3px); }

.card h3 { font-family: var(--font-display); font-size: 17px; color: var(--white); margin-bottom: 8px; font-weight: 600; }
.card p { font-size: 14px; color: var(--text-dim); }

/* ===========================================================
   Section heading pattern
   =========================================================== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--white);
  font-weight: 600;
  line-height: 1.25;
  max-width: 560px;
}
.section-eyebrow-block .eyebrow { margin-bottom: 12px; }

section.section-pad { padding: 88px 0; }
section.section-pad.alt { background: var(--bg-alt); }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 28px;
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand p {
  font-size: 14px;
  margin: 16px 0 20px;
  max-width: 280px;
  color: var(--text-dim);
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: all 0.2s ease;
}
.footer-social a:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.footer-social svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: var(--text-dim); transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--accent-hover); }

.footer-cta-box {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.footer-cta-box p { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--accent-hover); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===========================================================
   Stats bar (shared pattern)
   =========================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.stat-item {
  padding: 26px 20px;
  text-align: left;
  border-right: 1px solid var(--card-border);
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--white);
  font-weight: 700;
}
.stat-item .label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

@media (max-width: 700px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}
/* --- CTA banner --- */
.cta-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  padding: 70px 48px;
  background: var(--bg);
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--bg) 0%,
    rgba(0, 26, 29, 0.9) 35%,
    rgba(0, 26, 29, 0.5) 60%,
    rgba(0, 26, 29, 0.15) 100%);
  pointer-events: none;
}
.cta-banner-content { position: relative; z-index: 1; max-width: 520px; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-banner p { font-size: 14.5px; color: var(--text-dim); margin-bottom: 28px; max-width: 420px; }
