/* ===== MEDFAMILY HERO ===== */
.mf-hero {
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.mf-hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-hero-logo:hover { transform: scale(1.05) rotate(-3deg); }

.mf-hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--accent), #0d9488, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mf-hero .tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
  font-weight: 400;
}

.mf-hero .tagline span {
  color: var(--accent);
  font-weight: 600;
}

.mf-hero-desc {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.mf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn-mf-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--accent), #0d9488);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
}

.btn-mf-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(20, 184, 166, 0.45);
}

.btn-mf-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
}

.btn-mf-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.1);
}

/* ===== VIDEO SECTION ===== */
.mf-video-section {
  margin: 0 auto 3rem;
  max-width: 800px;
  width: 100%;
}

.mf-video-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.1);
  transition: box-shadow 0.4s;
}

.mf-video-wrapper:hover {
  box-shadow: 0 12px 48px rgba(20, 184, 166, 0.2);
}

.mf-video-wrapper video {
  width: 100%;
  display: block;
}

.mf-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), transparent 50%);
}

.mf-video-glow {
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), transparent, var(--accent));
  opacity: 0.15;
  z-index: -1;
  animation: mfGlowPulse 3s ease-in-out infinite;
}

@keyframes mfGlowPulse {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.02); }
}

/* ===== FLYER SECTION ===== */
.mf-flyer-section {
  margin: 0 auto 3rem;
  max-width: 720px;
  width: 100%;
}

.mf-flyer {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-flyer:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 48px rgba(20, 184, 166, 0.15);
  border-color: var(--accent);
}

.mf-flyer img {
  width: 100%;
  display: block;
}

/* ===== FEATURES SECTION ===== */
.mf-features {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.mf-features .section-sub {
  margin-bottom: 2rem;
}

.mf-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.25rem;
}

.mf-feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.mf-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #0d9488);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.08);
}

.mf-feature-card:hover::before { transform: scaleX(1); }

.mf-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.mf-feature-card:hover .mf-feature-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.mf-feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mf-feature-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===== TECH STACK ===== */
.mf-tech {
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.mf-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
}

.mf-tech-badge {
  padding: 0.4rem 1rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(20, 184, 166, 0.15);
  transition: all 0.3s;
}

.mf-tech-badge:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== CAROUSEL SECTION — EFECTOS INCREÍBLES ===== */
.mf-carousel-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* ── Animated glowing gradient border ── */
.mf-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #08080e;
  box-shadow: 0 8px 48px rgba(20, 184, 166, 0.06), 0 0 80px rgba(20, 184, 166, 0.03);
  transform-style: preserve-3d;
  perspective: 1200px;
}

.mf-carousel::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(20, 184, 166, 0.4),
    rgba(20, 184, 166, 0.6),
    rgba(20, 184, 166, 0.4),
    transparent,
    rgba(20, 184, 166, 0.3),
    transparent 360deg
  );
  animation: mfBorderSpin 4s linear infinite;
  z-index: 0;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 3px;
}

@keyframes mfBorderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mf-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.03), transparent 50%, rgba(20, 184, 166, 0.02));
  z-index: 0;
  pointer-events: none;
}

/* ── Particle canvas behind images ── */
.mf-carousel-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.mf-carousel-viewport {
  position: relative;
  overflow: hidden;
  z-index: 2;
  border-radius: 18px;
}

/* ── Glass glare overlay ── */
.mf-carousel-glare {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.04), transparent 60%);
  transition: background 0.1s;
}

/* ── Track with morph transition ── */
.mf-carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* ── Slide with 3D depth ── */
.mf-carousel-slide {
  min-width: 100%;
  position: relative;
  transform: scale(0.92);
  opacity: 0.5;
  filter: blur(2px) brightness(0.7);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-carousel-slide.active-slide {
  transform: scale(1);
  opacity: 1;
  filter: blur(0) brightness(1);
}

.mf-carousel-slide img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  background: #08080e;
  position: relative;
  z-index: 1;
}

/* ── Reflection effect ── */
.mf-carousel-slide::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(20, 184, 166, 0.12), transparent);
  border-radius: 0 0 50% 50%;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.7s;
}

.mf-carousel-slide.active-slide::after {
  opacity: 1;
}

/* ── Ken Burns zoom (only active) ── */
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.mf-carousel-slide.active-ken img {
  animation: kenBurns 7s ease-in-out forwards;
}

