@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600&display=swap');

/* TTM Labs — Main Stylesheet
   Extracted from inline styles across all templates
   Last updated: 2026-03-30
*/

/* ─── VARIABLES ─── */
:root {
  --red: #E8193C;
  --red-dark: #B01230;
  --bg: #0A0A0F;
  --bg4: #1E1E2A;
  --bg5: #252535;
  --bg2: #111118;
  --bg3: #16161E;
  --border: #2A2A3A;
  --border2: #3A3A50;
  --text: #F0F2F8;
  --muted: #9BA3B5;
  --muted2: #C4CAD6;
  --white: #ffffff;
  --body: #C8CFD9;
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(8,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
}

.logo span { color: var(--red); }

/* Main nav menu */
nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px 12px;
  border-radius: 6px;
}

nav ul a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.03);
}

/* Dropdown containers */
.nav-dropdown {
  position: relative;
}



.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 0;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 14px;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: var(--bg3);
  color: var(--white);
}

/* Show dropdown on hover */
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* CTA Button */
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
}

/* Client login - subtle */
.nav-login {
  font-size: 13px !important;
  color: var(--muted) !important;
  opacity: 0.7;
}

.nav-login:hover {
  opacity: 1;
  color: var(--white) !important;
}

/* Mobile nav toggle */
#nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  color: var(--text);
}

/* ─── HERO ─── */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,25,60,0.1);
  border: 1px solid rgba(232,25,60,0.3);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Space Grotesk', sans-serif;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero p {
  font-size: 20px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--muted);
  background: var(--bg2);
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-number span {
  color: var(--red);
  font-size: 18px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

/* ─── SECTIONS ─── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  text-align: center;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 48px;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
}

/* ─── TEASER CARDS ─── */
.teaser-section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.teaser-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
  transition: border-color 0.2s;
}

.teaser-card:hover {
  border-color: rgba(232,25,60,0.3);
}

.teaser-icon {
  margin-bottom: 24px;
  color: var(--red);
}

.teaser-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.teaser-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── PRICING ─── */
.pricing-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 48px;
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.plan-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
  position: relative;
  transition: border-color 0.2s;
}

.plan-card:hover {
  border-color: rgba(232,25,60,0.3);
}

.plan-card.featured {
  border-color: var(--red);
  background: rgba(232,25,60,0.05);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 2px;
}

.plan-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.plan-price sup {
  font-size: 24px;
  vertical-align: super;
  font-weight: 600;
}

.plan-period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.plan-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.plan-feature .check {
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-cta {
  display: block;
  text-align: center;
  margin-top: 32px;
  padding: 14px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.plan-cta.outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.plan-cta.outline:hover {
  border-color: var(--muted);
  background: rgba(255,255,255,0.03);
}

.plan-cta.filled {
  background: var(--red);
  color: white;
}

.plan-cta.filled:hover {
  background: var(--red-dark);
}

/* ─── FAQ ─── */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  user-select: none;
}

.faq-question:hover {
  color: var(--white);
}

.faq-arrow {
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  max-width: 700px;
  margin: 0 auto 20px;
}

.cta-section p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.footer-logo span {
  color: var(--red);
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

/* ─── MOBILE ─── */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
  }

  nav ul {
    display: none;
    width: 100%;
  }

  #nav-toggle {
    display: block !important;
  }

  nav ul.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
    z-index: 200;
  }

  /* Dropdowns become stacked on mobile */
  .dropdown-menu {
    position: static;
    display: block !important;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 8px 0 0 16px;
  }

  .dropdown-menu a {
    padding: 8px 0;
    opacity: 0.8;
  }

  .teaser-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    gap: 32px;
    padding: 24px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}
