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

:root {
    --primary-color: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --secondary-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

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

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

/* Header */
.header {
    background: white;
    color: var(--text-dark);
    padding: 30px 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e5e5e5;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.85;
}

.logo {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.logo-img {
    height: 150px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.02);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.125rem;
    color: var(--text-medium);
    font-weight: 500;
    margin: 0;
    text-align: left;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    font-weight: 400;
}

/* Calculator Section */
.calculator-section {
    padding: 60px 0;
}

.calculator-card {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.calculator-header {
    background: var(--gradient-primary);
    color: white;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.calculator-header i {
    font-size: 1.5rem;
}

.calculator-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.calculator-body {
    padding: 32px;
}

/* Input Groups */
.input-group {
    margin-bottom: 32px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.input-group label i {
    color: var(--primary-color);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.125rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.input-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Wage Toggle */
.wage-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.toggle-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-medium);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.toggle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.toggle-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

/* Eligibility Info */
.eligibility-info {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--primary-color);
}

.eligibility-info i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.eligibility-info span {
    font-size: 0.938rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* Results Section */
.results-section {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

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

.results-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.results-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.results-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* Result Cards */
.result-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.employer-card::before {
    background: var(--gradient-primary);
}

.employee-card::before {
    background: var(--gradient-secondary);
}

.result-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.employer-card .result-icon {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--primary-color);
}

.employee-card .result-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
    color: var(--secondary-color);
}

.result-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.result-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1;
}

.result-label {
    font-size: 0.938rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.result-monthly {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--success-color);
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
}

.result-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
}

.result-detail i {
    color: var(--primary-color);
}

.result-detail span {
    font-size: 0.938rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* Total Impact */
.total-impact {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
    color: white;
}

.impact-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.impact-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.95;
}

.impact-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.impact-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

/* Chart Container */
.chart-container {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    height: 400px;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.benefits-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.benefits-title i {
    color: var(--warning-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.benefit-card {
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.benefit-icon.healthcare {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--primary-color);
}

.benefit-icon.hospital {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
    color: var(--secondary-color);
}

.benefit-icon.paycheck {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
    color: var(--success-color);
}

.benefit-icon.integration {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    color: #8b5cf6;
}

.benefit-icon.zero-cost {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    color: var(--warning-color);
}

.benefit-icon.renewal {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(244, 114, 182, 0.1) 100%);
    color: #ec4899;
}

.benefit-icon.productivity {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(248, 113, 113, 0.1) 100%);
    color: #ef4444;
}

.benefit-icon.efficiency {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
    color: #22c55e;
}

.benefit-icon.savings {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(192, 132, 252, 0.1) 100%);
    color: #a855f7;
}

.benefit-icon.retention {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(253, 186, 116, 0.1) 100%);
    color: #fb923c;
}

.benefit-icon.growth {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(94, 234, 212, 0.1) 100%);
    color: #14b8a6;
}

.benefit-icon.competitive {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(251, 113, 133, 0.1) 100%);
    color: #f43f5e;
}

.benefit-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.938rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-radius: 16px;
    padding: 48px 32px;
    margin-bottom: 40px;
}

.features-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Companies Section */
.companies-section {
    background: white;
    border-radius: 16px;
    padding: 48px 32px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.companies-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
    line-height: 1.2;
    color: var(--text-dark);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px 24px;
    align-items: center;
    justify-items: center;
    margin-bottom: 32px;
}

.company-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: transform 0.3s ease;
    width: 100%;
    height: 80px;
}

.company-logo-item:hover {
    transform: scale(1.05);
}

.company-logo {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.company-logo-item:hover .company-logo {
    opacity: 1;
}

.companies-disclaimer {
    text-align: center;
    font-size: 0.813rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 32px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    padding: 60px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.cta-section h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: 18px 48px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 0.938rem;
    margin-top: 16px;
    margin-bottom: 0;
    opacity: 0.95;
    font-style: italic;
}

.cta-note strong {
    font-weight: 600;
    color: white;
}

.cta-links {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Footer */
.footer {
    background: #e8e8e8;
    color: var(--text-dark);
    padding: 24px 0;
    margin-top: 60px;
    border-top: 1px solid #d0d0d0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-left {
    flex: 1;
    text-align: left;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 0.85;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-right {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-link {
    color: #333;
    text-decoration: none;
    font-size: 0.938rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.privacy-link {
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #666;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.938rem;
    color: #333;
    margin: 0;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 100px;
    }

    .tagline {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-left,
    .footer-right {
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-logo-img {
        height: 40px;
    }

    .social-links {
        justify-content: center;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .calculator-body {
        padding: 24px;
    }

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

    .result-value {
        font-size: 2.5rem;
    }

    .impact-content {
        flex-direction: column;
        text-align: center;
    }

    .impact-value {
        font-size: 2.75rem;
    }

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

    .features-list {
        grid-template-columns: 1fr;
    }

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

    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 24px 16px;
    }

    .company-logo {
        max-width: 100px;
        max-height: 50px;
    }

    .cta-section h3 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 80px;
    }

    .tagline {
        font-size: 0.938rem;
    }

    .footer-logo-img {
        height: 35px;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.813rem;
    }

    .social-link svg {
        width: 14px;
        height: 14px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .wage-toggle {
        flex-direction: column;
    }

    .companies-title {
        font-size: 1.5rem;
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .company-logo {
        max-width: 80px;
        max-height: 40px;
    }

    .result-value {
        font-size: 2rem;
    }

    .impact-value {
        font-size: 2.25rem;
    }
}
