/* ============================================
   LaunchDeck - Dark Mode Agency Site
   ============================================ */

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

:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f18;
  --bg-card: #13131f;
  --bg-card-hover: #1a1a2e;
  --accent: #00d4aa;
  --accent-dim: #00a888;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --text: #f0f0f5;
  --text-muted: #7a7a8c;
  --text-dim: #4a4a5c;
  --border: #1e1e2e;
  --border-bright: #2a2a3e;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

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

/* --- Layout --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

.display { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
.subheading { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; }
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.7; }

/* --- Accent & Glow --- */
.accent { color: var(--accent); }
.accent-glow {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(0, 212, 170, 0.4);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0f;
}
.btn-primary:hover {
  background: #00eebb;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 8px; }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 16px;
  }
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(0, 212, 170, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(0, 212, 170, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 170, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-cred { margin-top: 48px; display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.88rem; }
.hero-cred-divider { width: 1px; height: 20px; background: var(--border-bright); }
.hero-img-wrap {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  pointer-events: none;
  display: none;
}
@media (min-width: 1100px) {
  .hero-img-wrap { display: block; }
  .hero-content { max-width: 700px; }
}

/* --- Credibility Bar --- */
.cred-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cred-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cred-stat {
  text-align: center;
}
.cred-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.cred-stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.cred-divider { width: 1px; height: 40px; background: var(--border); }

/* --- Section Headers --- */
.section-header { margin-bottom: 56px; text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { margin: 0 auto; }

/* --- Services Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.service-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  padding: 6px 12px;
  background: var(--accent-glow);
  border-radius: 6px;
  display: inline-block;
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* --- Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.process-step {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
}
.process-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.process-connector {
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 24px;
  color: var(--text-dim);
  display: none;
}
@media (min-width: 900px) {
  .process-connector { display: block; }
}
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* --- Social Proof / Testimonials --- */
.testimonials { background: var(--bg-2); }
.testimonial-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  scroll-snap-align: start;
}
.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-quote::before { content: '"'; color: var(--accent); }
.testimonial-quote::after { content: '"'; color: var(--accent); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
}
.testimonial-meta h4 { font-size: 0.9rem; font-weight: 600; }
.testimonial-meta p { font-size: 0.78rem; color: var(--text-muted); }
.testimonial-result {
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--accent-glow);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
}

/* --- Stats Bar --- */
.stats-bar {
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.pricing-tier { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; }
.pricing-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pricing-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.pricing-price { margin-bottom: 8px; }
.pricing-price span { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }
.pricing-price strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 0;
}
.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* --- CTA / Lead Magnet --- */
.cta-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.form-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.form-input, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-submit { width: 100%; margin-top: 8px; }
.cta-content h2 { margin-bottom: 16px; }
.cta-content p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.cta-perks { list-style: none; }
.cta-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0;
}
.cta-perks li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .cta-inner { grid-template-columns: 1fr; }
}

/* --- FAQ --- */
.faq-grid { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  font-family: var(--font);
}
.faq-q:hover { color: var(--accent); }
.faq-icon { color: var(--accent); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: 0;
}
.faq-item.open .faq-a { max-height: 200px; padding-top: 12px; }

/* --- Footer --- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; line-height: 1.6; max-width: 320px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--text-muted); transition: var(--transition); font-size: 1.1rem; }
.footer-social a:hover { color: var(--accent); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}