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

:root {
    --primary-color: #6b21a8;
    --primary-dark: #581c87;
    --secondary-color: #22c55e;
    --secondary-dark: #16a34a;
    --text-color: #ffffff;
    --text-secondary: #d1d5db;
    --bg-dark: #111827;
    --bg-darker: #0f172a;
    --border-color: #374151;
    --error-color: #ef4444;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(to bottom, #111827, #1f2937, #111827);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: bold;
}

.logo-text p {
    font-size: 0.875rem;
    color: #9ca3af;
}

.button-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-whatsapp {
    background-color: var(--secondary-color);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--secondary-dark);
}

.btn-instagram {
    background: linear-gradient(135deg, #ec4899, #a855f7);
    color: white;
}

.btn-instagram:hover {
    background: linear-gradient(135deg, #db2777, #9333ea);
}

.btn-text-hidden {
    display: none;
}

@media (min-width: 640px) {
    .btn-text-hidden {
        display: inline;
    }
}

/* Main Container */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .hero-text h2 {
        font-size: 3rem;
    }
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Form Section */
.form-section {
    background: linear-gradient(to right, #6b21a8, #7c3aed);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-section h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-section .subtitle {
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background-color: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

.error-message {
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid var(--error-color);
    border-radius: 0.375rem;
    padding: 0.75rem;
    color: #fca5a5;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
}

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

.form-submit {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: var(--secondary-dark);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 1rem;
}

/* Success Message */
.success-message {
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

.success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: #22c55e;
}

.success-message p {
    margin-bottom: 1rem;
}

.success-message .email-highlight {
    font-weight: bold;
}

.download-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.download-btn:hover {
    background-color: var(--secondary-dark);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    color: #9ca3af;
    margin-top: 3rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 640px) {
    .hero-text h2 {
        font-size: 1.875rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .form-section h3 {
        font-size: 1.25rem;
    }
}
