:root {
  --bg: #0b0b0c;
  --card: #131316;
  --text: #f5f7fa;
  --muted: #b3b9c6;
  --primary: #5eead4; /* teal */
  --primary-600: #2dd4bf;
  --border: #1f2024;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1000px 600px at 10% -10%, #0f172a 0%, rgba(11, 11, 12, 0) 60%), var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.7);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-text {
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(90deg, #ffffff 30%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo {
  height: 32px;
  width: auto;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.nav-toggle .bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.nav-link:hover, .nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.has-dropdown .nav-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  margin-left: 4px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.dropdown-inner {
  display: grid;
  gap: 2px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.dropdown-item:hover, .dropdown-item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.open > .dropdown {
  display: block;
}

.nav-cta {
  display: flex;
}

.button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  color: #0b0b0c;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-600) 100%);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 16px rgba(94, 234, 212, 0.35);
}

.button.cta:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 80px 0 120px;
  text-align: center;
}

.hero .container {
  width: min(900px, 100% - 32px);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 56px);
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
}

/* Hero split */
.hero-split {
  text-align: left;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
}
.hero-copy .hero-actions { margin-top: 16px; }
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
/* Center hero copy for balanced layout */
.hero-copy { text-align: left; }

/* Gradient headings (half white, half accent) */
.hero h1,
.problems h2,
.subscription h2,
.experts h2,
.industries h2,
.ratings-head h2,
.faqs h2,
.contact h2 {
  background: linear-gradient(90deg, #ffffff 30%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Marquee */
.marquee { padding: 24px 0; overflow: hidden; }
.marquee .container:first-child { margin-bottom: 40px; }
.marquee .container { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: marquee 39s linear infinite;
  opacity: 0.8;
  width: max-content;
}
.marquee-track.marquee-reverse {
  animation: marquee-reverse 39s linear infinite;
}
.marquee-track img { filter: grayscale(60%); opacity: 0.9; height: 38px; flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* Stats */
.stats { padding: 48px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: center; }
.stat h3 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 4px; }
.stat p { margin: 0; color: var(--muted); }

/* Problems */
.problems { padding: 56px 0; }
.problems h2 { text-align: center; margin-bottom: 24px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-grid article { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.solution { margin-top: 8px; color: var(--primary); font-weight: 600; }
.section-actions { display: flex; justify-content: center; margin-top: 16px; }

/* Subscription */
.subscription { padding: 64px 0; }
.sub-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: rgba(19,19,22,0.5); box-shadow: var(--shadow); }
.sub-copy p { color: var(--muted); }
.checklist { margin: 12px 0 0; padding-left: 18px; }
.checklist li { margin: 8px 0; }
.sub-card { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)); border: 1px solid var(--border); border-radius: 16px; padding: 20px; display: grid; gap: 12px; justify-items: start; }
.sub-metric { display: grid; gap: 2px; }
.sub-metric strong { font-size: clamp(24px, 4.6vw, 40px); }

/* Experts */
.experts { padding: 56px 0; }
.experts .two-col { text-align: center; }
.experts .two-col > div:first-child { margin-bottom: 32px; }
.avatars { display: flex; gap: 12px; justify-content: center; }
.avatars img { border-radius: 50%; border: 1px solid var(--border); }

/* Industries */
.industries { padding: 56px 0; }
.industries .lead { color: var(--muted); margin: 0 0 16px; text-align: center; }
.industries h2 { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card h4 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); }

/* Platforms */
.platforms { padding: 56px 0; }
.platforms .lead { color: var(--muted); margin: 0 0 32px; text-align: center; }
.platforms h2 { text-align: center; }
.platforms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.platform-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.platform-card:hover { outline: 1px solid var(--primary-600); }
.platform-icon { font-size: 48px; margin-bottom: 16px; }
.platform-card h3 { margin: 0 0 12px; }
.platform-card p { margin: 0 0 16px; color: var(--muted); }
.platform-card ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.platform-card li { padding: 4px 0; color: var(--text); position: relative; padding-left: 20px; }
.platform-card li::before { content: "✓"; color: var(--primary-600); font-weight: bold; position: absolute; left: 0; }
.cards .card { display: block; padding: 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); text-decoration: none; color: var(--text); transition: border-color 160ms ease, transform 160ms ease; }
.cards .card:hover { border-color: var(--primary-600); transform: translateY(-2px); }

