/* =============================================================================
   AI News Portal — Apple-Inspired Design System
   ============================================================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Colors */
    --bg: #F5F5F7;
    --bg-white: #FFFFFF;
    --bg-dark: #000000;
    --text: #1D1D1F;
    --text-secondary: #86868B;
    --accent: #6E40F2;
    --accent-hover: #5B2FD6;
    --accent-light: rgba(110, 64, 242, 0.08);
    --link: #0066CC;
    --separator: rgba(60, 60, 67, 0.12);
    --red: #FF3B30;
    --green: #34C759;

    /* Typography */
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    --font-text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
    --fs-hero: clamp(40px, 7vw, 80px);
    --fs-h1: clamp(28px, 4vw, 48px);
    --fs-h2: clamp(24px, 3vw, 40px);
    --fs-h3: 24px;
    --fs-body: 17px;
    --fs-body-lg: 21px;
    --fs-small: 15px;
    --fs-caption: 13px;
    --fs-tag: 12px;
    --ls-display: -0.003em;
    --lh-tight: 1.05;
    --lh-heading: 1.1;
    --lh-body: 1.588;

    /* Spacing (4px grid) */
    --section-py: 120px;
    --section-py-mobile: 60px;
    --content-max: 980px;
    --grid-max: 1200px;
    --grid-gap: 24px;
    --nav-h: 48px;

    /* Cards */
    --radius: 18px;
    --radius-sm: 12px;
    --radius-pill: 980px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);

    /* Animations */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 300ms;
}

/* --- Dark Mode --- */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --bg-white: #1C1C1E;
        --text: #F5F5F7;
        --text-secondary: #A1A1A6;
        --separator: rgba(84, 84, 88, 0.65);
        --accent-light: rgba(110, 64, 242, 0.15);
        --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
}

html {
    font-size: var(--fs-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--text);
    background: var(--bg);
    line-height: var(--lh-body);
    overflow-x: hidden;
}

a { color: var(--link); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 600;
    letter-spacing: var(--ls-display);
    line-height: var(--lh-heading);
    color: var(--text);
}

/* --- Utility Classes --- */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 22px; }
.container-wide { max-width: var(--grid-max); margin: 0 auto; padding: 0 22px; }

.section { padding: var(--section-py) 0; }
.section--white { background: var(--bg-white); }
.section--grey { background: var(--bg); }
.section--dark { background: var(--bg-dark); color: #F5F5F7; }
.section--dark .text-secondary { color: rgba(245, 245, 247, 0.7); }

.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }

/* --- Sticky Navigation --- */
.nav {
    position: sticky;
    top: 0;
    z-index: 9999;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(245, 245, 247, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 0.5px solid var(--separator);
    transition: background var(--duration) var(--ease);
}

@media (prefers-color-scheme: dark) {
    .nav {
        background: rgba(29, 29, 31, 0.72);
    }
}

.nav__inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 22px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__logo-icon {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav__link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
    white-space: nowrap;
}

.nav__link:hover { color: var(--accent); }
.nav__link--active { color: var(--accent); font-weight: 600; }

.nav__lang {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-white);
    border-radius: var(--radius-pill);
    padding: 4px;
    border: 1px solid var(--separator);
}

.nav__lang-btn {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.nav__lang-btn--active {
    background: var(--accent);
    color: white;
}

.nav__menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000;
    padding: 80px 22px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0015 0%, #1a0030 30%, #0d001a 70%, #000 100%);
    z-index: 0;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(110, 64, 242, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__eyebrow {
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.hero__title {
    font-size: var(--fs-hero);
    font-weight: 700;
    color: #F5F5F7;
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-display);
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: rgba(245, 245, 247, 0.7);
    line-height: 1.4;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 60px;
}

.hero__stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #F5F5F7;
    display: block;
}

.hero__stat-label {
    font-size: var(--fs-caption);
    color: rgba(245, 245, 247, 0.5);
    margin-top: 4px;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: var(--fs-body);
    font-weight: 500;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: background var(--duration) var(--ease), transform 0.1s var(--ease);
    text-decoration: none;
    font-family: var(--font);
}

.btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    background: transparent;
    color: #F5F5F7;
    font-size: var(--fs-body);
    font-weight: 500;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(245, 245, 247, 0.3);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    font-family: var(--font);
}

