/* ===================================================================
  Styles

   =================================================================== */

:root {
    --bg: #ffffff;
    --bg-subtle: #f8f8fa;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --border: #e8e8ed;
    --border-light: #f0f0f5;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #aeaeb2;
    --accent: #0071e3;
    --accent-hover: #0077ED;
    --accent-light: #eef4ff;
    --success: #34c759;
    --success-light: #e8f7ee;
    --warning: #ff9f0a;
    --warning-light: #fff8e1;
    --danger: #ff375f;
    --danger-light: #fff0f1;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 20px 50px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select { font-family: inherit; }

.product-image-wrap {
    overflow: hidden;
    background: var(--bg-subtle);
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.product-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1;
}

.product-hero-image-wrap {
    padding: 0 !important;
    box-shadow: 0 18px 46px rgba(0,0,0,0.12);
}

.product-seo-body {
    padding: 86px 24px;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 113, 227, 0.10), transparent 28rem),
        linear-gradient(180deg, var(--bg-subtle), #fff);
}

.product-seo-shell {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
    gap: 22px;
}

.product-seo-main,
.product-seo-side,
.product-price-table,
.product-faq-block {
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 28px;
}

.product-kicker {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-seo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 700;
}

.product-seo-breadcrumb a {
    color: var(--accent);
}

.product-seo-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.product-seo-main h2,
.product-price-table h3,
.product-faq-block h3 {
    margin: 8px 0 16px;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.product-seo-subtitle {
    margin-top: -4px;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-seo-price {
    min-width: 120px;
    padding: 14px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--accent-light), #fff);
    border: 1px solid rgba(0, 113, 227, 0.12);
}

.product-seo-price span {
    display: block;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-seo-price strong {
    display: block;
    margin-top: 6px;
    color: var(--text-primary);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.product-seo-main p,
.product-info-box li,
.product-faq-block p {
    color: var(--text-secondary);
    line-height: 1.85;
}

.product-seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.product-seo-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
}

.product-seo-actions a.secondary {
    background: #fff;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.product-info-box {
    margin-top: 22px;
    padding: 18px;
    border-radius: 18px;
    background: var(--accent-light);
}

.config-section-copy {
    margin: -4px 0 12px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.fulfillment-field {
    margin-bottom: 12px;
}

.fulfillment-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

.fulfillment-help {
    margin-top: 6px;
    font-size: 12px;
}

.summary-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.summary-heading strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
}

.summary-heading p {
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

.summary-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--success-light);
    color: #1c7c45;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.summary-note-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.summary-note {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.submit-btn:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
}

.product-info-box h3 {
    margin: 0 0 10px;
}

.product-info-box ul {
    list-style: disc;
    padding-left: 20px;
}

.product-seo-side {
    align-self: start;
    display: grid;
    gap: 14px;
}

.product-seo-side img,
.product-seo-icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    background: var(--accent-light);
}

.product-seo-icon {
    display: grid;
    place-items: center;
    font-size: 64px;
}

.product-seo-side h3 {
    margin: 0;
    line-height: 1.35;
}

.product-seo-side a {
    display: inline-flex;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-weight: 900;
}

.related-loading {
    padding: 18px;
    border: 1px dashed var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,0.84);
    color: var(--text-secondary);
    text-align: center;
}

.product-price-table,
.product-faq-block {
    grid-column: 1 / -1;
}

.product-price-table table {
    width: 100%;
    border-collapse: collapse;
}

.product-price-table th,
.product-price-table td {
    padding: 13px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.product-faq-block {
    display: grid;
    gap: 12px;
}

.product-faq-block details {
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 16px 18px;
    background: #fff;
}

.product-faq-block summary {
    cursor: pointer;
    font-weight: 900;
}

@media (max-width: 820px) {
    .product-seo-shell {
        grid-template-columns: 1fr;
    }

    .product-seo-heading {
        flex-direction: column;
    }

    .summary-heading {
        flex-direction: column;
    }
}

.seo-link-panel {
    padding: 80px 24px;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 113, 227, 0.10), transparent 28rem),
        radial-gradient(circle at 12% 10%, rgba(15, 118, 110, 0.08), transparent 24rem),
        linear-gradient(180deg, #fff, var(--bg-subtle));
}

.seo-link-shell {
    max-width: 1120px;
    margin: 0 auto;
}

.seo-link-heading {
    max-width: 680px;
    margin-bottom: 28px;
}

