/* ============================================
   NAI IT Theme - Components
   Buttons, badges, cards, forms, typography
   ============================================ */

/* ============================================
   Typography
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--nai-primary), var(--nai-secondary), var(--color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid;
}

.section-badge--blue {
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.2);
}

.section-badge--cyan {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.2);
}

.section-badge--emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.2);
}

.section-badge--violet {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.2);
}

.section-badge--amber {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.2);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.btn:focus-visible {
    outline: 2px solid var(--nai-primary);
    outline-offset: 2px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--nai-primary), var(--nai-secondary));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 125, 183, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 125, 183, 0.4);
    color: #ffffff;
}

.btn--secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn--secondary:hover {
    background: var(--bg-card);
    border-color: var(--nai-primary);
    color: var(--nai-primary);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn--ghost:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.btn--outline {
    background: transparent;
    color: var(--nai-primary);
    border: 1px solid var(--nai-primary);
}

.btn--outline:hover {
    background: var(--nai-primary);
    color: #ffffff;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
    border-radius: 8px;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 14px;
}

.btn--icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--border-color);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-4px);
}

.card--surface {
    background: var(--bg-surface);
}

.card--glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-color: var(--glass-border);
}

.card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card__description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.card__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--border-subtle);
    color: var(--text-muted);
}

/* ============================================
   Solution Cards (colored accents)
   ============================================ */
.solution-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sol-color, var(--nai-primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--sol-color, var(--nai-primary)) 15%, transparent);
    color: var(--sol-color, var(--nai-primary));
    margin-bottom: 20px;
}

.solution-card__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sol-color, var(--nai-primary));
    margin-bottom: 8px;
}

.solution-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
    line-height: 1.3;
}

.solution-card__desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 auto;
    padding-bottom: 16px;
}

.solution-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.solution-card__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.solution-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sol-color, var(--nai-primary));
    margin-top: 4px;
    transition: gap 0.2s ease;
}

.solution-card:hover .solution-card__link {
    gap: 10px;
}

/* ============================================
   Badges
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge--primary {
    background: rgba(0, 125, 183, 0.15);
    color: var(--nai-primary);
}

.badge--outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.badge--blue {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
}

.badge--emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.badge--amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.badge--violet {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-label--required::after {
    content: ' *';
    color: #ef4444;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-subtle);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--nai-primary);
    box-shadow: 0 0 0 3px rgba(0, 125, 183, 0.15);
}

.form-input--error,
.form-textarea--error {
    border-color: #ef4444;
}

.form-input--error:focus,
.form-textarea--error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 4px;
}

.form-help {
    font-size: 0.75rem;
    color: var(--text-subtle);
    margin-top: 4px;
}

/* ============================================
   Stats Grid
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ============================================
   Stat Card
   ============================================ */
.stat-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Hover gradient overlay */
.stat-card__overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-card:hover .stat-card__overlay {
    opacity: 0.05;
}