.btn-secondary:hover { background: rgba(245, 245, 247, 0.1); color: #FFFFFF; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    font-size: var(--fs-body);
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: gap var(--duration) var(--ease);
}

.btn-ghost::after { content: '\203A'; font-size: 1.3em; transition: transform var(--duration) var(--ease); }
.btn-ghost:hover::after { transform: translateX(3px); }
.btn-ghost:hover { color: var(--accent-hover); }

/* --- Section Headers --- */
.section__eyebrow {
    font-size: var(--fs-tag);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.section__title {
    font-size: var(--fs-h1);
    font-weight: 600;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: var(--fs-body-lg);
    color: var(--text-secondary);
    max-width: 600px;
}

.section__header {
    margin-bottom: 48px;
}

.section__header--centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section__header--centered .section__subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --- News Card Grid --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.news-card:active { transform: scale(0.99); }

.news-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg);
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.news-card:hover .news-card__image img { transform: scale(1.05); }

.news-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__tag {
    font-size: var(--fs-tag);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.news-card__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__excerpt {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
    flex: 1;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fs-caption);
    color: var(--text-secondary);
}

.news-card__source {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.news-card__dot { color: var(--separator); }

.news-card--featured {
    grid-column: span 2;
}

.news-card--featured .news-card__title {
    font-size: 28px;
}

/* --- Article Page --- */
.article {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 22px 80px;
}

.article__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: var(--fs-small);
    font-weight: 500;
    margin-bottom: 32px;
    text-decoration: none;
}

.article__back::before { content: '\2039'; font-size: 1.4em; }
.article__back:hover { color: var(--accent-hover); }

.article__tag {
    font-size: var(--fs-tag);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.article__title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: var(--ls-display);
    margin-bottom: 16px;
}

.article__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: var(--fs-small);
    color: var(--text-secondary);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.article__image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
}

.article__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article__content {
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text);
}

.article__content p { margin-bottom: 1.2em; }
.article__content h2 { font-size: var(--fs-h3); margin: 2em 0 0.8em; }
.article__content h3 { font-size: 20px; margin: 1.5em 0 0.6em; }
.article__content ul, .article__content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.article__content li { margin-bottom: 0.4em; }
.article__content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    margin: 1.5em 0;
    color: var(--text-secondary);
    font-style: italic;
}
.article__content a { color: var(--accent); }
.article__content a:hover { text-decoration: underline; }
.article__content code {
    background: var(--accent-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}
.article__content pre {
    background: var(--bg-white);
    border: 1px solid var(--separator);
    border-radius: var(--radius-sm);
    padding: 16px;
    overflow-x: auto;
    margin-bottom: 1.5em;
}

/* --- Related Articles --- */
.related { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--separator); }
.related__title { font-size: var(--fs-h3); margin-bottom: 24px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, #0a0015 0%, #1a0030 50%, #0d001a 100%);
    text-align: center;
    padding: var(--section-py) 22px;
}

.cta-banner__title {
    font-size: var(--fs-h1);
    font-weight: 600;
    color: #F5F5F7;
    margin-bottom: 16px;
}

.cta-banner__subtitle {
    font-size: var(--fs-body-lg);
    color: rgba(245, 245, 247, 0.7);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Cases Grid --- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
}

.case-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.case-card__icon {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1;
}

.case-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.case-card__company {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    font-weight: 500;
}

.case-card__industry {
    font-size: var(--fs-tag);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.case-card__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.25;
}

.case-card__result {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.case-card__metrics {
    display: flex;
    gap: 24px;
}

.case-card__metric-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.case-card__metric-label {
    font-size: var(--fs-caption);
    color: var(--text-secondary);
}

/* --- Category Pills --- */
.categories-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--bg-white);
    border: 1px solid var(--separator);
    border-radius: var(--radius-pill);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.category-pill:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.category-pill--active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* --- Newsletter --- */
.newsletter {
    text-align: center;
    padding: var(--section-py) 22px;
    background: var(--bg);
}

.newsletter__title {
    font-size: var(--fs-h2);
    font-weight: 600;
    margin-bottom: 8px;
}

