/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

/* Main content styles */
.content-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.ebook-preview {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.cover-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

/* Benefits section */
.benefits {
    margin-bottom: 2rem;
}

.benefits h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.benefits ul {
    list-style: none;
}

.benefits li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

/* Form styles */
.download-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox input {
    margin-top: 0.25rem;
}

.checkbox label {
    font-size: 0.9rem;
    color: #4a5568;
}

/* Add specific styling for the consent label */
.checkbox label[for="consent"] {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #718096;
    max-width: 100%;
    display: block;
}

.checkbox label[for="consent"] a {
    color: #4299e1;
    text-decoration: none;
}

.checkbox label[for="consent"] a:hover {
    text-decoration: underline;
}

.download-button {
    width: 100%;
    padding: 1rem;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.download-button:hover {
    background-color: #3182ce;
}

/* Footer styles */
footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .content-wrapper {
        gap: 2rem;
    }

    .ebook-preview,
    .form-container {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .download-form {
        padding: 1.5rem;
    }
} 