.seo-link-heading span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.seo-link-heading h2 {
    margin: 10px 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.seo-link-heading p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.seo-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.seo-link-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--border-light);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.seo-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.seo-link-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
}

.seo-link-card span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.seo-link-card strong {
    font-size: 18px;
    line-height: 1.35;
}

.seo-link-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.products-seo-catalog {
    padding: 92px 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(15, 118, 110, 0.12), transparent 30rem),
        radial-gradient(circle at 88% 14%, rgba(0, 113, 227, 0.09), transparent 24rem),
        linear-gradient(180deg, #fff, var(--bg-subtle));
}

.products-directory-page {
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 113, 227, 0.08), transparent 26rem),
        linear-gradient(180deg, #fff, var(--bg-subtle));
}

.products-directory-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(15, 118, 110, 0.12), transparent 22rem),
        radial-gradient(circle at 15% 20%, rgba(0, 113, 227, 0.10), transparent 26rem),
        linear-gradient(180deg, #fafafa, #fff);
    text-align: left;
}

.products-directory-hero-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: end;
}

.products-directory-copy h1 {
    margin-bottom: 14px;
}

.products-directory-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.products-directory-copy p {
    max-width: 640px;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.products-directory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.products-directory-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.products-directory-stats div {
    padding: 20px;
    border: 1px solid rgba(15, 118, 110, 0.1);
    border-radius: 24px;
    background: rgba(255,255,255,0.84);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
    text-align: left;
}

.products-directory-stats strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: clamp(22px, 3.2vw, 34px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.products-directory-stats span {
    display: block;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
}

.products-seo-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.products-seo-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.products-seo-heading.compact {
    margin-top: 32px;
}

.products-seo-heading span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.products-seo-heading h2 {
    margin: 10px 0;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.products-seo-heading p,
.products-seo-copy p,
.products-seo-card p,
.products-seo-article-grid p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.products-seo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.products-seo-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    color: var(--text-primary);
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.products-seo-tabs a.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.products-seo-tabs a.active small {
    color: rgba(255,255,255,0.72);
}

.products-seo-tabs small {
    color: var(--text-tertiary);
    font-weight: 900;
}

.products-seo-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 10px;
    margin: 0 0 24px;
    padding: 12px;
    border: 1px solid rgba(15, 118, 110, 0.1);
    border-radius: 28px;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.products-seo-filter input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
}

.products-seo-filter input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}

.products-seo-filter button,
.products-seo-filter a,
.products-seo-empty a,
.products-seo-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 16px;
    background: var(--text-primary);
    color: #fff;
    font-weight: 900;
}

.products-seo-filter a {
    background: #e5e7eb;
    color: var(--text-primary);
}

.products-seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.products-seo-card,
.products-seo-copy > div,
.products-seo-article-grid a {
    border: 1px solid var(--border-light);
    border-radius: 28px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.08);
}

.products-seo-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.products-seo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.products-seo-visual {
    display: grid;
    place-items: center;
    height: 164px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.10), rgba(238, 244, 255, 0.88));
    font-size: 48px;
}

.products-seo-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-seo-card span,
.products-seo-article-grid span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.products-seo-card h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.products-seo-card p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-seo-card strong {
    color: #0f766e;
    font-size: 18px;
}

.products-directory-page {
    background:
        radial-gradient(circle at 8% 8%, rgba(0, 113, 227, 0.07), transparent 28rem),
        radial-gradient(circle at 94% 34%, rgba(15, 118, 110, 0.07), transparent 28rem),
        linear-gradient(180deg, #fbfcff 0%, #f6f8fb 100%);
}

.products-directory-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.10), transparent 22rem),
        radial-gradient(circle at 16% 20%, rgba(0, 113, 227, 0.10), transparent 28rem),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.products-directory-hero-shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
    gap: 34px;
    align-items: center;
}

.products-directory-copy h1 {
    max-width: 680px;
    text-wrap: balance;
}

.products-directory-stats {
    gap: 14px;
    min-width: 0;
    max-width: 460px;
    justify-self: end;
}

.products-directory-stats div {
    min-width: 0;
    padding: 20px 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.9));
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

.products-directory-stats strong {
    word-break: keep-all;
    overflow-wrap: normal;
    font-size: clamp(22px, 2.2vw, 30px);
    letter-spacing: -0.03em;
}

.products-directory-stats span {
    white-space: nowrap;
    font-size: 12px;
}

