/* PortfolioShield Health Check - Shared Styles */
/* Matches main application design system */

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

:root {
    /* Colors - Match main app */
    --bg-primary: #0a0a12;
    --bg-secondary: #12121c;
    --bg-card: #1a1a28;
    --bg-hover: #222233;

    /* Accent colors */
    --accent-green: #10b981;
    --accent-green-dark: #059669;
    --accent-blue: #4a6cf7;
    --accent-purple: #7c3aed;
    --accent-yellow: #f59e0b;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --accent-cyan: #06b6d4;

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders */
    --border-color: #2a2a3c;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Logo Section */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 8px 32px rgba(16, 185, 129, 0.35));
}

/* Product name under logo */
.logo-product {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Container */
.container {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.container-narrow {
    max-width: 540px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(16, 185, 129, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-green);
}

/* Progress Steps */
.progress-container {
    margin-bottom: 40px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--border-color);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.step-circle.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.step-circle.completed {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.step-label {
    font-size: 12px;
    color: var(--text-muted);
}

.step-label.active {
    color: var(--accent-green);
    font-weight: 600;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Error Messages */
.error-message {
    display: none;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
    color: var(--accent-red);
    font-size: 14px;
}

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

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-green);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* CTA Section */
.cta-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 32px;
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.4);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(16, 185, 129, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 32px; }
    .features { grid-template-columns: 1fr; }
    .stats { flex-direction: column; gap: 24px; }
    .trust-badges { flex-direction: column; gap: 12px; }
}
