/* ==== Custom Properties (Tokens) ==== */
:root {
    --bg-dark: #0a0a0f;
    --bg-panel: rgba(20, 20, 30, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-blue: #00e5ff;
    --accent-purple: #8a2be2;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

/* ==== Reset & Base ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==== Background Effects ==== */
.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(10, 10, 15, 0) 70%);
    filter: blur(60px);
    border-radius: 50%;
    animation: pulse 8s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(-50px, 50px);
    }
}

/* ==== Navigation ==== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

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

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* ==== Buttons ==== */
.cta-button-small {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-small:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.neon-button {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.neon-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
}

/* ==== Hero Section ==== */
.premium-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.text-gradient {
    background: linear-gradient(135deg, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 90%;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.secondary-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.secondary-link:hover {
    color: var(--text-primary);
    border-bottom: 1px solid var(--text-primary);
}

/* ==== Features Row ==== */
.features-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--accent-blue);
}

.feature-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

/* ==== Product Showcase ==== */
.product-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
}

.image-wrapper img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==== Floating Badges ==== */
.floating-badge {
    position: absolute;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.floating-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.badge-1 {
    top: 20%;
    left: -5%;
    animation: float-badge 5s ease-in-out infinite;
}

.badge-2 {
    bottom: 25%;
    right: -5%;
    animation: float-badge 6s ease-in-out infinite alternate;
}

@keyframes float-badge {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==== Benefits Section (Infographic) ==== */
.benefits-section {
    padding: 8rem 5%;
    position: relative;
    z-index: 2;
    background-image: linear-gradient(to bottom, var(--bg-dark) 0%, rgba(10, 10, 15, 0.6) 20%, rgba(10, 10, 15, 0.8) 100%), url('Fondo .png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--bg-dark);
}

.benefits-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.infographic-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefits-column.left {
    text-align: right;
}

.benefits-column.left .benefit-card {
    align-items: flex-end;
}

.benefits-column.right {
    text-align: left;
}

.benefits-column.right .benefit-card {
    align-items: flex-start;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    min-height: 320px;
    transition: transform 0.3s ease;
}

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

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.benefit-card:hover .icon-box {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--accent-blue);
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
}

.infographic-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-backdrop-blue {
    position: absolute;
    width: 70%;
    height: 70%;
    background: var(--accent-blue);
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

.center-product-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
    animation: float-slow 8s ease-in-out infinite;
    border-radius: 20px;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ==== Card Arquitectura Background ==== */
.card-arquitectura {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background-image: linear-gradient(rgba(10, 10, 15, 0.88), rgba(10, 10, 15, 0.96)), url('VERTEBRA.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border: 1px solid rgba(0, 229, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-arquitectura>* {
    position: relative;
    z-index: 2;
}

.card-arquitectura p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ==== Card Autoridad Background ==== */
.card-autoridad {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background-image: linear-gradient(rgba(10, 10, 15, 0.88), rgba(10, 10, 15, 0.96)), url('autoridad.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border: 1px solid rgba(0, 229, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-autoridad>* {
    position: relative;
    z-index: 2;
}

.card-autoridad p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ==== Card Dolor Background ==== */
.card-dolor {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background-image: linear-gradient(rgba(10, 10, 15, 0.94), rgba(10, 10, 15, 0.98)), url('DOLOR.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border: 1px solid rgba(0, 229, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-dolor>* {
    position: relative;
    z-index: 2;
}

.card-dolor p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ==== Card Tecnologia Background ==== */
.card-tecnologia {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background-image: linear-gradient(rgba(10, 10, 15, 0.94), rgba(10, 10, 15, 0.98)), url('Gemini_Generated_Image_pl0xzpl0xzpl0xzp.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border: 1px solid rgba(0, 229, 255, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-tecnologia>* {
    position: relative;
    z-index: 2;
}

.card-tecnologia p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ==== Contact Section ==== */
.contact-section {
    padding: 8rem 5%;
    background-color: #000000;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.contact-form-glass {
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 40px;
    padding: 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.05);
}

.jac-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-left: 0.5rem;
}

.input-group input, .input-group textarea {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    background: rgba(15, 15, 25, 0.9);
}

.submit-btn {
    margin-top: 1rem;
    justify-content: center;
}

.contact-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-backdrop-cyan {
    position: absolute;
    width: 60%;
    height: 60%;
    background: var(--accent-blue);
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

.floating-spine {
    width: 100%;
    max-width: 550px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
    animation: float 8s ease-in-out infinite;
}

/* ==== Responsive ==== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 4rem 0;
    }

    .badge {
        align-self: center;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .action-group {
        justify-content: center;
    }

    .features-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    .floating-badge {
        display: none;
    }

    /* Benefits Responsive */
    .infographic-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .benefits-column.left,
    .benefits-column.right {
        text-align: center;
    }

    .benefits-column.left .benefit-card,
    .benefits-column.right .benefit-card {
        align-items: center;
    }

    .benefit-card p {
        max-width: 100%;
    }

    .infographic-center {
        order: -1;
    }

    .center-product-img {
        max-width: 90%;
    }

    /* Contact Responsive */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-glass {
        padding: 2.5rem;
        order: 2; /* Move form below image on mobile */
    }
    
    .contact-visual {
        order: 1;
    }
}