/* ===== VARIABLES CSS ===== */
:root {
    --primary-purple: #6B2D9B;
    --primary-purple-dark: #4A1D6B;
    --primary-purple-light: #8B4DBB;
    --accent-purple: #9B59B6;
    --light-purple: #E8D5F0;
    --very-light-purple: #F5EEF8;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-gray: #666666;
    --green-accent: #7CB342;
    --shadow: 0 10px 40px rgba(107, 45, 155, 0.2);
    --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 0 0;
    background: transparent;
}

.header-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-light {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: none;
    transition: all 0.3s ease;
}

.header-light.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-light.scrolled .nav-links a {
    color: var(--text-dark);
}

.header-light.scrolled .nav-links a:hover {
    color: var(--primary-purple);
}

.header-light.scrolled .nav-links a::after {
    background: var(--primary-purple);
}

.header-light.scrolled .logo-img-header {
    filter: none;
}

.header-light.scrolled .nav-divider {
    background: rgba(107, 45, 155, 0.15);
}

.header-light.scrolled .menu-toggle span {
    background: var(--primary-purple);
}

.nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo-img-header {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 400;
}

.logo-luca {
    font-family: 'Caveat', cursive;
    font-size: 2.4rem;
    color: var(--white);
    font-weight: 700;
}

.header-light .logo-text,
.header-light .logo-luca {
    color: var(--primary-purple);
}

.nav-links {
    display: flex;
    gap: 50px;
    flex: 1;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--white);
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.header-light .nav-links a {
    color: var(--text-dark);
    font-weight: 400;
}

