:root {
  --color-bg: #0d0d0d;
  --color-surface: #141414;
  --color-border: #2a2a2a;
  --color-text: #fff;
  --color-muted: #a0a0a0;
  --color-accent: #ffbb00;
  --color-accent-2: #ff5f6d;
}


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

body {
    background: radial-gradient(circle at 20% 30%, var(--color-bg) 0%, #000 80%);
    color: #fff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.02em;
}

.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 4% 2%;
}

.highlight { 
    color: #00d1b2;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-2) 100%); 
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1vw;
    margin-bottom: 1vh;
    animation: fadeIn 1s ease-in-out both;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    width: clamp(120px, 20vw, 200px);
    /* adaptable a pantallas pequeñas y grandes */
    height: auto;
    filter: drop-shadow(0 0 5px #ff990055);
    transition: transform 0.2s ease;
}

.logo img:hover {
    transform: scale(1.05);
}


.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vw;
    max-width: 85%;
}

.hero h1 {
    font-size: clamp(1.6rem, 5vw, 3rem);
    /* escala fluida entre móvil y desktop */
    line-height: 1.2;
    font-weight: 700;
}

.hero .subheadline {
    font-size: clamp(0.9rem, 2vw, 1.5rem);
    color: #a0a0a0;
    line-height: 1.5;
    max-width: 100%;
}

h1 {
    font-size: clamp(1.3rem, 5vw, 3rem);
    /* Escala fluida entre móvil y desktop */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheadline {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #a0a0a0;
    margin-bottom: 4%;
    line-height: 1.6;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: #fff;
    background: linear-gradient(90deg, #ffbb00 0%, #ff5f6d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    background: linear-gradient(180deg, #141414 0%, #0d0d0d 100%);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 2%;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 0 20px #ffffff05;
    transition: transform 0.3s ease;
}

.form-container:hover {
    transform: scale(1.01);
}

.form-label {
    font-size: clamp(0.75rem, 1.4vw, 1.3rem);
    color: #e0e0e0;
    line-height: 1.3;
    /* junta más las líneas */
    display: block;
    text-align: center;
    /* opcional: centra el texto */
    margin-bottom: 0;
    /* evita margen doble */
    padding-bottom: 0.9em;
    /* separa el texto del input */
    opacity: 0.9;
    /* tono más suave para equilibrio visual */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.4s ease-out both;
}

.email-input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 0.5em;
    padding: 1em 1.5em;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #ffffff;
    margin-bottom: 4%;
    transition: all 0.25s ease;
}

.email-input:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0.4em #ffffff33;
}

.email-input::placeholder {
    color: #4a4a4a;
    font-size: 0.95em;
}

.submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #bfbfbf 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 0.5em;
    padding: 1em 2em;
    font-size: clamp(0.7rem, 1.5vw, 1.4rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #b3b3b3 100%);
    color: #000000;
    transform: translateY(-3px);
}

.pricing-info {
    text-align: center;
    /* Centra el texto horizontalmente */
    font-size: clamp(0.6rem, 1.6vw, 1rem);
    color: #6a6a6a;
    margin-top: 3%;
    line-height: 1.4;
}

.pricing-highlight {
    color: #ffffff;
    font-weight: 600;
}

.features {
    margin-bottom: 8vh;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5em;
    text-align: center;
    margin-top: 5%;
    width: 100%;
}

.feature-item {
    background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
    border: 1px solid var(--color-border); 
    border-radius: 0.6em;
    padding: 6% 4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8em;
    transition: all 0.25s ease;
    position: relative;
    z-index: 0;
}

.feature-item:hover {
    border-color: #444;
    background: linear-gradient(180deg, #202020 0%, #111 100%);
    z-index: 2;
    transform: translateY(-0.4em);
}

.feature-icon {
    width: clamp(1.5em, 5vw, 2em);
    height: clamp(1.5em, 5vw, 2em);
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    color: #b580ff;
    text-shadow: 0 0 8px #b580ff33;
    transition: all 0.3s ease;
    border-radius: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: clamp(1.3rem, 2vw, 1.5rem);
}


.feature-item:hover .feature-icon {
    color: #d0a6ff;
    text-shadow: 0 0 12px #d0a6ff99;
}

.feature-content h3 {
    font-size: clamp(0.95rem, 1.8vw, 1rem);
    margin-bottom: 0.4em;
    font-weight: 600;
    color: #fff;
}

.feature-content p {
    font-size: clamp(0.65rem, 1.3vw, 0.7rem);
    color: #a0a0a0;
    line-height: 1.6;
}

/* === CÓMO FUNCIONA === */
 
.how-it-works h2 {
    font-size: clamp(0.85rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #fffb00;
    letter-spacing: 0.03em;
    margin-bottom: 1em;
    opacity: 0.9;
    text-transform: uppercase;
    text-align: center;
}

.steps-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem 0;
    scrollbar-width: none;
    /* Oculta el scroll en Firefox */
}

.steps-grid::-webkit-scrollbar {
    display: none;
    /* Oculta el scroll en Chrome/Safari */
}

.step-card {
    flex: 0 0 80%;
    max-width: 100%;
    scroll-snap-align: center;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 1em 0.8em;
    text-align: center;
    transition: all 0.25s ease;
}

.step-card:hover {
    border-color: #3a3a3a;
    transform: translateY(-2px);
}

.step-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
}

