:root {
    --bg-main: #0A0F1C;
    --text-main: #FFFFFF;
    --text-sec: #A1A1AA;
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --accent: #06B6D4;
    --border-color: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.03);
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAVBAR */
.navbar {
    padding: 24px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-sec);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-main);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.w-100 {
    width: 100%;
}

/* SECTION TITLES */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -1px;
    font-weight: 700;
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: 180px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-glow-1 {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-glow-2 {
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease forwards;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge i {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-sec);
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-footer {
    margin-top: 80px;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.hero-footer p {
    color: var(--text-sec);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.logos-container {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-sec);
    opacity: 0.5;
    font-weight: 600;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

/* FEATURES */
.features {
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-sec);
    font-size: 0.95rem;
}

/* HOW IT WORKS */
.how-it-works {
    padding: 120px 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.step-row {
    display: flex;
    align-items: center;
    gap: 64px;
}

.step-row.reverse {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.step-content p {
    color: var(--text-sec);
    font-size: 1.1rem;
}

.step-image {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: screen;
}

.image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(10, 15, 28, 0.8) 100%);
    pointer-events: none;
}

.abstract-visual {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.05));
}

.abstract-scan i {
    width: 64px;
    height: 64px;
    color: var(--accent);
    opacity: 0.5;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: scanning 2s linear infinite;
}

.abstract-nodes i {
    width: 80px;
    height: 80px;
    color: var(--primary);
    animation: pulseNode 3s ease-in-out infinite;
}

@keyframes scanning {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes pulseNode {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* FAQ */
.faq-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(37, 99, 235, 0.03) 100%);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--text-sec);
}

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

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-sec);
}

/* PRICING */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, var(--card-bg) 100%);
    border-color: rgba(37, 99, 235, 0.3);
    padding: 56px 32px;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.pricing-subtitle {
    color: var(--text-sec);
    font-size: 0.95rem;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-sec);
}

.pricing-features li i {
    color: var(--accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* RECURSOS GRATUITOS */
.resources-section {
    padding: 120px 0;
    background: radial-gradient(circle at 10% 90%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    border-top: 1px solid var(--border-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.resource-badge {
    align-self: flex-start;
    padding: 4px 12px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.resource-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.resource-card p {
    color: var(--text-sec);
    margin-bottom: 32px;
    font-size: 1rem;
    flex-grow: 1;
}

.resource-icon-box {
    margin-bottom: 24px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.03);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* FOOTER */
.footer {
    padding: 64px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--text-sec);
    font-size: 0.9rem;
    margin-top: 8px;
}

.credit-text {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 12px;
}

.credit-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.credit-text a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-sec);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .step-row, .step-row.reverse { flex-direction: column; gap: 40px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 24px; }
    .pricing-card.popular { padding: 40px 32px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .section-title { font-size: 2rem; margin-bottom: 40px; }
    .footer-content { flex-direction: column; gap: 24px; text-align: center; }
}