.stat-card--blue .stat-card__overlay   { background: linear-gradient(to bottom, #3B82F6, #2563EB); }
.stat-card--cyan .stat-card__overlay   { background: linear-gradient(to bottom, #06B6D4, #0891B2); }
.stat-card--emerald .stat-card__overlay { background: linear-gradient(to bottom, #10B981, #059669); }
.stat-card--violet .stat-card__overlay { background: linear-gradient(to bottom, #8B5CF6, #7C3AED); }
.stat-card--amber .stat-card__overlay  { background: linear-gradient(to bottom, #F59E0B, #D97706); }

/* Icon */
.stat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 16px;
}

.stat-card__icon--blue   { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.stat-card__icon--cyan   { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.stat-card__icon--emerald { background: linear-gradient(135deg, #10B981, #059669); }
.stat-card__icon--violet { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.stat-card__icon--amber  { background: linear-gradient(135deg, #F59E0B, #D97706); }

.stat-card__icon svg {
    width: 24px;
    height: 24px;
}

/* Value row */
.stat-card__value-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
    position: relative;
    z-index: 1;
}

.stat-card__number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
    font-family: var(--font-sans);
}

.stat-card__suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Label */
.stat-card__label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* Bottom accent bar */
.stat-card__bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover .stat-card__bar {
    opacity: 0.5;
}

.stat-card--blue .stat-card__bar   { background: linear-gradient(to right, #3B82F6, #2563EB); }
.stat-card--cyan .stat-card__bar   { background: linear-gradient(to right, #06B6D4, #0891B2); }
.stat-card--emerald .stat-card__bar { background: linear-gradient(to right, #10B981, #059669); }
.stat-card--violet .stat-card__bar { background: linear-gradient(to right, #8B5CF6, #7C3AED); }
.stat-card--amber .stat-card__bar  { background: linear-gradient(to right, #F59E0B, #D97706); }

/* ============================================
   Testimonial Card
   ============================================ */
.testimonial-card {
    padding: 32px;
}

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: #fbbf24;
}

.testimonial-card__quote {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-surface);
}

.testimonial-card__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-card__role {
    font-size: 0.8125rem;
    color: var(--text-subtle);
}

/* ============================================
   Blog Card
   ============================================ */
.blog-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.blog-card__content {
    padding: 20px;
}

.blog-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card__excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-card__meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-subtle);
}

/* ============================================
   Job Card
   ============================================ */
.job-card__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.job-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.job-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.job-card__detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.job-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ============================================
   Glass Effect
   ============================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* ============================================
   Glow Effects
   ============================================ */
.glow-sm {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.glow-md {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
}

/* ============================================
   Loading Spinner
   ============================================ */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Consulting Page Cards
   ============================================ */
.consulting-card {
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 32px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.consulting-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.consulting-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 98, 213, 0.1);
    color: var(--nai-secondary);
    margin-bottom: 16px;
}

.consulting-card__icon svg {
    width: 24px;
    height: 24px;
}

.consulting-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.consulting-card__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ============================================
   Methodology Cards
   ============================================ */
.methodology-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 24px;
    transition: border-color 0.2s ease;
}

.methodology-card:hover {
    border-color: var(--border-color);
}

.methodology-card__step {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--nai-secondary);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
}

.methodology-card__content {
    flex: 1;
}

.methodology-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.methodology-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   About Page - Value Cards (Mission/Vision/Values)
   ============================================ */
.value-card {
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 32px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 98, 213, 0.1);
    color: var(--nai-secondary);
    margin-bottom: 16px;
}

.value-card__icon svg {
    width: 24px;
    height: 24px;
}

.value-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-card__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ============================================
   About Page - Timeline (History)
   ============================================ */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.timeline__item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.timeline__year {
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nai-secondary);
    min-width: 60px;
}

.timeline__content {
    padding-top: 4px;
}

.timeline__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nai-secondary);
    margin-bottom: 12px;
}

.timeline__event {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   About Page - Partners Grid
   ============================================ */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.partner-badge {
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 16px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.partner-badge:hover {
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* ============================================
   Careers Page - Benefit Cards
   ============================================ */
.benefit-card {
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 24px;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 98, 213, 0.1);
    color: var(--nai-secondary);
    margin: 0 auto 16px;
}

.benefit-card__icon svg {
    width: 24px;
    height: 24px;
}

.benefit-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.benefit-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   Careers Page - Job Filters
   ============================================ */
.job-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.job-filter {
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.job-filter:hover {
    border-color: var(--nai-secondary);
    color: var(--nai-secondary);
}

.job-filter--active {
    background: var(--nai-secondary);
    border-color: var(--nai-secondary);
    color: #ffffff;
}

.job-filter--active:hover {
    background: var(--nai-secondary);
    color: #ffffff;
}

/* ============================================
   Careers Page - Job Cards
   ============================================ */
.job-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--border-color);
}

.job-card__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    margin-bottom: 12px;
    align-self: flex-start;
}

.job-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.job-card:hover .job-card__title {
    color: var(--nai-secondary);
}

.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.job-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.job-card__meta-item svg {
    flex-shrink: 0;
}

/* ============================================
   Solution Page - Feature Cards
   ============================================ */
.solution-features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .solution-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.solution-feature-card {
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 28px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.solution-feature-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.solution-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--sol-color, var(--nai-secondary)) 15%, transparent);
    color: var(--sol-color, var(--nai-secondary));
    margin-bottom: 16px;
}

.solution-feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.solution-feature-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.solution-feature-card__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ============================================
   Solution Page - Benefits Section
   ============================================ */
.solution-benefits {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .solution-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

.solution-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: border-color 0.2s ease;
}

.solution-benefit-item:hover {
    border-color: var(--border-color);
}

.solution-benefit-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--sol-color, var(--nai-secondary)) 15%, transparent);
    color: var(--sol-color, var(--nai-secondary));
}

.solution-benefit-item__icon svg {
    width: 14px;
    height: 14px;
}

.solution-benefit-item__text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-top: 2px;
}

/* ============================================
   Solution Page - Use Cases Grid
   ============================================ */
.solution-usecases-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 640px) {
    .solution-usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solution-usecases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-usecase-card {
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    padding: 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.solution-usecase-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.solution-usecase-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--sol-color, var(--nai-secondary)) 12%, transparent);
    color: var(--sol-color, var(--nai-secondary));
    margin-bottom: 14px;
}

.solution-usecase-card__icon svg {
    width: 20px;
    height: 20px;
}

.solution-usecase-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.solution-usecase-card__desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   Solution Page - FAQ Accordion
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: var(--border-color);
}

.faq-item--open {
    border-color: var(--sol-color, var(--nai-secondary));
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.faq-item__question:hover {
    color: var(--sol-color, var(--nai-secondary));
}

.faq-item--open .faq-item__question {
    color: var(--sol-color, var(--nai-secondary));
}

.faq-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item--open .faq-item__icon {
    transform: rotate(180deg);
    color: var(--sol-color, var(--nai-secondary));
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item--open .faq-item__answer {
    max-height: 500px;
}

.faq-item__answer-content {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ============================================
   Solution Page - CTA Section
   ============================================ */
.solution-cta {
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solution-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sol-color, var(--nai-primary)) 0%, color-mix(in srgb, var(--sol-color, var(--nai-primary)) 70%, var(--nai-secondary)) 100%);
    opacity: 0.1;
    z-index: 0;
}

.solution-cta > * {
    position: relative;
    z-index: 1;
}

.solution-cta__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .solution-cta__title {
        font-size: 2rem;
    }
}

.solution-cta__desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.solution-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ============================================
   Solution Page - Badge with color
   ============================================ */
.solution-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: color-mix(in srgb, var(--sol-color, var(--nai-primary)) 15%, transparent);
    color: var(--sol-color, var(--nai-primary));
    border: 1px solid color-mix(in srgb, var(--sol-color, var(--nai-primary)) 25%, transparent);
}

.solution-badge__pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sol-color, var(--nai-primary));
    animation: pulse 2s ease-in-out infinite;
}

/* Solution color variations */
.solution-color--blue { --sol-color: #2563eb; }
.solution-color--emerald { --sol-color: #10b981; }
.solution-color--violet { --sol-color: #8b5cf6; }
.solution-color--amber { --sol-color: #f59e0b; }
.solution-color--cyan { --sol-color: #06b6d4; }

/* ============================================
   Blog Page - Filters
   ============================================ */
.blog-filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .blog-filters {
        flex-direction: row;
        align-items: center;
    }
}

/* Blog filters centralizado (para home.php) */
.blog-filters--centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

@media (min-width: 640px) {
    .blog-filters--centered {
        flex-direction: column;
    }
}

.blog-filters--centered .blog-search {
    max-width: 500px;
    width: 100%;
}

.blog-filters--centered .blog-categories {
    justify-content: center;
}

/* Seção do blog com menos padding */
.section.section--blog {
    padding: 24px 0 60px !important;
}

@media (min-width: 768px) {
    .section.section--blog {
        padding: 24px 0 80px !important;
    }
}

.blog-search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.blog-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-subtle);
    pointer-events: none;
}

.blog-search__input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search__input::placeholder {
    color: var(--text-subtle);
}

.blog-search__input:focus {
    outline: none;
    border-color: var(--nai-primary);
    box-shadow: 0 0 0 3px rgba(0, 125, 183, 0.15);
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-category {
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    background: transparent;
    transition: all 0.2s ease;
}

.blog-category:hover {
    border-color: var(--nai-secondary);
    color: var(--nai-secondary);
}

.blog-category--active {
    background: var(--nai-secondary);
    border-color: var(--nai-secondary);
    color: #ffffff;
}

.blog-category--active:hover {
    background: var(--nai-secondary);
    color: #ffffff;
}

/* ============================================
   Blog Search & Filters in Hero
   ============================================ */
.blog-search--hero {
    max-width: 600px;
    margin: 0 auto 24px;
}

.blog-search--hero .blog-search__input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 14px 18px 14px 48px;
    font-size: 1rem;
    border-radius: 12px;
}

.blog-search--hero .blog-search__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.blog-search--hero .blog-search__input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.blog-search--hero .blog-search__icon {
    color: rgba(255, 255, 255, 0.6);
    left: 16px;
}

.blog-categories--hero {
    justify-content: center;
}

.blog-categories--hero .blog-category {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.blog-categories--hero .blog-category:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.blog-categories--hero .blog-category--active {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--nai-primary);
}

.blog-categories--hero .blog-category--active:hover {
    background: #ffffff;
    color: var(--nai-primary);
}

/* ============================================
   Blog Page - Grid
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    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 Page - Card (Updated)
   ============================================ */
.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--border-color);
}

.blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card__image-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-surface);
}

