/* ============================================================
   MindSession — Landing Page Styles
   Stack: Bootstrap 5.3 + CSS Custom Properties
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --ms-primary:        #4A7FA5;
  --ms-primary-light:  #6B9DC4;
  --ms-primary-dark:   #2E618A;
  --ms-primary-subtle: #EBF3FA;

  --ms-violet:         #7C6FCD;
  --ms-violet-light:   #A096E0;
  --ms-violet-subtle:  #F0EEFF;

  --ms-teal:           #3AAFA9;
  --ms-teal-subtle:    #E6F7F7;

  --ms-dark:           #0F1923;
  --ms-dark-2:         #1A2840;
  --ms-dark-3:         #253555;

  --ms-text:           #1A2332;
  --ms-text-muted:     #5A6A7E;
  --ms-text-light:     #8FA0B5;

  --ms-bg:             #F8FAFB;
  --ms-surface:        #FFFFFF;
  --ms-border:         #E2E8F0;

  --ms-gradient-hero:  linear-gradient(135deg, #0F1923 0%, #1a3a5c 50%, #2E618A 100%);
  --ms-gradient-cta:   linear-gradient(135deg, #4A7FA5 0%, #7C6FCD 100%);
  --ms-gradient-card:  linear-gradient(145deg, #ffffff 0%, #f0f4f8 100%);

  --ms-shadow-sm:      0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --ms-shadow:         0 4px 16px rgba(0,0,0,0.08);
  --ms-shadow-md:      0 8px 32px rgba(0,0,0,0.10);
  --ms-shadow-lg:      0 20px 48px rgba(0,0,0,0.12);
  --ms-shadow-glow:    0 0 40px rgba(74, 127, 165, 0.20);

  --ms-radius:         12px;
  --ms-radius-md:      16px;
  --ms-radius-lg:      24px;
  --ms-radius-xl:      32px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

.ms-landing-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ms-text);
  background: var(--ms-surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Navbar ───────────────────────────────────────────────── */
.ms-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.ms-navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.ms-navbar .ms-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.ms-navbar .ms-logo img {
  height: 36px;
  width: auto;
}

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

.ms-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.ms-navbar.scrolled .ms-nav-links a {
  color: var(--ms-text-muted);
}

.ms-nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.10);
}

.ms-navbar.scrolled .ms-nav-links a:hover {
  color: var(--ms-primary);
  background: var(--ms-primary-subtle);
}

.ms-nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ms-primary) !important;
  background: #fff !important;
  border-radius: 10px !important;
  padding: 9px 20px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
}

.ms-navbar.scrolled .ms-nav-cta {
  background: var(--ms-primary) !important;
  color: #fff !important;
}

.ms-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74,127,165,0.35) !important;
}

.ms-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.ms-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.ms-navbar.scrolled .ms-hamburger span {
  background: var(--ms-text);
}

/* Mobile nav drawer */
.ms-mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.ms-mobile-nav.is-open { display: flex; }

.ms-mobile-nav a {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-align: center;
}

.ms-mobile-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.ms-mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* ── Hero Section ─────────────────────────────────────────── */
.ms-hero {
  background: var(--ms-gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Orbes de fondo */
.ms-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74,127,165,0.25) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.ms-hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,111,205,0.20) 0%, transparent 70%);
  bottom: -80px; left: 5%;
  border-radius: 50%;
  pointer-events: none;
}

.ms-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.90);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.01em;
}

.ms-hero-badge .ms-badge-dot {
  width: 7px; height: 7px;
  background: #52d48a;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.ms-hero-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.10;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.ms-hero-title .ms-gradient-text {
  background: linear-gradient(90deg, #6BBAFF 0%, #A096E0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ms-hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 520px;
}

.ms-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.ms-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4A7FA5 0%, #7C6FCD 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(74,127,165,0.45);
  letter-spacing: -0.01em;
}

.ms-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74,127,165,0.55);
  color: #fff;
}

.ms-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: -0.01em;
}

.ms-btn-ghost:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  transform: translateY(-1px);
}

/* Mockup visual del hero */
.ms-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ms-hero-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.ms-mockup-window {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.40), 0 0 0 1px rgba(255,255,255,0.06);
}

.ms-mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ms-mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.ms-mockup-dot:nth-child(1) { background: #FF5F56; }
.ms-mockup-dot:nth-child(2) { background: #FFBD2E; }
.ms-mockup-dot:nth-child(3) { background: #27C93F; }

.ms-mockup-content {
  padding: 20px;
}

.ms-mockup-header {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ms-mockup-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.ms-mockup-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
}

.ms-mockup-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.ms-mockup-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.ms-mockup-chart {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
}

.ms-mockup-chart-title {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  margin-bottom: 12px;
  font-weight: 500;
}

.ms-mockup-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 48px;
}

.ms-mockup-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(107,186,255,0.70) 0%, rgba(160,150,224,0.50) 100%);
  transition: height 0.3s ease;
}

