@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --background: #f7f7fb;
    --surface: #ffffff;
    --text: #11121a;
    --muted: #666b7a;
    --border: #e7e7ef;
    --primary: #6c5ce7;
    --primary-dark: #5848d6;
    --dark: #11121a;
    --radius: 18px;
    --shadow: 0 20px 60px rgba(20, 20, 40, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 247, 251, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav nav a {
    font-size: 14px;
    font-weight: 600;
    color: #555968;
    transition: 0.2s;
}

.nav nav a:hover {
    color: var(--primary);
}


/* HERO */

.hero {
    padding: 110px 0 100px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 80px;
}

.small-title {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.03;
    letter-spacing: -4px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 600px;
    color: var(--muted);
    font-size: 19px;
}

.buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 21px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.button.primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.25);
}

.button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.button.secondary {
    background: var(--surface);
    border: 1px solid var(--border);
}

.button.secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}


/* HERO VISUAL */

.hero-card {
    height: 390px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;

    background:
        radial-gradient(circle at 30% 30%, rgba(108, 92, 231, 0.4), transparent 35%),
        linear-gradient(145deg, #151622, #292343);

    box-shadow: 0 30px 80px rgba(40, 30, 100, 0.2);
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: white;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;

    box-shadow:
        0 0 50px rgba(140, 120, 255, 0.4),
        0 20px 40px rgba(0,0,0,0.2);
}

.circle strong {
    color: #171722;
}

.floating-card {
    position: absolute;

    padding: 12px 16px;

    border-radius: 12px;

    background: rgba(255,255,255,0.1);

    border: 1px solid rgba(255,255,255,0.15);

    color: white;

    font-size: 13px;

    backdrop-filter: blur(10px);

    animation: float 4s ease-in-out infinite;
}

.card-one {
    top: 45px;
    left: 35px;
}

.card-two {
    top: 75px;
    right: 30px;
    animation-delay: .5s;
}

.card-three {
    bottom: 70px;
    left: 30px;
    animation-delay: 1s;
}

.card-four {
    bottom: 35px;
    right: 40px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* SECTIONS */

.section {
    padding: 110px 0;
}

.gray {
    background: #ffffff;
}

.section-title {
    max-width: 680px;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.section-title p:not(.small-title) {
    color: var(--muted);
}


/* STEPS */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.step {
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}

.step:hover {
    transform: translateY(-6px);
    border-color: #cfc9ff;
    box-shadow: var(--shadow);
}

.step span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.step h3 {
    margin: 14px 0 8px;
    font-size: 17px;
}

.step p {
    color: var(--muted);
    font-size: 14px;
}


/* IDEAS */

.idea-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.idea {
    padding: 28px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 0.2s;
}

.idea:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.idea h3 {
    margin-bottom: 10px;
}

.idea p {
    color: var(--muted);
    font-size: 14px;
}


/* TOOLS */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tool {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: 0.2s;
}

.tool:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tool span {
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
}

.tool h3 {
    margin: 14px 0 8px;
}

.tool p {
    color: var(--muted);
}


/* WARNING */

.warning {
    padding: 100px 0;
    background: var(--dark);
    color: white;
}

.warning h2 {
    font-size: clamp(35px, 5vw, 55px);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.warning p:last-child {
    max-width: 700px;
    color: #b8bbc7;
}


/* FOOTER */

.footer {
    padding: 60px 0 25px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-content p {
    margin-top: 10px;
    color: var(--muted);
}

.footer h4 {
    margin-bottom: 14px;
}

.footer-content a:not(.logo) {
    display: block;
    margin: 7px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-content a:not(.logo):hover {
    color: var(--primary);
}

.copyright {
    border-top: 1px solid var(--border);
    margin-top: 50px;
    padding-top: 20px;
    color: var(--muted);
    font-size: 13px;
}


/* SELECTION */

::selection {
    background: var(--primary);
    color: white;
}


/* FOCUS */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(108, 92, 231, 0.35);
    outline-offset: 3px;
}

/* =========================
   PÁGINAS LEGALES
========================= */

.legal-content {
    max-width: 850px;
    margin: 0 auto;
    background: var(--surface);
    padding: 55px;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.legal-content h1 {
    font-size: clamp(40px, 6vw, 60px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 15px;
}

.legal-content h2 {
    font-size: 25px;
    margin-top: 42px;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.legal-content h3 {
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 8px;
}

.legal-content p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0 20px 20px;
}

.legal-content li {
    color: var(--muted);
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary);
    font-weight: 600;
}

.legal-content strong {
    color: var(--text);
}


/* =========================
   CONTACTO
========================= */

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    font-size: 25px;
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 25px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .nav nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-card {
        height: 330px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .idea-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1120px);
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-card {
        height: 290px;
    }

    .circle {
        width: 115px;
        height: 115px;
    }

    .floating-card {
        font-size: 11px;
        padding: 9px 12px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .idea-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .legal-content h1 {
        letter-spacing: -2px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

}
/* =========================
   BANNER DE COOKIES
========================= */

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    max-width: 1050px;
    margin: auto;

    padding: 22px 25px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.cookie-banner strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-buttons .button {
    cursor: pointer;
    border: none;
}


/* MÓVIL */

@media (max-width: 700px) {

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;

        flex-direction: column;
        align-items: stretch;

        padding: 20px;
    }

    .cookie-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-buttons .button {
        width: 100%;
    }

}
/* =========================
   GUÍAS / ARTÍCULOS
========================= */

.article-hero {
    padding: 90px 0 70px;
    background: var(--dark);
    color: white;
}

.article-hero h1 {
    max-width: 850px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin: 15px 0 20px;
}

.article-hero p:not(.small-title) {
    max-width: 720px;
    color: #b8bbc7;
    font-size: 18px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 60px;
    align-items: start;
}

.article-content {
    max-width: 780px;
}

.article-intro {
    font-size: 20px !important;
    line-height: 1.7;
    color: #454957 !important;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.article-content h2 {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-top: 55px;
    margin-bottom: 18px;
    scroll-margin-top: 100px;
}

.article-content p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.article-content ul {
    margin: 20px 0 25px 25px;
}

.article-content li {
    color: var(--muted);
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-sidebar {
    position: sticky;
    top: 100px;
}

.toc {
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.toc strong {
    display: block;
    margin-bottom: 15px;
    font-size: 15px;
}

.toc a {
    display: block;
    color: var(--muted);
    font-size: 13px;
    padding: 7px 0;
    transition: 0.2s;
}

.toc a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.article-cta {
    margin-top: 60px;
    padding: 35px;
    background: #f1efff;
    border: 1px solid #ddd9ff;
    border-radius: 20px;
}

.article-cta h2 {
    margin-top: 0;
}

.article-cta p {
    margin-bottom: 20px;
}


/* ARTÍCULOS EN MÓVIL */

@media (max-width: 850px) {

    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
        order: -1;
    }

    .toc {
        box-shadow: none;
    }

}


@media (max-width: 600px) {

    .article-hero {
        padding: 65px 0 55px;
    }

    .article-hero h1 {
        letter-spacing: -2px;
    }

    .article-content h2 {
        font-size: 26px;
        margin-top: 42px;
    }

    .article-content p {
        font-size: 15px;
    }

    .article-intro {
        font-size: 18px !important;
    }

    .article-cta {
        padding: 25px;
    }

}
.guides-button {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
/* =========================
   CALCULADORA
========================= */

.calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-form,
.calculator-results {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.calculator h2 {
    margin-top: 0;
    margin-bottom: 25px;
}

.calculator-form label {
    display: block;
    margin-top: 16px;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
}

.calculator-form input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

.calculator-form input:focus {
    border-color: var(--primary);
}

.calculator-button {
    width: 100%;
    margin-top: 25px;
    cursor: pointer;
    border: none;
}

.result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.result-card span {
    color: var(--muted);
}

.result-card strong {
    font-size: 20px;
}

.result-card.highlight {
    background: #f1efff;
    border-color: #ddd9ff;
}

.result-card.highlight strong {
    font-size: 26px;
}

.calculator-info {
    max-width: 800px;
    margin: 60px auto 0;
}


/* MÓVIL */

@media (max-width: 750px) {

    .calculator {
        grid-template-columns: 1fr;
    }

    .calculator-form,
    .calculator-results {
        padding: 22px;
    }

}
/* ================================
MEJORAS VISUALES EMPIEZA
================================ */

html {
scroll-behavior: smooth;
}

body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
line-height: 1.7;
background: #0b0b0f;
color: #f5f5f5;
}

.container {
width: min(1100px, 90%);
margin: 0 auto;
}

/* HEADER */

.header {
position: sticky;
top: 0;
z-index: 1000;
background: rgba(11, 11, 15, 0.92);
backdrop-filter: blur(12px);
border-bottom: 1px solid #22222b;
}

.nav {
min-height: 72px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}

.logo {
color: #ffffff;
text-decoration: none;
font-size: 24px;
font-weight: 800;
letter-spacing: -1px;
}

.logo span {
color: #7c5cff;
}

.nav nav {
display: flex;
align-items: center;
gap: 24px;
}

.nav nav a {
color: #bdbdc8;
text-decoration: none;
font-size: 14px;
transition: 0.2s ease;
}

.nav nav a:hover {
color: #ffffff;
}

/* HERO */

.hero,
.article-hero {
padding: 110px 0 90px;
text-align: center;
background:
radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.18), transparent 45%);
}

.hero h1,
.article-hero h1 {
max-width: 850px;
margin: 15px auto 20px;
font-size: clamp(42px, 7vw, 76px);
line-height: 1.05;
letter-spacing: -3px;
}

.hero p,
.article-hero > .container > p:not(.small-title) {
max-width: 700px;
margin: 0 auto;
color: #a9a9b5;
font-size: 18px;
}

/* PEQUEÑO TITULO */

.small-title {
color: #8f78ff;
font-size: 13px;
font-weight: 800;
letter-spacing: 2px;
}

/* SECCIONES */

.section {
padding: 90px 0;
}

.section-heading {
margin-bottom: 40px;
}

.section-heading h2 {
font-size: 40px;
line-height: 1.1;
margin-top: 10px;
}

/* TARJETAS */

.ideas-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 22px;
}

.idea,
.tool {
display: block;
padding: 30px;
background: #13131a;
border: 1px solid #24242e;
border-radius: 20px;
color: #ffffff;
text-decoration: none;
transition:
transform 0.25s ease,
border-color 0.25s ease,
box-shadow 0.25s ease;
}

.idea:hover,
.tool:hover {
transform: translateY(-6px);
border-color: #6f56e8;
box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}

.idea h3,
.tool h3 {
margin-top: 0;
font-size: 23px;
line-height: 1.3;
}

.idea p,
.tool p {
color: #a9a9b5;
}

.guide-link {
display: inline-block;
margin-top: 12px;
color: #9a87ff;
font-weight: 700;
}

/* BOTONES */

.button {
display: inline-block;
padding: 13px 22px;
border-radius: 10px;
text-decoration: none;
font-weight: 700;
transition: 0.2s ease;
}

.button.primary {
background: #7c5cff;
color: white;
}

.button.primary:hover {
transform: translateY(-2px);
filter: brightness(1.1);
}

/* ARTÍCULOS */

.article-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 280px;
gap: 60px;
align-items: start;
}

.article-content {
max-width: 780px;
}

.article-content h2 {
margin-top: 55px;
margin-bottom: 15px;
font-size: 30px;
line-height: 1.2;
}

.article-content p {
color: #c0c0c9;
}

.article-intro {
font-size: 20px;
color: #ddddE5 !important;
}

.article-content li {
margin: 10px 0;
color: #c0c0c9;
}

/* INDICE */

.article-sidebar {
position: sticky;
top: 100px;
}

.toc {
padding: 22px;
background: #13131a;
border: 1px solid #24242e;
border-radius: 16px;
}

.toc strong {
display: block;
margin-bottom: 15px;
}

.toc a {
display: block;
padding: 7px 0;
color: #9999a7;
text-decoration: none;
font-size: 14px;
}

.toc a:hover {
color: #ffffff;
}

/* CTA */

.article-cta {
margin-top: 60px;
padding: 35px;
background: #15131f;
border: 1px solid #30275a;
border-radius: 20px;
}

.article-cta h2 {
margin-top: 0;
}

/* CALCULADORA / TEST */

.calculator,
.business-test {
max-width: 1000px;
margin: 0 auto;
}

.calculator-form,
.calculator-results,
.test-card,
.test-result {
background: #13131a;
border: 1px solid #24242e;
border-radius: 20px;
}

/* FOOTER */

.footer {
margin-top: 80px;
padding: 45px 0;
border-top: 1px solid #22222b;
background: #09090c;
}

.copyright {
color: #777783;
font-size: 13px;
text-align: center;
}

.copyright a {
color: #9999a7;
text-decoration: none;
}

.copyright a:hover {
color: white;
}

/* MÓVIL */

@media (max-width: 800px) {

.nav {
    flex-direction: column;
    padding: 18px 0;
}

.nav nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.hero,
.article-hero {
    padding: 75px 0 60px;
}

.hero h1,
.article-hero h1 {
    letter-spacing: -2px;
}

.ideas-grid {
    grid-template-columns: 1fr;
}

.article-layout {
    grid-template-columns: 1fr;
}

.article-sidebar {
    position: static;
    order: -1;
}

}
