
/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --accent-teal: #10b981;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --red: #ef4444;
    --orange: #f97316;
    --yellow: #eab308;
    --green: #22c55e;
    --font-display: 'Arial', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--light-bg);
    overflow-x: hidden;
}

/* Hero Section */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #042a5be2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.3) 0%, 
        rgba(37, 99, 235, 0.2) 50%, 
        rgba(16, 185, 129, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    color: var(--accent-teal);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-teal);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
}

.hero-btn.primary {
    background: var(--accent-teal);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.hero-btn.primary:hover {
    background: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
    margin-bottom: 0.5rem;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

.scroll-text {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
}

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

@keyframes scroll-wheel {
    0% {
        opacity: 0;
        top: 8px;
    }
    50% {
        opacity: 1;
        top: 16px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        min-width: 250px;
        padding: 1rem 1.5rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

/* Cinematic Loader */
.cinematic-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeOut 1s ease-in-out 3s forwards;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.film-strip {
    width: 200px;
    height: 20px;
    background: var(--white);
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    animation: filmMove 2s ease-in-out infinite;
}

.film-hole {
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: holePulse 1s ease-in-out infinite alternate;
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.loading-word {
    display: inline-block;
    opacity: 0;
    animation: wordAppear 0.5s ease-in-out forwards;
}

.loading-word:nth-child(1) { animation-delay: 0.5s; }
.loading-word:nth-child(2) { animation-delay: 1s; }
.loading-word:nth-child(3) { animation-delay: 1.5s; }

.loading-dots {
    display: inline-block;
    margin-left: 0.5rem;
}

.loading-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 2px;
    animation: dotBounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes filmMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@keyframes holePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

@keyframes wordAppear {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; }
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.floating-nav.scrolled {
    top: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo img {
    width: auto;
    height: 25px;
}

.nav-logo span {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 400;
    font-size:14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--primary-blue);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.3s ease;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.portal-btn {
    position: relative;
    overflow: hidden;
}

.btn-portal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-teal);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.portal-btn:hover .btn-portal {
    width: 300px;
    height: 300px;
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Chapter Progress */
.chapter-progress {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.progress-line {
    width: 2px;
    height: 300px;
    background: var(--gray-300);
    position: relative;
    margin-bottom: 2rem;
}

.progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--accent-teal));
    transition: height 0.5s ease;
}

.chapter-indicators {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chapter-dot {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chapter-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.chapter-dot.active .chapter-number {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.chapter-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.chapter-dot:hover .chapter-label,
.chapter-dot.active .chapter-label {
    opacity: 1;
    transform: translateX(0);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    color: var(--accent-teal);
    font-size: 1.5rem;
    opacity: 0.1;
    animation: floatAround 20s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 8%;
    animation-delay: -10s;
}

.floating-element:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: -15s;
}

.floating-element:nth-child(5) {
    top: 50%;
    right: 5%;
    animation-delay: -8s;
}

@keyframes floatAround {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-40px) rotate(10deg); }
    75% { transform: translateY(-20px) rotate(5deg); }
}

/* Chapters */
.chapter {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.chapter.visible {
    opacity: 1;
    transform: translateY(0);
}

.chapter-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.chapter-header {
    text-align: center;
    margin-bottom: 4rem;
}

.chapter-number-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.chapter-roman {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-blue);
    opacity: 0.2;
}

.chapter-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chapter-subtitle {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--gray-600);
}

/* Chapter 1 - Caos */
.chapter-1 {
    background-color: #e9e9e9;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.chaos-visualization {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

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

.chaos-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: chaosShake 2s ease-in-out infinite;
}

.chaos-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.chaos-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--orange));
}

.chaos-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: iconSpin 4s linear infinite;
}

.chaos-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.chaos-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.chaos-stress {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    animation: stressPulse 1s ease-in-out infinite;
}