.ms-mockup-patient-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  margin-bottom: 6px;
}

.ms-mockup-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4A7FA5, #7C6FCD);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.ms-mockup-patient-name {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  flex: 1;
}

.ms-mockup-status {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
}
.ms-mockup-status.ok { background: rgba(82,212,138,0.15); color: #52d48a; }
.ms-mockup-status.pending { background: rgba(255,189,46,0.15); color: #ffbd2e; }

/* Floating card decoration */
.ms-hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.20);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  animation: float 4s ease-in-out infinite;
}

.ms-hero-float-card.card-1 {
  bottom: 40px; left: -30px;
  animation-delay: 0s;
}

.ms-hero-float-card.card-2 {
  top: 20px; right: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.ms-float-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ms-float-text-main {
  font-size: 13px;
  font-weight: 700;
  color: var(--ms-text);
  line-height: 1.2;
}

.ms-float-text-sub {
  font-size: 11px;
  color: var(--ms-text-muted);
}

/* ── Secciones generales ──────────────────────────────────── */
.ms-section {
  padding: 100px 0;
}

.ms-section-sm { padding: 72px 0; }

.ms-section-dark {
  background: var(--ms-dark);
  color: #fff;
}

.ms-section-alt {
  background: #F4F7FB;
}

.ms-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-primary);
  background: var(--ms-primary-subtle);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.ms-section-dark .ms-section-tag {
  color: #6BBAFF;
  background: rgba(107,186,255,0.12);
}

.ms-section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ms-text);
  margin-bottom: 16px;
}

.ms-section-dark .ms-section-title { color: #fff; }

.ms-section-subtitle {
  font-size: 17px;
  color: var(--ms-text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 0;
}

.ms-section-dark .ms-section-subtitle { color: rgba(255,255,255,0.60); }

/* ── Cómo funciona ────────────────────────────────────────── */
.ms-step-card {
  position: relative;
  padding: 40px 32px;
  text-align: center;
}

.ms-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
}

.ms-step-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 24px;
}

.ms-step-connector {
  position: absolute;
  top: 62px;
  right: -24px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--ms-primary) 0%, var(--ms-violet) 100%);
  opacity: 0.30;
}

.ms-step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ms-text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.ms-step-desc {
  font-size: 15px;
  color: var(--ms-text-muted);
  line-height: 1.65;
}

/* ── Features cards ───────────────────────────────────────── */
.ms-feature-group {
  background: var(--ms-surface);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 36px 32px;
  height: 100%;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.ms-feature-group::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--ms-radius-lg) var(--ms-radius-lg) 0 0;
}

.ms-feature-group.therapist::before {
  background: linear-gradient(90deg, #4A7FA5, #7C6FCD);
}

.ms-feature-group.patient::before {
  background: linear-gradient(90deg, #3AAFA9, #52B788);
}

.ms-feature-group:hover {
  border-color: rgba(74,127,165,0.25);
  box-shadow: var(--ms-shadow-md);
  transform: translateY(-3px);
}

.ms-feature-group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.ms-feature-group-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ms-feature-group-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ms-text);
  margin: 0;
  letter-spacing: -0.02em;
}

.ms-feature-group-subtitle {
  font-size: 13px;
  color: var(--ms-text-muted);
  margin: 2px 0 0;
}

.ms-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ms-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ms-text);
  line-height: 1.5;
}

.ms-feature-list li .ms-feat-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Access Cards (Login por rol) ─────────────────────────── */
.ms-access-section {
  background: var(--ms-dark);
  position: relative;
  overflow: hidden;
}

.ms-access-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(74,127,165,0.12) 0%, transparent 60%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.ms-access-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--ms-radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.30s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  height: 100%;
}

.ms-access-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.30s ease;
  border-radius: var(--ms-radius-xl);
}

.ms-access-card.therapist::before {
  background: linear-gradient(145deg, rgba(74,127,165,0.12) 0%, rgba(124,111,205,0.10) 100%);
}

.ms-access-card.patient::before {
  background: linear-gradient(145deg, rgba(58,175,169,0.12) 0%, rgba(82,183,136,0.10) 100%);
}

.ms-access-card.admin::before {
  background: linear-gradient(145deg, rgba(124,111,205,0.12) 0%, rgba(160,150,224,0.10) 100%);
}

.ms-access-card:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.30);
}

.ms-access-card:hover::before { opacity: 1; }

