:root {
    --primary-dark: #1B243F;
    --primary-cyan: #4DCef5;
    --text-white: #ffffff;
    --text-dark: #1B243F;
    --error-red: #ef4444;
    --disabled-gray: #cccccc;
    --footer-bg: #f1f1f1;
}

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

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
}

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

/* Hero Section */
.hero-section {
    padding: 20px 0 60px;
    display: flex;
    align-items: center;
    min-height: auto;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinha ao topo para imagem descer */
    width: 100%;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    padding-top: 20px;
}

.hero-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    display: block;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    max-width: 500px;
}

.hero-image-container {
    margin-top: 40px;
}

.hero-form {
    flex: 1;
    max-width: 450px;
}

.form-card {
    background-color: var(--primary-cyan);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-dark);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header h3 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.form-header p {
    font-size: 0.9rem;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 0px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid transparent;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    outline: none;
    margin-bottom: 15px; /* Espaçamento entre inputs */
}

.form-group input:focus {
    border-color: var(--primary-dark);
}

/* Password Toggle */
.password-input-container {
    position: relative;
    margin-bottom: 15px;
}

.password-input-container input {
    margin-bottom: 0; /* Remove margin bottom do input dentro do container */
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.password-toggle:hover {
    color: #333;
}

/* Domain Input */
.domain-input-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.domain-input-container input {
    padding-right: 110px !important;
    margin-bottom: 0;
}

.domain-suffix {
    position: absolute;
    right: 15px;
    color: #666;
    font-weight: 600;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 5px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-dark);
}

.checkbox-group a {
    color: var(--primary-dark);
    text-decoration: underline;
    font-weight: 700;
}

/* Error Message */
.error-message {
    color: var(--error-red);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0px;
    min-height: 0px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 15px;
}

.submit-btn:hover {
    background-color: #131b2e;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background-color: rgba(27, 36, 63, 0.7);
    cursor: not-allowed;
    transform: none;
}

/* Features Text Section (White) */
.features-text-section {
    background-color: white;
    color: var(--text-dark);
    padding: 80px 0;
}

.features-text-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    max-width: 900px;
}

.features-text-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 900px;
    color: #444;
}

/* Gamification Feature Section (Cyan) */
.gamification-feature-section {
    background-color: var(--primary-cyan);
    padding: 80px 0;
    color: white; /* Texto branco sobre fundo ciano conforme imagem? A imagem parece ter texto branco ou azul escuro? Na imagem "TURN LOW-ENGAGEMENT..." parece branco. */
}

.gamification-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-image {
    flex: 1;
}

.feature-laptop-img {
    max-width: 100%;
    transform: rotate(-5deg) scale(0.9); /* Leve inclinação para estilo */
    transition: transform 0.3s;
}

.feature-laptop-img:hover {
    transform: rotate(0deg) scale(1);
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Stats Section (Dark Blue) */
.stats-section {
    background-color: var(--primary-dark);
    padding: 60px 0;
    color: var(--text-white);
}

.stats-content {
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Clients Section */
.clients-section {
    background-color: white;
    color: var(--text-dark);
    padding: 60px 0;
    text-align: center;
}

.clients-section h2 {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.client-logo-img {
    height: 120px; /* Ajuste conforme necessário para uniformidade */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%); /* Opcional: para deixar cinza/uniforme se desejar, ou remover se quiser cor */
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.client-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: #666;
    text-align: center;
    padding: 30px 0;
}

.footer-logo {
    height: 35px;
    margin-bottom: 10px;
}

.site-footer p {
    font-size: 0.8rem;
}

/* Loading State */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.loading-spinner {
    border: 4px solid rgba(27, 36, 63, 0.1);
    border-left-color: var(--primary-dark);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loading-message {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.loading-button {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-text, .hero-form {
        max-width: 100%;
    }
    
    .hero-section {
        padding-top: 20px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        margin: 0 auto 30px;
    }

    .gamification-content {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-laptop-img {
        transform: none;
    }
}
