:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #FFD700;
    --text-color: #ffffff;
    --form-bg: rgba(0, 0, 0, 0.7);
    --gradient-1: #0099ff;
    --gradient-2: #1ec6ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.hero {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 100%),
        repeating-linear-gradient(45deg, 
            rgba(0, 153, 255, 0.03) 0px, 
            rgba(0, 153, 255, 0.03) 2px,
            transparent 2px, 
            transparent 4px
        ),
        linear-gradient(90deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
    background-size: cover, 20px 20px, cover;
    min-height: 100vh;
    color: var(--secondary-color);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, 
            rgba(30, 198, 255, 0.1) 0%, 
            transparent 50%),
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(30, 198, 255, 0.08)' stroke-width='1.5'%3E%3Ccircle cx='60' cy='60' r='40'/%3E%3Cpath d='M60 30v60M30 60h60'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 100%, 120px 120px;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at center,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 60%),
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 50px,
            rgba(255, 255, 255, 0.02) 50px,
            rgba(255, 255, 255, 0.02) 51px
        );
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.logo {
    display: block;
    height: 70px;
    margin-top: 0 !important;
    margin-right: auto !important;
    margin-bottom: 0.5rem !important;
    margin-left: auto !important;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-text h1 {
    font-size: 3rem;
    margin: 0;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.ebook-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

.ebook-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.1) 2%,
        rgba(0, 0, 0, 0) 5%,
        rgba(0, 0, 0, 0) 95%,
        rgba(0, 0, 0, 0.1) 98%,
        rgba(0, 0, 0, 0.2) 100%
    );
    border-radius: 10px;
    pointer-events: none;
}

.ebook-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 2%,
            transparent 5%,
            transparent 95%,
            rgba(255, 255, 255, 0.05) 98%,
            rgba(255, 255, 255, 0.1) 100%
        ),
        repeating-linear-gradient(90deg,
            transparent 0px,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 1px,
            rgba(255, 255, 255, 0.03) 2px
        );
    border-radius: 10px;
    pointer-events: none;
}

.ebook-image:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

.ebook-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Adiciona efeito de páginas na lateral direita */
.ebook-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: -2px;
    width: 4px;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    border-radius: 0 10px 10px 0;
    z-index: 2;
}

/* Adiciona efeito de lombada */
.ebook-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 2%,
        transparent 5%,
        transparent 95%,
        rgba(0, 0, 0, 0.1) 98%,
        rgba(0, 0, 0, 0.3) 100%
    );
    border-radius: 10px;
    z-index: 3;
    pointer-events: none;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.8;
}

.lead-form {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(30, 198, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.lead-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
}

.lead-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    text-align: center;
    color: #fff;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input:focus {
    outline: none;
    border-color: #1ec6ff;
    background: rgba(30, 198, 255, 0.08);
    box-shadow: 0 0 8px 0 #1ec6ff44;
}

.cta-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #0099ff 0%, #1ec6ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 198, 255, 0.3);
}

/** ANIMAÇÕES **/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content, .logo, .lead-form, .hero-text h1, .hero-text p {
    animation: fadeInUp 1s ease;
}

.lead-form {
    box-shadow: 0 8px 32px 0 rgba(30, 198, 255, 0.15);
    border: 1.5px solid rgba(30, 198, 255, 0.2);
    transition: box-shadow 0.3s;
}

.lead-form:focus-within {
    box-shadow: 0 0 0 4px rgba(30, 198, 255, 0.25);
}

input:focus {
    outline: none;
    border-color: #1ec6ff;
    background: rgba(30, 198, 255, 0.08);
    box-shadow: 0 0 8px 0 #1ec6ff44;
}

