/* --- CSS Reset & Base Styling --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0c0c0c; /* Ultra Dark Gray */
    color: #e6e6e6; /* Soft White */
    line-height: 1.6;
    background-image: radial-gradient(circle at 50% -20%, #201a12 0%, #0c0c0c 70%); /* Subtle gold radial glow */
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- Header Styling --- */
.header {
    text-align: center;
    margin-bottom: 50px;
}

.logo {
    font-size: 14px;
    letter-spacing: 4px;
    color: #c5a059; /* Luxury Gold */
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.main-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.main-title .highlight {
    background: linear-gradient(135deg, #f3d082 0%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
}

.subtitle {
    font-size: 18px;
    color: #a6a6a6;
    max-width: 700px;
    margin: 0 auto 20px;
    font-weight: 300;
}

.gift-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #f3d082;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: pulse 2s infinite alternate;
}

/* --- Main Layout --- */
.main-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.left-section {
    flex: 1.1;
}

.right-section {
    flex: 0.9;
}

/* --- CSS 3D Book Mockup --- */
.book-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    perspective: 1000px; /* Enable 3D perspective */
}

.book {
    position: relative;
    width: 250px;
    height: 350px;
    transform-style: preserve-3d;
    transform: rotateY(-20deg) rotateX(10deg);
    transition: transform 0.5s ease;
    box-shadow: 15px 15px 35px rgba(0, 0, 0, 0.6);
}

.book:hover {
    transform: rotateY(-10deg) rotateX(5deg);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1b160f 0%, #0c0a06 100%);
    border: 2px solid #c5a059;
    border-radius: 0 4px 4px 0;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    transform: translateZ(10px);
}

.book-logo {
    font-size: 10px;
    letter-spacing: 3px;
    color: #c5a059;
    font-weight: 700;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    padding-bottom: 4px;
}

.book-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.book-title .gold-text {
    color: #f3d082;
    font-size: 24px;
}

.book-subtitle {
    text-align: center;
    font-size: 11px;
    color: #a6a6a6;
    line-height: 1.4;
    font-weight: 300;
}

.book-version {
    font-size: 11px;
    font-weight: 600;
    background-color: #c5a059;
    color: #0c0c0c;
    padding: 3px 10px;
    border-radius: 2px;
}

/* Spine of the book to give it 3D depth */
.book-spine {
    position: absolute;
    width: 20px;
    height: 100%;
    background: #735a2d;
    left: -20px;
    transform: rotateY(-90deg);
    transform-origin: right;
    z-index: 1;
}

/* --- Features Checklist --- */
.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid #c5a059;
    border-radius: 50%;
    color: #f3d082;
    font-size: 14px;
    font-weight: bold;
}

.features-list li strong {
    font-size: 16px;
    color: #f3d082;
    display: block;
    margin-bottom: 4px;
}

.features-list li p {
    font-size: 14px;
    color: #a6a6a6;
    font-weight: 300;
}

/* --- Glassmorphism Form Container --- */
.form-container {
    background: rgba(26, 26, 26, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #a6a6a6;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 300;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #cccccc;
}

.form-group .required {
    color: #ff5252;
}

.form-group input,
.form-group select {
    width: 100%;
    background-color: rgba(12, 12, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #c5a059;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23c5a059' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* --- Submit Button Animation --- */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #f3d082 0%, #c5a059 100%);
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #0c0c0c;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(197, 160, 89, 0.35);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-footer {
    font-size: 12px;
    color: #8c8c8c;
    text-align: center;
    margin-top: 15px;
    font-weight: 300;
}

/* --- Footer Section --- */
.footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 40px;
}

.footer p {
    font-size: 13px;
    color: #8c8c8c;
    margin-bottom: 8px;
    font-weight: 300;
}

/* --- Animations --- */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(197, 160, 89, 0);
    }
}

/* --- Responsive Styling (Media Queries) --- */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .left-section,
    .right-section {
        width: 100%;
        flex: none;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .book-container {
        margin-bottom: 30px;
    }
}
