:root {
    --primary: #6a4697; /* Was Fair Red, updated to requested color */
    --primary-hover: #543679;
    --secondary: #F4A261; /* Warm Orange/Gold */
    --secondary-light: #FDF0D5;
    --accent: #2A9D8F; /* Teal */
    --bg-color: #F8F9FA;
    --text-dark: #2B2D42;
    --text-light: #6C757D;
    --border: #DEE2E6;
    --white: #FFFFFF;
    --error: #E63946;
    --success: #2A9D8F;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 20px 100px;
    background-image: url('https://offertabs.s3.amazonaws.com/offer/wkfj5e/site/media/6a05bd1fb53cb1.11653734.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(43,45,66,0.85) 0%, rgba(106, 70, 151, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.intro-lead {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.perks-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    text-align: left;
}

.perks-card h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: var(--secondary);
}

.perks-card ul {
    list-style: none;
}

.perks-card li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.perks-card li::before {
    content: '🎡';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.1rem;
}

.closing-note {
    font-size: 1rem;
    opacity: 0.9;
}

/* Main Container */
.main-container {
    flex: 1;
    max-width: 840px;
    width: 100%;
    margin: -60px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* Card */
.card {
    background: linear-gradient(135deg, #f5f0fa 0%, #e8ddf5 100%);
    border: 1px solid rgba(106, 70, 151, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px dashed rgba(106, 70, 151, 0.2);
}

.form-section.last-section {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-light);
}

.expectations-box {
    background: var(--secondary-light);
    border-radius: 12px;
    padding: 20px;
    color: var(--text-dark);
}

.expectations-box ul {
    margin: 12px 0 16px 24px;
}

.expectations-box li {
    margin-bottom: 6px;
}

.highlight-text {
    color: var(--primary);
    font-weight: 600;
}

/* Inputs */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.required {
    color: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background-color: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(106, 70, 151, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkboxes & Radios */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.radio-group {
    display: flex;
    gap: 24px;
    margin-top: 10px;
}

.check-label, .radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}

.check-label:hover, .radio-label:hover {
    border-color: var(--primary);
    background: rgba(106, 70, 151, 0.05);
}

.check-label input, .radio-label input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.check-label:has(input:checked), .radio-label:has(input:checked) {
    border-color: var(--primary);
    background: rgba(106, 70, 151, 0.05);
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(106, 70, 151, 0.3);
    margin-top: 20px;
}

.submit-button:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 70, 151, 0.4);
}

.submit-button:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

/* Error & Status */
.error-box {
    background: #FFF0F0;
    color: var(--error);
    padding: 16px;
    border-radius: 12px;
    margin: 20px 0;
    font-weight: 600;
    text-align: center;
    border: 1px solid #FFD6D6;
}

.status-banner {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Success Screen */
.text-center { text-align: center; }
.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}
#success-container h2 {
    color: var(--success);
    font-size: 2.5rem;
    margin-bottom: 16px;
}
#success-container p {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-light);
}

/* Powered By */
#wbx-powered-by-slot {
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 15px 80px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .card {
        padding: 24px 20px;
    }
    .input-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
}
