:root {
    --primary: #6a1b9a;
    --primary-alt: #4a148c;
    --secondary: #00bcd4;
    --secondary-alt: #00838f;
    --dark: #0f1218;
    --dark-alt: #1a1e26;
    --text: #ffffff;
    --text-muted: #94a3b8;
    --accent: #00f2fe;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --gradient-brand: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(106, 27, 154, 0.2) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 188, 212, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

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

img {
    max-width: 100%;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Typography */
h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 40px; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.text-center { text-align: center; }
.mt-50 { margin-top: 50px; }

/* Buttons */
.btn-main {
    position: relative;
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient-brand);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.2);
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-main::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.5s ease;
    animation: glint 4s infinite;
}

@keyframes glint {
    0% { left: -60%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.btn-main:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    border-radius: 50px;
    font-weight: 600;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 18, 24, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo img {
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--secondary);
}

.btn-primary {
    padding: 10px 25px;
    background: var(--gradient-brand);
    border-radius: 50px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 200px 0 120px;
    background: transparent;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

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

.tech-animation {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-animation i {
    font-size: 5rem;
    color: var(--secondary);
    z-index: 2;
    filter: drop-shadow(0 0 15px var(--secondary));
    animation: brain-pulse 4s ease-in-out infinite;
}

.circle-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--border);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.circle-inner {
    position: absolute;
    width: 70%;
    height: 70%;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.scanner {
    position: absolute;
    width: 110%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    top: 50%;
    animation: scan 3s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.1; }
    50% { transform: scale(1); opacity: 0.4; }
}

@keyframes scan {
    0%, 100% { transform: translateY(-150px); opacity: 0; }
    50% { transform: translateY(150px); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Problems Section */
.problems {
    padding: 100px 0;
    background: var(--dark-alt);
}

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

.problem-card {
    padding: 40px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.problem-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Es para ti si... */
.is-for-you {
    padding: 60px 0;
    background: var(--dark-alt);
}

.glass-box {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 60px;
    backdrop-filter: blur(20px);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.is-for-you-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.check-item span {
    color: var(--secondary);
    font-weight: 800;
}

/* Services */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-card {
    padding: 50px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 6px;
    background: var(--gradient-brand);
    opacity: 0.8;
}

.service-header {
    margin-bottom: 30px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* ROI Section */
.roi {
    padding: 100px 0;
    background: var(--dark-alt);
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.roi-item {
    text-align: center;
    padding: 40px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: 0.3s;
}

.roi-item:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

.roi-val {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

.roi-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ROI Calculator */
.roi-calculator {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 60px;
    backdrop-filter: blur(30px);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.roi-calculator h3 { margin-bottom: 10px; text-align: center; }
.roi-calculator > p { text-align: center; color: var(--text-muted); margin-bottom: 40px; }

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 30px;
    align-items: center;
}

.calc-input label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.calc-input input {
    width: 100%;
    padding: 15px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    font-family: inherit;
}

.calc-result {
    padding: 30px;
    background: var(--dark);
    border: 2px solid var(--secondary);
    border-radius: 20px;
    text-align: center;
}

.res-label { font-size: 0.9rem; color: var(--text-muted); display: block; }
.res-val { font-size: 2.5rem; font-weight: 800; color: var(--secondary); display: block; margin: 10px 0; }
.res-note { font-size: 0.75rem; color: var(--text-muted); }

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-image img {
    border-radius: 30px;
    box-shadow: 20px 20px 0 rgba(0, 210, 255, 0.1);
}

.founder-title {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Contact */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    background: var(--glass);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid var(--border);
}

.contact-info h2 { margin-bottom: 20px; }

.contact-items .item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-form-container {
    background: var(--dark);
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.contact-form input, .contact-form select, .contact-form textarea, .contact-form button {
    grid-column: span 1;
    padding: 15px 20px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.form-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    display: none;
    text-align: center;
    font-size: 0.95rem;
}

.form-feedback.success {
    display: block;
    background: rgba(0, 255, 128, 0.1);
    color: #00ff80;
    border: 1px solid rgba(0, 255, 128, 0.2);
}

.consent-check {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 10px 0;
    text-align: left;
}

.consent-check input {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
    cursor: pointer;
}

.consent-check label {
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-check a {
    color: var(--secondary);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .consent-check { grid-column: span 1; }
}

.contact-form input:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--secondary);
}

.contact-form button {
    grid-column: span 2;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand img { height: 35px; width: fit-content; border-radius: 5px; }

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    transition: 0.3s;
}

.social-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
}

.whatsapp-float img { width: 35px; }

/* Process Section */
.process {
    padding: 100px 0;
}

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

.process-step {
    padding: 40px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    text-align: center;
    transition: 0.4s;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 210, 255, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
}

.process-step h3 {
    margin-top: 20px;
}

.process-step p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .hero-grid, .problems-grid, .services-grid, .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .roi-grid { grid-template-columns: 1fr; }
    .is-for-you-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form button { grid-column: span 1; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark);
        padding: 40px;
        flex-direction: column;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active { display: flex; }
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--dark-alt);
    border-top: 1px solid var(--border);
    padding: 20px 0;
    z-index: 9999;
    transition: 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cookie-content a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
