/* ===================================
   DNA HEALTH COACHING - STYLES
   Professional Blue/Green Theme
   =================================== */

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Professional Blue/Green */
    --primary-blue: #2c5f7d;
    --primary-green: #4a9b8e;
    --accent-teal: #5fb3a1;
    --light-blue: #e8f4f8;
    --dark-blue: #1a3f54;
    --success-green: #4caf50;
    --warning-yellow: #ffa726;
    --error-red: #ef5350;
    --text-dark: #2c3e50;
    --text-medium: #546e7a;
    --text-light: #78909c;
    --background: #ffffff;
    --background-light: #f5f9fa;
    --border-color: #cfd8dc;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-size-base: 16px;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* === LANDING PAGE STYLES === */

.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.logo h1 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
}

.landing-main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-xl);
}

.hero-headline {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 20px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.hero-cta {
    margin-top: var(--spacing-lg);
}

.cta-time {
    margin-top: var(--spacing-sm);
    color: var(--text-light);
    font-size: 14px;
}

/* Lead Capture Form */
.lead-capture-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(74, 155, 142, 0.1);
}

.input-field::placeholder {
    color: var(--text-light);
}

/* Override button styling for form submit */
.lead-capture-form .btn-primary {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    color: white;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-large {
    padding: 20px 50px;
    font-size: 20px;
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--light-blue);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.feature-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 22px;
}

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

/* How It Works Section */
.how-it-works {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

.how-it-works h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: var(--spacing-lg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    color: white;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.step h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 20px;
}

.step p {
    color: var(--text-medium);
}

/* Final CTA Section */
.final-cta {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.final-cta h2 {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: var(--spacing-lg);
}

/* Footer */
.landing-footer {
    background: var(--dark-blue);
    color: white;
    padding: var(--spacing-lg);
    text-align: center;
    margin-top: auto;
}

.disclaimer {
    margin-top: var(--spacing-sm);
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* === ASSESSMENT PAGE STYLES === */

.assessment-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-md);
    min-height: 100vh;
    background: var(--background-light);
}

.assessment-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.assessment-header h1 {
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
}

.assessment-header p {
    font-size: 16px;
    opacity: 0.9;
}

.progress-bar-container {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--light-blue);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    margin-top: var(--spacing-sm);
    color: var(--text-medium);
    font-size: 14px;
}

/* Form Sections */
.form-section {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.form-section h2 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary-green);
}

.form-section h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 16px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
}

.checkbox-item:hover {
    background-color: var(--light-blue);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: var(--spacing-sm);
    cursor: pointer;
    accent-color: var(--primary-green);
}

.checkbox-item label {
    cursor: pointer;
    margin: 0;
    font-weight: 400;
}

/* Radio Button Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.radio-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.radio-item:hover {
    border-color: var(--primary-green);
    background-color: var(--light-blue);
}

.radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: var(--spacing-sm);
    cursor: pointer;
    accent-color: var(--primary-green);
}

.radio-item label {
    cursor: pointer;
    margin: 0;
    font-weight: 400;
    flex: 1;
}

.radio-item.selected {
    border-color: var(--primary-green);
    background-color: var(--light-blue);
}

/* Question Blocks */
.question-block {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-green);
    background: var(--background-light);
    border-radius: var(--radius-sm);
}

.question-text {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 16px;
}

.pillar-total {
    background: var(--light-blue);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    margin: var(--spacing-md) 0;
    text-align: center;
}

.pillar-total strong {
    color: var(--primary-blue);
    font-size: 18px;
}

.pillar-score {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-left: var(--spacing-sm);
}

/* Comment Boxes */
.comment-box {
    margin-top: var(--spacing-md);
}

.comment-box label {
    display: block;
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
    font-style: italic;
}

.comment-box textarea {
    width: 100%;
    min-height: 80px;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 14px;
    resize: vertical;
}

/* Submit Button */
.submit-container {
    text-align: center;
    margin: var(--spacing-xl) 0;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    color: white;
    padding: 18px 60px;
    font-size: 20px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* === RESULTS PAGE STYLES === */

.results-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing-md);
    min-height: 100vh;
}

