:root {
  /* Modern B2B SaaS Color Palette */
  --bg-base: #ffffff;
  --bg-surface: rgba(255, 255, 255, 0.7);
  --bg-surface-hover: rgba(245, 248, 255, 0.9);
  --bg-section-alt: #f8fafc;

  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-secondary: #0f172a;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --border-light: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.15);

  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-height: 80px;

  --glass-blur: blur(12px);
  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --gradient-text: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 50%, #0ea5e9 100%);
}

body.dark-theme {
  --bg-base: #020617;
  --bg-surface: rgba(15, 23, 42, 0.6);
  --bg-surface-hover: rgba(30, 41, 59, 0.8);
  --bg-section-alt: #0b1120;

  --color-primary: #3b82f6;
  --color-primary-hover: #60a5fa;
  --color-secondary: #f8fafc;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 0 40px -10px rgba(59, 130, 246, 0.15);

  --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --gradient-text: linear-gradient(90deg, #60a5fa 0%, #93c5fd 50%, #38bdf8 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Mesh & Orbs */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  z-index: -2;
  pointer-events: none;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
}

.orb-primary {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -200px;
  right: -100px;
}

.orb-secondary {
  width: 500px;
  height: 500px;
  background: #8b5cf6;
  bottom: -200px;
  left: -200px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-family: var(--font-headings);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.04);
}

body.dark-theme .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: var(--border-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 64px;
  border-radius: 6px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-item {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}

.nav-item:hover {
  color: var(--text-primary);
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  min-width: 320px;
  box-shadow: var(--card-shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.dropdown-link:hover {
  background: var(--bg-surface-hover);
}

.dd-icon {
  color: var(--color-primary);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.dd-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dd-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.dd-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
}

.theme-toggle-btn i {
  width: 18px;
  height: 18px;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
  line-height: 0;
}

.mobile-menu-toggle i,
.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-light);
  padding: 24px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1.1rem;
}

.mobile-sublink {
  padding-left: 16px;
  color: var(--text-secondary) !important;
  font-size: 1rem !important;
}

.mobile-nav-theme-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 500;
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.w-full {
  width: 100%;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hero Section */
.hero-section {
  padding: calc(var(--nav-height) + 40px) 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 20px;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Mockup */
.hero-visual {
  position: relative;
  width: 100%;
}

.browser-mockup {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--card-shadow-hover);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.5s ease;
  font-size: 0.85rem;
}

.browser-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-header {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.browser-buttons {
  display: flex;
  gap: 6px;
}

.browser-buttons .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.close {
  background: #ef4444;
}

.dot.minimize {
  background: #eab308;
}

.dot.maximize {
  background: #22c55e;
}

.browser-address {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  flex: 1;
  max-width: 200px;
  justify-content: center;
}

.browser-address i {
  width: 12px;
  height: 12px;
}

.avatar-stub {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: bold;
}

.browser-body {
  display: flex;
  background: var(--bg-section-alt);
}

.mock-sidebar {
  width: 140px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-light);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-logo {
  font-family: var(--font-headings);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

.logo-accent {
  color: #eab308;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 500;
}

.sidebar-menu li.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
}

.sidebar-menu i {
  width: 14px;
  height: 14px;
}

.mock-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-main-header {
  margin-bottom: 8px;
}

.mock-welcome {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.mock-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-stat-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mock-stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-stat-sub {
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  gap: 2px;
}

.text-green {
  color: #22c55e;
}

.text-green i {
  width: 10px;
  height: 10px;
}

.mock-content-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
}

.card-heading {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bars-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bar-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.bar-labels strong {
  color: var(--text-primary);
}

.progress-bar-bg {
  height: 6px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 3px;
}

/* Solutions Section */
.solutions-section {
  padding: 40px 0 60px 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.solutions-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.solution-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  gap: 40px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-strong);
}

.solution-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.solution-icon {
  width: 36px;
  height: 36px;
}

.solution-content {
  flex: 1;
}

.solution-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-section-alt);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.solution-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.solution-audience {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.solution-message {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.offerings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offering-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.offering-check {
  color: var(--color-primary);
  margin-top: 2px;
}

.offering-check i {
  width: 20px;
  height: 20px;
}

.offering-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.offering-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
}

.cta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.cta-secondary {
  background: var(--bg-base);
}

/* Footer */
.footer {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 24px;
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

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

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Features Section */
.features-section {
  padding: 40px 0 60px 0;
  background: var(--bg-base);
}

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

.segment-grid .feature-card-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.segment-grid .feature-card-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--card-shadow-hover);
  background: var(--bg-surface-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(37, 99, 235, 0.1);
  transform: scale(1.05);
}

.feature-icon i {
  width: 24px;
  height: 24px;
  stroke-width: 1.5px;
}

.feature-card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Students Section / Timeline */
.students-section {
  padding: 40px 0 60px 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  z-index: 0;
}

.timeline-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-primary);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.1);
}

.step-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.step-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 240px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .solution-card {
    flex-direction: column;
    gap: 24px;
    padding: 32px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-desktop-only {
    display: none !important;
  }

  .nav-container {
    padding: 0 16px;
    gap: 12px;
  }

  .logo-img {
    height: 48px;
  }

  .nav-end {
    gap: 10px;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0;
  }

  .nav-login-btn {
    padding: 8px 14px;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
  }

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

  .timeline {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .timeline::after {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem !important;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .solution-card {
    padding: 24px 16px;
  }
  
  .btn-large {
    padding: 12px 24px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
}