/* ==========================================================================
   DESIGN SYSTEM - IA PERFORMANCE LAB (B2B TECH GLASSMORPHISM)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #001A33; /* Azul Marino Estratégico */
    --bg-dark-rgb: 0, 26, 51;
    --bg-surface: #002244;
    --bg-card: rgba(0, 34, 68, 0.65);
    
    --accent-blue: #0066FF; /* Azul Performance */
    --accent-blue-rgb: 0, 102, 255;
    --accent-cyan: #33b3ff;
    --accent-cyan-rgb: 51, 179, 255;
    
    --text-white: #FFFFFF;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 102, 255, 0.3);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-width: 1140px;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(var(--accent-blue-rgb), 0.15) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(var(--accent-cyan-rgb), 0.1) 0%, transparent 45%);
    background-attachment: fixed;
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.neon-text-blue {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(var(--accent-blue-rgb), 0.4);
}

.badge {
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.4);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

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

.header-phone {
    font-size: 15px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
}

.header-phone i {
    color: var(--accent-blue);
}

.header-phone:hover {
    color: var(--text-white);
    text-shadow: 0 0 8px rgba(var(--accent-blue-rgb), 0.4);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #0044cc 100%);
    color: var(--text-white);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg) translate(-70%, -70%);
    transition: all 0.8s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 102, 255, 0.6);
}

.btn-primary:hover::after {
    transform: rotate(45deg) translate(70%, 70%);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ==========================================================================
   HERO / FIRST BLOCK
   ========================================================================== */

.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 90px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--accent-blue-rgb), 0.12) 0%, transparent 70%);
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    filter: blur(60px);
    z-index: 1;
}

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

.hero-pretitle {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-blue);
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
}

.hero-title {
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    margin-bottom: 48px;
    position: relative;
    z-index: 150;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.trust-item {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: var(--accent-blue);
}

/* ==========================================================================
   BENEFITS & AUTHORITY
   ========================================================================== */

.benefits-section {
    padding: 90px 0;
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.benefits-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(var(--bg-dark-rgb), 0.8) 100%);
}

.advisor-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.image-wrapper:hover .advisor-img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(0, 34, 68, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-blue);
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.experience-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

.section-title {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
}

.bullets-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bullet-item {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.bullet-item:hover {
    border-color: var(--border-glow);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.1);
    transform: translateX(5px);
}

.bullet-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-cyan);
    font-size: 12px;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.bullet-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
    font-weight: 500;
}

/* ==========================================================================
   SOCIAL PROOF (TESTIMONIALS)
   ========================================================================== */

.testimonials-section {
    padding: 90px 0;
    background: rgba(0, 20, 40, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

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

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
    transform: translateY(-4px);
}

.stars {
    color: #ffb703;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 15px;
    border: 1px solid rgba(0, 102, 255, 0.4);
    font-family: var(--font-heading);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.author-title {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   WHO INVITES YOU? (ABOUT)
   ========================================================================== */

.about-section {
    padding: 100px 0;
    position: relative;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.8) 0%, rgba(0, 20, 40, 0.9) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 50px 60px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.about-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.about-icon {
    font-size: 28px;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
}

.about-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 0;
}

.about-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 36px;
}

.about-actions {
    text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    background: #000f1f;
}

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

.copyright {
    font-size: 13.5px;
    color: var(--text-muted);
}

.copyright a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.copyright a:hover {
    color: var(--text-white);
    text-shadow: 0 0 8px rgba(var(--accent-cyan-rgb), 0.6);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-cyan);
}

/* ==========================================================================
   POPUP MODAL FORM
   ========================================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 10, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-container {
    background: #001f3f;
    border: 1px solid var(--accent-blue);
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 102, 255, 0.4);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 28px;
}

/* Form inputs */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.form-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.25);
    background: rgba(0, 0, 0, 0.3);
}

.form-input::placeholder {
    color: #4b5e78;
}

.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.25);
}

.error-message {
    color: #ef4444;
    font-size: 11px;
    font-weight: 500;
    display: none;
}

.error-message.active {
    display: block;
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   THANK YOU PAGE (GRACIAS.HTML)
   ========================================================================== */

.thankyou-section {
    padding-top: 180px;
    padding-bottom: 120px;
    text-align: center;
}

.thankyou-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.thankyou-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.15);
    border: 2px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 28px;
    margin: 0 auto 30px auto;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.25);
}

.thankyou-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 16px;
}

.thankyou-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 36px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 32px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-container {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 16px 0;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .logo-text {
        font-size: 17px;
    }
    
    .hero-section {
        padding-top: 130px;
        padding-bottom: 60px;
    }
    
    .hero-pretitle {
        font-size: 14.5px;
        padding: 10px 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        padding-top: 24px;
    }
    
    .benefits-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .testimonials-section {
        padding: 60px 0;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .about-title {
        font-size: 22px;
    }
    
    .about-text {
        font-size: 15px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .modal-container {
        padding: 30px 20px;
    }
}
