/* ============================= */
/* Método Intuitivo — Premium Clean */
/* ============================= */

/* --- Base & Resets --- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* --- Symbols Setting --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined.fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Subtle Background Pattern --- */
.bg-dot-pattern {
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.dark .bg-dot-pattern {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* --- Premium Aurora Animated Background --- */
.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    opacity: 0.15;
    /* Sutil */
    pointer-events: none;
    background: transparent;
}

.aurora-bg::before,
.aurora-bg::after,
.aurora-blob {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: aurora 20s infinite alternate ease-in-out;
}

.aurora-bg::before {
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: #10b981;
    /* Primary Emerald */
    animation-delay: 0s;
}

.aurora-bg::after {
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: #34d399;
    /* Lighter emerald/mint */
    animation-delay: -5s;
}

.aurora-blob {
    top: 20%;
    left: 40%;
    width: 50%;
    height: 50%;
    background: #a7f3d0;
    /* Soft pale green */
    animation-delay: -10s;
}

@keyframes aurora {
    0% {
        transform: scale(1) translate(0, 0);
    }

    33% {
        transform: scale(1.1) translate(5%, 5%);
    }

    66% {
        transform: scale(0.9) translate(-5%, 5%);
    }

    100% {
        transform: scale(1) translate(0, -5%);
    }
}

.dark .aurora-bg::before {
    background: #059669;
    /* Darker emerald */
}

.dark .aurora-bg::after {
    background: #047857;
    /* Deep green */
}

.dark .aurora-blob {
    background: #064e3b;
    /* Very dark green/teal */
}

.dark .aurora-bg {
    opacity: 0.3;
}

/* SVG Curve shape dividers */
.curve-bottom,
.curve-top {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.curve-bottom {
    bottom: 0;
    transform: translateY(1px);
}

.curve-top {
    top: 0;
    transform: rotate(180deg) translateY(1px);
}

.curve-bottom svg,
.curve-top svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    /* Reduced specific curve height */
}

@media (min-width: 768px) {
    .curve-bottom svg {
        height: 100px;
    }
}

/* --- Subtle Reveal on Scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children */
.reveal-children>* {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-children.is-visible>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-children.is-visible>*:nth-child(1) {
    transition-delay: 0ms;
}

.reveal-children.is-visible>*:nth-child(2) {
    transition-delay: 80ms;
}

.reveal-children.is-visible>*:nth-child(3) {
    transition-delay: 160ms;
}

.reveal-children.is-visible>*:nth-child(4) {
    transition-delay: 240ms;
}

/* --- Video Testimonial Carousel --- */
.carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    scroll-snap-align: center;
    flex: 0 0 85%;
    /* Mobile width */
}

@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 45%;
        scroll-snap-align: start;
    }
}

@media (min-width: 1024px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9/16;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.5rem 1.5rem;
    /* More top padding for gradient */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    color: white;
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* Sound Toggle Overlay */
.video-sound-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    /* Visible by default on muted autoplay */
}

.video-sound-toggle:hover {
    background: rgba(244, 192, 37, 0.9);
    color: #1c180d;
    transform: translate(-50%, -50%) scale(1.05);
}

.video-sound-toggle.is-playing-sound {
    opacity: 0;
    /* Hide when sound is on */
    pointer-events: none;
}

.video-wrapper:hover .video-sound-toggle.is-playing-sound {
    opacity: 1;
    /* Show briefly on hover to pause/mute */
    pointer-events: auto;
}

/* --- Multi-Step Form --- */
.form-step {
    display: none;
    animation: fadeSlideIn 0.35s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* Progress bar */
.progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.dark .progress-track {
    background: #334155;
}

.progress-fill {
    height: 100%;
    background: #10b981;
    border-radius: 9999px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form option cards */
.option-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.dark .option-card {
    border-color: #334155;
    background: #1e293b;
}

.option-card:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.2);
}

.option-card.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.option-card input[type="radio"] {
    display: none;
}

.option-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.dark .option-dot {
    border-color: #475569;
}

.option-card.selected .option-dot {
    border-color: #10b981;
    background: #10b981;
}

.option-card.selected .option-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Form inputs - Premium Aesthetic */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #f8fafc;
    color: #0f172a;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.dark .form-input {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.form-input:hover {
    border-color: #94a3b8;
}

.dark .form-input:hover {
    border-color: #475569;
}

.form-input:focus {
    outline: none;
    background: white;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.dark .form-input:focus {
    background: #0f172a;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), inset 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* --- Stats Bar --- */
.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #10b981;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
}

/* --- Testimonial Cards --- */
.testimonial-card {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dark .testimonial-card {
    background: #1e293b;
    border-color: #334155;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
}

/* --- Misc --- */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Curiosity redirect card */
.curiosity-redirect {
    animation: fadeSlideIn 0.5s ease-out;
}

/* Step icon circles */
.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #1c180d;
    background: #10b981;
    flex-shrink: 0;
}

/* -- Structural Depth -- */
.overlap-top {
    margin-top: -6rem;
    /* Pull section up over previous */
    position: relative;
    z-index: 20;
}

@media (min-width: 768px) {
    .overlap-top {
        margin-top: -8rem;
    }
}

.hide-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.diagonal-cut-top {
    clip-path: polygon(0 6vw, 100% 0, 100% 100%, 0 100%);
    margin-top: -6vw;
    /* Pull up to cover the vertical gap */
    padding-top: calc(5rem + 6vw);
    /* Compensate inside */
}

/* Pain point cards */
.pain-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #ecfdf5;
    /* Emerald 50 */
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.dark .pain-card {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.1);
}