.results-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.results-header h1 {
    font-size: 32px;
    margin-bottom: var(--spacing-sm);
}

.results-summary {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
}

.results-summary h2 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* Pillar Score Cards */
.pillar-scores {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.pillar-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pillar-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.pillar-card.priority-high {
    border-left: 6px solid var(--error-red);
    background: #ffebee;
}

.pillar-card.priority-moderate {
    border-left: 6px solid var(--warning-yellow);
    background: #fff8e1;
}

.pillar-card.priority-stable {
    border-left: 6px solid var(--success-green);
    background: #f1f8e9;
}

.pillar-info h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: var(--spacing-xs);
}

.pillar-info .priority-level {
    font-size: 14px;
    font-weight: 600;
}

.priority-high .priority-level {
    color: var(--error-red);
}

.priority-moderate .priority-level {
    color: var(--warning-yellow);
}

.priority-stable .priority-level {
    color: var(--success-green);
}

.pillar-score-display {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Top Priorities Section */
.top-priorities {
    background: var(--light-blue);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.top-priorities h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: var(--spacing-md);
}

.top-priorities ul {
    list-style: none;
    padding: 0;
}

.top-priorities li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Copy Button Section */
.copy-section {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.copy-section h2 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: var(--spacing-md);
}

.copy-section p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    font-size: 16px;
}

.btn-copy {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: 18px 60px;
    font-size: 20px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.copy-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--success-green);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: none;
}

.copy-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.instructions {
    background: var(--light-blue);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    border-left: 4px solid var(--primary-green);
}

.instructions h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.instructions ol {
    margin-left: var(--spacing-lg);
    color: var(--text-medium);
}

.instructions li {
    margin-bottom: var(--spacing-xs);
}

/* Error Messages */
.error-message {
    background: #ffebee;
    border-left: 4px solid var(--error-red);
    color: var(--error-red);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    display: none;
}

.error-message.show {
    display: block;
}

/* === RESPONSIVE DESIGN === */

@media (max-width: 768px) {
    .hero-headline {
        font-size: 32px;
    }
    
    .hero-subheadline {
        font-size: 18px;
    }
    
    .btn-primary {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .btn-large {
        padding: 16px 40px;
        font-size: 18px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .form-section {
        padding: var(--spacing-md);
    }
    
    .assessment-header h1 {
        font-size: 24px;
    }
    
    .results-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 24px;
        --spacing-xl: 32px;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .btn-submit,
    .btn-copy {
        width: 100%;
        padding: 16px;
    }
}

/* === ASSESSMENT DISCLAIMER FOOTER === */
.assessment-disclaimer {
    background: var(--dark-blue);
    color: rgba(255,255,255,0.75);
    font-size: 11px;
    line-height: 1.5;
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    margin-top: var(--spacing-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.assessment-disclaimer strong {
    color: white;
}

.assessment-disclaimer a {
    color: var(--accent-teal);
    text-decoration: none;
}

.assessment-disclaimer a:hover {
    text-decoration: underline;
}

/* === FORM ERROR === */
.form-error {
    color: var(--error-red);
    font-size: 14px;
    text-align: center;
    margin-top: var(--spacing-xs);
}

/* === LOGO TAGLINE === */
.logo-tagline {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 4px;
    text-align: center;
}

/* === CONTEXT SECTION === */
.context-section {
    background: var(--light-blue);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    border-left: 4px solid var(--primary-green);
}

.context-section h2 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: var(--spacing-md);
}

.context-section p {
    color: var(--text-medium);
    font-size: 17px;
    max-width: 750px;
    margin: 0 auto var(--spacing-sm);
    line-height: 1.7;
}

/* === HERO SUBHEADLINE 2 === */
.hero-subheadline-2 {
    font-size: 17px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    font-style: italic;
}

/* === DOWNLOAD BUTTON === */
.download-btn {
    font-size: 17px !important;
    padding: 16px 32px !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%) !important;
}

/* === UTILITY CLASSES === */

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.hidden {
    display: none;
}