/* Digilign Design System — extracted from ad-audit landing page */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --highlight: #E4FF1A;
  --blue: #2D40F9;
  --dark-bg: #1D1E20;
  --card-bg: #27282C;
  --card-hover: #32333A;
  --text: #F1F5F9;
  --dim: #94A3B8;
  --card-border: #35363A;
  --border-subtle: #2A2B30;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark-bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  background: var(--dark-bg);
  z-index: 100;
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 32px; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--dim);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-cta {
  display: inline-block;
  background: var(--highlight);
  color: #1D1E20;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(228, 255, 26, 0.25);
  text-decoration: none;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger svg { display: block; }

/* ── HERO ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 .accent,
h1 .accent, h2 .accent, .accent { color: var(--highlight); }
.hero .subhead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--dim);
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--highlight);
  color: #1D1E20;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(228, 255, 26, 0.3);
  text-decoration: none;
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--highlight);
  background: rgba(228, 255, 26, 0.05);
  text-decoration: none;
}

/* ── SECTIONS ── */
section {
  padding: 80px 0;
}
section.alt-bg {
  background: #1A1B1D;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--dim);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(228, 255, 26, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--highlight);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.card p {
  color: var(--dim);
  font-size: 0.95rem;
  line-height: 1.6;
}
.card ul {
  list-style: none;
  margin-top: 16px;
}
.card ul li {
  color: var(--dim);
  font-size: 0.9rem;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--highlight);
}

/* ── GRIDS ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── TWO-PATH CARDS ── */
.path-cards {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.path-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.path-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.path-card p {
  color: var(--dim);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.path-card.primary {
  border-color: rgba(228, 255, 26, 0.2);
}

/* ── STAT CARDS ── */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}
.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--highlight);
  margin-bottom: 8px;
}
.stat-card .stat-label {
  color: var(--dim);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step {
  text-align: center;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--highlight);
  color: #1D1E20;
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step p {
  color: var(--dim);
  font-size: 0.9rem;
}

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 24px;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px;
  max-width: 480px;
  margin: 0 auto 48px;
  position: relative;
}
.product-card .badge {
  display: inline-block;
  background: var(--highlight);
  color: #1D1E20;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.product-card .price {
  font-size: 1.1rem;
  color: var(--highlight);
  font-weight: 700;
  margin-bottom: 16px;
}
.product-card .features {
  list-style: none;
  margin-bottom: 24px;
}
.product-card .features li {
  color: var(--dim);
  font-size: 0.95rem;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}
.product-card .features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--highlight);
  font-weight: 700;
}

/* ── COMING SOON CARDS ── */
.coming-soon-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px;
  opacity: 0.5;
  text-align: center;
}
.coming-soon-card .badge {
  display: inline-block;
  background: var(--card-border);
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.coming-soon-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.coming-soon-card p {
  color: var(--dim);
  font-size: 0.85rem;
}

/* ── CASE STUDY CARDS ── */
.case-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.case-tag {
  display: inline-block;
  background: rgba(228, 255, 26, 0.1);
  color: var(--highlight);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.case-stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--highlight);
  margin-bottom: 12px;
}
.case-card p {
  color: var(--dim);
  margin-bottom: 20px;
}
.case-link {
  color: var(--highlight);
  font-weight: 600;
  font-size: 0.95rem;
}
.case-link:hover { text-decoration: underline; }

/* ── ABOUT SECTIONS ── */
.about-block {
  max-width: 720px;
  margin: 0 auto 48px;
}
.about-block h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-block p {
  color: var(--dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--card-border);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-brand p {
  color: var(--dim);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 300px;
}
.footer-links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; text-decoration: none; }
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.social-links a {
  color: var(--dim);
  transition: color 0.2s;
}
.social-links a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  color: var(--dim);
  font-size: 0.8rem;
  text-align: center;
}

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--card-border);
  padding: 24px;
  z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none;
  margin-bottom: 16px;
}
.mobile-menu li { margin-bottom: 12px; }
.mobile-menu a {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .hero { padding: 60px 0 48px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .path-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 48px 0; }
  .stat-card .stat-value { font-size: 1.6rem; }
}