.blog-card__image-wrap--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-subtle);
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.05);
}

.blog-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.blog-card__badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: color-mix(in srgb, var(--badge-color, var(--nai-secondary)) 15%, transparent);
    color: var(--badge-color, var(--nai-secondary));
}

.blog-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card__title {
    color: var(--nai-secondary);
}

.blog-card__excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-subtle);
}

.blog-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-card__author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nai-primary), var(--nai-secondary));
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 600;
}

/* ============================================
   Blog Page - Empty State
   ============================================ */
.blog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 64px 24px;
}

.blog-empty h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.blog-empty p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ============================================
   Blog Page - Pagination
   ============================================ */
.blog-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.blog-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-pagination a {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.blog-pagination a:hover {
    border-color: var(--nai-secondary);
    color: var(--nai-secondary);
}

.blog-pagination .current {
    background: var(--nai-secondary);
    border: 1px solid var(--nai-secondary);
    color: #ffffff;
}

.blog-pagination .dots {
    color: var(--text-subtle);
}

/* ============================================
   Blog Post - Single
   ============================================ */
.blog-post {
    padding: 120px 0 60px;
}

.blog-post__header {
    margin-bottom: 40px;
}

.blog-post__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.blog-post__back:hover {
    color: var(--nai-secondary);
}

.blog-post__badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: color-mix(in srgb, var(--badge-color, var(--nai-secondary)) 15%, transparent);
    color: var(--badge-color, var(--nai-secondary));
}

