/* Terms and Conditions Page Styles */
/* Following Age Calculator professional standards */

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.terms-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--card-bg, #ffffff);
    border-radius: 12px;
    border: 1px solid var(--border-color, #e0e6ed);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.terms-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.terms-section h2 {
    color: var(--primary-color, #2563eb);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color, #2563eb);
}

.terms-section h3 {
    color: var(--secondary-color, #4f46e5);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.terms-section p {
    color: var(--text-color, #374151);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.terms-section ul {
    color: var(--text-color, #374151);
    line-height: 1.7;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    position: relative;
}

.terms-section li::marker {
    color: var(--primary-color, #2563eb);
}

.terms-section a {
    color: var(--primary-color, #2563eb);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-section a:hover {
    color: var(--primary-dark, #1d4ed8);
    text-decoration: underline;
}

.last-updated {
    background: var(--accent-bg, #f8fafc);
    border: 1px solid var(--border-color, #e0e6ed);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-top: 2rem;
}

.last-updated p {
    margin: 0;
    color: var(--text-muted, #6b7280);
    font-size: 0.95rem;
}

/* Feature cards styling to match Age Calculator */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #e0e6ed);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color, #2563eb);
}

.feature-card h3 {
    color: var(--primary-color, #2563eb);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-color, #374151);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Tool tips styling */
.tool-tips {
    background: var(--accent-bg, #f8fafc);
    border: 1px solid var(--border-color, #e0e6ed);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.tool-tips h3 {
    color: var(--primary-color, #2563eb);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.tool-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-tips li {
    color: var(--text-color, #374151);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.tool-tips li::before {
    content: "✓";
    color: var(--success-color, #10b981);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .terms-content {
        padding: 1rem 0;
    }
    
    .terms-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
    
    .terms-section h3 {
        font-size: 1.1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tool-tips {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .terms-section {
        padding: 0.75rem;
    }
    
    .terms-section h2 {
        font-size: 1.2rem;
    }
    
    .tool-tips {
        padding: 1rem;
    }
}