/* ── Glass-morphism nav buttons ── */
.mf-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  z-index: 5;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px) saturate(1.8);
  -webkit-backdrop-filter: blur(12px) saturate(1.8);
  opacity: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.mf-carousel:hover .mf-carousel-btn { opacity: 1; }

.mf-carousel-btn:hover {
  background: rgba(20, 184, 166, 0.25);
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 0 32px rgba(20, 184, 166, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.mf-carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.mf-carousel-btn-prev { left: 1rem; }
.mf-carousel-btn-next { right: 1rem; }

/* ── Animated progress bar ── */
.mf-carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.05);
  z-index: 5;
}

.mf-carousel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #0d9488, #14b8a6);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.6), 0 0 60px rgba(20, 184, 166, 0.2);
  animation: mfProgGlow 1.5s ease-in-out infinite;
}

@keyframes mfProgGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(20, 184, 166, 0.4); }
  50% { box-shadow: 0 0 28px rgba(20, 184, 166, 0.7), 0 0 60px rgba(20, 184, 166, 0.2); }
}

/* ── Glass dots ── */
.mf-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(8,8,14,0.95);
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
  z-index: 3;
}

.mf-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  min-width: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mf-carousel-dot:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(20, 184, 166, 0.3);
  transform: scale(1.2);
}

.mf-carousel-dot.active {
  background: var(--accent);
  width: 32px;
  border-radius: 4px;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.4), inset 0 0 8px rgba(255,255,255,0.15);
}

/* ===== DOWNLOAD SECTION ===== */
.mf-download {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.mf-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}

.mf-download-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mf-download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #0d9488, #059669);
}

.mf-download-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.08);
}

.mf-download-card .arch {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.mf-download-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.mf-download-card .arch-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.5;
}

.mf-download-card .arch-chip {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.btn-mf-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
  margin-top: auto;
}

.btn-mf-download:hover {
  background: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
}

.btn-mf-download i { font-size: 0.8rem; }

/* ===== MANUAL DOWNLOAD ===== */
.mf-manual {
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.3s;
}

.mf-manual:hover { border-color: var(--accent); }

.mf-manual h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mf-manual p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.btn-mf-manual {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-mf-manual:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

/* ===== DISCLAIMER ===== */
.mf-disclaimer {
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 720px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 12px;
  text-align: center;
}

.mf-disclaimer i {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.mf-disclaimer p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ===== PHASES TIMELINE ===== */
.mf-phases {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.mf-phases .section-sub { margin-bottom: 2rem; }

.mf-phase-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.mf-phase {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s;
}

.mf-phase:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.mf-phase-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0d9488);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.mf-phase-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.mf-phase-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== YOUTUBE BUTTON — EFECTO RED GLOW ===== */
.btn-mf-youtube {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #ff0033, #cc0000);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  box-shadow: 0 4px 20px rgba(255, 0, 51, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-mf-youtube::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.6s;
}

.btn-mf-youtube:hover::before {
  transform: translateX(100%) skewX(-20deg);
}

.btn-mf-youtube:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255, 0, 51, 0.5), 0 0 60px rgba(255, 0, 51, 0.15);
  background: linear-gradient(135deg, #ff1a47, #e60000);
}

.btn-mf-youtube:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-mf-youtube i {
  font-size: 1.2rem;
  animation: mfYtBeat 2s ease-in-out infinite;
}

@keyframes mfYtBeat {
  0%, 100% { transform: scale(1); }
  5% { transform: scale(1.25); }
  10% { transform: scale(1); }
  15% { transform: scale(1.15); }
  20% { transform: scale(1); }
}

/* ── YouTube button pulse ring ── */
.btn-mf-youtube::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid rgba(255, 0, 51, 0.3);
  animation: mfYtPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes mfYtPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ===== FEEDBACK SECTION — EFECTO CÓSMICO ===== */
.mf-feedback {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.mf-feedback-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.04), rgba(20, 184, 166, 0.01));
  border: 1px solid rgba(20, 184, 166, 0.12);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s;
}

.mf-feedback-card:hover {
  border-color: rgba(20, 184, 166, 0.25);
}