.blog-post__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .blog-post__title {
        font-size: 2.75rem;
    }
}

.blog-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.blog-post__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-post__share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.blog-post__share:hover {
    background: var(--bg-surface);
    color: var(--nai-secondary);
}

/* Featured Image */
.blog-post__featured {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.blog-post__featured-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.blog-post__content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-post__content h2,
.blog-post__content h3,
.blog-post__content h4 {
    color: var(--text-primary);
    margin: 2em 0 0.75em;
    font-weight: 700;
}

.blog-post__content h2 { font-size: 1.5rem; }
.blog-post__content h3 { font-size: 1.25rem; }
.blog-post__content h4 { font-size: 1.125rem; }

.blog-post__content p {
    margin-bottom: 1.5em;
}

.blog-post__content a {
    color: var(--nai-secondary);
    text-decoration: underline;
}

.blog-post__content ul,
.blog-post__content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.blog-post__content li {
    margin-bottom: 0.5em;
}

.blog-post__content blockquote {
    margin: 2em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--nai-secondary);
    background: var(--bg-surface);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-muted);
}

.blog-post__content pre {
    margin: 1.5em 0;
    padding: 1em;
    background: var(--bg-surface);
    border-radius: 8px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.blog-post__content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--bg-surface);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

.blog-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

/* Tags */
.blog-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.blog-post__tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.blog-post__tag:hover {
    border-color: var(--nai-secondary);
    color: var(--nai-secondary);
}

