
:root {
    --bg-main: #050509;
    --bg-elevated: #0b0f1a;
    --bg-elevated-soft: #101624;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --accent-1: #7b5cff;
    --accent-2: #36e4ff;
    --text-main: #f5f7ff;
    --text-muted: #9ba0c2;
    --danger: #ff5c7a;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #1a1030 0, #050509 48%, #020308 100%);
    color: var(--text-main);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    background: linear-gradient(to right, rgba(5, 5, 9, 0.96), rgba(5, 5, 9, 0.92));
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.22em;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.logo-mark {
    background: radial-gradient(circle at 10% 0, var(--accent-2), var(--accent-1));
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.logo-text {
    font-weight: 500;
}

.nav {
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.nav-list a {
    position: relative;
    padding: 4px 0;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease-out;
}

.nav-list a:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

/* HERO */

.hero {
    padding: 64px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    color: var(--accent-2);
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 14px;
}

.gradient-text {
    background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin: 0 0 24px;
    color: var(--text-muted);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.hero-badges span {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 10px;
    background: rgba(2, 3, 10, 0.7);
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    width: 100%;
    max-width: 360px;
    border-radius: 26px;
    padding: 20px 20px 18px;
    background: radial-gradient(circle at 0 0, rgba(123, 92, 255, 0.2), transparent 60%),
                linear-gradient(145deg, #0a0f1b, #040611);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin: 0 0 6px;
}

.hero-card-number {
    margin: 0 0 6px;
    font-size: 26px;
}

.hero-card-number span {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 6px;
}

.hero-card-caption {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.metric-label {
    font-size: 11px;
    color: var(--text-muted);
}

.metric-value {
    font-size: 15px;
    font-weight: 600;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(19, 214, 155, 0.12);
    color: #9fffd3;
    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4bffaa;
    box-shadow: 0 0 12px rgba(75, 255, 170, 0.9);
}

/* SECCIONES GENERALES */

.section {
    padding: 56px 0;
}

.section-alt {
    background: radial-gradient(circle at top right, rgba(123, 92, 255, 0.16), transparent 55%);
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    margin: 0 0 10px;
    font-size: 26px;
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
    max-width: 640px;
    margin-inline: auto;
}

.section-header.align-left {
    text-align: left;
    margin-bottom: 18px;
}

/* GRID & CARDS */

.grid {
    display: grid;
    gap: 22px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    border-radius: var(--radius-lg);
    padding: 18px 18px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
}

.step-number {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-2);
    margin-bottom: 6px;
    display: inline-block;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: var(--text-muted);
}

/* PRICING */

.section-alt .card {
    background: var(--bg-elevated-soft);
}

.pricing-grid {
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-header h3 {
    margin: 0 0 4px;
}

.pricing-tagline {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.pricing-price {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.pricing-list li {
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
}

.pricing-list li::before {
    content: "·";
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--accent-2);
}

.pricing-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-card-featured {
    border-color: rgba(123, 92, 255, 0.9);
    box-shadow: 0 20px 60px rgba(3, 5, 18, 0.9);
    background: radial-gradient(circle at 0 0, rgba(123, 92, 255, 0.4), transparent 60%),
                var(--bg-elevated-soft);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    padding: 4px 10px;
    border-radius: 999px;
}

/* BENEFICIOS */

.benefit h3 {
    font-size: 17px;
}

/* FAQ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: inherit;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
}

.faq-icon {
    font-size: 18px;
    color: var(--accent-2);
    margin-left: 12px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    transition: max-height 0.22s ease-out, padding-bottom 0.22s ease-out;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 14px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 12px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* CONTACTO */

.contact-section {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.contact-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-muted);
}

.contact-highlights li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.contact-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
}

.contact-form {
    padding: 18px 18px 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.form-row label {
    font-size: 13px;
    color: var(--text-muted);
}

.form-row input,
.form-row textarea {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 10px;
    background: rgba(4, 4, 10, 0.9);
    color: var(--text-main);
    font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 1px rgba(54, 228, 255, 0.6);
}

.form-note {
    margin: 4px 0 10px;
    font-size: 12px;
    color: var(--text-muted);
}

/* FOOTER */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0 22px;
    background: #04040a;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 14px;
}

.footer-nav a {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    text-underline-offset: 3px;
}

/* BOTONES */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out,
        border-color 0.12s ease-out;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    border-color: transparent;
    color: #050509;
    box-shadow: 0 14px 40px rgba(24, 187, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 44px rgba(24, 187, 255, 0.5);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.26);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.full-width {
    width: 100%;
}

/* UTILIDADES */

.align-right {
    text-align: right;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .header-inner {
        padding: 10px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        right: 0;
        top: 120%;
        flex-direction: column;
        gap: 12px;
        padding: 14px;
        background: #04040a;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
        min-width: 190px;
        display: none;
    }

    .nav-list.open {
        display: flex;
    }

    .hero {
        padding-top: 40px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}
