/* ======================================
   GUIDE PAGE — maaskiyasla.com
   Premium dark theme article layout
   ====================================== */

/* === DESIGN TOKENS === */
:root {
    --bg-primary: #0a0e17;
    --bg-surface: rgba(15, 23, 42, 0.85);
    --bg-card: rgba(20, 30, 52, 0.65);
    --border-color: rgba(255, 255, 255, 0.06);
    --text-primary: #e2e8f0;
    --text-secondary: rgba(255, 255, 255, 0.55);
    --text-muted: rgba(255, 255, 255, 0.35);
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.3);
    --radius-md: 12px;
    --radius-lg: 18px;
}

/* === RESET === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

.app-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

/* === NAV (shared with other pages) === */
.kuvi-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-logo-micro {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.brand-text {
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
}

.kuvi-btn-glow {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.kuvi-btn-glow:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(59, 130, 246, 0.3));
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* === HERO === */
.guide-hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.guide-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f0f4f8 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === ARTICLES GRID === */
.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* === ARTICLE CARD === */
.article-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.article-card:nth-child(1) {
    animation-delay: 0.05s;
}

.article-card:nth-child(2) {
    animation-delay: 0.1s;
}

.article-card:nth-child(3) {
    animation-delay: 0.15s;
}

.article-card:nth-child(4) {
    animation-delay: 0.2s;
}

.article-card:nth-child(5) {
    animation-delay: 0.25s;
}

.article-card:hover {
    border-color: rgba(16, 185, 129, 0.15);
    box-shadow: 0 8px 40px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* Tags */
.article-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.tag-salary {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.tag-career {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.tag-tax {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.tag-compare {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Headings */
.article-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.article-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

/* Content */
.article-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.article-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.article-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    transition: border-color 0.2s;
}

.article-content a:hover {
    border-bottom-color: var(--accent);
}

.article-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.article-content ul li {
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}

.article-content ul li::marker {
    color: var(--accent);
}

/* Info table */
.info-table {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 1rem 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .highlight {
    font-weight: 700;
    color: var(--accent);
}

/* Tip box */
.article-tip {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.article-tip strong {
    color: var(--accent);
}

.article-tip a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* === CTA FOOTER === */
.guide-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background-image: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

.guide-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.guide-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

/* === ANIMATION === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .guide-hero h1 {
        font-size: 2rem;
    }

    .article-card {
        padding: 1.5rem;
    }

    .article-card h2 {
        font-size: 1.2rem;
    }

    .kuvi-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}