/* Main Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #090909;
    color: #F5F5F0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background aesthetic overlay */
.stars-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 20%, rgba(197, 168, 128, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.03) 0%, transparent 35%);
    z-index: -1;
    pointer-events: none;
}

/* App Container */
.app-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    margin-bottom: 40px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.gold-text {
    color: #C5A880;
}

.light-text {
    color: #F5F5F0;
    font-weight: 300;
}

.header-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C5A880;
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    background-color: rgba(197, 168, 128, 0.05);
}

/* Audit Card Box */
.audit-card {
    background-color: #0F0F0F;
    border: 1px solid rgba(197, 168, 128, 0.12);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Screen Transitions */
.screen {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.screen.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Editorial Serif Headings */
.serif-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F5F5F0;
}

.serif-question {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #F5F5F0;
}

.subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: #A0A0A0;
    margin-bottom: 40px;
    max-width: 700px;
}

.q-step {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #C5A880;
    display: block;
    margin-bottom: 8px;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 3px;
    background-color: rgba(197, 168, 128, 0.1);
    margin-bottom: 30px;
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #D4AF37;
    transition: width 0.4s ease;
}

/* Info Grid (Welcome Screen) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    color: #C5A880;
    background-color: rgba(197, 168, 128, 0.05);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(197, 168, 128, 0.1);
}

.info-item strong {
    display: block;
    color: #F5F5F0;
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.85rem;
    color: #A0A0A0;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.option-card {
    display: block;
    position: relative;
    padding: 20px 24px;
    background-color: #121212;
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-title {
    display: block;
    font-weight: 500;
    font-size: 1.05rem;
    color: #F5F5F0;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.option-desc {
    display: block;
    font-size: 0.85rem;
    color: #8E8E8E;
    font-weight: 300;
}

/* Option States */
.option-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background-color: rgba(197, 168, 128, 0.02);
}

.option-card input:checked ~ .option-title {
    color: #D4AF37;
}

.option-card:has(input:checked) {
    border-color: #D4AF37;
    background-color: rgba(212, 175, 55, 0.04);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.05);
}

/* Button & Button Grouping */
.btn-group {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    padding-top: 30px;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #C5A880;
    color: #090909;
    border: none;
}

.btn-primary:hover {
    background-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #C5A880;
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(197, 168, 128, 0.05);
    border-color: #C5A880;
}

.btn-action {
    background-color: #D4AF37;
    color: #090909;
    border: none;
    width: 100%;
    margin-top: 15px;
}

.btn-action:hover {
    background-color: #F5F5F0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* Lead Capture Form */
#lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

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

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C5A880;
}

.form-group input {
    background-color: #121212;
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: 6px;
    padding: 14px 16px;
    color: #F5F5F0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #D4AF37;
    background-color: #161616;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* Results Display */
.results-header {
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #D4AF37;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.1);
}

.score-value {
    font-size: 2.2rem;
    font-weight: 600;
    color: #F5F5F0;
    line-height: 1;
}

.score-max {
    font-size: 0.8rem;
    color: #C5A880;
}

.results-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #C5A880;
    display: block;
    margin-bottom: 6px;
}

/* Recommendation / Insights list */
.results-insights {
    text-align: left;
    margin-bottom: 45px;
}

.insight-card {
    background-color: #121212;
    border-left: 3px solid #C5A880;
    padding: 24px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.insight-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #F5F5F0;
    margin-bottom: 8px;
}

.insight-text {
    font-size: 0.9rem;
    color: #A0A0A0;
    font-weight: 300;
}

/* Call to Action Banner */
.cta-banner {
    background: linear-gradient(135deg, #16120e 0%, #0c0d12 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 35px;
    margin-bottom: 40px;
    text-align: center;
}

.serif-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #D4AF37;
}

.cta-banner p {
    font-size: 0.9rem;
    color: #A0A0A0;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer elements */
.main-footer {
    text-align: center;
    font-size: 0.75rem;
    color: #555555;
    margin-top: 40px;
}

/* Responsive Scaling */
@media(max-width: 768px) {
    .audit-card {
        padding: 30px 20px;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .results-header {
        flex-direction: column;
        text-align: center;
    }
    .serif-title {
        font-size: 2.2rem;
    }
}