.chaos-image {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chaos-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.chaos-item:hover .chaos-image img {
    transform: scale(1.05);
}

.chaos-impact {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.impact-stat {
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--red);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

.exploding-number {
    animation: explode 0.5s ease-out;
}

.chapter-transition {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.transition-text {
    font-size: 1.5rem;
    color: var(--gray-700);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Chapter 2 - Transformação */
.chapter-2 {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.transformation-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-device {
    display: flex;
    justify-content: center;
}

.device-frame {
    position: relative;
    width: 350px;
    height: 700px;
    background: var(--gray-900);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gray-600);
    border-radius: 2px;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.screen-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.screen-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
}

.screen-slide.active {
    opacity: 1;
}

.screen-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screen-caption {
    padding: 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.screen-caption h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.screen-caption p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

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

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--accent-teal));
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.benefit-arrow {
    font-size: 1.5rem;
    color: var(--accent-teal);
    font-weight: 700;
    animation: arrowMove 2s ease-in-out infinite;
}

/* Chapter 3 - Resultados */
.chapter-3 {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.results-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

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

.result-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), var(--green));
}

.result-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-teal), var(--green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    animation: resultFloat 3s ease-in-out infinite;
}

.result-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.counting-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

.number-symbol {
    font-size: 2rem;
    color: var(--accent-teal);
    font-weight: 700;
}

.result-label h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.result-label p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.result-image {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.result-card:hover .result-image img {
    transform: scale(1.05);
}

.testimonials-cinema {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonials-cinema::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(16, 185, 129, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.testimonial-frame {
    position: relative;
    z-index: 2;
}

.testimonial-content {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-quote {
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.testimonial-quote i {
    font-size: 2rem;
    color: var(--accent-teal);
    opacity: 0.3;
}

.testimonial-quote p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray-800);
    font-style: italic;
    line-height: 1.6;
    margin: 1rem 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-teal);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-btn {
    background: var(--gray-100);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-600);
}

.testimonial-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.testimonial-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Chapter 4 - Futuro */
.chapter-4 {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
}

.future-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.vision-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.vision-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.vision-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vision-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.vision-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vision-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-teal), var(--green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.vision-item span {
    color: var(--gray-800);
    font-weight: 500;
}

.future-showcase {
    margin-top: 2rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.showcase-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.showcase-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.showcase-item span {
    display: block;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.9rem;
}

.future-cta {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.future-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(30, 58, 138, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

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

.cta-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mega-cta-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mega-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.3);
}

.mega-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mega-cta-button:hover::before {
    left: 100%;
}

.cta-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cta-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cta-main {
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-sub {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.cta-arrow {
    font-size: 1.2rem;
    animation: arrowMove 2s ease-in-out infinite;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.8rem;
}

.feature-item i {
    color: var(--accent-teal);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--white);
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.modal-body {
    padding: 2rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-submit {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

/* Footer */
.cinematic-footer {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-logo img {
    width: auto;
    height: 40px;
    filter: brightness(100);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-contact a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

/* Animations */
@keyframes chaosShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes explode {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes arrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .floating-nav {
        position: fixed;
        top: 1rem;
        left: 1rem;
        right: 1rem;
        transform: none;
        padding: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .chapter-progress {
        display: none;
    }
    
    .chapter-roman {
        font-size: 2.5rem;
    }
    
    .chapter-title {
        font-size: 2rem;
    }
    
    .chapter-subtitle {
        font-size: 1.5rem;
    }
    
    .transformation-showcase,
    .future-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .device-frame {
        width: 280px;
        height: 480px;
    }
    
    .chaos-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .testimonial-quote p {
        font-size: 1.2rem;
    }
    
    .vision-text h2 {
        font-size: 2rem;
    }
    
    .mega-cta-button {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .chapter {
        padding: 2rem 1rem;
    }
    
    .chapter-header {
        margin-bottom: 2rem;
    }
    
    .floating-nav {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .device-frame {
        width: 250px;
        height: 420px;
    }
    
    .chaos-item,
    .result-card,
    .benefit-item {
        padding: 1.5rem;
    }
    
    .future-cta {
        padding: 2rem;
    }
    
    .testimonial-quote p {
        font-size: 1.1rem;
        padding: 0;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        width: 60px;
        height: 60px;
    }
}