.header-light .nav-links a:hover {
    color: var(--primary-purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: var(--transition);
}

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

.btn-login {
    background: var(--primary-purple) !important;
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
    box-shadow: 0 4px 15px rgba(107, 45, 155, 0.3);
}

.btn-login:hover {
    background: var(--primary-purple-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 45, 155, 0.4);
}

.btn-login::after {
    display: none !important;
}

.nav-divider {
    width: 100%;
    height: 1px;
    background: rgba(107, 45, 155, 0.15);
    margin-top: 20px;
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.header-light .menu-toggle span {
    background: var(--primary-purple);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: #FFFFFF;
    position: relative;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assent/img/fondo\ largo\ 40\ opacidad.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 50px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #5B2485 0%, #6B2D9B 50%, #7B3AAB 100%);
    border-radius: 25px;
    padding: 25px 35px;
    padding-right: 15px;
    box-shadow: 0 20px 50px rgba(107, 45, 155, 0.3);
    max-width: 780px;
    width: 100%;
    min-height: 140px;
    z-index: 2;
    overflow: visible;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 400px;
    flex-shrink: 0;
}

.hero-logo {
    margin-bottom: 10px;
}

.hero-logo img {
    height: 110px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.title-soy {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 400;
    line-height: 0.8;
    opacity: 0.95;
}

.title-luca {
    font-family: 'Caveat', cursive;
    font-size: 7rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-description {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.95;
    max-width: 320px;
    font-style: italic;
}

.hero-avatar {
    position: absolute;
    right: -20px;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-avatar img {
    height: 300px;
    width: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.2));
}

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

/* ===== CHAT DEMO SECTION ===== */
.chat-demo {
    padding: 80px 50px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.chat-demo-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assent/img/fondo\ largo\ 40\ opacidad.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.chat-demo-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.chat-luca {
    flex-shrink: 0;
    margin-right: -30px;
    z-index: 2;
}

.chat-luca img {
    height: 220px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.chat-image {
    flex-shrink: 0;
}

.chat-image img {
    max-width: 550px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(107, 45, 155, 0.2);
}

/* ===== SERVICIOS SECTION ===== */
.servicios {
    padding: 100px 50px;
    background: linear-gradient(180deg, #5B2485 0%, #7B3AAB 50%, #8B4DBB 100%);
    position: relative;
    overflow: hidden;
}

.servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.servicios-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assent/img/fondo servicios contables.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.servicios-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 80px;
    font-weight: 300;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 30px 35px;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    text-align: left;
    position: relative;
    min-height: 280px;
    overflow: visible;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.18);
}

.servicio-icon-floating {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.servicio-icon-floating img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

/* Portapapeles más grande */
.servicio-card:nth-child(3) .servicio-icon-floating {
    width: 200px;
    height: 200px;
    top: -70px;
    right: -70px;
}

.servicio-card:nth-child(3) .servicio-icon-floating img {
    width: 200px;
    height: 200px;
}

.servicio-content {
    margin-top: 0;
}

.servicio-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.servicio-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ===== FUNCIONALIDADES SECTION ===== */
.funcionalidades {
    padding: 100px 50px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.funcionalidades-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assent/img/fondo\ largo\ 40\ opacidad.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.funcionalidades-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    min-height: 650px;
    z-index: 2;
}

.func-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.func-center h3 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-top: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.super-luca {
    width: 220px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.func-items {
    position: relative;
    width: 100%;
    height: 650px;
}

.func-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.func-item:hover {
    transform: scale(1.1);
}

.func-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.func-item span {
    color: var(--primary-purple);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/* Posiciones circulares */
.func-item.top-left { top: 5%; left: 10%; }
.func-item.top-center { top: 0%; left: 50%; transform: translateX(-50%); }
.func-item.top-right { top: 5%; right: 10%; }
.func-item.left { top: 38%; left: 0%; }
.func-item.right { top: 38%; right: 0%; }
.func-item.bottom-left { bottom: 12%; left: 8%; }
.func-item.bottom-center { bottom: 0%; left: 50%; transform: translateX(-50%); }
.func-item.bottom-right { bottom: 12%; right: 8%; }

.func-item.top-center:hover,
.func-item.bottom-center:hover {
    transform: translateX(-50%) scale(1.1);
}

/* ===== SEGURIDAD SECTION ===== */
.seguridad {
    padding: 100px 50px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.seguridad-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assent/img/fondo\ largo\ 40\ opacidad.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.seguridad-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.seguridad-content {
    flex: 1;
    max-width: 450px;
}

.seguridad-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 40px;
    line-height: 1.2;
    font-weight: 700;
    font-style: italic;
}

.seguridad-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.seguridad-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.seguridad-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.seguridad-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.seguridad-text h4 {
    color: var(--primary-purple);
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.seguridad-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.seguridad-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.seguridad-image img {
    max-width: 380px;
    width: 100%;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
}

/* ===== CONTACTO SECTION ===== */
.contacto {
    padding: 100px 50px;
    background: linear-gradient(135deg, #4A1D6B 0%, #6B2D9B 50%, #8B4DBB 100%);
    position: relative;
    overflow: hidden;
}

.contacto-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assent/img/fondo agendar demo.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.contacto-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    z-index: 2;
}

.contacto-info {
    flex: 1;
    max-width: 450px;
}

.contacto-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
    font-style: italic;
}

.contacto-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 35px;
    font-style: italic;
}

.contacto-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contacto-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.benefit-icon-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    background: var(--green-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

.contacto-form-wrapper {
    flex: 1;
    max-width: 420px;
}

.contacto-form {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    background: transparent;
    color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 10px;
}

.form-group textarea:focus {
    border-color: var(--white);
}

.btn-submit {
    width: 100%;
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== DOCUMENTOS LEGALES SECTION ===== */
.documentos-legales {
    padding: 80px 50px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.documentos-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assent/img/fondo\ largo\ 40\ opacidad.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.documentos-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.documentos-info {
    flex: 1;
    max-width: 400px;
}

.documentos-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    font-style: italic;
}

.documentos-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    text-align: justify;
}

.documentos-cards {
    flex: 1;
    display: flex;
    gap: 25px;
    max-width: 550px;
}

.documento-card {
    flex: 1;
    background: rgba(107, 45, 155, 0.08);
    border: 2px solid rgba(107, 45, 155, 0.15);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.documento-card:hover {
    transform: translateY(-8px);
    background: rgba(107, 45, 155, 0.12);
    border-color: var(--primary-purple);
    box-shadow: 0 15px 40px rgba(107, 45, 155, 0.2);
}

.documento-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 5px;
}

.documento-card h4 {
    color: var(--primary-purple);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.documento-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.documento-download {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.documento-card:hover .documento-download {
    background: var(--primary-purple-dark);
}

/* ===== PAGO SECTION ===== */
.pago-section {
    padding: 50px 50px;
    background: linear-gradient(135deg, #5B2485 0%, #6B2D9B 50%, #7B3AAB 100%);
    position: relative;
    overflow: hidden;
}

.pago-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assent/img/fondo\ largo\ 40\ opacidad.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.pago-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.pago-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.pago-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.pago-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
}

.pago-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    max-width: 500px;
}

.btn-pago {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: var(--white);
    color: var(--primary-purple);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
}

.btn-pago:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--very-light-purple);
}

.btn-pago svg {
    stroke: var(--primary-purple);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #3D1A5B 0%, #5B2485 50%, #4A1D6B 100%);
    position: relative;
    overflow: hidden;
}

.footer-content {
    padding: 60px 50px 30px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-luca-img {
    height: 130px;
    width: auto;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-style: italic;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom p:last-child {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .servicio-card {
        padding: 25px 25px 30px;
    }
    
    .servicio-icon-floating {
        top: -20px;
        right: -20px;
        width: 85px;
        height: 85px;
    }
    
    .servicio-icon-floating img {
        width: 85px;
        height: 85px;
    }
    
    .func-item img {
        width: 60px;
        height: 60px;
    }
    
    .super-luca {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .header {
        padding: 15px 30px 10px;
    }
    
    .nav {
        gap: 30px;
    }
    
    .chat-demo-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .chat-luca {
        margin-right: 0;
        margin-bottom: -50px;
    }
    
    .chat-luca img {
        height: 180px;
    }
    
    .chat-image img {
        max-width: 450px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-purple);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-wrapper {
        padding: 120px 30px 60px;
    }
    
    .hero-box {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
        max-width: 500px;
        padding-right: 30px;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-logo img {
        height: 180px;
    }
    
    .hero-description {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .title-luca {
        font-size: 5rem;
    }
    
    .hero-avatar {
        margin-right: 0;
        margin-top: 20px;
    }
    
    .hero-avatar img {
        height: 260px;
    }
    
    .seguridad-container {
        flex-direction: column-reverse;
        text-align: left;
        gap: 40px;
    }
    
    .seguridad-content {
        max-width: 100%;
    }
    
    .seguridad-title {
        text-align: center;
    }
    
    .seguridad-image img {
        max-width: 300px;
    }
    
    .contacto-container {
        flex-direction: column;
    }
    
    .contacto-info {
        text-align: center;
    }
    
    .contacto-benefits {
        align-items: center;
    }
    
    .contacto-form-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .documentos-container {
        flex-direction: column;
        text-align: center;
    }
    
    .documentos-info {
        max-width: 100%;
    }
    
    .documentos-title {
        text-align: center;
    }
    
    .documentos-description {
        text-align: justify;
    }
}

@media (max-width: 768px) {
    .chat-demo {
        padding: 40px 20px;
    }
    
    .chat-luca img {
        height: 150px;
    }
    
    .chat-image img {
        max-width: 100%;
    }
    
    .servicios,
    .funcionalidades,
    .seguridad,
    .contacto,
    .documentos-legales,
    .pago-section {
        padding: 60px 20px;
    }
    
    .servicios {
        padding-top: 80px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        margin-bottom: 60px;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .servicio-card {
        padding: 25px 20px 30px;
        min-height: auto;
    }
    
    .servicio-icon-floating {
        top: -18px;
        right: -18px;
        width: 75px;
        height: 75px;
    }
    
    .servicio-icon-floating img {
        width: 75px;
        height: 75px;
    }

    .servicio-card h3 {
        text-align: left;
    }
    
    .servicio-card p {
        text-align: left;
    }
    
    .funcionalidades-container {
        min-height: auto;
        padding: 40px 0;
    }
    
    .func-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 40px;
    }
    
    .func-items {
        position: relative;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .func-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    .seguridad-title {
        font-size: 3rem;
    }
    
    .contacto-title {
        font-size: 2.5rem;
    }
    
    .contacto-form {
        padding: 30px 20px;
    }
    
    .documentos-cards {
        flex-direction: column;
        max-width: 100%;
    }
    
    .documento-card {
        padding: 25px 20px;
    }
    
    .documentos-title {
        font-size: 2rem;
    }
    
    .pago-title {
        font-size: 1.8rem;
    }
    
    .pago-description {
        font-size: 1rem;
    }
    
    .btn-pago {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-nav,
    .footer-contact {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 20px 8px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-luca {
        font-size: 1.8rem;
    }
    
    .hero-wrapper {
        padding: 100px 15px 40px;
    }
    
    .hero-box {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .hero-logo img {
        height: 140px;
    }
    
    .title-soy {
        font-size: 1.8rem;
    }
    
    .title-luca {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-avatar img {
        height: 200px;
    }
    
    .func-items {
        grid-template-columns: 1fr;
    }
    
    .seguridad-title {
        font-size: 2.5rem;
    }
    
    .seguridad-image img {
        max-width: 200px;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===== SCROLL ANIMATIONS ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-scale {
    animation: scaleIn 0.8s ease forwards;
}


