/* ========================================================
   Mentora — Section styles
   ======================================================== */

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: transparent;
  overflow: visible;
}

/* Wrapper de ambas secciones con el fondo de cubos */
body {
  background: #ffffff;
}

/* Fondo de cubos glassmorphism — posicionado absoluto sobre body, cubre hero y parte de sec2 */
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(1260px, 84vw);
  height: min(1260px, 84vw);
  background-image: url("assets/images/fondo-hero.jpg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.hero::before { content: none; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow { margin-bottom: 24px; }

.hero-title { margin-bottom: 28px; }

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 32px 0 20px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-avatars {
  display: flex;
}
.hero-avatars .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--cream-bg);
  margin-left: -8px;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
}
.hero-avatars .avatar:first-child { margin-left: 0; }
.hero-avatars .avatar:nth-child(2) { background: linear-gradient(135deg, var(--brand-pink), #f2b3dc); }
.hero-avatars .avatar:nth-child(3) { background: linear-gradient(135deg, var(--purple-400), var(--brand-purple)); }
.hero-avatars .avatar:nth-child(4) { background: linear-gradient(135deg, var(--purple-300), var(--brand-pink)); }

/* Hero visual placeholder — glassmorphism cubes */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

/* ============ Bocatas movil_2 ============ */
.movil2-bubble {
  position: absolute;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px 16px;
  height: 72px;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
  transform-origin: var(--bubble-origin, center);
}
.movil2-bubble:not(.is-in) { opacity: 0; transform: scale(0.8) translateY(8px); }
.movil2-bubble.is-in {
  animation:
    bubble-rise 1.1s cubic-bezier(0.22, 1.15, 0.36, 1) both var(--bubble-delay, 0s),
    bubble-float 5s ease-in-out infinite calc(var(--bubble-delay, 0s) + 1.1s);
}
.movil2-bubble .bubble-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.movil2-bubble > span {
  position: relative;
  z-index: 1;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
}
.movil2-bubble--top {
  top: 18%;
  left: -10%;
  width: 240px;
  filter: drop-shadow(0 16px 28px rgba(46, 204, 113, 0.45));
  --bubble-origin: 75% 0%;
  --bubble-delay: 0.2s;
}
.movil2-bubble--bottom {
  bottom: auto;
  top: 52%;
  right: 14%;
  width: 240px;
  filter: drop-shadow(0 16px 28px rgba(46, 204, 113, 0.45));
  --bubble-origin: 20% 50%;
  --bubble-delay: 0.5s;
  padding-top: 16px;
  padding-bottom: 0;
}

.movil3-bubble--top {
  top: -20%;
  right: 25%;
  width: 240px;
  filter: drop-shadow(0 16px 28px rgba(230, 131, 194, 0.45));
  --bubble-origin: top right;
  --bubble-delay: 0.3s;
  z-index: 40;
}

/* Movil sección 3 — sobresale por encima de la diagonal */
.phone-stack-dark {
  position: absolute;
  right: 0;
  top: -60px;
  width: 55%;
  z-index: 20;
  pointer-events: none;
}
.movil2-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.35));
  margin-left: -8%;
  animation: float-phone-dark 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes float-phone-dark {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  50%      { transform: translateY(-14px) translateX(-4px) rotate(-0.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .movil2-img { animation: none; }
}
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.placeholder-hero::before,
.placeholder-hero::after { display: none; }
.placeholder-label { display: none; }



/* ============ SECTION 2: features light ============ */
.section {
  padding: 120px 0;
  position: relative;
}

.features-light {
  background: transparent;
  position: relative;
  z-index: 1;
}
.features-light > .container { position: relative; z-index: 2; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.phone-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.phone-bg-shapes {
  position: absolute;
  width: 62%;
  left: -2%;
  top: 30%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  animation: float-shapes 7s ease-in-out infinite;
  will-change: transform;
}

.phone-img {
  position: relative;
  z-index: 1;
  width: 109%;
  max-width: 588px;
  height: auto;
  transform: translateY(-20%);
  filter: drop-shadow(0 40px 60px rgba(31, 18, 53, 0.18));
  animation: float-phone 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(-20%) translateX(0) rotate(0deg); }
  50%      { transform: translateY(calc(-20% - 14px)) translateX(-4px) rotate(-0.6deg); }
}

@keyframes float-shapes {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  50%      { transform: translateY(18px) translateX(8px) rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-img, .phone-bg-shapes { animation: none; }
}

/* ============ Phone chat bubbles ============ */
.phone-bubble {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transform: scale(1);
  transform-origin: var(--bubble-origin, center);
  pointer-events: none;
  will-change: transform;
}

.phone-bubble:not(.is-in) { opacity: 0; transform: scale(0.8) translateY(8px); }

.phone-bubble.is-in {
  animation:
    bubble-rise 1.1s cubic-bezier(0.22, 1.15, 0.36, 1) both var(--bubble-delay, 0s),
    bubble-float 5s ease-in-out infinite calc(var(--bubble-delay, 0s) + 1.1s);
}

@keyframes bubble-rise {
  0%   { opacity: 0; transform: scale(0.8) translateY(8px); }
  40%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes bubble-enter-float {
  0%   { opacity: 0; transform: scale(0.6) translateY(8px); }
  8%   { opacity: 1; }
  18%  { transform: scale(1.04) translateY(-4px); }
  28%  { transform: scale(0.98) translateY(0); }
  38%  { transform: scale(1.01) translateY(-3px); }
  50%  { transform: scale(1) translateY(0); }
  75%  { transform: scale(1) translateY(-7px); }
  100% { transform: scale(1) translateY(0); }
}
@keyframes bubble-pop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes bubble-float {
  0%, 100% { transform: scale(1) translateY(0); }
  50%      { transform: scale(1) translateY(-6px); }
}

/* ---- TOP bubble ---- */
.phone-bubble--top {
  top: 4%;
  left: -13%;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 32px 32px 32px;
  background: none;
  filter: drop-shadow(0 20px 30px rgba(180, 107, 224, 0.45));
  --bubble-origin: 80% 100%;
  --bubble-delay: 0.15s;
}
.phone-bubble--top .bubble-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
}
.phone-bubble--top > span {
  position: relative;
  z-index: 1;
}

/* ---- BOTTOM bubble ---- */
.phone-bubble--bottom {
  top: 50%;
  right: 4%;
  color: #2a1a47;
  font-size: 16px;
  padding: 16px 24px;
  background: #fde8ef;
  border-radius: 999px;
  box-shadow: 0 20px 30px rgba(126, 81, 180, 0.18);
  --bubble-origin: 20% 50%;
  --bubble-delay: 0.4s;
}
.phone-bubble--bottom .bubble-shape { display: none; }
.phone-bubble--bottom::before {
  content: "";
  position: absolute;
  left: 26px;
  top: -9px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 10px solid #fde8ef;
}
.phone-bubble--bottom > span { position: relative; z-index: 1; }
  position: relative;
  z-index: 1;
}
.phone-bubble--bottom::after { content: none; }

@keyframes bubble-float-old { 0% {} }
.phone-bubble .bubble-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-purple, #7e51b4);
  flex-shrink: 0;
}

@keyframes bubble-float {
  0%, 100% { transform: scale(1) translateY(0); }
  50%      { transform: scale(1) translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-bubble { transform: scale(1) !important; animation: none !important; }
}

.phone-placeholder {
  width: 280px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: linear-gradient(145deg, #f5eeff 0%, #fce7f3 100%);
  border: 2px dashed rgba(126, 81, 180, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
  font-weight: 600;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 16px;
  text-align: center;
}
.phone-placeholder::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 36px;
  border: 1px solid rgba(126, 81, 180, 0.15);
}

.feature-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.mini-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(31, 18, 53, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mini-card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-pink) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(230, 131, 194, 0.35);
}
.mini-card-icon svg { width: 22px; height: 22px; }

.mini-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.mini-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.mini-card.wide { grid-column: span 2; }

/* ============ SECTION 3: dark showcase ============ */
.features-dark {
  background: transparent;
  color: #fff;
  position: relative;
  overflow: visible;
  padding: 260px 0 280px;
  margin-top: -80px;
  margin-bottom: 0;
  z-index: 10;
}

.features-dark-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #2a1a47 0%, #1f1235 100%);
  clip-path: polygon(0 140px, 100% 0, 100% calc(100% - 140px), 0 100%);
  z-index: 0;
  pointer-events: none;
}

.features-dark::before {
  content: "";
  position: absolute;
  top: 10%; right: -10%;
  width: 50%; height: 60%;
  background: radial-gradient(circle,
    rgba(126, 81, 180, 0.4) 0%,
    transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.features-dark::after {
  content: "";
  position: absolute;
  bottom: 0; left: -10%;
  width: 40%; height: 50%;
  background: radial-gradient(circle,
    rgba(230, 131, 194, 0.25) 0%,
    transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.features-dark .display,
.features-dark h1, .features-dark h2, .features-dark h3 { color: #fff; }

.dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 500px;
}

.phone-placeholder.dark {
  background: linear-gradient(145deg, #3a2361 0%, #1f1235 100%);
  border-color: rgba(126, 81, 180, 0.5);
  color: var(--purple-200);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4),
              0 0 0 1px rgba(126, 81, 180, 0.3);
}
.phone-placeholder.dark::before {
  border-color: rgba(230, 131, 194, 0.25);
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  margin-top: 40px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-pink) 100%);
  border: none;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(230, 131, 194, 0.35);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-list h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}
.feature-list p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

.dark-cta {
  margin-top: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.dark-cta p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-top: 14px;
}

/* ============ SECTION 4: learn ============ */
.features-learn {
  background: #ffffff;
  color: var(--text-dark);
  position: relative;
  padding: 140px 0 60px;
  overflow: visible;
  z-index: 25;
}
.features-learn::before {
  content: none;
}
.features-learn .display,
.features-learn h1, .features-learn h2, .features-learn h3, .features-learn h4 { color: var(--text-dark); }
.features-learn .lede.light { color: var(--text-muted); }
.features-learn .learn-feature p { color: var(--text-muted); }
.features-learn .eyebrow.dark {
  background: rgba(126, 81, 180, 0.12);
  color: var(--brand-purple);
  border-color: rgba(126, 81, 180, 0.2);
}
.features-learn .phone-placeholder.dark {
  background: linear-gradient(145deg, #f5eeff 0%, #fce7f3 100%);
  border-color: rgba(126, 81, 180, 0.4);
  color: var(--brand-purple);
  box-shadow: var(--shadow-lg);
}
.features-learn::before {
  content: "";
  position: absolute;
  top: 20%; left: -5%;
  width: 40%; height: 60%;
  background: radial-gradient(circle,
    rgba(230, 131, 194, 0.25) 0%, transparent 60%);
  filter: blur(80px);
}

.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.phones-overlap {
  position: relative;
  height: 700px;
  z-index: 5;
  overflow: visible;
}
.movil3-img {
  width: 130%;
  max-width: none;
  height: auto;
  display: block;
  margin-left: -15%;
  margin-top: -53%;
  position: relative;
  z-index: 30;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.18));
  animation: float-phone-dark 6s ease-in-out infinite;
  will-change: transform;
}
.phones-overlap .phone-placeholder {
  position: absolute;
}
.phones-overlap .phone-placeholder:first-child {
  top: 0; left: 10%;
  transform: rotate(-4deg);
  width: 240px;
}
.phones-overlap .phone-placeholder:last-child {
  bottom: 0; right: 5%;
  transform: rotate(3deg);
  width: 240px;
}

.learn-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}

.learn-feature {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
}
.learn-feature-text {
  flex: 1;
  text-align: left;
}
.learn-feature h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.learn-feature p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.learn-feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-pink) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(230, 131, 194, 0.35);
}
.learn-feature-icon svg {
  width: 26px;
  height: 26px;
}

