/*
  Alro Analytics Marketing Website
  - Dark theme with CSS variables
  - Breakpoints: 375, 768, 1024, 1440, 1920+
*/

:root {
  /* Colors */
  --bg: #070a14;
  --surface: #0b1020;
  --panel: #12172a;
  --text: #e8ecf8;
  --muted: #a1a9c6;
  --line: #1f2744;
  --primary: #6ba3ff;
  --primary-600: #4c86ff;
  --primary-700: #3768ff;
  --accent: #6bffe8;

  /* Shadows & Radii */
  --radius: 12px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  /* Layout */
  --container: 1120px;
  /* will expand on larger bps */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 40px;
  --space-10: 48px;
  --space-12: 64px;
  --space-16: 96px;
  /* Shared heading gradient used for hero and stat headings */
  --heading-gradient: linear-gradient(90deg,
    #eaf4ff 0%,
    #c0d3e4 18%,
    #9fd7ff 42%,
    #7cc0df 72%,
    #e0d8f1 100%
  );
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden; /* Fix horizontal overflow */
  width: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% -100px, #1a2353 0%, transparent 60%), var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Disable global glows/shadows when requested */
body.no-glow {
  background: var(--bg);
}

body.no-glow .bg-accents {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Accent background blurs */
.bg-accents {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.accent {
  position: absolute;
  border-radius: 50%;
  /* tighter blur for more focused glow */
  filter: blur(80px);
  mix-blend-mode: screen;
  opacity: .6;
  animation: float 28s linear infinite;
}

.accent--blue-large {
  /* move the biggest blue more centered and slightly above the hero */
  width: 1000px;
  height: 620px;
  left: 50%;
  transform: translateX(-50%);
  top: -160px;
  background: radial-gradient(circle at 50% 30%, rgba(60,110,255,0.62) 0%, rgba(40,80,200,0.22) 45%, transparent 72%);
  animation-duration: 52s;
}

.accent--blue-mid {
  /* secondary left glow, more subtle */
  width: 520px;
  height: 520px;
  left: 8%;
  top: 380px;
  background: radial-gradient(circle at 50% 50%, rgba(40,80,200,0.32) 0%, rgba(60,110,255,0.12) 40%, transparent 70%);
  animation-direction: reverse;
}

.accent--teal {
  /* tighter teal glow to the lower-right to echo reference */
  width: 420px;
  height: 420px;
  right: -60px;
  top: 680px;
  background: radial-gradient(circle at 50% 50%, rgba(90,230,200,0.46) 0%, rgba(90,230,200,0.12) 40%, transparent 75%);
}

.accent--edge {
  width: 360px;
  height: 360px;
  left: 62%;
  top: 1120px;
  background: radial-gradient(circle at 50% 50%, rgba(55, 104, 255, 0.3) 0%, rgba(76, 134, 255, 0.12) 40%, transparent 70%);
  animation-duration: 30s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(40px) rotate(180deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

.container {
  width: min(100% - 24px, var(--container));
  margin-inline: auto;
}

/* Announcement Bar */
.announcement {
  display: grid;
  place-items: center;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(55, 104, 255, 0.25), rgba(107, 255, 232, 0.18));
  color: var(--text);
  font-size: 14px;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: .9;
}

.announcement .badge {
  background: rgba(107, 255, 232, 0.2);
  color: var(--accent);
  border: 1px solid rgba(107, 255, 232, 0.35);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.site-header.scrolled {
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo-mark {
  color: var(--accent);
  font-size: 22px;
}

.logo-text {
  font-size: 18px;
}

.primary-nav ul {
  list-style: none;
  display: none;
  gap: 24px;
  padding: 0;
  margin: 0;
}

.primary-nav a {
  color: var(--muted);
  font-weight: 500;
}

.primary-nav a.active {
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--text);
  padding-bottom: 2px;
}

.primary-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-dashboard {
  white-space: nowrap;
}

.btn-dashboard span[aria-hidden="true"] {
  font-weight: 700;
}

.btn:focus-visible {
  outline: 3px solid rgba(76, 134, 255, 0.16);
  outline-offset: 3px;
}

/* Global opt-out: hide all decorative glow/accent elements when the user requests
   the site without glowing effects. This will disable page-level accents and
   container halos while keeping structural styles intact. */
.no-glow .bg-accents,
.no-glow .accent,
.no-glow .glow,
.no-glow .image-card.glow,
.no-glow .dashboard::before {
  display: none !important;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  margin: 0 auto var(--space-8);
  max-width: 680px;
}

.section p {
  color: var(--muted);
  margin: 0;
}

/* Gradient heading */
.gradient-text {
  /* Use the same heading gradient as hero for visual consistency */
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Grids */
.grid {
  display: grid;
  gap: 16px;
}

.features {
  grid-template-columns: 1fr;
}

.logos {
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  gap: 24px;
}

.logos img {
  filter: grayscale(1) contrast(1.1);
  opacity: 0.85;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.pricing {
  grid-template-columns: 1fr;
}

/* Cards */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 10px 0 8px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  font-size: 22px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.plan .price {
  font-size: 28px;
  margin: 6px 0 14px;
}

.plan .price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.plan .list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.plan.highlight {
  outline: 1px solid var(--primary-600);
  background: linear-gradient(180deg, rgba(55, 104, 255, 0.08), rgba(255, 255, 255, 0));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #0a0c14;
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  border: 1px solid rgba(10,12,20,0.06);
  box-shadow: 0 8px 20px rgba(10,12,20,0.18), inset 0 -2px 6px rgba(10,12,20,0.04);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .12s ease, box-shadow .15s ease, background .12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(10,12,20,0.22), inset 0 -2px 6px rgba(10,12,20,0.04);
  background: linear-gradient(180deg, #ffffff 0%, #e9f2ff 100%);
}

.btn-primary:focus {
  outline: 3px solid rgba(76,134,255,0.16);
  outline-offset: 3px;
}

.btn-outline {
  color: var(--text);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.12);
  padding: 10px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.btn-outline:focus {
  outline: 3px solid rgba(76,134,255,0.12);
  outline-offset: 3px;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--primary-600);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 64px 0 28px;
}

.footer p {
  color: var(--muted);
  margin: 0;
}

.socials {
  display: inline-flex;
  gap: 10px;
}

.socials a {
  opacity: 0.8;
}

.socials a:hover {
  opacity: 1;
}

/* Footer layout sections */
.footer-top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc { color: var(--muted); max-width: 540px; line-height: 1.6; }

.footer-links {
  display: grid;
  gap: 32px 20px;
  grid-template-columns: repeat(2, 1fr); /* Mobile: 2 cols */
  width: 100%;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  opacity: 1;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-direction: column; /* Mobile: Stacked */
  align-items: flex-start;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 40px;
}

.legal-links { display: flex; flex-wrap: wrap; gap: 20px; }
.legal-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.legal-links a:hover { color: var(--text); text-decoration: underline; }

@media (min-width: 576px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr); /* Small tablets: 2 cols */
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .footer-top { grid-template-columns: 1.2fr 2fr; }
  .footer-links { 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    justify-self: end;
    width: max-content;
    gap: 80px;
  }
}

/* Language Switch */
.lang-switch {
  display: inline-flex;
  gap: 8px;
}

.lang-switch button {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .5px;
  transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.lang-switch button:hover:not(.active) {
  color: var(--text);
  border-color: var(--primary-600);
}

.lang-switch button.active {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-600) 100%);
  color: #0a0c14;
  border-color: var(--primary-600);
  box-shadow: 0 8px 24px rgba(76, 134, 255, 0.35);
}

.section { padding: 120px 0; }

@media (max-width: 768px) {
  .section { padding: 80px 0; }
}
.section-head { display: grid; gap: 10px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 28px; letter-spacing: -0.01em; }
.section-head p { max-width: 860px; }

/* External section title with gradient text */
.section-title {
  margin: 16px 0 22px;
  text-align: left;
}

.gradient-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #9EE19E 0%, #6BFFE8 50%, #4C86FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .gradient-title { font-size: 72px; }
}

/* ------------------------ */
/*       Breakpoints        */
/* ------------------------ */

/* Animations & Utilities */
.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

.in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-up"] { transform: translateY(18px); }
[data-animate="fade-down"] { transform: translateY(-18px); }
[data-animate="fade-left"] { transform: translateX(18px); }
[data-animate="fade-right"] { transform: translateX(-18px); }

.stagger > * { opacity: 0; transform: translateY(14px); }
.stagger.in-view > * { opacity: 1; transform: translateY(0); }
.stagger.in-view > * { transition: opacity .5s ease, transform .5s ease; }
.stagger.in-view > *:nth-child(1) { transition-delay: .06s; }
.stagger.in-view > *:nth-child(2) { transition-delay: .12s; }
.stagger.in-view > *:nth-child(3) { transition-delay: .18s; }
.stagger.in-view > *:nth-child(4) { transition-delay: .24s; }
.stagger.in-view > *:nth-child(5) { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  [data-animate], .stagger > *, .stagger.in-view > * {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Dropdown Navigation - Base (Mobile/Shared) */
.nav-item-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-link-dropdown::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

/* Mobile Menu State */
/* Mobile Menu Wrapper */
.nav-menu-wrapper {
  display: none; /* Hidden by default */
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  background: rgba(11, 16, 32, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 24px 24px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  z-index: 1000;
  flex-direction: column;
  gap: 20px;
}

.nav-menu-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu-wrapper li {
  width: 100%;
}

.nav-menu-wrapper a:not(.btn), 
.nav-link-dropdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  font-family: inherit;
}

.nav-menu-wrapper li:last-child > a,
.nav-menu-wrapper li:last-child > .nav-link-dropdown {
  border-bottom: none;
}

.nav-link-dropdown:hover,
.nav-menu-wrapper a:not(.btn):hover {
  color: var(--primary);
}

/* Dropdown Arrow */
.nav-link-dropdown::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.nav-item-dropdown.active .nav-link-dropdown::after {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Submenu (Accordion) - Mobile Only */
@media (max-width: 991px) {
  .nav-menu-wrapper .dropdown-menu {
    display: none !important;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    margin-bottom: 12px;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
  }

  .nav-menu-wrapper .nav-item-dropdown.active .dropdown-menu {
    display: flex !important;
    animation: slideDown 0.3s ease;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu a {
  padding: 10px 12px !important;
  font-size: 15px !important;
  color: var(--muted) !important;
  border-bottom: none !important;
}

.dropdown-menu a:hover {
  color: var(--text) !important;
  background: rgba(255,255,255,0.05) !important;
  border-radius: 8px;
}

.menu-open .nav-menu-wrapper {
  display: flex;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-mobile-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-lang-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.mobile-lang-switch .lang-options {
  display: flex;
  gap: 8px;
}

.mobile-lang-switch button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.mobile-lang-switch button.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.desktop-only {
  display: none;
}

/* Reset ul styles in mobile menu */
.nav-menu-wrapper ul#navMenu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Responsive Media Queries */

/* Tablet (768px - 991px) */
@media (min-width: 768px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gradient-title { font-size: 64px; }
  
  /* Tablet still uses hamburger */
  .nav-menu-wrapper { display: none; }
  .nav-toggle { display: flex; }
  .menu-open .nav-menu-wrapper { display: flex; }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
  :root { --container: 960px; }

  .nav-cta { display: flex; }

  /* Reset Mobile Menu Wrapper for Desktop */
  .nav-menu-wrapper {
    display: flex !important; /* Always visible */
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex-direction: row;
    gap: 0;
    transform: none;
    animation: none;
    width: auto;
  }

  .nav-menu-wrapper ul#navMenu {
    flex-direction: row;
    gap: 24px;
    align-items: center;
  }
  
  .nav-menu-wrapper li { width: auto; }

  .nav-mobile-bottom { display: none; }
  .desktop-only { display: block; }
  .nav-toggle { display: none; }

  /* Dropdown Desktop */
  .nav-item-dropdown { 
    height: 100%; 
    display: flex; 
    align-items: center; 
    border: none; 
    width: auto;
  }
  
  .nav-link-dropdown { 
    height: 100%; 
    padding: 4px 0; 
    background: transparent; 
    border: none; 
    color: var(--muted); 
    font-weight: 500; 
    font-size: 16px;
    width: auto;
    justify-content: flex-start;
  }
  .nav-link-dropdown:hover { color: var(--text); }
  
  .nav-item-dropdown:hover .nav-link-dropdown::after { transform: rotate(180deg); }
  .nav-item-dropdown::after {
    content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 20px;
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(11, 16, 32, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 8px;
    min-width: 240px;
    box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.4), 0 8px 16px -4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 100;
  }

  .nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-menu li {
    width: 100%; margin: 0; padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
  }
  .dropdown-menu li:last-child { border-bottom: 1px solid transparent; }

  .dropdown-menu a {
    display: flex; align-items: center; width: 100%;
    padding: 10px 16px; border-radius: 8px;
    color: var(--muted); white-space: nowrap;
    transition: all 0.2s ease; font-size: 15px; font-weight: 500;
    line-height: 1.4; border-bottom: none !important;
    position: relative; overflow: hidden; margin: 0;
    box-sizing: border-box; min-height: 44px;
  }

  .dropdown-menu a:hover, .dropdown-menu a.active {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    transform: translateX(4px);
  }
  .dropdown-menu a:hover::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--primary); border-radius: 0 4px 4px 0;
  }

  /* Layouts */
  .features { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(6, 1fr); }
  .pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lead { font-size: 18px; }
  
  /* Accents */
  .accent--blue-large { left: calc(50% - 500px); }
  .accent--blue-mid { left: -240px; }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  :root { --container: 1140px; }
  .gradient-title { font-size: 72px; }
}

/* Extra Large (1440px+) */
@media (min-width: 1440px) {
  :root { --container: 1320px; }
  .lead { font-size: 20px; }
  .accent--blue-mid { left: -300px; }
  .accent--edge { left: 62%; }
}

/* 1920+ */
@media (min-width: 1920px) {
  :root { --container: 1480px; }
  body { background: radial-gradient(1200px 700px at 50% -120px, #1a2353 0%, transparent 60%), var(--bg); }
  .accent--blue-large { width: 1100px; height: 1100px; }
  .accent--blue-mid { width: 640px; height: 640px; }
  .accent--teal { width: 760px; height: 760px; }
}













/* Feature Steps Layout (Vertical List) */
.feature-steps-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #050810 100%);
}

.feature-step {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 160px;
  position: relative;
}

.feature-step:last-child {
  margin-bottom: 0;
}

.step-content {
  position: relative;
  padding-left: 40px;
}

/* Vertical Line Marker */
.step-marker {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.step-marker::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 60px;
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.step-content h3 {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.step-content p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}

.btn-link-styled {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-link-styled:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Visual / Image Styling */
.step-visual {
  position: relative;
}

.visual-inner {
  position: relative;
  border-radius: 20px;
  padding: 1px; /* Border width */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.visual-inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px; /* Inner radius */
  background: #0b1020; /* Fallback bg */
  position: relative;
  z-index: 2;
}

/* Glow Effects */
.glow-back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  opacity: 0.6;
}

.glow-back.blue {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
}

.glow-back.purple {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
}

@media (max-width: 991px) {
  .feature-step {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 100px;
  }
  
  .step-content {
    padding-left: 24px;
  }
  
  .step-marker::before {
    height: 40px;
  }
  
  .step-content h3 {
    font-size: 26px;
  }
}


/* Feature Steps Wrapper */
.feature-steps-wrapper {
  position: relative;
  padding-left: 40px; /* Space for the line */
}

/* Continuous Scroll Track */
.scroll-track {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

/* Moving Impulse */
.scroll-impulse {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 120px; /* Length of the "scrollbar" handle */
  background: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(107, 163, 255, 0.4);
  border-radius: 2px;
  will-change: transform;
  /* Removed transition for instant scroll tracking */
}

/* Adjust Step Content */
.step-content {
  padding-left: 0; /* Removed previous padding as wrapper handles it */
}

/* Remove old markers */
.step-marker {
  display: none;
}

@media (max-width: 991px) {
  .feature-steps-wrapper {
    padding-left: 0;
  }
  
  .scroll-track {
    display: none;
  }
}