.products-seo-catalog {
    padding: 84px 24px 108px;
    background:
        radial-gradient(circle at 8% 18%, rgba(15, 118, 110, 0.10), transparent 28rem),
        radial-gradient(circle at 92% 8%, rgba(0, 113, 227, 0.10), transparent 26rem),
        linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.products-seo-heading-row {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.products-seo-heading-row > div {
    max-width: 720px;
}

.products-seo-help-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: var(--text-primary);
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    white-space: nowrap;
}

.products-seo-tabs {
    width: fit-content;
    max-width: 100%;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.04);
}

.products-seo-tabs a {
    box-shadow: none;
}

.products-directory-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.products-directory-card {
    position: relative;
    display: flex;
    min-height: 280px;
    overflow: hidden;
    padding: 36px 30px;
    flex-direction: column;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
    transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

.products-directory-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.10);
}

.products-seo-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 34px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.84);
    text-align: center;
}

.products-seo-empty p {
    color: var(--text-secondary);
}

.products-seo-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.products-seo-pagination a {
    min-width: 42px;
    background: #fff;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.products-seo-pagination a.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.products-seo-copy {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.products-seo-copy > div {
    padding: 24px;
}

.products-seo-copy h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.products-seo-copy a {
    color: var(--accent);
    font-weight: 800;
}

.products-seo-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.products-seo-article-grid a {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.products-seo-article-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
}

.products-seo-article-grid strong {
    line-height: 1.35;
}

.sitemap-section {
    display: block;
    margin-bottom: 18px;
}

.sitemap-link-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 18px;
    margin-top: 14px;
}

.sitemap-link-list a {
    display: inline-flex;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
}

.sitemap-link-list a:hover {
    color: var(--accent);
}

@media (max-width: 860px) {
    .products-directory-hero-shell {
        grid-template-columns: 1fr;
    }

    .products-directory-stats {
        grid-template-columns: 1fr;
    }

    .products-seo-copy {
        grid-template-columns: 1fr;
    }

    .products-seo-filter {
        grid-template-columns: 1fr;
    }

    .products-seo-heading-row {
        display: block;
    }

    .products-seo-help-link {
        margin-top: 14px;
    }
}

@media (max-width: 640px) {
    .products-seo-catalog {
        padding: 54px 16px 76px;
    }

    .products-seo-tabs {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        border-radius: 22px;
    }

    .products-seo-tabs a {
        flex: 0 0 auto;
    }

    .products-directory-grid {
        grid-template-columns: 1fr;
    }
}

/* Skip Link */
.skip-link {
    position: absolute; top: -100px; left: 0; z-index: 10000;
    padding: 12px 24px; background: var(--accent); color: #fff;
    font-weight: 600; font-size: 14px; border-radius: 0 0 8px 0;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 60px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 18px; letter-spacing: -0.5px;
}
.nav-logo {
    width: 32px; height: 32px; border-radius: 8px;
    background: linear-gradient(135deg, #0071e3, #6e5ce6);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px; font-weight: 900;
}
.nav-links ul { display: flex; gap: 28px; align-items: center; }
.nav-links li { position: relative; }
.nav-links a {
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
    transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.nav-item-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-item-dropdown > a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.55;
    order: 2;
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 220px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all 0.2s var(--ease);
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-secondary);
    background: transparent;
}
.nav-dropdown a:hover,
.nav-dropdown a.active {
    background: var(--bg-subtle);
    color: var(--text-primary);
}
.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-search-trigger {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 980px;
    background: var(--bg-subtle); border: 1px solid var(--border-light);
    font-size: 13px; color: var(--text-tertiary);
    transition: all 0.2s var(--ease);
}
.nav-search-trigger:hover {
    border-color: var(--border); background: #fff;
    box-shadow: var(--shadow-sm);
}
.nav-search-trigger kbd {
    font-family: inherit; font-size: 11px; font-weight: 600;
    padding: 1px 6px; border-radius: 4px;
    background: #fff; border: 1px solid var(--border);
    color: var(--text-tertiary);
}

.btn-nav {
    padding: 8px 18px; border-radius: 980px;
    font-size: 13px; font-weight: 600;
    transition: all 0.2s var(--ease);
    display: inline-flex; align-items: center;
}
.btn-nav-ghost { color: var(--text-primary); }
.btn-nav-ghost:hover { background: var(--bg-subtle); }
.btn-nav-ghost.active { background: var(--bg-subtle); font-weight: 700; }
.btn-nav-primary { background: var(--text-primary); color: #fff; }
.btn-nav-primary:hover { opacity: 0.85; }
.btn-nav-primary.active { box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18); }