/* ============ SECTION 5: 3 steps ============ */
.steps-section {
  background: transparent;
  color: #fff;
  padding: 40px 0 0;
  position: relative;
  overflow: visible;
}

.steps-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 55%;
  bottom: -200px;
  background: linear-gradient(180deg, #2a1a47 0%, #150a28 100%);
  clip-path: polygon(0 140px, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.steps-section .container { position: relative; z-index: 1; }

.steps-section .steps-header { color: var(--text-dark); }
.steps-section .steps-header .display { color: var(--text-dark); }

.steps-section .steps-grid { margin-top: 60px; padding-bottom: 100px; }

.steps-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.step-card {
  background: linear-gradient(145deg,
    rgba(126, 81, 180, 0.18) 0%,
    rgba(230, 131, 194, 0.06) 100%);
  border: 1px solid rgba(126, 81, 180, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 131, 194, 0.5);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(230, 131, 194, 0.4);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 12px;
  color: #fff;
}
.step-card p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.6;
}

/* ============ MODALS ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 24, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow: 0 40px 80px rgba(10, 4, 24, 0.35);
  text-align: center;
}
.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-card--mentor {
  background: linear-gradient(160deg, #1a0b35 0%, #2d1060 100%);
  color: #fff;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  color: rgba(0,0,0,0.35);
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.modal-close:hover { background: rgba(0,0,0,0.06); color: rgba(0,0,0,0.7); }
.modal-card--mentor .modal-close { color: rgba(255,255,255,0.4); }
.modal-card--mentor .modal-close:hover { background: rgba(255,255,255,0.08); color: #fff; }

.modal-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(230, 131, 194, 0.4);
}
.modal-icon svg { width: 28px; height: 28px; }
.modal-icon--mentor {
  background: linear-gradient(135deg, #e683c2, #7e51b4);
}

.modal-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-purple);
  background: rgba(126, 81, 180, 0.1);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.modal-card--mentor .modal-eyebrow {
  color: var(--brand-pink);
  background: rgba(230, 131, 194, 0.15);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.modal-card--mentor .modal-title { color: #fff; }

.modal-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.modal-card--mentor .modal-desc { color: rgba(255,255,255,0.7); }

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.modal-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.modal-input-wrap svg {
  position: absolute;
  left: 14px;
  width: 18px; height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.modal-input-wrap input {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  color: var(--text-dark);
}
.modal-input-wrap input:focus { border-color: var(--brand-purple); }
.modal-card--mentor .modal-input-wrap svg { color: rgba(255,255,255,0.45); }
.modal-card--mentor .modal-input-wrap input {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.modal-card--mentor .modal-input-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.modal-card--mentor .modal-input-wrap input:focus { border-color: var(--brand-pink); }

.modal-btn { width: 100%; padding: 16px; font-size: 16px; }

.modal-fine {
  font-size: 12px;
  color: rgba(0,0,0,0.35);
  line-height: 1.5;
}
.modal-card--mentor .modal-fine { color: rgba(255,255,255,0.35); }

.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(46, 204, 113, 0.08);
  border-radius: 12px;
  border: 1.5px solid rgba(46, 204, 113, 0.25);
  margin-top: 8px;
}
.modal-success svg { width: 32px; height: 32px; color: #2ecc71; }
.modal-success p { font-size: 15px; color: var(--text-dark); font-weight: 600; margin: 0; }
.modal-card--mentor .modal-success { background: rgba(46, 204, 113, 0.12); }
.modal-card--mentor .modal-success p { color: #fff; }


.footer {
  background: #150a28;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 40px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding: 60px 0 40px;
  align-items: start;
}

.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand .logo-img--footer {
  height: 28px;
  filter: brightness(0) saturate(100%) invert(67%) sepia(36%) saturate(641%) hue-rotate(280deg) brightness(95%) contrast(91%);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  max-width: 36ch;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  justify-self: end;
}

.footer-col h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s ease;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.footer-contact {
  font-size: 13px;
  margin-top: 12px;
  color: rgba(255,255,255,0.55);
}
.footer-contact a {
  color: var(--brand-pink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact a:hover { color: #fff; }
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.footer-heart {
  color: #ff4d6d;
  display: inline-block;
  font-size: 14px;
  vertical-align: middle;
  margin: 0 2px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid,
  .features-grid,
  .dark-grid,
  .learn-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero { padding: 120px 0 60px; }
  .section { padding: 80px 0; }
  .features-learn, .steps-section { padding: 80px 0; }
  .phones-overlap { height: 420px; }
  .feature-list { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { justify-self: start; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .feature-mini-cards { grid-template-columns: 1fr; }
  .mini-card.wide { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
}

/* ============ TWEAKS PANEL ============ */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 360px;
  max-height: 80vh;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  border: 1px solid rgba(26, 11, 61, 0.08);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.tweaks-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.tweaks-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(26, 11, 61, 0.08);
  background: linear-gradient(135deg, var(--purple-50), #fff);
}
.tweaks-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-dark);
}

.tweaks-body {
  overflow-y: auto;
  padding: 16px 20px 24px;
  flex: 1;
}

.tweak-group {
  margin-bottom: 20px;
}
.tweak-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-500);
  margin-bottom: 10px;
}

.tweak-field {
  margin-bottom: 10px;
}
.tweak-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.tweak-field input,
.tweak-field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(26, 11, 61, 0.12);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.tweak-field input:focus,
.tweak-field textarea:focus {
  outline: none;
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.tweaks-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(26, 11, 61, 0.06);
  color: var(--text-dark);
  display: grid;
  place-items: center;
  font-size: 16px;
}
