/* AutoAsset.AI - shared stylesheet */

:root {
  --bg: #000000;
  --bg-card: #0F0F0F;
  --bg-elevated: #161616;
  --border: rgba(63, 203, 126, 0.18);
  --border-strong: rgba(63, 203, 126, 0.5);
  --text: #F5F5F5;
  --text-muted: #8A8A8A;
  --text-dim: #5C5C5C;
  --green: #3FCB7E;
  --green-light: #7CE2A0;
  --green-dim: #2EAA68;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-light);
}

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  position: relative;
}

.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

/* Fallback text wordmark hidden when image loads;
   shown if image fails (we add JS handler for that) */
.nav-logo-text-fallback {
  display: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

.nav-logo-text-fallback .dot { color: var(--green); }

.nav-logo.image-failed .nav-logo-img { display: none; }
.nav-logo.image-failed .nav-logo-text-fallback { display: inline; }

.nav-links {
  display: flex;
  gap: 2.4rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  background: var(--green);
  color: var(--bg) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--green-light);
  color: var(--bg) !important;
  transform: translateY(-1px);
}

/* === Container === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%);
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(63, 203, 126, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(63, 203, 126, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #000000 0%, #050505 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

/* Hero positioning line: editorial italic, no box */
.hero-positioning {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--green-light);
  margin-bottom: 1.4rem;
  line-height: 1.4;
  letter-spacing: 0.005em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--green);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: var(--bg) !important;
}

.btn-primary:hover {
  background: var(--green-light);
  color: var(--bg) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(63, 203, 126, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(63, 203, 126, 0.08);
  border-color: var(--green);
  color: var(--text) !important;
}

/* === Sections === */
section {
  padding: 6rem 0;
  position: relative;
}

.section-eyebrow {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  max-width: 820px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.65;
  margin-bottom: 3.5rem;
}

/* === Pull-quote / problem === */
.problem {
  background: linear-gradient(180deg, transparent, rgba(63, 203, 126, 0.025), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.problem-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.problem-quote .green-rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green);
  margin: 0 auto 2rem;
}

/* === Feature Cards === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-tag {
  display: inline-block;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.card-desc {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* === Three-channel section === */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.channel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  position: relative;
}

.channel-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--green-dim);
  opacity: 0.7;
}

.channel-cap {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.channel-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.channel-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* === Image-paired section === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-elevated);
  border-radius: 14px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%);
}

.split-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.split-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.split-content p strong { color: var(--text); }

/* === Team / Bio cards === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.bio {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 2.25rem;
  position: relative;
}

.bio-role {
  display: inline-block;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.bio-name {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.bio-text {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
}

.bio-text p { margin-bottom: 0.9rem; }
.bio-text p:last-child { margin-bottom: 0; }

.bio-divider {
  height: 1px;
  background: var(--border);
  margin: 1.6rem 0;
}

.bio-email {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--green);
}

/* === Image strip === */
.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3rem 0;
}

.strip-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.strip-img:hover { transform: scale(1.02); }

/* === Contact === */
.contact-hero {
  text-align: center;
  padding: 8rem 0 4rem;
}

.contact-card {
  max-width: 540px;
  margin: 3rem auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 3rem 2.5rem;
  text-align: center;
}

.contact-label {
  font-size: 0.78rem;
  color: var(--green);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}

.contact-email {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
  word-break: break-all;
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: #050505;
  margin-top: 4rem;
}

.footer-row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.footer-brand .dot { color: var(--green); }

.footer-meta {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-container { padding: 0 1.25rem; gap: 1rem; }
  .nav-links { gap: 1.25rem; }
  .nav-cta { padding: 0.45rem 1rem; font-size: 0.85rem; }
  .container, .container-narrow { padding: 0 1.25rem; }
  .hero { min-height: 70vh; padding: 4rem 0 3rem; }
  section { padding: 4rem 0; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .image-strip { grid-template-columns: 1fr; gap: 0.75rem; }
  .team-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* === Utilities === */
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