/* Author Box */
.blog-post__author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 24px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.blog-post__author-avatar-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--nai-primary), var(--nai-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-post__author-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post__author-initial {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
}

.blog-post__author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.blog-post__author-bio {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Navigation */
.blog-post__nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.blog-post__nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
    max-width: 45%;
}

.blog-post__nav-link:hover {
    border-color: var(--nai-secondary);
}

.blog-post__nav-link--prev {
    text-align: left;
}

.blog-post__nav-link--next {
    margin-left: auto;
    text-align: right;
}

.blog-post__nav-link svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.blog-post__nav-link span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-post__nav-link small {
    font-size: 0.75rem;
    color: var(--text-subtle);
}

.blog-post__nav-link span:not(small) {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ============================================
   Blog Post Hero (Fundo escuro padrão)
   ============================================ */
.blog-post-hero {
    background: var(--bg-page);
    padding: 120px 0 40px;
}

.blog-post-hero > .container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 70px; /* Espaço para a sidebar */
}

@media (max-width: 1023px) {
    .blog-post-hero > .container {
        padding-left: 1rem;
    }
}

.blog-post-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.blog-post-hero__breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-post-hero__breadcrumb a:hover {
    color: var(--text-primary);
}

.blog-post-hero__breadcrumb-sep {
    color: var(--text-subtle);
}

.blog-post-hero__badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    background: var(--badge-color, var(--nai-primary));
    color: #ffffff;
}

.blog-post-hero__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 800px;
}

@media (min-width: 768px) {
    .blog-post-hero__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .blog-post-hero__title {
        font-size: 3rem;
    }
}

.blog-post-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.blog-post-hero__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-post-hero__author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface);
}

.blog-post-hero__author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-hero__author-initial {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.blog-post-hero__author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.blog-post-hero__author-info strong {
    font-size: 0.75rem;
    color: var(--text-subtle);
    font-weight: 500;
}

.blog-post-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-post-hero__meta-item svg {
    color: var(--text-subtle);
}

/* ============================================
   Blog Post Layout (com share sidebar lateral)
   ============================================ */
.blog-post {
    padding: 40px 0 60px;
    background: var(--bg-page);
}

.blog-post__layout {
    display: flex;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-post__main {
    flex: 1;
    min-width: 0;
    max-width: 800px;
}

/* ============================================
   Share Sidebar (Barra lateral de compartilhamento)
   Igual ao design do site NAI - fixa na lateral
   ============================================ */
.share-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .share-sidebar {
        position: sticky;
        top: 120px;
        height: fit-content;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        width: 50px;
    }
}

.share-sidebar__label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.share-sidebar__icons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-sidebar__link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.share-sidebar__link:hover {
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1);
}

.share-sidebar__link--linkedin:hover {
    background: #0077B5;
}

.share-sidebar__link--facebook:hover {
    background: #1877F2;
}

.share-sidebar__link--twitter:hover {
    background: #000000;
}

.share-sidebar__link--whatsapp:hover {
    background: #25D366;
}

.share-sidebar__link--copy:hover {
    background: var(--nai-primary);
}