.mobile-menu-actions .btn-nav {
    width: 100%;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column; gap: 4px;
    padding: 8px;
}
.mobile-menu-toggle span {
    display: block; width: 18px; height: 2px;
    background: var(--text-primary); border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 9998;
    visibility: hidden; opacity: 0;
    transition: all 0.3s var(--ease);
}
.mobile-menu.active { visibility: visible; opacity: 1; }
.mobile-menu-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.mobile-menu-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 300px; max-width: 80vw;
    background: #fff; box-shadow: var(--shadow-xl);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
}
.mobile-menu.active .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--border-light);
}
.mobile-menu-header button { font-size: 20px; color: var(--text-secondary); padding: 4px; }
.mobile-menu-nav { flex: 1; padding: 16px 0; }
.mobile-nav-group { display: grid; }
.mobile-menu-nav a {
    display: block; padding: 12px 24px; font-size: 15px; font-weight: 500;
    color: var(--text-secondary); transition: all 0.15s;
}
.mobile-menu-nav a:hover { background: var(--bg-subtle); color: var(--text-primary); }
.mobile-nav-group > a.active,
.mobile-nav-group.active > a {
    background: var(--bg-subtle);
    color: var(--text-primary);
    font-weight: 700;
}
.mobile-nav-children {
    display: grid;
    gap: 2px;
    padding: 0 0 8px;
}
.mobile-nav-children a {
    padding: 10px 24px 10px 42px;
    font-size: 14px;
    color: var(--text-tertiary);
}
.mobile-nav-children a.active {
    color: var(--accent);
    font-weight: 700;
}
.mobile-menu-actions {
    padding: 20px; border-top: 1px solid var(--border-light);
    display: flex; flex-direction: column; gap: 10px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 30px; border-radius: 980px;
    background: var(--text-primary); color: #fff;
    font-size: 15px; font-weight: 600;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 30px; border-radius: 980px;
    background: #fff; color: var(--text-primary);
    border: 1px solid var(--border);
    font-size: 15px; font-weight: 600;
    transition: all 0.3s var(--ease);
}
.btn-secondary:hover {
    border-color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}
.btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 28px; border-radius: 980px;
    font-size: 14px; font-weight: 600;
    color: var(--accent); background: #fff;
    border: 1px solid var(--border);
    transition: all 0.2s var(--ease);
}
.btn-ghost:hover { box-shadow: var(--shadow-sm); border-color: var(--accent); }
.btn-sm {
    padding: 10px 20px; font-size: 13px;
}
.btn-accent {
    background: var(--accent); color: #fff;
    box-shadow: 0 4px 12px rgba(0,113,227,0.3);
}
.btn-accent:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 24px rgba(0,113,227,0.4);
}

/* ===== SECTION COMMONS ===== */
.section { padding: 100px 24px; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--accent); margin-bottom: 12px;
}
.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800; letter-spacing: -0.03em;
    line-height: 1.15; margin-bottom: 14px;
}
.section-desc {
    font-size: 17px; color: var(--text-secondary);
    max-width: 520px; margin: 0 auto;
}

/* Scroll reveal */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    display: flex; justify-content: center; padding-top: 20vh;
    opacity: 0; visibility: hidden;
    transition: all 0.3s var(--ease);
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-modal { width: 100%; max-width: 600px; padding: 0 24px; }
.search-box {
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl); overflow: hidden;
}
.search-input-row {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 20px; border-bottom: 1px solid var(--border-light);
}
.search-input-row svg { color: var(--text-tertiary); flex-shrink: 0; }
.search-input-row input {
    flex: 1; border: none; outline: none; font-size: 17px;
    font-family: inherit; color: var(--text-primary);
}
.search-input-row input::placeholder { color: var(--text-tertiary); }
.search-esc {
    font-size: 12px; font-weight: 600; color: var(--text-tertiary);
    padding: 4px 10px; border-radius: 6px;
    background: var(--bg-subtle); border: 1px solid var(--border-light);
}
.search-results { max-height: 360px; overflow-y: auto; }
.sr-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 20px; transition: background 0.15s; cursor: pointer;
}
.sr-item:hover { background: var(--bg-subtle); }
.sr-icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.sr-info h4 { font-size: 14px; font-weight: 600; }
.sr-info p { font-size: 12px; color: var(--text-tertiary); }
.search-footer {
    padding: 12px 20px; border-top: 1px solid var(--border-light);
    display: flex; align-items: center; gap: 16px;
}
.search-footer span { font-size: 12px; color: var(--text-tertiary); }
.search-footer kbd {
    font-family: inherit; font-size: 11px; font-weight: 600;
    padding: 2px 6px; border-radius: 4px;
    background: var(--bg-subtle); border: 1px solid var(--border-light);
    color: var(--text-tertiary);
}

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 10px; background: #fff;
    transition: all 0.3s var(--ease);
    overflow: hidden;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; cursor: pointer; list-style: none;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question h3 { font-size: 16px; font-weight: 600; flex: 1; }