/* Teacher Bio Image styling */
.teacher-photo {
    width: 100%;
    max-width: 300px;
    border-radius: 2rem;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.teacher-photo:hover {
    transform: rotate(0deg) translateY(-5px);
}

/* --- Loading Animation --- */
.loader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader {
  --main-size: 4em;
  --text-color: #10b981;
  --shine-color: rgba(16, 185, 129, 0.4);
  --shadow-color: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  user-select: none;
  position: relative;
  font-size: var(--main-size);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-color);
  width: 7.3em;
  height: 1em;
  filter: drop-shadow(0 0 0.05em var(--shine-color));
}

.dark .loader {
    --text-color: #34d399;
    --shadow-color: #f1f5f9;
}

.loader .text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
}

.loader .text:nth-child(1) {
  clip-path: polygon(0% 0%, 11.11% 0%, 11.11% 100%, 0% 100%);
  font-size: calc(var(--main-size) / 20);
  margin-left: -2.1em;
  opacity: 0.6;
}

.loader .text:nth-child(2) {
  clip-path: polygon(11.11% 0%, 22.22% 0%, 22.22% 100%, 11.11% 100%);
  font-size: calc(var(--main-size) / 16);
  margin-left: -0.98em;
  opacity: 0.7;
}

.loader .text:nth-child(3) {
  clip-path: polygon(22.22% 0%, 33.33% 0%, 33.33% 100%, 22.22% 100%);
  font-size: calc(var(--main-size) / 13);
  margin-left: -0.33em;
  opacity: 0.8;
}

.loader .text:nth-child(4) {
  clip-path: polygon(33.33% 0%, 44.44% 0%, 44.44% 100%, 33.33% 100%);
  font-size: calc(var(--main-size) / 11);
  margin-left: -0.05em;
  opacity: 0.9;
}

.loader .text:nth-child(5) {
  clip-path: polygon(44.44% 0%, 55.55% 0%, 55.55% 100%, 44.44% 100%);
  font-size: calc(var(--main-size) / 10);
  margin-left: 0em;
  opacity: 1;
}

.loader .text:nth-child(6) {
  clip-path: polygon(55.55% 0%, 66.66% 0%, 66.66% 100%, 55.55% 100%);
  font-size: calc(var(--main-size) / 11);
  margin-left: 0.05em;
  opacity: 0.9;
}

.loader .text:nth-child(7) {
  clip-path: polygon(66.66% 0%, 77.77% 0%, 77.77% 100%, 66.66% 100%);
  font-size: calc(var(--main-size) / 13);
  margin-left: 0.33em;
  opacity: 0.8;
}

.loader .text:nth-child(8) {
  clip-path: polygon(77.77% 0%, 88.88% 0%, 88.88% 100%, 77.77% 100%);
  font-size: calc(var(--main-size) / 16);
  margin-left: 0.98em;
  opacity: 0.7;
}

.loader .text:nth-child(9) {
  clip-path: polygon(88.88% 0%, 100% 0%, 100% 100%, 88.88% 100%);
  font-size: calc(var(--main-size) / 20);
  margin-left: 2.1em;
  opacity: 0.6;
}

.loader .text span {
  animation: scrolling 2s cubic-bezier(0.1, 0.6, 0.9, 0.4) infinite, shadow 2s cubic-bezier(0.1, 0.6, 0.9, 0.4) infinite;
}

.loader .text:nth-child(1) span {
  background: linear-gradient(to right, var(--text-color) 4%, var(--shadow-color) 7%);
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(2) span {
  background: linear-gradient(to right, var(--text-color) 9%, var(--shadow-color) 13%);
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(3) span {
  background: linear-gradient(to right, var(--text-color) 15%, var(--shadow-color) 18%);
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(4) span {
  background: linear-gradient(to right, var(--text-color) 20%, var(--shadow-color) 23%);
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(6) span {
  background: linear-gradient(to right, var(--shadow-color) 29%, var(--text-color) 32%);
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(7) span {
  background: linear-gradient(to right, var(--shadow-color) 34%, var(--text-color) 37%);
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(8) span {
  background: linear-gradient(to right, var(--shadow-color) 39%, var(--text-color) 42%);
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .text:nth-child(9) span {
  background: linear-gradient(to right, var(--shadow-color) 45%, var(--text-color) 48%);
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
}

.loader .line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 0.05em;
  width: calc(var(--main-size) / 2);
  margin-top: 0.9em;
  border-radius: 0.05em;
}

.loader .line::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: var(--text-color);
  opacity: 0.3;
}

.loader .line::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 0.05em;
  transform: translateX(-90%);
  animation: wobble 2s cubic-bezier(0.5, 0.8, 0.5, 0.2) infinite;
}

@keyframes wobble {
  0%   { transform: translateX(-90%); }
  50%  { transform: translateX(90%); }
  100% { transform: translateX(-90%); }
}

@keyframes scrolling {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes shadow {
  0%   { background-position: -98% 0; }
  100% { background-position: 102% 0; }
}

.loading-status-text {
  animation: pulse-text 1.5s infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; text-shadow: 0 0 10px rgba(16, 185, 129, 0.3); }
}