/* 
 * Taj777 Support Center - Clean Light Theme
 * Minimal, Fast, and Mobile-First
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-white: #ffffff;
    --bg-light: #f3f4f6;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --brand-blue: #2563eb;
    --brand-blue-hover: #1d4ed8;
    --success-green: #22c55e;
    --border-color: #e5e7eb;
    --container-max-width: 1100px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--brand-blue);
}

.btn-primary {
    background: var(--brand-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--brand-blue-hover);
}

/* Hero Section */
.hero {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.2s;
}

.search-container input:focus {
    border-color: var(--brand-blue);
}

/* Categories Grid */
.categories {
    padding: 60px 0;
}

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

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-blue);
}

.card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Articles */
.article-header {
    padding: 40px 0 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.breadcrumb a {
    color: var(--brand-blue);
    text-decoration: none;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.article-content h2 {
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

/* CTA Box */
.cta-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
}

.cta-box h4 {
    color: #166534;
    margin-bottom: 10px;
}

.btn-whatsapp {
    background: var(--success-green);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Footer */
footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}
