/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Umuve Blog — Premium Article Styles
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --color-bg: #FFFFFF;
    --color-subtle: #F9FAFB;
    --color-wash: #F3F4F6;
    --color-text: #1a1a1a;
    --color-text-secondary: #4b5563;
    --color-text-muted: #8a8a8a;
    --color-accent: #DC2626;
    --color-accent-hover: #B91C1C;
    --color-accent-subtle: rgba(220, 38, 38, 0.05);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    animation: article-fade-in 0.8s ease-out;
}

@keyframes article-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ━━ Navbar ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
    padding: 1.25rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.badge-blog {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--color-accent-subtle);
    color: var(--color-accent);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    font-size: 0.9375rem;
}

.nav-link:hover { color: var(--color-accent); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.3);
}

.btn-xl {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

/* ━━ Article Layout ━━━━━━━━━━━━━━━━━━━━━━━ */

.article-header {
    padding: 6rem 0 4rem;
    background: var(--color-subtle);
    text-align: center;
    border-bottom: 1px solid var(--color-wash);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.article-meta .tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background: white;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.article-meta .separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-wash);
}

.article-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.article-wrapper {
    max-width: 840px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

/* ━━ Article Content ━━━━━━━━━━━━━━━━━━━━━━ */

.article-content h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    margin: 4rem 0 1.5rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
    border-bottom: 3px solid var(--color-accent-subtle);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 3rem 0 1rem;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

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

.article-content strong {
    color: var(--color-text);
    font-weight: 700;
}

/* ━━ Premium Blocks ━━━━━━━━━━━━━━━━━━━━━━━ */

.content-block {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--color-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-wash);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.tip-box {
    background: #FFFBEB;
    border-left: 6px solid #F59E0B;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.tip-box strong { color: #92400E; font-weight: 800; }

.expert-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #eee;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 4rem 0;
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--color-accent);
}

.expert-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), #B91C1C);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
}

.expert-info h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.expert-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.impact-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-wash);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.impact-val {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.25rem;
}

.impact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* ━━ Visual Media ━━━━━━━━━━━━━━━━━━━━━━━━━ */

.article-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    box-shadow: var(--shadow-md);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.process-card {
    background: #fdfdfd;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.process-step {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

.process-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--color-text-secondary);
}

.math-card {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    margin: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.math-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220,38,38,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.math-card h2 { color: white !important; border: none !important; margin-top: 0 !important; position: relative; z-index: 1; }

.math-highlight {
    font-size: 5rem;
    font-weight: 900;
    font-family: var(--font-display);
    color: var(--color-accent);
    display: block;
    margin: 1rem 0;
    letter-spacing: -0.05em;
    text-shadow: 0 0 30px rgba(220,38,38,0.3);
    position: relative;
    z-index: 1;
}

/* ━━ Tables ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
}

.article-table thead { background: #111; }
.article-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
}

.article-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.article-table tbody tr:nth-child(even) { background: #fafafa; }
.article-table td:first-child { font-weight: 800; color: var(--color-text); }

/* ━━ FAQ Section ━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.faq-block {
    margin: 4rem 0;
    background: var(--color-subtle);
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.faq-block dt {
    font-weight: 800;
    color: var(--color-text);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.faq-block dd {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.faq-block dd:last-child { margin-bottom: 0; }

/* ━━ CTA Box ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.article-cta {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    margin: 5rem 0;
    color: white;
}

.article-cta h2 {
    color: white !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border: none;
}

.article-cta p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 1.25rem;
}

/* ━━ Mobile ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━ Footer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.footer {
    background: #111111;
    color: #a3a3a3;
    padding: 6rem 0 4rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    flex: 1.5;
}

.footer-brand p {
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    max-width: 320px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex: 2;
    justify-content: flex-end;
}

.footer-column h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
}

.footer-column a:hover { 
    color: var(--color-accent); 
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    font-size: 0.8125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { color: rgba(255, 255, 255, 0.3); }

@media (max-width: 768px) {
    .footer-content { flex-direction: column; gap: 3rem; }
    .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}
