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

:root {
    --primary: #FBC48F;
    --secondary: #7D6FB3;
    --dark-1: #0C0E1A;
    --dark-2: #242A46;
    --dark-3: #1b1f36;
    --text-1: #C5C8D3;
    --text-2: #8B8E9F;
    --lilac: #4E2F53;
    --accent: #7D6FB3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0C0E1A 0%, #242A46 50%, #1a1d2e 100%);
    color: var(--text-1);
    overflow-x: hidden;
    position: relative;
}

/* ANIMATED BACKGROUND */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(251, 196, 143, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(125, 111, 179, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(78, 47, 83, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.02); }
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    background: rgba(12, 14, 26, 0.8);
    border-bottom: 1px solid rgba(251, 196, 143, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Alaska', cursive;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #FBC48F, #7D6FB3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-1);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #FBC48F;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FBC48F, #7D6FB3);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, #FBC48F, #7D6FB3);
    color: #0C0E1A;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 196, 143, 0.3);
}

/* HERO SECTION */
.hero {
    padding-top: 120px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-family: 'Allura', cursive;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #FBC48F, #7D6FB3, #C5C8D3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-1);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.1rem;
    color: #7D6FB3;
    margin-bottom: 2rem;
    font-style: italic;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-2);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: grid;
    gap: 1rem;
    flex-wrap: wrap;
}

a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #FBC48F, #7D6FB3);
    color: #0C0E1A;
    text-align: center;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(251, 196, 143, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 196, 143, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #FBC48F;
    text-align: center;
    padding: 1rem 2.5rem;
    border: 2px solid #FBC48F;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(251, 196, 143, 0.1);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}


/* HERO VISUAL */
.hero-visual {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(251, 196, 143, 0.4);
    top: -100px;
    left: 50px;
    animation: pulse 8s ease-in-out infinite;
}

.glow-orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(125, 111, 179, 0.3);
    bottom: -50px;
    right: 50px;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.floating-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(36, 42, 70, 0.6), rgba(78, 47, 83, 0.4));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 196, 143, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    width: 200px;
    top: 20px;
    left: 0;
    animation-delay: 0s;
}

.floating-card-2 {
    width: 200px;
    bottom: 20px;
    right: 0;
    animation-delay: 2s;
}

.floating-card-3 {
    width: 180px;
    top: 150px;
    right: 50px;
    animation-delay: 4s;
}

.floating-card-4 {
    width: 200px;
    top: 300px;
    left: 0;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    50% { transform: translateY(-20px) rotateZ(2deg); }
}

.card-header {
    font-size: 12px;
    color: #7D6FB3;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-value {
    font-size: 24px;
    font-weight: 700;
    color: #FBC48F;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 12px;
    color: var(--text-2);
}

/* SECTIONS */
section {
    padding: 80px 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #FBC48F, #7D6FB3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-1);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* WIDGETS SECTION */
.widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.widget-card {
    background: linear-gradient(135deg, rgba(36, 42, 70, 0.8), rgba(78, 47, 83, 0.5));
    border: 1px solid rgba(251, 196, 143, 0.2);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FBC48F, #7D6FB3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.widget-card:hover {
    transform: translateY(-10px);
    border-color: rgba(251, 196, 143, 0.5);
    background: linear-gradient(135deg, rgba(36, 42, 70, 1), rgba(78, 47, 83, 0.7));
}

.widget-card:hover::before {
    transform: scaleX(1);
}

.widget-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #FBC48F;
}

