/* Page Specific Styles for Compliance Page */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #064E3B 0%, #065F46 50%, #10B981 100%);
    color: white;
    padding: 140px 0 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-header h1,
.page-header h2,
.page-header p {
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff10" width="50" height="50"/><rect fill="%23ffffff10" x="50" y="50" width="50" height="50"/></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Compliance Overview */
.compliance-overview {
    padding: 100px 0;
    background: var(--card-bg);
}

.overview-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.overview-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

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

.compliance-stat {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.compliance-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1.5rem;
}

.compliance-stat h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
    font-weight: 600;
}

.compliance-stat p {
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    font-size: 0.95rem;
    word-wrap: break-word;
    hyphens: auto;
    font-weight: 400;
}

/* Licensing Section */
.licensing {
    padding: 100px 0;
    background: var(--bg-tertiary);
}

.licensing-content {
    margin-top: 3rem;
}

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

.licensing-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
}

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

.certification-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

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

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.certification-card h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.certification-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cert-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.cert-issuer {
    color: var(--text-secondary);
    font-weight: 500;
}

.cert-status {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Tax Registration */
.tax-registration {
    padding: 100px 0;
    background: var(--card-bg);
}

.tax-content {
    margin-top: 3rem;
}

.tax-info h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.tax-info p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
}

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

.tax-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.tax-item:hover {
    background: #e2e8f0;
    transform: translateY(-5px);
}

.tax-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.tax-item h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tax-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Safety & Reliability */
.safety-reliability {
    padding: 100px 0;
    background: var(--card-bg);
}

.safety-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

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

.safety-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.safety-feature {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.safety-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.safety-feature h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.safety-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.safety-stats {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.safety-stats h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.safety-metrics {
    display: grid;
    gap: 1.5rem;
}

.safety-metric {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.safety-metric .metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.safety-metric .metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Quality Assurance */
.quality-assurance {
    padding: 100px 0;
    background: var(--card-bg);
}

.quality-content {
    margin-top: 3rem;
}

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

.quality-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
}

.quality-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quality-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-height: 120px;
}

.quality-point:hover {
    background: #e2e8f0;
    transform: translateY(-5px);
}

.quality-icon {
    width: 32px;
    height: 32px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.quality-point h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
    margin-top: 0;
    font-weight: 600;
}

.quality-point p {
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    font-size: 0.95rem;
    word-wrap: break-word;
    hyphens: auto;
    font-weight: 400;
}

.compliance-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: left;
}

.compliance-item i {
    flex-shrink: 0;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-top: 0.25rem;
}

.compliance-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: left;
}

.compliance-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .safety-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .compliance-stats,
    .tax-items,
    .safety-features,
    .quality-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .compliance-overview,
    .licensing,
    .tax-registration,
    .safety-reliability,
    .quality-assurance {
        padding: 60px 0;
    }

    .certification-card,
    .tax-item,
    .safety-feature,
    .quality-point {
        padding: 1.5rem;
    }

    .compliance-stat {
        padding: 2rem 1.5rem;
    }
}