/* Ratings / Carousel */
.ratings { padding: 56px 0; }
.ratings-head { text-align: center; margin-bottom: 16px; }
.ratings-head h2 { font-size: clamp(28px, 5vw, 48px); }
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; overflow: hidden; }
.review { display: grid; grid-template-columns: 56px 1fr; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; transition: border-color 160ms ease; }
.carousel-prev, .carousel-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; }
.carousel-prev { left: -8px; } .carousel-next { right: -8px; }

/* Benefits */
.benefits { padding: 56px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; transition: border-color 160ms ease; }

/* Pricing */
.pricing-section { padding: 56px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; transition: outline-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.price-card.highlight { outline: 2px solid var(--primary-600); }
.price-card:hover { outline: 2px solid var(--primary-600); transform: translateY(-2px); }
.price { font-size: 22px; font-weight: 700; }
.price span { color: var(--muted); font-weight: 500; }

/* FAQs */
.faqs { padding: 56px 0; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; transition: border-color 160ms ease; }
.faq-list summary { cursor: pointer; font-weight: 600; }

/* Contact */
.contact { padding: 80px 0; background: radial-gradient(800px 400px at 85% 10%, rgba(94,234,212,0.08), rgba(0,0,0,0) 60%); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: rgba(19,19,22,0.6); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.contact-copy h2 { font-size: clamp(24px, 3.6vw, 36px); margin: 0 0 8px; }
.contact-copy p { color: var(--muted); margin: 0 0 12px; }
.contact-points { color: var(--muted); padding-left: 18px; }
.contact-points li { margin-bottom: 12px; }
.contact-points a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.contact-form { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; color: var(--muted); }
.field input, .field textarea { width: 100%; background: rgba(255,255,255,0.02); color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 12px 12px; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input::placeholder, .field textarea::placeholder { color: #7c8394; }
.field input:focus, .field textarea:focus { border-color: var(--primary-600); box-shadow: 0 0 0 3px rgba(45,212,191,0.2); }
.contact-form .button.cta { width: 100%; margin-top: 4px; }

/* Footer */
.site-footer { margin-top: 48px; border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(19,19,22,0.7), rgba(11,11,12,0.9)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 32px 0; }
.footer-brand p { color: var(--muted); margin: 6px 0; }
.footer-col h5 { margin: 0 0 10px; font-size: 14px; letter-spacing: 0.3px; color: #cbd5e1; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact p { margin: 8px 0; color: var(--muted); }
.footer-contact a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .brand .logo { box-shadow: none; border-radius: 8px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .two-col, .cards, .pricing-grid, .benefits-grid, .stats-grid, .problem-grid, .contact-grid, .footer-grid, .platforms-grid { grid-template-columns: 1fr; }
  .marquee-track { animation-duration: 26s; gap: 24px; }
  .contact-grid { padding: 16px; }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu {
    position: fixed;
    inset: 64px 12px 12px 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: rgba(19, 19, 22, 0.95);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-link {
    justify-content: space-between;
  }
  .dropdown {
    position: static;
    display: none;
    margin-top: 8px;
  }
  .nav-item.open > .dropdown {
    display: block;
  }
  .nav-cta {
    padding-top: 8px;
  }
}

/* Desktop enhancements */
@media (min-width: 961px) {
  /* Make the first dropdown (Our services) a two-column grid */
  .nav-list > li.has-dropdown:first-child .dropdown {
    min-width: 520px;
  }
  .nav-list > li.has-dropdown:first-child .dropdown-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
  }

  /* Make the second dropdown (Industries) a two-column grid */
  .nav-list > li.has-dropdown:nth-child(2) .dropdown {
    min-width: 520px;
  }
  .nav-list > li.has-dropdown:nth-child(2) .dropdown-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
  }
}

