:root {
    --primary: #0A192F; /* Deep Navy Prestige */
    --secondary: #172A45; 
    --accent: #D4AF37; /* Gold */
    --accent-hover: #E8C14A;
    --text: #333333;
    --text-light: #666666;
    --bg: #F5F7FA;
    --white: #FFFFFF;
    --success: #2E7D32;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.hub-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--accent);
    font-size: 1rem;
    vertical-align: middle;
}

.secure-badge {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Main Container */
.quiz-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.quiz-card {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

/* Progress Bar */
.progress-container {
    height: 8px;
    background: #E0E0E0;
    width: 100%;
}

.progress-bar {
    height: 100%;
    width: 25%;
    background: var(--accent);
    transition: width 0.4s ease;
}

/* Steps */
.quiz-step {
    padding: 3rem 2.5rem;
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Options Grid */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    background: var(--white);
    border: 2px solid #E0E0E0;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-weight: 500;
}

.option-btn:hover {
    border-color: var(--primary);
    background: rgba(10, 25, 47, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Loading Step */
.loading-step {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.analysis-list {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.analysis-list li {
    margin-bottom: 0.8rem;
    opacity: 0;
    color: var(--success);
    font-weight: 500;
}

/* Final Form */
.success-alert {
    background: rgba(46, 125, 50, 0.1);
    color: var(--success);
    padding: 1rem;
    border-left: 4px solid var(--success);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.input-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
}

.input-group input {
    padding: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
}

.submit-btn {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    background: var(--accent-hover);
}

.disclaimer {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 0.5rem;
}