/* ── Animated gradient shine sweep ── */
.mf-feedback-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(20, 184, 166, 0.04) 45%,
    rgba(20, 184, 166, 0.08) 50%,
    rgba(20, 184, 166, 0.04) 55%,
    transparent 60%
  );
  background-size: 300% 100%;
  animation: mfShineSweep 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes mfShineSweep {
  0% { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

.mf-feedback-content {
  position: relative;
  z-index: 1;
}

.mf-feedback-content h2 {
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--accent), #0d9488, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mf-feedback-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

/* ── Feedback button with sparkle ── */
.btn-mf-feedback {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--accent), #0d9488, #059669);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 52px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(20, 184, 166, 0.25);
}

.btn-mf-feedback::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent,
    rgba(20, 184, 166, 0.4),
    rgba(20, 184, 166, 0.6),
    rgba(20, 184, 166, 0.4),
    transparent
  );
  animation: mfBtnBorderSpin 3s linear infinite;
  z-index: -1;
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes mfBtnBorderSpin {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

.btn-mf-feedback:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 40px rgba(20, 184, 166, 0.4), 0 0 80px rgba(20, 184, 166, 0.1);
}

.btn-mf-feedback:active {
  transform: translateY(-1px) scale(0.97);
}

/* ── Star icon animation ── */
.btn-mf-feedback-icon {
  display: inline-flex;
  animation: mfStarFloat 2s ease-in-out infinite;
}

@keyframes mfStarFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(-8deg); }
  75% { transform: translateY(2px) rotate(8deg); }
}