.widget-description {
    font-size: 0.95rem;
    color: var(--text-1);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.widget-tag {
    display: inline-block;
    background: rgba(251, 196, 143, 0.15);
    color: #FBC48F;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(251, 196, 143, 0.3);
}

/* TEMPLATES SECTION */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.template-card {
    background: linear-gradient(135deg, rgba(36, 42, 70, 0.8), rgba(125, 111, 179, 0.3));
    border: 2px solid rgba(251, 196, 143, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.template-card:hover {
    border-color: rgba(251, 196, 143, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(251, 196, 143, 0.15);
}

.template-header {
    background: linear-gradient(135deg, #FBC48F, #7D6FB3);
    padding: 2rem;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-icon {
    font-size: 3rem;
}

.template-content {
    padding: 2rem;
}

.template-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FBC48F;
    margin-bottom: 0.5rem;
}

.template-description {
    color: var(--text-1);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.template-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.template-features li {
    color: var(--text-1);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.template-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #7D6FB3;
}

.template-price {
    font-size: 0.9rem;
    color: #FBC48F;
    font-weight: 600;
    margin-bottom: 1rem;
}

.template-btn {
    width: 100%;
    background: rgba(251, 196, 143, 0.2);
    color: #FBC48F;
    border: 1px solid #FBC48F;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.template-btn:hover {
    background: rgba(251, 196, 143, 0.3);
    transform: translateY(-2px);
}

/* ICONS/IMAGES SECTION */
.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.icon-box {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(36, 42, 70, 0.5), rgba(125, 111, 179, 0.3));
    border: 1px solid rgba(251, 196, 143, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    gap: 0.5rem;
}

.icon-box:hover {
    transform: scale(1.1) rotateZ(5deg);
    border-color: #FBC48F;
    background: linear-gradient(135deg, rgba(36, 42, 70, 0.8), rgba(125, 111, 179, 0.5));
    box-shadow: 0 10px 30px rgba(251, 196, 143, 0.2);
}

.icon-display {
    font-size: 2rem;
}

.icon-label {
    font-size: 11px;
    color: var(--text-2);
    text-align: center;
}

/* PRICING SECTION */
.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(36, 42, 70, 0.8), rgba(78, 47, 83, 0.5));
    border: 2px solid rgba(251, 196, 143, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: #FBC48F;
    background: linear-gradient(135deg, rgba(36, 42, 70, 0.95), rgba(78, 47, 83, 0.7));
    box-shadow: 0 20px 50px rgba(251, 196, 143, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FBC48F, #7D6FB3);
    color: #0C0E1A;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FBC48F;
}

.pricing-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-size: 1rem;
    color: #7D6FB3;
}

.pricing-period {
    color: var(--text-1);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    color: var(--text-1);
    padding: 0.6rem 0;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FBC48F;
    font-weight: 700;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-btn-primary {
    background: linear-gradient(135deg, #FBC48F, #7D6FB3);
    color: #0C0E1A;
}

.pricing-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 196, 143, 0.3);
}

.pricing-btn-secondary {
    background: transparent;
    color: #FBC48F;
    border: 2px solid #FBC48F;
}

.pricing-btn-secondary:hover {
    background: rgba(251, 196, 143, 0.1);
    transform: translateY(-3px);
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, rgba(251, 196, 143, 0.1), rgba(125, 111, 179, 0.1));
    border: 2px solid rgba(251, 196, 143, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 80px auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 196, 143, 0.1), transparent);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(125, 111, 179, 0.1), transparent);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    font-size: 2rem;
    color: #FBC48F;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-1);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* FOOTER */
footer {
    background: rgba(12, 14, 26, 0.8);
    border-top: 1px solid rgba(251, 196, 143, 0.1);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #FBC48F;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a:hover {
    color: #FBC48F;
}

.footer-bottom {
    border-top: 1px solid rgba(251, 196, 143, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #7D6FB3;
}


.subscribe-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.subscribe-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border-radius: 40px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-1);
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    border: 1px solid #7D6FB3;
}

.subscribe-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(251, 196, 143, 0.5);
}

.subscribe-form button {
    background: linear-gradient(135deg, #FBC48F, #7D6FB3);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    color: #0C0E1A;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

#subscribe-message {
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero-main {
        grid-template-columns: 1fr;  /* Ahora sí es 1 columna */
        gap: 2rem;
        padding: 0 1rem;  /* Reduce padding horizontal */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 300px;
        display: ruby;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch; /* o center, pero stretch para que ocupen ancho completo */
        gap: 1rem;
        width: 70%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .floating-card {
        position: static;
        margin: 0.75rem auto;
        animation: none;
        width: 100%;
        max-width: 250px;
    }

    .floating-card-1, .floating-card-2, .floating-card-3, .floating-card-4 {
        animation: none;
        height: 200px;
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 0.2rem
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 50px 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .widgets-grid,
    .templates-grid,
    .pricing-container {
        grid-template-columns: 1fr;
    }

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

    /* .hero-buttons {
        flex-direction: column;
        align-items: center;
    } */

    /* .btn-primary,
    .btn-secondary {
        width: 100%;
    } */

    .cta-section {
        padding: 2rem;
    }
}

/* ANIMACIONES SUTILES */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