.cta-button {
    background: linear-gradient(90deg, #0099ff 0%, #1ec6ff 100%);
    color: #fff;
    box-shadow: 0 2px 12px 0 rgba(30, 198, 255, 0.15);
}

.cta-button:hover {
    box-shadow: 0 5px 20px 0 #0099ff55;
}

/* MOBILE MELHORADO */
@media (max-width: 768px) {
    /* Remover regras globais de max-width */
    .container,
    .hero-content,
    .lead-form,
    .details-content {
        width: 100% !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
    }
    input, button, select, textarea {
        width: 100% !important;
        box-sizing: border-box !important;
        max-width: 100%;
    }
    .ebook-image {
        max-width: 110px;
        width: auto;
        display: block;
        margin: 0.5vh auto 1vh auto;
        min-width: 0;
        height: auto;
    }
    body {
        overflow-x: hidden;
    }
    .logo {
        height: 12vw;
        max-height: 60px;
        min-height: 36px;
        margin-top: 1.5vh !important;
        margin-bottom: 1vh !important;
    }
    .hero-content {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.2vh;
        padding: 0;
        min-height: unset;
        width: 100%;
        overflow: hidden;
    }
    .hero-text {
        order: 0;
    }
    .lead-form {
        order: 0;
        padding: 0.7rem 0.5rem !important;
        border-radius: 10px;
    }
    .lead-form h2 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    .form-group {
        margin-bottom: 0.5rem;
    }
    input {
        padding: 0.6em 0.7em;
        font-size: 0.85em;
    }
    .cta-button {
        font-size: 0.75em;
        padding: 0.6em;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 400px) {
    .logo {
        height: 60px;
        margin-bottom: 1rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .ebook-image {
        max-width: 180px;
    }

    .lead-form {
        padding: 1.2rem;
    }

    .lead-form h2 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    input {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }

    .cta-button {
        font-size: 0.75rem;
        padding: 0.7rem;
    }
}

.details-section {
    background: linear-gradient(135deg, #000 0%, #001a33 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 3rem 0 2rem 0;
}

.details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 153, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 198, 255, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(30, 198, 255, 0.05)' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='25'/%3E%3Cpath d='M40 20v40M20 40h40'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 100%, 100% 100%, 80px 80px;
    background-position: center, center, 0 0;
    pointer-events: none;
}

.details-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(30, 198, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.details-section h2 {
    color: var(--gradient-2);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(30, 198, 255, 0.3);
}

.details-section p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.details-button {
    display: inline-block;
    padding: 1rem 2.2rem;
    background: linear-gradient(90deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 2px 12px 0 rgba(30, 198, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.details-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: 0.5s;
}

.details-button:hover::before {
    left: 100%;
}

.details-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px 0 rgba(30, 198, 255, 0.3);
}

.footer {
    background: linear-gradient(180deg, #000 0%, #001a33 100%);
    color: #fff;
    text-align: center;
    padding: 2.5rem 0 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--gradient-1),
        var(--gradient-2),
        transparent
    );
}

.footer-logo {
    height: 80px;
    margin: 0 auto 2rem auto;
    display: block;
}

.social-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.social-link {
    color: #fff;
    background: none;
    border: none;
    box-shadow: none;
    font-size: 1.3rem;
    margin: 0 0.5rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s;
    text-decoration: none;
}

.social-link:hover {
    color: #0099ff;
    background: none;
    transform: scale(1.15) rotate(-8deg);
    text-decoration: none;
}

.social-link i {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-icons .social-link {
    animation: iconPop 0.7s cubic-bezier(.68,-0.55,.27,1.55) both;
}

@keyframes iconPop {
    0% { opacity: 0; transform: scale(0.5) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Animações de entrada para o conteúdo principal */
.hero-content, .details-content, .footer-logo, .social-links, .footer-copy {
    animation: fadeInUp 1.1s cubic-bezier(.68,-0.55,.27,1.55) both;
}

.footer-line {
    border: none;
    border-top: 1px solid #222;
    margin: 2rem auto 1.2rem auto;
    width: 95%;
}

.footer-copy {
    font-size: 0.98rem;
    color: #8ec6ff;
    margin: 0;
}

@media (max-width: 900px) {
    .footer-logo {
        margin-top: 1.2rem;
    }
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .logo {
        margin-top: 0;
        margin-bottom: 8rem;
    }
    .footer-logo {
        margin-top: 0.5rem;
        margin-bottom: 2.5rem;
    }
    .cta-button {
        font-size: 0.8rem;
        padding: 0.8rem;
        letter-spacing: 0.2px;
    }
    .details-button {
        font-size: 0.80rem;
        padding: 0.7rem 0.5rem;
        letter-spacing: 0.2px;
        white-space: nowrap;
        word-break: normal;
    }
}

/* Ajustes para a seção de detalhes em mobile */
@media (max-width: 768px) {
    .details-section {
        padding: 2rem 0 1.5rem 0;
    }

    .details-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .details-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .details-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .details-button {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Ajustes para o footer em mobile */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem 0;
    }

    .footer-logo {
        height: 60px;
        margin: 0 auto 1.5rem auto;
    }

    .social-links {
        margin-bottom: 1.5rem;
        gap: 1rem;
    }

    .social-link {
        font-size: 1.2rem;
    }

    .footer-line {
        margin: 1.5rem auto 1rem auto;
    }

    .footer-copy {
        font-size: 0.85rem;
    }
} 