/* ── Spark particles ── */
.btn-mf-feedback-spark {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.btn-mf-feedback-spark::before,
.btn-mf-feedback-spark::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

.btn-mf-feedback:hover .btn-mf-feedback-spark::before {
  animation: mfSpark1 0.8s ease-out forwards;
}

.btn-mf-feedback:hover .btn-mf-feedback-spark::after {
  animation: mfSpark2 0.8s ease-out forwards 0.15s;
}

@keyframes mfSpark1 {
  0% { top: 50%; left: 30%; opacity: 1; transform: scale(0); }
  100% { top: -10%; left: 15%; opacity: 0; transform: scale(1.5); }
}

@keyframes mfSpark2 {
  0% { top: 50%; right: 30%; opacity: 1; transform: scale(0); }
  100% { top: -10%; right: 15%; opacity: 0; transform: scale(1.5); }
}

/* ===== RESPONSIVE — FULLY RESPONSIVE ===== */

/* Large tablets / small desktops */
@media (max-width: 1024px) {
  .mf-download-grid { grid-template-columns: repeat(2, 1fr); }
  .mf-carousel-slide img { max-height: 460px; }
  .mf-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mf-video-section { max-width: 680px; }
  .mf-flyer-section { max-width: 600px; }
}

/* Medium tablets */
@media (max-width: 820px) {
  .mf-carousel-slide img { max-height: 420px; }
  .mf-hero { padding-bottom: 1.5rem; }
  .mf-hero-logo { width: 85px; height: 85px; }
  .mf-download-grid { grid-template-columns: 1fr; }
  .btn-mf-primary, .btn-mf-secondary, .btn-mf-youtube { width: 100%; justify-content: center; max-width: 340px; }
  .mf-download-card { padding: 1.25rem; }
  .mf-feature-card { padding: 1.35rem; }
  .mf-phase { padding: 1rem; }
  .mf-carousel-btn { opacity: 1; }
  .mf-feedback-card { padding: 2rem 1.5rem; }
}

/* Small tablets / large phones landscape */
@media (max-width: 768px) {
  .mf-hero { padding-bottom: 1.25rem; gap: 1rem; }
  .mf-hero-logo { width: 76px; height: 76px; }
  .mf-hero-actions { flex-direction: column; align-items: center; }
  .mf-hero-actions .btn-mf-primary,
  .mf-hero-actions .btn-mf-secondary,
  .mf-hero-actions .btn-mf-youtube { max-width: 300px; }
  .mf-carousel-slide img { max-height: 380px; }
  .mf-carousel-btn { width: 36px; height: 36px; font-size: 0.8rem; opacity: 1; }
  .mf-carousel-btn-prev { left: 0.5rem; }
  .mf-carousel-btn-next { right: 0.5rem; }
  .mf-feature-grid { grid-template-columns: 1fr; }
  .mf-tech-badges { gap: 0.45rem; }
  .mf-tech-badge { font-size: 0.72rem; padding: 0.3rem 0.8rem; }
  .mf-video-section { max-width: 100%; margin-bottom: 2rem; }
  .mf-flyer-section { max-width: 100%; margin-bottom: 2rem; }
  .mf-carousel-section { padding-top: 1rem; padding-bottom: 2rem; }
  .mf-download { padding-top: 1rem; padding-bottom: 2rem; }
  .mf-phases { padding-top: 1rem; padding-bottom: 1rem; }
}

/* Phones */
@media (max-width: 480px) {
  .mf-hero { padding-bottom: 1rem; gap: 0.75rem; }
  .mf-hero-logo { width: 64px; height: 64px; border-radius: 16px; }
  .mf-hero h1 { font-size: clamp(1.6rem, 8vw, 2rem); }
  .mf-hero .tagline { font-size: 0.85rem; }
  .mf-hero-desc { font-size: 0.8rem; }
  .mf-hero-actions .btn-mf-primary,
  .mf-hero-actions .btn-mf-secondary,
  .mf-hero-actions .btn-mf-youtube { font-size: 0.85rem; padding: 0.7rem 1.25rem; max-width: 100%; }
  .mf-carousel { border-radius: 12px; }
  .mf-carousel-slide img { max-height: 320px; }
  .mf-carousel-btn { width: 32px; height: 32px; font-size: 0.7rem; }
  .mf-carousel-btn-prev { left: 0.35rem; }
  .mf-carousel-btn-next { right: 0.35rem; }
  .mf-carousel-dot { width: 6px; height: 6px; min-width: 6px; }
  .mf-carousel-dot.active { width: 20px; }
  .mf-carousel-dots { padding: 0.65rem; gap: 0.3rem; }
  .mf-download-card { padding: 1.1rem; }
  .mf-download-card .arch { font-size: 0.78rem; }
  .mf-download-card h3 { font-size: 0.92rem; }
  .mf-download-card .arch-desc { font-size: 0.75rem; }
  .btn-mf-download { font-size: 0.8rem; padding: 0.6rem 1rem; }
  .mf-feature-card { padding: 1.1rem; }
  .mf-feature-card h3 { font-size: 0.9rem; }
  .mf-feature-card p { font-size: 0.78rem; }
  .mf-phase { flex-direction: column; gap: 0.5rem; padding: 1rem; }
  .mf-phase-content h4 { font-size: 0.82rem; }
  .mf-phase-content p { font-size: 0.75rem; }
  .mf-manual { padding: 1.25rem; }
  .mf-manual h3 { font-size: 0.95rem; }
  .mf-manual p { font-size: 0.78rem; }
  .btn-mf-manual { font-size: 0.82rem; padding: 0.65rem 1.25rem; }
  .mf-disclaimer { padding: 1rem; margin: 1.5rem auto; }
  .mf-disclaimer p { font-size: 0.75rem; }
  .mf-video-section { margin-bottom: 1.5rem; }
  .mf-flyer-section { margin-bottom: 1.5rem; }
  .mf-video-wrapper { border-radius: 12px; }
  .mf-flyer { border-radius: 12px; }
  .mf-carousel-section { padding-top: 0.5rem; padding-bottom: 1.5rem; }
  .mf-download { padding-top: 0.5rem; padding-bottom: 1.5rem; }
  .mf-phases { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .mf-features { padding-top: 1rem; padding-bottom: 1.5rem; }
  .mf-tech { padding-top: 1rem; padding-bottom: 1rem; }
  .mf-feedback { padding-top: 1rem; padding-bottom: 1rem; }
  .mf-feedback-card { padding: 1.5rem 1rem; border-radius: 14px; }
  .mf-feedback-content h2 { font-size: 1.2rem; }
  .mf-feedback-content p { font-size: 0.8rem; }
  .btn-mf-feedback { font-size: 0.85rem; padding: 0.75rem 1.5rem; min-height: 46px; }
  .section-title { font-size: 1.15rem; }
  .section-sub { font-size: 0.78rem; }
}

/* Very small phones */
@media (max-width: 360px) {
  .mf-hero-logo { width: 56px; height: 56px; border-radius: 14px; }
  .mf-carousel-slide img { max-height: 260px; }
  .mf-carousel-btn { width: 28px; height: 28px; font-size: 0.6rem; }
  .mf-carousel-btn-prev { left: 0.25rem; }
  .mf-carousel-btn-next { right: 0.25rem; }
  .mf-download-grid { gap: 0.65rem; }
  .mf-download-card { padding: 0.9rem; }
  .mf-feature-grid { gap: 0.65rem; }
  .mf-feature-card { padding: 0.9rem; }
  .btn-mf-primary, .btn-mf-secondary { font-size: 0.8rem; padding: 0.6rem 1rem; }
}