.share-sidebar__link--copied {
    background: var(--nai-secondary) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* ============================================
   Blog Post Author Box (atualizado)
   ============================================ */
.blog-post__author-label {
    font-size: 0.75rem;
    color: var(--text-subtle);
    font-weight: 500;
    margin-bottom: 2px;
}

/* ============================================
   Blog Post Back Button
   ============================================ */
.blog-post__back-wrap {
    margin-top: 48px;
    text-align: center;
}

.blog-post__back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.blog-post__back-btn:hover {
    border-color: var(--nai-secondary);
    color: var(--nai-secondary);
}

/* ============================================
   Related Posts (Você também pode gostar)
   ============================================ */
.related-posts {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.related-posts__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .related-posts__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-posts__card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-posts__card:hover {
    border-color: var(--border-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.related-posts__card-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: var(--bg-surface);
}

.related-posts__card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-subtle);
}

.related-posts__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-posts__card:hover .related-posts__card-img {
    transform: scale(1.05);
}

.related-posts__card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-posts__card-badge {
    display: inline-block;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--badge-color, var(--nai-primary));
    color: #ffffff;
}

.related-posts__card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.related-posts__card-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.related-posts__card-meta svg {
    color: var(--text-subtle);
}

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.modal--open {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal__container {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.modal--open .modal__container {
    transform: scale(1) translateY(0);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-default);
}

.modal__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal__close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.modal__body h3 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 24px 0 12px;
}

.modal__body h3:first-of-type {
    margin-top: 16px;
}

.modal__body h4 {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 16px 0 8px;
}

.modal__body p {
    margin-bottom: 12px;
}

.modal__body ul {
    margin: 0 0 16px;
    padding-left: 24px;
}

.modal__body li {
    margin-bottom: 6px;
}

.modal__footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid var(--border-default);
}

/* Footer Legal Button */
.site-footer__legal-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.site-footer__legal-btn:hover {
    color: var(--nai-primary);
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 40px));
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, visibility 0s 0.5s;
    padding: 0 20px;
    width: 100%;
    max-width: 900px;
    pointer-events: none;
}

.cookie-banner--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, visibility 0s;
    pointer-events: auto;
}

.cookie-banner__card {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.cookie-banner__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(37, 99, 235, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 14px;
    color: #22d3ee;
}

.cookie-banner__content {
    flex: 1;
    min-width: 0;
}

.cookie-banner__title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px;
}

.cookie-banner__desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__actions .btn {
    padding: 10px 18px;
    font-size: 0.8125rem;
    border-radius: 10px;
    font-weight: 500;
}

.cookie-banner__actions .btn--primary {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.cookie-banner__actions .btn--primary:hover {
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.cookie-banner__actions .btn--outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.cookie-banner__actions .btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.cookie-banner__actions .btn--link {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 12px;
}

.cookie-banner__actions .btn--link:hover {
    color: #22d3ee;
    background: transparent;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: translateX(0) translateY(calc(100% + 40px));
        max-width: none;
        width: auto;
        padding: 0;
    }

    .cookie-banner--visible {
        transform: translateX(0) translateY(0);
    }

    .cookie-banner__card {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 16px;
    }

    .cookie-banner__icon {
        display: none;
    }

    .cookie-banner__content {
        text-align: center;
    }

    .cookie-banner__actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-banner__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Light mode adjustments for cookie banner */
[data-theme="light"] .cookie-banner__card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
}

[data-theme="light"] .cookie-banner__title {
    color: #0f172a;
}

[data-theme="light"] .cookie-banner__desc {
    color: rgba(15, 23, 42, 0.6);
}

[data-theme="light"] .cookie-banner__actions .btn--outline-light {
    border-color: rgba(0, 0, 0, 0.15);
    color: #334155;
}

[data-theme="light"] .cookie-banner__actions .btn--outline-light:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .cookie-banner__actions .btn--link {
    color: #64748b;
}

[data-theme="light"] .cookie-banner__actions .btn--link:hover {
    color: #0891b2;
}
