/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #fff;
}

/* Container principal */
.main-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
}

.how-it-works-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.how-it-works-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
}

.how-it-works-btn svg {
    width: 16px;
    height: 16px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social-link {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 15px;
    min-height: 100vh;
}

.layout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

/* Left section - Logo */
.left-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.main-logo-large {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

/* Right section - Content */
.right-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Corporate text */
.corporate-text {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 40px 20px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.corporate-container {
    position: relative;
    overflow: hidden;
}

.corporate-image {
    float: right;
    margin-left: 30px;
    margin-bottom: 5px;
    margin-top: 10px;
    shape-outside: margin-box;
}

.attendant-img {
    width: 300px;
    height: 300px;
    border-radius: 25px;
    object-fit: cover;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.attendant-img:hover {
    transform: scale(1.02);
}

.flowing-text {
    text-align: justify;
    line-height: 1.7;
    font-size: 1.0rem;
    color: rgba(255, 255, 255, 0.9);
}

.flowing-text p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.0rem;
}

.download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
    justify-content: center;
    align-items: center;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.download-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.download-img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.main-description {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #fff;
    text-align: left;
    max-width: 100%;
}

.main-description strong {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.4rem;
}

.main-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.call-to-action {
    color: #ff6b6b;
    font-weight: 600;
}

/* App showcase */
.app-showcase {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.app-img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.app-img:hover {
    transform: scale(1.05);
}

.app-info {
    flex: 1;
}

.app-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.app-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

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

/* Privacy Policy link styling */
.privacy-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}
.privacy-link:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 1024px) {
    .layout-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .main-logo-large {
        max-width: 300px;
    }
    
    .app-container {
         flex-direction: column;
         text-align: center;
     }
     
     .corporate-container {
         flex-direction: column;
         text-align: center;
         gap: 20px;
     }
     
     .app-img {
         width: 100px;
         height: 100px;
     }
}

@media (max-width: 768px) {
    .main-content {
        padding: 80px 20px 20px;
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .corporate-text {
        padding: 30px 20px;
    }
    
    .corporate-image {
        float: none;
        margin: 0 auto 20px auto;
        text-align: center;
        display: block;
    }
    
    .flowing-text {
        text-align: center;
    }
    
    .attendant-img {
        width: 240px;
        height: 240px;
        display: block;
        margin: 0 auto;
    }
    
    .download-buttons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .download-img {
        height: 45px;
    }
    
    .main-description {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .main-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .main-logo-large {
        max-width: 250px;
    }
    
    .layout-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 700px;
    }

    .right-section {
        align-items: center;
    }

    .main-description,
    .main-subtitle {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 70px 15px 15px;
    }
    
    .corporate-text,
    .app-showcase {
        padding: 25px 15px;
    }
    
    .main-description {
        font-size: 1rem;
    }
    
    .main-subtitle {
        font-size: 0.95rem;
    }
    
    .app-info h3 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .main-logo-large {
        max-width: 200px;
    }
    
    .app-img {
        width: 80px;
        height: 80px;
    }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 900px;
    height: 80%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-close:hover {
    color: #ff4757;
    background: rgba(0, 0, 0, 0.8);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Fallback link (ver no YouTube) */
.video-fallback-link {
    position: absolute;
    bottom: 12px;
    right: 15px;
    z-index: 2002;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.video-fallback-link:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive para o modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        height: 70%;
        margin: 10% auto;
    }
    
    .video-close {
        top: 10px;
        right: 15px;
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .how-it-works-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .how-it-works-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .video-modal-content {
        width: 98%;
        height: 60%;
        margin: 15% auto;
    }
}