.faq-toggle {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--bg-subtle); display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--text-tertiary); transition: all 0.3s var(--ease);
    flex-shrink: 0; margin-left: 12px;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--accent-light); color: var(--accent); }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ===== NEWS PREVIEW ===== */
.news-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.news-card {
    background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden; transition: all 0.3s var(--ease);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover); border-color: transparent;
}
.news-card a { display: block; }
.news-card-img {
    height: 180px; display: flex; align-items: flex-end; padding: 16px;
    position: relative;
}
.news-card-cat {
    display: inline-block; padding: 4px 12px; border-radius: 980px;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
    font-size: 12px; font-weight: 600; color: var(--text-primary);
}
.news-card-body { padding: 24px; }
.news-card-body time { font-size: 13px; color: var(--text-tertiary); display: block; margin-bottom: 8px; }
.news-card-body h3 {
    font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-body p {
    font-size: 14px; color: var(--text-secondary); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
}
.news-card:hover .news-card-link {
    color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
    padding: 56px 24px 28px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-subtle);
}
.footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand p {
    font-size: 14px; color: var(--text-secondary);
    margin-top: 12px; max-width: 280px; line-height: 1.55;
}
.footer-col h4 {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--text-tertiary); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    padding-top: 24px; border-top: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--text-tertiary); }
.footer-utility-links {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    flex-wrap: wrap; font-size: 13px;
}
.footer-utility-links a {
    color: var(--text-tertiary);
    transition: color 0.2s;
}
.footer-utility-links a:hover { color: var(--text-primary); }
.footer-pays { display: flex; gap: 8px; }
.pay {
    padding: 4px 10px; background: #fff; border: 1px solid var(--border-light);
    border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--text-tertiary);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 16px 0; font-size: 13px; color: var(--text-tertiary);
}
.breadcrumbs a { color: var(--text-secondary); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
    padding: 120px 24px 60px;
    background: var(--bg-subtle);
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900; letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 17px; color: var(--text-secondary);
    max-width: 520px; margin: 0 auto;
}

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block; font-size: 14px; font-weight: 600;
    margin-bottom: 8px; color: var(--text-primary);
}
.form-input {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px; color: var(--text-primary);
    background: #fff; transition: all 0.2s var(--ease);
    outline: none;
}
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}
.form-input::placeholder { color: var(--text-tertiary); }
.form-input.error { border-color: var(--danger); }
.form-error {
    font-size: 13px; color: var(--danger);
    margin-top: 6px; display: none;
}
.form-input.error + .form-error { display: block; }
.form-hint { font-size: 13px; color: var(--text-tertiary); margin-top: 6px; }

.form-select {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px; color: var(--text-primary);
    background: #fff url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5L6 8L9 5' stroke='%23aeaeb2' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center no-repeat;
    appearance: none; cursor: pointer;
    transition: all 0.2s var(--ease); outline: none;
}
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}

/* ===== TAGS ===== */
.tag { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.tag-hot { background: #fff0f1; color: #ff375f; }
.tag-pop { background: #e8f7ee; color: #1db954; }
.tag-new { background: #eef4ff; color: #0071e3; }

/* ===== PAGINATION ===== */
.pagination {
    display: flex; justify-content: center; align-items: center; gap: 6px;
    margin-top: 48px;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    border: 1px solid var(--border-light);
    background: #fff; color: var(--text-secondary);
    transition: all 0.2s var(--ease);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active {
    background: var(--text-primary); color: #fff; border-color: transparent;
}
.pagination .dots { border: none; background: none; color: var(--text-tertiary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .news-preview-grid { grid-template-columns: 1fr 1fr; }
    .news-preview-grid .news-card:nth-child(3) { display: none; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-search-trigger kbd { display: none; }
    .nav-right .btn-nav-ghost, .nav-right .btn-nav-primary { display: none; }
    .mobile-menu-toggle { display: flex; }
    .section { padding: 72px 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .news-preview-grid { grid-template-columns: 1fr; }
    .news-preview-grid .news-card:nth-child(3) { display: block; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
