/* ===================================================================
   Acme Inc — Landing Page Styles
   Dark industrial aesthetic. Space Grotesk headings, DM Sans body.
   =================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c0c0f;
  --bg-surface: #141419;
  --bg-elevated: #1c1c24;
  --text: #e8e4de;
  --text-muted: #8a857d;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --border: #2a2a35;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* --- Typography --- */
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -0.02em; }

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

/* --- Layout --- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* --- Nav --- */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-brand span { color: var(--accent); }
.nav-cta {
  font-size: 0.85rem;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

/* --- Hero --- */
.hero {
  padding: 100px 0 80px;
  position: relative;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 3px;
  background: rgba(245, 158, 11, 0.06);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 700px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  color: var(--bg);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* Decorative accent line */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* --- Features --- */
.features {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.features-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-weight: 500;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.25s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}
.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 6px;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Audience --- */
.audience {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.audience-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.audience-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}
.audience h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
.audience p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.audience-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-card {
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.stat-card .stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- CTA / Email Capture --- */
.cta {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.email-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.email-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.email-form input[type="email"]::placeholder {
  color: var(--text-muted);
}
.email-form input[type="email"]:focus {
  border-color: var(--accent);
}
.email-form button {
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.email-form button:hover {
  background: var(--accent-hover);
}
.email-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Success / Error states */
.form-success {
  padding: 16px 24px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  color: #6ee7b7;
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
}
.form-error {
  padding: 16px 24px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  color: #fca5a5;
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 20px;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-email {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-email:hover {
  color: var(--accent);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .audience-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { padding: 64px 0 48px; }
  .hero::after { display: none; }
  .features, .audience, .cta { padding: 56px 0; }
  .email-form {
    flex-direction: column;
  }
  .email-form button {
    width: 100%;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .nav-cta { display: none; }
}