.ms-access-icon {
  width: 80px; height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.ms-access-card.therapist .ms-access-icon {
  background: linear-gradient(135deg, rgba(74,127,165,0.20), rgba(124,111,205,0.20));
  box-shadow: 0 0 0 1px rgba(74,127,165,0.25);
}

.ms-access-card.patient .ms-access-icon {
  background: linear-gradient(135deg, rgba(58,175,169,0.20), rgba(82,183,136,0.20));
  box-shadow: 0 0 0 1px rgba(58,175,169,0.25);
}

.ms-access-card.admin .ms-access-icon {
  background: linear-gradient(135deg, rgba(124,111,205,0.20), rgba(160,150,224,0.20));
  box-shadow: 0 0 0 1px rgba(124,111,205,0.25);
}

.ms-access-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.ms-access-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.60;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.ms-access-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 10px;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.ms-access-card.therapist .ms-access-btn {
  background: linear-gradient(135deg, #4A7FA5, #7C6FCD);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74,127,165,0.35);
}

.ms-access-card.patient .ms-access-btn {
  background: linear-gradient(135deg, #3AAFA9, #52B788);
  color: #fff;
  box-shadow: 0 4px 16px rgba(58,175,169,0.35);
}

.ms-access-card.admin .ms-access-btn {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

.ms-access-card:hover .ms-access-btn {
  transform: scale(1.03);
}

/* ── Benefits ─────────────────────────────────────────────── */
.ms-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px;
  background: var(--ms-surface);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-md);
  transition: all 0.25s ease;
}

.ms-benefit-card:hover {
  border-color: rgba(74,127,165,0.20);
  box-shadow: var(--ms-shadow);
  transform: translateY(-2px);
}

.ms-benefit-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ms-benefit-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ms-text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.ms-benefit-desc {
  font-size: 13px;
  color: var(--ms-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Plan Piloto ──────────────────────────────────────────── */
.ms-pilot-section {
  background: var(--ms-gradient-hero);
  position: relative;
  overflow: hidden;
}

.ms-pilot-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,111,205,0.25) 0%, transparent 65%);
  top: -100px; right: -100px;
  pointer-events: none;
}

.ms-pilot-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--ms-radius-xl);
  padding: 56px 48px;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.ms-pilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82,212,138,0.12);
  border: 1px solid rgba(82,212,138,0.25);
  color: #52d48a;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ms-pilot-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.ms-pilot-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 36px;
}

.ms-pilot-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.ms-pilot-input {
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.ms-pilot-input::placeholder { color: rgba(255,255,255,0.40); }

.ms-pilot-input:focus {
  border-color: rgba(107,186,255,0.50);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 0 3px rgba(74,127,165,0.20);
}

.ms-pilot-submit {
  background: #fff;
  color: var(--ms-primary-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ms-pilot-submit:hover {
  background: #f0f8ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}

.ms-pilot-contact {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.ms-pilot-contact a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ───────────────────────────────────────────────── */
.ms-footer {
  background: #080E16;
  padding: 56px 0 32px;
}

.ms-footer-logo img {
  height: 32px;
  width: auto;
  opacity: 0.90;
  filter: brightness(0) invert(1);
}

.ms-footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 10px;
  line-height: 1.5;
}

.ms-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ms-footer-links li { margin-bottom: 10px; }

.ms-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ms-footer-links a:hover { color: rgba(255,255,255,0.80); }

.ms-footer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}

.ms-footer-divider {
  border-color: rgba(255,255,255,0.07);
  margin: 40px 0 28px;
}

.ms-footer-bottom {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.ms-footer-social {
  display: flex;
  gap: 12px;
}

.ms-footer-social a {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ms-footer-social a:hover {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.80);
  transform: translateY(-2px);
}

/* ── Animaciones de entrada ───────────────────────────────── */
.ms-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ms-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.ms-fade-in-delay-1 { transition-delay: 0.1s; }
.ms-fade-in-delay-2 { transition-delay: 0.2s; }
.ms-fade-in-delay-3 { transition-delay: 0.3s; }
.ms-fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Utility ──────────────────────────────────────────────── */
.ms-divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ms-border) 30%, var(--ms-border) 70%, transparent);
  border: none;
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .ms-nav-links,
  .ms-nav-cta.d-lg-inline-flex { display: none !important; }
  .ms-hamburger { display: flex !important; }

  .ms-hero { padding: 110px 0 64px; }
  .ms-hero-visual { margin-top: 48px; }

  .ms-step-connector { display: none; }

  .ms-pilot-card { padding: 40px 28px; }

  .ms-hero-float-card.card-1 { left: 0; bottom: -10px; }
  .ms-hero-float-card.card-2 { display: none; }
}

@media (max-width: 767px) {
  .ms-section { padding: 72px 0; }
  .ms-section-sm { padding: 56px 0; }

  .ms-hero-actions { flex-direction: column; align-items: flex-start; }
  .ms-hero-actions a, .ms-hero-actions button { width: 100%; justify-content: center; }

  .ms-hero-mockup { max-width: 100%; }

  .ms-pilot-form { flex-direction: column; }
  .ms-pilot-input { min-width: auto; }
  .ms-pilot-submit { width: 100%; }

  .ms-feature-group { padding: 28px 24px; }
  .ms-access-card { padding: 32px 24px; }
}