.step-title {
    font-size: clamp(0.7rem, 1vw, 1rem);
    color: #fff;
    opacity: 0.95;
    font-weight: 600;
}

.step-subtitle {
    font-size: clamp(0.65rem, 1.3vw, 0.9rem);
    color: #a0a0a0;
    line-height: 1.3;
}

.social-proof {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 0.6em;
    padding: 1%; 
}

.social-proof-text {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.4;
}

.footer {
    font-size: clamp(0.8rem, 1.4vw, 0.95rem);
    color: #4a4a4a;
    padding-top: 6%;
    border-top: 1px solid #2a2a2a;
    text-align: center;
}

.success-message {
    display: none;
    background: #1a4d2e;
    border: 1px solid #2d7a4f;
    border-radius: 0.6em;
    padding: 4%;
    margin-top: 4%;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #d6f3e2;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.4s ease-out forwards;
}

.faq-section {
    margin-top: 6vh;
    margin-bottom: 8vh;
    position: relative;
    z-index: 1;
    /* evita solapamiento por transform */
}

.faq-toggle {
    background: linear-gradient(180deg, #1b1b1b 0%, #121212 100%);
    border: 1px solid #2a2a2a;
    border-radius: 0.6em;
    padding: 2%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.faq-toggle:hover {
    border-color: #3a3a3a;
    background: #1e1e1e;
}

.faq-toggle-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #ffffff;
}

.faq-toggle-icon {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #a0a0a0;
    transition: transform 0.3s ease;
}

.faq-toggle.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-content {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-top: none;
    border-radius: 0 0 0.6em 0.6em;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-content.active {
    padding: 4%;
    max-height: 70vh;
    border-top: 1px solid #333;
}

.faq-list {
    display: grid;
    gap: 2em;
}

.faq-item {
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 1.2em;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4em;
}

.faq-answer {
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    color: #a0a0a0;
    line-height: 1.6;
}

.how-it-works {
    margin: 5% 0;
    text-align: center;
}

.carousel-inner {
    max-width: 360px;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100%);
    width: 2rem;
    height: 2rem;
    opacity: 0.6;
}

.step-card {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 1.5em;
  text-align: center;
  transition: all 0.3s ease;
  transform-origin: center;
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: #3a3a3a;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.6em;
}

.step-subtitle {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.how-it-works h2 {
    color: #fffb00;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    margin-bottom: 1em;
}


@media (max-width: 640px) {
    h1 {
        font-size: 36px;
    }

    .subheadline {
        font-size: 18px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .features {
        margin-bottom: 15vh;
    }

    .faq-section {
        margin-top: 4vh;
        margin-bottom: 5vh;
    }

    .social-proof {
        background: linear-gradient(90deg, #121212 0%, #1b1b1b 100%);
        color: #c0c0c0;
        font-weight: 500;
    }

    .footer {
        margin-top: 5vh;
        color: #666;
        border-top: 1px solid #222;
        padding: 4% 0;
        font-size: 0.9rem;
        letter-spacing: 0.02em;
    }


}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 640px) {
    .form-container {
        padding: 8% 6%;
    }

    .faq-toggle {
        padding: 5%;
    }

    .faq-content.active {
        padding: 6%;
    }

    .pricing-info {
        margin: 0;
        padding: 0;
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

@media (min-width: 640px) {
    .container {
        max-width: 70%;
        padding: 1vw 4%;
    }

    .form-container {
        padding: 6%;
        /* aumenta el espacio en pantallas grandes */
    }

    .feature-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 2em;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* Ajustes para pantallas pequeñas */
@media (max-width: 640px) {
    .how-it-works {
        margin: 8% 0 4%;
    }

    .steps-grid {
        gap: 12px;
    }

    .step-card {
        padding: 0.9em 0.7em;
    }
}

@media (min-width: 768px) {
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
    }

    .step-card {
        flex: none;
    }
}
/* ✨ Al duplicar tamaño en pantallas grandes */
@media (min-width: 768px) {
  .carousel-inner {
    max-width: 100%; /* el doble */
  }

  .step-card {
    transform: scale(1.5); /* escala al doble */
  }

  /* Aumentamos espacio entre cards */
  .carousel-item {
    padding: 2em 0;
  }

  .step-title {
    font-size: 1rem;
  }

  .step-subtitle {
    font-size: 0.8rem;
  }

  .step-card svg {
    width: 60px;
    height: 60px;
  }
}

/* Ajuste para pantallas muy grandes */
@media (min-width: 1200px) {
  .carousel-inner {
    max-width: 100%;
  }
}