/* ===== CSS Variables ===== */
:root {
    --color-primary: #6366F1;
    --color-primary-dark: #4F46E5;
    --color-primary-light: #818CF8;
    --color-secondary: #8B5CF6;
    --color-background: #FFFFFF;
    --color-surface: #F8FAFC;
    --color-surface-alt: #F1F5F9;
    --color-text-primary: #1E293B;
    --color-text-secondary: #64748B;
    --color-text-muted: #94A3B8;
    --color-border: #E2E8F0;
    --color-success: #22C55E;
    --color-accent-green: #10B981;
    --color-rose: #F43F5E;
    --color-amber: #F59E0B;
    
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-primary-hover: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--color-surface-alt);
    color: var(--color-primary);
}

.nav-links {
    display: none;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.1);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-links {
        display: flex;
    }
}

/* Mobile menu open state */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    box-shadow: var(--shadow-lg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    flex-shrink: 0;
}

.btn-listen {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
}

.btn-listen:hover {
    background: var(--gradient-primary-hover);
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 96px;
    padding-bottom: 48px;
}

.hero-header {
    text-align: center;
    margin-bottom: 40px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.12);
    color: var(--color-primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-header h1 {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-header p {
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.trust-strip {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.trust-strip span {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: white;
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 500;
}

@media (min-width: 640px) {
    .hero-header h1 {
        font-size: 36px;
    }
}

/* ===== Tool Grid ===== */
.tool-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 1024px) {
    .tool-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.control-panel,
.result-panel {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.tools-directory {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 1120px;
}

.tools-directory__header {
    margin-bottom: 20px;
    text-align: center;
}

.tools-directory__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tools-directory__header h2 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
}

.kb-index__intro,
.tools-directory__lead {
    margin-top: 12px;
    color: var(--color-text-secondary);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.tools-directory__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
}

.tools-directory__stat {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.tools-directory-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    margin-bottom: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    justify-content: center;
}

.tools-directory-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.tools-directory-nav a:hover,
.tools-directory-nav a:focus-visible {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.tool-collection {
    display: grid;
    gap: 24px;
}

.flash-message {
    grid-column: 1 / -1;
}

.tool-section {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.tool-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.tool-section__header {
    margin-bottom: 16px;
}

.tool-section__header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.tool-section__header p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.tool-card-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 640px) {
    .tool-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .tool-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tool-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FBFDFF 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.tool-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tool-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tool-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text-primary);
}

.tool-card__desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.tool-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.tool-card__link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.tool-card:hover .tool-card__link::after,
.tool-card__link:hover::after,
.tool-card__link:focus-visible::after {
    transform: translateX(3px);
}

.tools-summary {
    margin-top: 24px;
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.tools-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.tools-summary p {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.tools-summary__list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.tools-summary__list li {
    position: relative;
    padding-left: 20px;
    color: var(--color-text-secondary);
    font-size: 14px;
}

.tools-summary__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
}

/* ===== Form Elements ===== */
.text-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.text-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group {
    margin-top: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ===== Custom Select ===== */
.custom-select {
    position: relative;
}

.select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: white;
    transition: all var(--transition-fast);
}

.select-trigger:hover {
    border-color: var(--color-primary-light);
}

.select-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag {
    font-size: 18px;
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: none;
}

.select-dropdown.open {
    display: block;
}

.select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.select-option:hover {
    background: var(--color-surface-alt);
}

.select-option.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.check-icon {
    margin-left: auto;
}

.help-text {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.help-text a {
    color: var(--color-primary);
    font-weight: 500;
}

.help-text a:hover {
    text-decoration: underline;
}

/* ===== Toggle Group ===== */
.toggle-group {
    display: flex;
    gap: 8px;
}

.toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    background: var(--color-surface-alt);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.toggle-btn:hover {
    background: var(--color-border);
}

.toggle-btn.active {
    background: var(--color-primary);
    color: white;
}

.gender-icon {
    font-size: 18px;
}

/* ===== Speed Group ===== */
.speed-group {
    display: flex;
    gap: 8px;
}

.speed-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-md);
    background: var(--color-surface-alt);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.speed-btn:hover {
    background: var(--color-border);
}

.speed-btn.active {
    background: var(--color-accent-green);
    color: white;
}

/* ===== Result Panel ===== */
.result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
}

.result-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.speaker-icon {
    width: 80px;
    height: 80px;
    background: var(--color-surface-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    margin-bottom: 16px;
}

.placeholder-text {
    color: var(--color-text-secondary);
}

.usage-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.hero-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.hero-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

.hero-links a:hover {
    text-decoration: underline;
}

.globe-icon {
    color: var(--color-accent-green);
    flex-shrink: 0;
}

/* Result with word */
.result-word {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-word .speaker-icon {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.result-word h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.result-word p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

/* ===== Word of the Day ===== */
.word-of-day {
    padding: 24px 0;
}

/* ===== Topic Authority Hub ===== */
.authority-hub {
    padding: 48px 0;
    background: var(--color-surface);
}

.cluster-grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 900px) {
    .cluster-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.cluster-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.cluster-card h3 {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.cluster-card p {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.cluster-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.cluster-card li a {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
}

.cluster-card li a:hover {
    text-decoration: underline;
}

.word-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.word-card-header {
    background: var(--gradient-primary);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.word-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
}

.word-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.new-badge {
    background: var(--color-amber);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.word-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .word-card-body {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.word-info {
    flex: 1;
}

.word-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.word {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.tag-blue {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.tag-rose {
    background: rgba(244, 63, 94, 0.1);
    color: var(--color-rose);
}

.ipa {
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.definition {
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.example {
    border-left: 3px solid var(--color-primary-light);
    padding-left: 16px;
    font-style: italic;
    color: var(--color-text-secondary);
}

/* ===== Difficult Words ===== */
.difficult-words {
    padding: 48px 0;
    background: var(--color-surface);
}

.words-section-header h2 {
    color: var(--color-primary-dark);
    margin-bottom: 10px;
    font-size: 26px;
}

.words-section-header p {
    font-size: 14px;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--color-text-secondary);
}

.words-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.word-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    background: #f5f7fb;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.word-chip-label {
    text-transform: lowercase;
    text-align: left;
}

.word-chip-icon {
    font-size: 16px;
    color: var(--color-primary);
    opacity: 0.85;
}

.word-chip:hover {
    background: white;
    border-color: rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.word-chip.active {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.55);
}

.word-chip.active .word-chip-icon {
    color: var(--color-primary-dark);
    opacity: 1;
}

@media (min-width: 640px) {
    .words-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 860px) {
    .words-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .words-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.related-reads {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.related-reads a {
    color: var(--color-primary);
    font-weight: 500;
}

.related-reads a:hover {
    text-decoration: underline;
}

/* ===== Guide Section ===== */
.guide-section {
    padding: 64px 0;
}

.guide-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.guide-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.guide-tab:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}

.guide-tab.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.tab-text {
    display: none;
}

@media (min-width: 640px) {
    .tab-text {
        display: inline;
    }
}

.guide-content {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.learning-path-grid {
    display: grid;
    gap: 18px;
}

@media (min-width: 900px) {
    .learning-path-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.learning-path-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.learning-path-card h3 {
    font-size: 18px;
    line-height: 1.35;
}

.learning-path-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.learning-path-card a {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
}

.learning-path-card a:hover {
    text-decoration: underline;
}

.guide-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-items {
    display: grid;
    gap: 12px;
}

@media (min-width: 640px) {
    .guide-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
}

.guide-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.guide-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.pro-tip {
    margin-top: 16px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--color-primary-dark);
}

/* ===== Blog Preview ===== */
.blog-preview {
    padding: 64px 0;
    background: var(--color-surface);
}

.blog-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    color: transparent;
    font-size: 0;
    text-indent: -9999px;
    background: var(--blog-image-bg, rgba(59, 130, 246, 0.08));
}

.blog-image::before,
.blog-image::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.blog-image::before {
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.82), transparent 17%),
        radial-gradient(circle at 80% 28%, rgba(255, 255, 255, 0.38), transparent 16%),
        radial-gradient(circle at 70% 82%, rgba(255, 255, 255, 0.22), transparent 18%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px),
        linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 56%);
    opacity: 0.9;
}

.blog-image::after {
    content: "";
    top: 50%;
    left: 50%;
    width: min(100%, 220px);
    height: min(100%, 140px);
    transform: translate(-50%, -50%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 32px rgba(15, 23, 42, 0.14);
    background-color: rgba(255, 255, 255, 0.8);
    background-image: var(--blog-feature-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.blog-image.bg-blue {
    --blog-image-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0.08));
    --blog-feature-image: url("../media/blog-covers/cover-blue.svg");
}

.blog-image.bg-purple {
    --blog-image-bg: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.08));
    --blog-feature-image: url("../media/blog-covers/cover-purple.svg");
}

.blog-image.bg-indigo {
    --blog-image-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0.08));
    --blog-feature-image: url("../media/blog-covers/cover-indigo.svg");
}

.blog-image.bg-emerald {
    --blog-image-bg: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.08));
    --blog-feature-image: url("../media/blog-covers/cover-emerald.svg");
}

.blog-image.bg-orange {
    --blog-image-bg: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(249, 115, 22, 0.08));
    --blog-feature-image: url("../media/blog-covers/cover-orange.svg");
}

.blog-image.bg-pink {
    --blog-image-bg: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(236, 72, 153, 0.08));
    --blog-feature-image: url("../media/blog-covers/cover-pink.svg");
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-category {
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.blog-date {
    font-size: 12px;
    color: var(--color-text-muted);
}

.blog-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-time {
    font-size: 13px;
    color: var(--color-text-muted);
}

.blog-footer {
    text-align: center;
    margin-top: 32px;
    color: var(--color-text-secondary);
}

.accent-text {
    color: var(--color-primary);
    font-weight: 500;
}

/* ===== FAQ Preview ===== */
.faq-preview {
    padding: 64px 0;
}

.faq-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-category {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.faq-category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 16px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    background: white;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-surface);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-chevron {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform var(--transition-fast);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 16px 16px 60px;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.common-questions {
    margin-top: 48px;
}

.common-questions h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 24px;
}

.questions-grid {
    display: grid;
    gap: 16px;
}

.faq-more-link {
    margin-top: 16px;
    text-align: center;
}

.faq-more-link a {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.faq-more-link a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .questions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.question-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
}

.question-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.question-card p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===== Features Section ===== */
.features-section {
    padding: 64px 0;
    background: var(--color-surface);
}

.features-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-badge {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.cta-section {
    text-align: center;
    margin-top: 48px;
}

.cta-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.cta-section p {
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
    padding: 24px 0;
    background: white;
    border-top: 1px solid var(--color-border);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-links a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.divider {
    color: var(--color-border);
}

/* ===== Page Header (for other pages) ===== */
.page-header {
    padding-top: 96px;
    padding-bottom: 32px;
    text-align: center;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--color-text-secondary);
}

/* ===== About Page ===== */
.about-section {
    padding-bottom: 64px;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.about-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.about-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.about-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    color: white;
}

.stat-card svg {
    margin-bottom: 8px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-item {
    display: flex;
    gap: 16px;
}

.value-number {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-green);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.value-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.value-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===== Contact Page ===== */
.contact-section {
    padding-bottom: 64px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: white;
    margin-bottom: 24px;
}

.contact-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-card > p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-info {
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-info-item strong {
    font-weight: 600;
}

.contact-info-item a {
    opacity: 0.9;
    text-decoration: underline;
}

.contact-info-item a:hover {
    opacity: 1;
}

.contact-note {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 16px;
}

.contact-faq {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.contact-faq a {
    text-decoration: underline;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== Support Page ===== */
.support-section {
    padding-bottom: 64px;
}

.support-content {
    max-width: 700px;
    margin: 0 auto;
}

.support-intro {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.support-intro h2 {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.support-intro p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.payment-options {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .payment-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

.payment-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.payment-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.payment-card > p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.qr-placeholder {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.qr-box {
    width: 180px;
    height: 180px;
    background: var(--color-surface);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.qr-box svg {
    margin-bottom: 8px;
}

.upi-id {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}


/* ===== FAQ Page ===== */
.faq-section {
    padding-bottom: 64px;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
}

.faq-header-card h2 {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.faq-header-card p {
    color: var(--color-text-secondary);
}

.faq-header-card .accent-link {
    color: var(--color-primary);
    font-weight: 500;
}

/* ===== Blog Page ===== */
.blog-hero {
    background: var(--gradient-primary);
    padding: 96px 0 48px;
    text-align: center;
    color: white;
}

.blog-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-hero p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-hero .accent-link {
    font-weight: 500;
}

.blog-section {
    padding: 48px 0 64px;
    background: var(--color-surface);
}

.blog-full-grid {
    display: grid;
    gap: 24px;
}

.blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.blog-card-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: var(--radius-lg);
}

@media (min-width: 640px) {
    .blog-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-full-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Single Blog Post Layout ===== */
.blog-article {
    padding: 100px 0 80px;
}

.blog-article-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-article-header {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-bottom: 32px;
    font-size: 15px;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-primary);
}

.blog-category-wrapper {
    margin-bottom: 24px;
}

.blog-article-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .blog-article-title {
        font-size: 48px;
    }
}

.blog-article-subtitle {
    font-size: 20px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-author-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    max-width: 600px;
    margin: 0 auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.blog-article-image {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-xl);
    background-color: #E0E7FF;
    background-image: var(--article-feature-image, linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%));
    background-size: cover;
    background-position: center;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

@media (min-width: 768px) {
    .blog-article-image {
        height: 480px;
    }
}

.blog-article-image svg {
    width: 80px;
    height: 80px;
    color: var(--color-primary-light);
    opacity: 0.5;
}

.blog-article-image.has-generated-art svg {
    display: none;
}

.blog-article-content {
    max-width: 680px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.blog-article-content h2, 
.blog-article-content h3 {
    color: var(--color-text-primary);
    font-weight: 700;
}

.blog-article-content h2 { 
    font-size: 32px; 
    margin: 56px 0 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.blog-article-content h3 { 
    font-size: 24px; 
    margin: 40px 0 16px;
}

.blog-article-content p { margin-bottom: 24px; color: var(--color-text-secondary); }
.blog-article-content ul, .blog-article-content ol { margin-bottom: 24px; padding-left: 24px; color: var(--color-text-secondary); }
.blog-article-content li { margin-bottom: 12px; }

.blog-article-content blockquote {
    margin: 40px 0;
    padding: 24px 32px;
    background: var(--color-surface);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: 20px;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.6;
}

.blog-article-content .highlight {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary-dark);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-weight: 600;
    font-size: 0.9em;
}

.article-cta {
    margin-top: 64px;
    padding: 40px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.article-cta h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.article-cta p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    font-size: 16px;
}

.related-reading {
    margin-top: 48px;
    padding: 28px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.related-reading h3 {
    margin: 0 0 16px;
    font-size: 22px;
}

.related-reading-list {
    margin: 0;
    padding-left: 20px;
}

.related-reading-list li {
    margin-bottom: 10px;
}

.related-reading-list a {
    color: var(--color-primary-dark);
    font-weight: 500;
}

.related-reading-list a:hover {
    text-decoration: underline;
}

.post-pagination {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.post-pagination-link {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: white;
    font-weight: 500;
    color: var(--color-text-primary);
    text-decoration: none;
}

.post-pagination-link:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

@media (min-width: 768px) {
    .post-pagination {
        grid-template-columns: 1fr 1fr;
    }

    .post-pagination-next {
        text-align: right;
    }
}
