/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a3a52;
    --secondary-blue: #2c5282;
    --accent-orange: #ed8936;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --warning-bg: #fff5f5;
    --warning-border: #fc8181;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--bg-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.tagline {
    color: var(--text-light);
    font-size: 0.9rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--secondary-blue);
}

.cta-button {
    background-color: var(--accent-orange);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #dd6b20;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: white;
}

.btn-primary:hover {
    background-color: #dd6b20;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-blue);
    color: white;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

button.btn-primary, button.btn-secondary {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.warning-box {
    background-color: var(--warning-bg);
    border-left: 4px solid var(--warning-border);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 2rem 0;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.option-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.option-card.recommended {
    border: 3px solid var(--accent-orange);
    background-color: #fffaf0;
}

.recommendation-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--accent-orange);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.option-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.reality h4 {
    color: var(--text-light);
    margin: 1rem 0 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.reality ul {
    margin-left: 1.5rem;
    color: var(--text-dark);
}

.reality ul li {
    margin-bottom: 0.5rem;
}

.reality ul li.positive {
    color: #2d7a2d;
    font-weight: 500;
}

.reality ul li.positive::marker {
    content: '✓ ';
}

/* Comparison Table */
.comparison-table {
    margin-top: 3rem;
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table tr:hover {
    background-color: var(--bg-light);
}

.comparison-table tr.highlight {
    background-color: #fffaf0;
}

.comparison-table .positive {
    color: #2d7a2d;
    font-weight: 600;
}

.comparison-table .warning {
    color: var(--accent-orange);
    font-weight: 600;
}

.comparison-table .negative {
    color: #dc2626;
    font-weight: 600;
}

/* Truth Cards */
.truth-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.truth-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.truth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.truth-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.truth-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.truth-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Alternative Approach */
.alternative-approach {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 3rem;
    border: 2px solid var(--secondary-blue);
}

.alternative-approach h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
}

.alternative-approach ul {
    margin: 2rem 0;
    list-style: none;
}

.alternative-approach ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.alternative-approach ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-size: 1.2rem;
    font-weight: bold;
}

.alternative-approach ul li strong {
    color: var(--primary-blue);
}

.cta-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
}

/* Resources Table */
.resources-table-container {
    max-width: 1000px;
    margin: 2rem auto;
    overflow-x: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.resources-table {
    width: 100%;
    border-collapse: collapse;
}

.resources-table th {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.resources-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.resources-table tr:hover {
    background-color: var(--bg-light);
}

.resources-table tr.highlight-row {
    background-color: #fffaf0;
}

.resources-table a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
}

.resources-table a:hover {
    text-decoration: underline;
}

.phone-link {
    white-space: nowrap;
}

/* Additional Resources */
.additional-resources {
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.additional-resources h3 {
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.resource-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.resource-card a {
    color: var(--secondary-blue);
    font-weight: 600;
    text-decoration: none;
}

.resource-card a:hover {
    text-decoration: underline;
}

.disclaimer {
    background-color: white;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Assessment Section */
.assessment-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.assessment-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.assessment-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.assessment-header h2 {
    margin-bottom: 0.5rem;
}

.assessment-header p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.progress-bar {
    background-color: rgba(255, 255, 255, 0.3);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    background-color: var(--accent-orange);
    height: 100%;
    width: 14.3%; /* 100% / 7 questions */
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.question-container {
    padding: 3rem;
}

.question {
    animation: slideIn 0.3s ease-out;
}

.question h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.answers {
    display: grid;
    gap: 1rem;
}

.answer-option {
    background-color: var(--bg-light);
    border: 2px solid transparent;
    padding: 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.answer-option:hover {
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.answer-option.selected {
    border-color: var(--accent-orange);
    background-color: #fff5f0;
}

.answer-option h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.answer-option p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.assessment-navigation {
    padding: 0 3rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Results Container */
.results-container {
    padding: 3rem;
    animation: fadeIn 0.5s ease-out;
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.result-header h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.risk-indicator {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.risk-low {
    background-color: #48bb78;
    color: white;
}

.risk-medium {
    background-color: var(--accent-orange);
    color: white;
}

.risk-high {
    background-color: #f56565;
    color: white;
}

.result-summary {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.recommendations {
    margin-top: 2rem;
}

.recommendations h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.recommendation-item {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary-blue);
}

.recommendation-item h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.recommendation-item p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.recommendation-item .cost {
    color: var(--accent-orange);
    font-weight: bold;
}

.result-actions {
    margin-top: 2rem;
    text-align: center;
}

.result-actions .btn-primary {
    margin: 0.5rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        overflow-x: auto;
        padding: 1rem;
    }
    
    .comparison-table table {
        min-width: 500px;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .assessment-container {
        margin: 0 1rem;
    }
    
    .question-container, .results-container, .assessment-navigation {
        padding: 2rem;
    }
    
    .question h3 {
        font-size: 1.2rem;
    }
    
    .answer-option {
        padding: 1rem;
    }
    
    .resources-table {
        font-size: 0.9rem;
    }
    
    .resources-table th, .resources-table td {
        padding: 0.75rem;
    }
}
