/* Care Value Calculator Styles */

/* Teaser Section */
.roi-teaser-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    color: white;
    padding-top: 100px;
    padding-bottom: 5rem;
}

.teaser-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.teaser-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

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

.teaser-benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teaser-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.teaser-benefit-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.teaser-benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.teaser-benefit-card p {
    font-size: 1rem;
    opacity: 0.9;
}

.teaser-cta {
    margin-top: 2rem;
}

/* Sign-Up Form Section */
.signup-form-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    padding-top: 100px;
    padding-bottom: 5rem;
}

.signup-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.signup-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-align: center;
}

.signup-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Error Message Styles */
.signup-error-message {
    background: #FEE2E2;
    border: 2px solid #EF4444;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #DC2626;
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-group input.error,
.form-group select.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.error:focus,
.form-group select.error:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Care Value Calculator Section */
.roi-calculator-section {
    background: var(--background);
    padding-top: 120px;
    padding-bottom: 5rem;
    min-height: 100vh;
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.calculator-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Persona Tabs */
.persona-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.persona-tab {
    padding: 1rem 2rem;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.persona-tab:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.persona-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.persona-tab i {
    font-size: 1.25rem;
}

/* Calculator Panel */
.calculator-panel {
    display: none;
}

.calculator-panel.active {
    display: block;
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.inputs-column,
.results-column {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.inputs-column h3,
.results-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

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

.input-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ROI Results Card */
.roi-results-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.roi-results-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.roi-highlight {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.roi-percentage {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.roi-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.roi-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

.roi-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breakdown-item,
.breakdown-total,
.breakdown-cost,
.breakdown-net {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-total {
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.breakdown-cost {
    color: rgba(255, 255, 255, 0.8);
}

.breakdown-net {
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.breakdown-label {
    flex: 1;
}

.breakdown-value {
    font-weight: 600;
    text-align: right;
}

/* Evidence Section */
.evidence-section {
    background: var(--surface);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
}

.evidence-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.evidence-list {
    list-style: none;
    padding: 0;
}

.evidence-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.evidence-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ROI Summary Section */
.roi-summary-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border);
}

.roi-summary-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.summary-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.summary-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.summary-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.summary-icon i {
    font-size: 3rem;
    color: var(--primary);
}

.summary-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.summary-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item,
.stat-total,
.stat-roi {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.stat-total {
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.stat-roi {
    border-top: 2px solid var(--primary);
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
}

.stat-label {
    flex: 1;
    color: var(--text-secondary);
}

.stat-value {
    font-weight: 600;
    text-align: right;
    color: var(--text-primary);
}

.stat-roi .stat-value {
    color: var(--primary);
}

.summary-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-primary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-content {
        grid-template-columns: 1fr;
    }

    .teaser-title {
        font-size: 2rem;
    }

    .teaser-benefits {
        grid-template-columns: 1fr;
    }

    .persona-tabs {
        flex-direction: column;
    }

    .persona-tab {
        width: 100%;
        justify-content: center;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .signup-card {
        padding: 2rem 1.5rem;
    }

    .roi-percentage {
        font-size: 3rem;
    }

    .roi-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .calculator-header h1 {
        font-size: 1.75rem;
    }

    .teaser-title {
        font-size: 1.75rem;
    }

    .summary-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

