/* Professional Typography System for HausaBox */
/* Import Google Fonts for better typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Global Typography Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #17171A;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Professional Text Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* Professional Body Text */
p {
    font-size: 1rem;
    line-height: 1.7;
    color: #e1e5e9;
    font-weight: 400;
    margin-bottom: 1rem;
}

.text-secondary {
    color: #9aa0a6;
}

.text-muted {
    color: #6c757d;
}

.text-accent {
    color: #ffcc00;
}

.text-success {
    color: #28a745;
}

.text-warning {
    color: #ffc107;
}

.text-danger {
    color: #dc3545;
}

/* Professional Button Typography */
.btn, button, .action-btn, .icon-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Professional Form Typography */
input, textarea, select {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
}

input::placeholder, textarea::placeholder {
    color: #9aa0a6;
    font-weight: 400;
}

/* Professional Card Typography */
.card, .profile-card, .stat-box, .featured-card, .trending-card {
    font-family: 'Inter', sans-serif;
}

.card-title, .movie-title, .featured-title, .trending-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.card-subtitle, .movie-subtitle, .featured-subtitle {
    font-weight: 500;
    color: #9aa0a6;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.card-text, .movie-description {
    font-weight: 400;
    line-height: 1.6;
    color: #d1d5d9;
}

/* Professional Navigation Typography */
.nav-label, .section-title, .filter-title {
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: none;
    font-size: 0.75rem;
}

/* Professional Stats Typography */
.stat-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-label {
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.6875rem;
}

/* Professional Badge/Chip Typography */
.chip, .badge {
    font-weight: 600;
    letter-spacing: 0.025em;
    font-size: 0.8125rem;
}

/* Professional Modal Typography */
.modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.modal-body p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Professional Search Typography */
.search-input {
    font-size: 1rem;
    font-weight: 400;
}

.search-result-title {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.search-result-genre, .search-result-rating {
    font-weight: 500;
    font-size: 0.8125rem;
}

/* Professional Header Typography */
.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: none;
}

.header-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Professional Footer/Legal Typography */
.footer-text, .legal-text {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #9aa0a6;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    p { font-size: 0.9375rem; }
    .card-title { font-size: 1rem; }
    .stat-value { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    p { font-size: 0.875rem; }
    .nav-label { font-size: 0.6875rem; }
    .stat-label { font-size: 0.625rem; }
}

/* Professional Focus States */
button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

/* Professional Selection */
::selection {
    background-color: rgba(255, 204, 0, 0.3);
    color: #ffffff;
}

/* Professional Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 204, 0, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 204, 0, 0.7);
}