/* V25 Retrofuturism / Dopamine - Highway 1 Digital */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400;500;600;700&f[]=general-sans@400;500;600&display=optional');

:root {
  --bg: #2a0845;
  --text: #ffffff;
  --text-muted: #c0b0d0;
  --lime: #c8ff00;
  --pink: #ff2d7b;
  --blue: #00b4ff;
  --card-bg: rgba(255,255,255,0.05);
  --border: rgba(200,255,0,0.2);
  --font-heading: 'Clash Display', sans-serif;
  --font-body: 'General Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
body::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #2a0845, #1a0530, #0d0420, #2a0845);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -2;
}
body::after {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(200,255,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* CRT scanlines */
main::after {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px);
  pointer-events: none;
  z-index: 9998;
}

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

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  padding: 0.5rem 1rem; background: var(--lime); color: var(--bg);
  border-radius: 0 0 4px 4px; font-weight: 600;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Chrome text */
.chrome {
  background: linear-gradient(135deg, #e0e0e0, #fff, #a0a0a0, #fff, #c0c0c0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow card */
.glow-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.glow-card:hover {
  box-shadow: 0 0 20px rgba(200,255,0,0.3), 0 0 40px rgba(255,45,123,0.15);
  border-color: var(--lime);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(42,8,69,0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0; contain: layout style;
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  text-decoration: none;
}
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a {
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); text-decoration: none; }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 6px; padding: 0.5rem; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 0.75rem 2rem;
  border-radius: 6px; font-family: var(--font-heading);
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: all 0.2s; border: none;
}
.btn--lime { background: var(--lime); color: var(--bg); }
.btn--lime:hover { background: #d4ff33; text-decoration: none; box-shadow: 0 0 20px rgba(200,255,0,0.4); }
.btn--outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn--outline:hover { background: rgba(0,180,255,0.1); text-decoration: none; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero */
.hero { padding: 8rem 0 6rem; contain: layout style; }
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700; line-height: 1.05; margin-bottom: 1.5rem;
}
.hero .accent { color: var(--lime); -webkit-text-fill-color: var(--lime); }
.hero p { font-size: 1.125rem; color: var(--text-muted); max-width: 550px; margin-bottom: 2.5rem; }

/* Stats */
.stats { padding: 4rem 0; contain: layout style; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card { text-align: center; padding: 2rem; }
.stat-card__number {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700;
  color: var(--lime); line-height: 1;
}
.stat-card__label {
  font-size: 0.75rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.5rem;
}

/* Services */
.services { padding: 5rem 0; contain: layout style; }
.section-header { margin-bottom: 3rem; }
.section-header h2 {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem;
}
.section-header p { color: var(--text-muted); font-size: 1.125rem; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { border-top: 3px solid var(--lime); }
.service-card--pink { border-top-color: var(--pink); }
.service-card--blue { border-top-color: var(--blue); }
.service-card__icon { margin-bottom: 1rem; }
.service-card__icon svg { width: 48px; height: 48px; }
.service-card h3 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.service-card ul { list-style: none; }
.service-card li {
  padding: 0.25rem 0; font-size: 0.85rem; color: var(--text-muted);
  padding-left: 1.25rem; position: relative;
}
.service-card li::before { content: '//'; position: absolute; left: 0; color: var(--lime); font-size: 0.75rem; }
.service-card--pink li::before { color: var(--pink); }
.service-card--blue li::before { color: var(--blue); }

/* Services page */
.services-page__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* Testimonials */
.testimonials { padding: 5rem 0; contain: layout style; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { border-left: 3px solid; }
.testimonial-card:nth-child(1) { border-color: var(--lime); }
.testimonial-card:nth-child(2) { border-color: var(--pink); }
.testimonial-card:nth-child(3) { border-color: var(--blue); }
.testimonial-card blockquote { font-size: 0.95rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-card__author { font-weight: 600; }
.testimonial-card__role { font-size: 0.8rem; color: var(--text-muted); }

/* CTA */
.cta {
  padding: 5rem 0; text-align: center;
  background: linear-gradient(135deg, rgba(200,255,0,0.15), rgba(255,45,123,0.15)), rgba(42,8,69,0.9);
  border-radius: 24px; margin: 2rem 0;
  contain: layout style;
}
.cta h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta p { color: var(--text-muted); margin-bottom: 2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; }
.form-card { background: #1a0530; border: 2px solid var(--border); border-radius: 12px; padding: 2.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600; color: var(--lime);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(200,255,0,0.15);
  border-radius: 6px; color: var(--text); font-family: var(--font-body); font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(200,255,0,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: #1a0530; }

.info-card { border: 2px solid var(--border); }
.info-card h3 { margin-bottom: 1.5rem; }
.info-card__item { margin-bottom: 1.25rem; }
.info-card__item strong {
  display: block; font-size: 0.7rem; color: var(--lime);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem;
}
.info-card__item a, .info-card__item span { color: var(--text-muted); }

/* Page Hero */
.page-hero { padding: 6rem 0 3rem; contain: layout style; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2rem 0; contain: layout style; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__logo { font-family: var(--font-heading); font-weight: 700; }
.footer__copy { font-size: 0.8rem; color: var(--text-muted); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; background: rgba(42,8,69,0.95);
  border-top: 1px solid var(--border);
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
  justify-content: space-around;
}
.mobile-nav__item {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.25rem; text-decoration: none; font-size: 0.7rem;
  color: var(--text-muted); text-transform: uppercase;
}
.mobile-nav__item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.mobile-nav__item--active { color: var(--lime); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
.reveal--visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .services__grid, .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links--open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(42,8,69,0.98); padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .services__grid, .testimonials__grid, .stats__grid,
  .services-page__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 5rem 0 3rem; }
  .mobile-nav { display: flex; }
  body { padding-bottom: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