.newsletter__subtitle {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter__form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter__input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--separator);
    border-radius: var(--radius-pill);
    font-size: var(--fs-body);
    font-family: var(--font-text);
    background: var(--bg-white);
    color: var(--text);
    outline: none;
    transition: border-color var(--duration) var(--ease);
}

.newsletter__input:focus { border-color: var(--accent); }
.newsletter__input::placeholder { color: var(--text-secondary); }

/* --- Footer --- */
.footer {
    background: var(--bg);
    border-top: 0.5px solid var(--separator);
    padding: 40px 22px;
}

.footer__inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer__brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.footer__desc {
    font-size: var(--fs-caption);
    color: var(--text-secondary);
    max-width: 300px;
    line-height: 1.5;
}

.footer__links {
    display: flex;
    gap: 40px;
}

.footer__col-title {
    font-size: var(--fs-caption);
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.footer__col-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__col-list a {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    text-decoration: none;
}

.footer__col-list a:hover { color: var(--accent); }

.footer__bottom {
    max-width: var(--grid-max);
    margin: 24px auto 0;
    padding-top: 16px;
    border-top: 0.5px solid var(--separator);
    font-size: var(--fs-caption);
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

/* --- Digest Section --- */
.digest-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.digest-carousel::-webkit-scrollbar { display: none; }

.digest-card {
    min-width: 280px;
    scroll-snap-align: start;
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 24px;
    flex-shrink: 0;
}

.digest-card__date {
    font-size: var(--fs-caption);
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.digest-card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.digest-card__excerpt {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Skeleton Loading --- */
.skeleton {
    background: linear-gradient(90deg, var(--bg) 25%, var(--separator) 50%, var(--bg) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card { height: 320px; border-radius: var(--radius); }
.skeleton-text { height: 16px; margin-bottom: 8px; }
.skeleton-text--short { width: 60%; }

/* --- Page Transitions --- */
.page-enter {
    animation: pageIn 0.4s var(--ease) forwards;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for grid children */
.news-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.news-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.news-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.news-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.news-grid .reveal:nth-child(6) { transition-delay: 0.40s; }
.cases-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.cases-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.cases-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* --- Loading Spinner --- */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--separator);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 40px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- Toast --- */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text);
    color: var(--bg);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: var(--fs-small);
    font-weight: 500;
    opacity: 0;
    transition: opacity var(--duration), transform var(--duration);
    z-index: 10000;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Pagination --- */
.load-more {
    text-align: center;
    margin-top: 40px;
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 80px 22px;
}

.empty-state__icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state__text { font-size: var(--fs-body); color: var(--text-secondary); }

/* --- Mobile Nav Overlay --- */
.nav__mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    z-index: 9998;
    padding: calc(var(--nav-h) + 20px) 22px 22px;
    flex-direction: column;
    gap: 0;
}

.nav__mobile-overlay.open { display: flex; }

.nav__mobile-link {
    display: block;
    padding: 16px 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 0.5px solid var(--separator);
}

.nav__mobile-link:hover { color: var(--accent); }

/* =============================================================================
   Responsive
   ============================================================================= */

/* Tablet */
@media (max-width: 1068px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card--featured { grid-column: span 1; }
    .news-card--featured .news-card__title { font-size: 22px; }
    .cases-grid { grid-template-columns: 1fr; }
    .related__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__stats { gap: 32px; }
    .footer__inner { flex-direction: column; }
    .footer__links { gap: 24px; }
}

/* Mobile */
@media (max-width: 735px) {
    :root {
        --section-py: 60px;
        --grid-gap: 16px;
    }

    .news-grid { grid-template-columns: 1fr; }
    .related__grid { grid-template-columns: 1fr; }
    .hero { min-height: 80svh; }
    .hero__stats { flex-direction: column; gap: 16px; }
    .hero__stat-value { font-size: 28px; }

    .nav__links { display: none; }
    .nav__menu-btn { display: block; }

    .newsletter__form { flex-direction: column; }

    .footer__links { flex-direction: column; gap: 20px; }
    .footer__bottom { flex-direction: column; gap: 8px; }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero__cta-group { flex-direction: column; align-items: center; }
    .case-card { padding: 20px; }
    .case-card__metrics { flex-direction: column; gap: 12px; }
}