:root {
    --bg: #061523;
    --bg-2: #0b2034;
    --ink: #132033;
    --muted: #5b6b7f;
    --line: #d9e1ea;
    --paper: #ffffff;
    --paper-2: #f5f8fb;
    --brand: #0b5cab;
    --brand-2: #0aa3c2;
    --accent: #19c2d1;
    --success: #168a55;
    --danger: #c73535;
    --radius: 8px;
    --shadow: 0 18px 45px rgba(9, 28, 48, 0.18);
    --container: 1320px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.58;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 78px 0;
}

.section-compact {
    padding-top: 26px;
}

.section-light {
    background: var(--paper);
}

.section-dark {
    color: #eef7ff;
    background:
        radial-gradient(circle at 12% 12%, rgba(25, 194, 209, 0.18), transparent 34%),
        linear-gradient(135deg, #061523 0%, #0a2742 100%);
}

.section-rfq {
    color: #eef7ff;
    background:
        linear-gradient(rgba(6, 21, 35, 0.9), rgba(6, 21, 35, 0.92)),
        url("../assets/images/v3/factory-dongguan-building.webp") center/cover;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading h2,
.split-copy h2,
.rfq-copy h2,
.final-cta h2 {
    margin: 0 0 14px;
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.section-heading p,
.split-copy p,
.rfq-copy p,
.final-cta p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.section-dark .section-heading p,
.section-rfq .rfq-copy p,
.final-cta p {
    color: #bdd0e4;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--brand-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 24px rgba(11, 92, 171, 0.28);
}

.btn-secondary {
    color: #eaf8ff;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
    color: #eaf8ff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.02);
}

.section-light .btn-secondary,
.quote-link {
    color: var(--brand);
    border-color: rgba(11, 92, 171, 0.24);
    background: #fff;
}

.btn-sm {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.9rem;
}

.btn-lg {
    min-height: 52px;
    padding: 0 22px;
}

.btn-full {
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    color: #fff;
    background: rgba(6, 21, 35, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.footer-brand {
    margin-bottom: 14px;
    font-size: 1.3rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #d8e8f6;
    font-size: 0.94rem;
    font-weight: 700;
}

.nav-link.active,
.nav-link:hover {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: transparent;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
}

.hero {
    color: #fff;
    padding: 96px 0 70px;
    background:
        radial-gradient(circle at 82% 10%, rgba(25, 194, 209, 0.24), transparent 32%),
        linear-gradient(135deg, #061523 0%, #092b4d 58%, #0d3b5f 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.82fr);
    align-items: center;
    gap: 48px;
}

.hero h1 {
    margin: 0 0 22px;
    max-width: 760px;
    font-size: clamp(2.2rem, 4.2vw, 3.65rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 680px;
    margin: 0 0 30px;
    color: #bdd0e4;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-proof span {
    padding: 8px 11px;
    color: #d6edf7;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-bandwidth-card {
    position: absolute;
    top: 18px;
    left: 18px;
    width: min(260px, calc(100% - 36px));
    padding: 20px;
    color: #fff;
    background: rgba(6, 21, 35, 0.88);
    border: 1px solid rgba(74, 222, 128, 0.6);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    z-index: 2;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.2);
}

.hero-bandwidth-card:hover {
    border-color: rgba(74, 222, 128, 0.8);
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.3);
}

.hero-bandwidth-num {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}

.hero-bandwidth-value {
    font-size: 3.8rem;
    font-weight: 900;
    color: #4ade80;
    letter-spacing: -0.02em;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-bandwidth-unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: #86efac;
}

.hero-bandwidth-bar {
    margin: 14px 0 12px;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    overflow: hidden;
}

.hero-bandwidth-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    border-radius: 3px;
}

.hero-bandwidth-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-bandwidth-label {
    color: #a7d5bc;
    font-size: 0.78rem;
}

.hero-bandwidth-pct {
    color: #4ade80;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
}

.hero-image-frame {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.hero-image-frame img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.hero-spec-card {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: min(310px, calc(100% - 36px));
    padding: 18px;
    color: #fff;
    background: rgba(6, 21, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
}

.spec-kicker {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-spec-card strong {
    display: block;
    margin: 4px 0;
    font-size: 1.08rem;
}

.hero-spec-card p {
    margin: 0;
    color: #bdd0e4;
    font-size: 0.92rem;
}

.trust-strip {
    color: #fff;
    background: #071b2d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.trust-grid div {
    padding: 24px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid div:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid strong {
    display: block;
    color: #fff;
    font-size: 1.18rem;
}

.trust-grid span {
    display: block;
    color: #bdd0e4;
    font-size: 0.88rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    min-height: 40px;
    padding: 0 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
}

.filter-btn.active,
.filter-btn:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    position: relative;
}

.product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(9, 28, 48, 0.08);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius);
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--brand), var(--accent)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card.is-hidden,
.product-card.stagger-item.is-hidden {
    display: none !important;
}

/* Filter button active state */
.filter-btn {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-btn.active {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(11, 92, 171, 0.2);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 0.78;
    object-fit: cover;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.product-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-family {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-family {
    transform: translateX(3px);
}

.product-body h3 {
    min-height: 54px;
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.product-card:hover .product-body h3 {
    color: var(--brand);
}

.product-body dl {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
}

.product-body dl div {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 8px;
    font-size: 0.82rem;
}

.product-body dt {
    color: var(--muted);
    font-weight: 700;
}

.product-body dd {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
}

.quote-link {
    width: 100%;
    min-height: 40px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 900;
    background: transparent;
    border: 2px solid var(--brand);
    color: var(--brand);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: block;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    overflow: hidden;
    margin-top: auto;
}

.quote-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(11, 92, 171, 0.1), transparent);
    transition: left 0.5s ease;
}

.quote-link:hover {
    background: var(--brand);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 92, 171, 0.3);
}

.quote-link:hover::before {
    left: 100%;
}

.quote-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(11, 92, 171, 0.2);
}

.catalog-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 24px;
    padding: 20px 22px;
    background: #eef6fc;
    border: 1px solid #cfe0ee;
    border-radius: var(--radius);
}

.catalog-cta strong,
.catalog-cta span {
    display: block;
}

.catalog-cta strong {
    margin-bottom: 4px;
    color: var(--ink);
}

.catalog-cta span {
    color: var(--muted);
}

.selection-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(9, 28, 48, 0.06);
}

.selection-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.selection-table th,
.selection-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.selection-table th {
    color: #fff;
    background: #0b2f4f;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.selection-table tr:last-child td {
    border-bottom: 0;
}

.selection-table td:first-child {
    color: var(--brand);
    font-weight: 900;
    white-space: nowrap;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.proof-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
}

.proof-card img {
    width: 100%;
    aspect-ratio: 1.28 / 1;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-card div {
    padding: 18px;
}

.proof-card span {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-card h3 {
    margin: 4px 0 8px;
    font-size: 1.2rem;
}

.proof-card p {
    margin: 0;
    color: #bdd0e4;
}

.engineering-points {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.engineering-points div {
    padding: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
}

.engineering-points strong,
.engineering-points span {
    display: block;
}

.engineering-points span {
    margin-top: 6px;
    color: #bdd0e4;
    font-size: 0.92rem;
}

.review-note {
    max-width: 900px;
    margin: 22px auto 0;
    color: #bdd0e4;
    text-align: center;
    font-size: 0.92rem;
}

/* Bandwidth Proof Section */
.bandwidth-compare {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bandwidth-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    position: relative;
    transition: box-shadow 0.25s;
}

.bandwidth-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.bandwidth-card--bad {
    border-color: #fecaca;
}

.bandwidth-card--good {
    border-color: #86efac;
    box-shadow: 0 0 0 1px #86efac;
}

.bandwidth-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
}

.bandwidth-badge--highlight {
    background: #16a34a;
}

.bandwidth-card img {
    width: 100%;
    aspect-ratio: 1.28 / 1;
    object-fit: cover;
    border-bottom: 1px solid #e2e8f0;
}

.bandwidth-info {
    padding: 18px;
}

.bandwidth-speed {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.bandwidth-speed--bad {
    color: #dc2626;
}

.bandwidth-speed--warn {
    color: #d97706;
}

.bandwidth-speed--good {
    color: #16a34a;
}

.bandwidth-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
}

.bandwidth-gpuz {
    margin-top: 28px;
}

.bandwidth-gpuz-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
}

.bandwidth-gpuz-inner img {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.bandwidth-gpuz-text span {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bandwidth-gpuz-text h3 {
    margin: 6px 0 10px;
    font-size: 1.25rem;
    color: #0f172a;
}

.bandwidth-gpuz-text p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
    align-items: center;
    gap: 46px;
}

.metric-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.metric-list div {
    padding: 18px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.metric-list strong,
.metric-list span {
    display: block;
}

.metric-list strong {
    color: var(--brand);
    font-size: 1.55rem;
}

.metric-list span {
    color: var(--muted);
    font-size: 0.9rem;
}

.factory-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.factory-collage img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.qc-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.qc-steps div {
    padding: 16px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 800;
}

.qc-steps span {
    display: block;
    color: var(--brand-2);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.cert-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 34px;
}

.cert-wall a {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(9, 28, 48, 0.08);
}

.cert-wall img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.cert-wall span {
    display: block;
    padding: 12px 14px;
    font-weight: 900;
}

.application-grid,
.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.application-grid article,
.resource-grid article {
    padding: 24px;
    border-radius: var(--radius);
}

.application-grid article {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.resource-grid article {
    background: var(--paper-2);
    border: 1px solid var(--line);
}

.application-grid span {
    color: var(--accent);
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.application-grid h3,
.resource-grid h3 {
    margin: 8px 0 10px;
    font-size: 1.22rem;
    line-height: 1.25;
}

.application-grid p {
    margin: 0;
    color: #bdd0e4;
}

.resource-grid p {
    margin: 0;
    color: var(--muted);
}

.resource-grid a {
    display: inline-flex;
    margin-top: 14px;
    color: var(--brand);
    font-weight: 900;
}

.custom-layout {
    align-items: start;
}

.custom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.custom-tags span {
    padding: 8px 11px;
    color: var(--brand);
    background: #eef7fb;
    border: 1px solid #cfe4ef;
    border-radius: var(--radius);
    font-weight: 800;
}

.process-card {
    padding: 28px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.process-card h3 {
    margin: 0 0 16px;
    font-size: 1.35rem;
}

.process-card ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-card li {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
    font-weight: 850;
}

.process-card li span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--brand);
    border-radius: var(--radius);
    font-size: 0.82rem;
}

.rfq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1fr);
    gap: 50px;
    align-items: start;
}

.rfq-copy {
    position: sticky;
    top: 100px;
}

.rfq-promises {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.rfq-promises li {
    padding: 12px 14px;
    color: #eaf8ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    font-weight: 800;
}

.quote-form {
    display: grid;
    gap: 16px;
    padding: 26px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.quote-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cfd9e4;
    border-radius: var(--radius);
    outline: none;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.12);
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.form-note {
    margin: 0;
    color: var(--muted);
    text-align: center;
    font-size: 0.9rem;
}

.form-note-small {
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.form-note-small a {
    color: var(--brand);
    text-decoration: underline;
}

.form-note-small a:hover {
    color: var(--brand-2);
}

.form-feedback {
    display: none;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.form-feedback.success {
    display: block;
    color: var(--success);
    background: #eaf7f0;
    border: 1px solid #b9e4cc;
}

.form-feedback.error {
    display: block;
    color: var(--danger);
    background: #fff0f0;
    border: 1px solid #f2c4c4;
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin: 34px auto 0;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.faq-active {
    border-color: var(--brand);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.faq-question {
    width: 100%;
    padding: 18px 50px 18px 20px;
    color: var(--ink);
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-weight: 900;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--brand);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    line-height: 1;
}

.faq-item.faq-active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item.faq-active .faq-question {
    color: var(--brand);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
                padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease;
    padding: 0 20px;
    opacity: 0;
}

.faq-item.faq-active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
    opacity: 1;
}

.faq-answer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.final-cta {
    color: #fff;
    background: #071b2d;
    padding: 70px 0;
}

.final-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    color: #d8e8f6;
    background: #061523;
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
}

.footer-grid p {
    max-width: 360px;
    color: #9fb6ca;
}

.footer-grid h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1rem;
}

.footer-grid a:not(.brand) {
    display: block;
    margin: 8px 0;
    color: #b8ccde;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #9fb6ca;
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.mobile-quote-bar {
    display: none;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
}

.legal-modal[hidden] {
    display: none;
}

.legal-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.legal-modal-container {
    position: relative;
    z-index: 1;
    width: min(92vw, 900px);
    height: min(82vh, 760px);
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.legal-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Image Lightbox */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
}

.image-lightbox-inner {
    position: relative;
    z-index: 1;
    max-width: 92vw;
    max-height: 88vh;
}

.image-lightbox-inner img {
    display: block;
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.image-lightbox-close {
    position: absolute;
    top: -42px;
    right: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background 0.2s;
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

@media (max-width: 1080px) {
    .hero-grid,
    .split-layout,
    .rfq-grid {
        grid-template-columns: 1fr;
    }

    .rfq-copy {
        position: static;
    }

    .product-grid,
    .application-grid,
    .resource-grid,
    .bandwidth-compare,
    .engineering-points,
    .qc-steps,
    .cert-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 64px 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 78px;
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #071b2d;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 12px;
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        padding: 78px 0 56px;
    }

    .hero-grid {
        gap: 34px;
    }

    .proof-grid,
    .product-grid,
    .application-grid,
    .resource-grid,
    .bandwidth-compare,
    .engineering-points,
    .qc-steps,
    .cert-wall,
    .metric-list,
    .form-row,
    .footer-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .bandwidth-gpuz-inner {
        grid-template-columns: 1fr;
    }

    .factory-collage {
        grid-template-columns: 1fr;
    }

    .factory-collage img {
        height: auto;
    }

    .final-cta-box,
    .footer-bottom,
    .catalog-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-cta .btn {
        width: 100%;
    }

    .mobile-quote-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #061523;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .mobile-quote-bar a {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 54px;
        color: #fff;
        font-weight: 900;
    }

    .mobile-quote-bar a:first-child {
        background: var(--brand);
    }

    body {
        padding-bottom: 54px;
    }
}

@keyframes glow {
    from { text-shadow: 0 0 10px #4ade80; }
    to { text-shadow: 0 0 30px #4ade80, 0 0 60px #22c55e; }
}

/* ===== Loading Animations ===== */

/* Image skeleton loading */
.img-loading {
    background: linear-gradient(90deg, var(--paper-2) 25%, #e8edf2 37%, var(--paper-2) 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
}

.img-loading img {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-loaded img {
    opacity: 1;
}

@keyframes skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Fade in up animation for sections */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product card staggered animation - smoother version */
.product-card.stagger-item {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: none;
}

.product-card.stagger-item.active {
    animation: productCardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Stagger delays with smoother rhythm */
.product-card.stagger-item:nth-child(1) { animation-delay: 50ms; }
.product-card.stagger-item:nth-child(2) { animation-delay: 120ms; }
.product-card.stagger-item:nth-child(3) { animation-delay: 190ms; }
.product-card.stagger-item:nth-child(4) { animation-delay: 260ms; }
.product-card.stagger-item:nth-child(5) { animation-delay: 330ms; }
.product-card.stagger-item:nth-child(6) { animation-delay: 400ms; }
.product-card.stagger-item:nth-child(7) { animation-delay: 470ms; }
.product-card.stagger-item:nth-child(8) { animation-delay: 540ms; }
.product-card.stagger-item:nth-child(9) { animation-delay: 610ms; }
.product-card.stagger-item:nth-child(10) { animation-delay: 680ms; }

@keyframes productCardReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Product card image reveal */
.product-card.stagger-item img {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease 0.2s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.product-card.stagger-item.active img {
    opacity: 1;
    transform: scale(1);
}

/* Product card text reveal */
.product-card.stagger-item .product-body {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
}

.product-card.stagger-item.active .product-body {
    opacity: 1;
    transform: translateY(0);
}

/* Generic stagger item (for non-product cards) */
.stagger-item:not(.product-card) {
    opacity: 0;
    transform: translateY(25px);
}

.stagger-item:not(.product-card).active {
    animation: genericStaggerIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes genericStaggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Text fade in */
.text-fade-in {
    opacity: 0;
    animation: textFadeIn 0.8s ease-out forwards;
}

.text-fade-in-delay-1 { animation-delay: 0.2s; }
.text-fade-in-delay-2 { animation-delay: 0.4s; }
.text-fade-in-delay-3 { animation-delay: 0.6s; }

@keyframes textFadeIn {
    to { opacity: 1; }
}

/* Hero specific animations */
.hero-visual {
    opacity: 0;
    transform: translateX(40px);
    animation: heroSlideIn 0.8s ease-out 0.3s forwards;
}

@keyframes heroSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section divider animation */
.section-divider {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    margin: 0 auto 30px;
    transition: width 0.8s ease-out;
}

.section-divider.active {
    width: 80px;
}

/* Button hover pulse */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Card hover lift effect */
.proof-card,
.bandwidth-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.proof-card:hover,
.bandwidth-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Product card specific hover (after animation completes) */
.product-card.active {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card.active:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 
                0 8px 20px rgba(11, 92, 171, 0.08);
}

/* Product card image hover zoom */
.product-card.active img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
                opacity 0.5s ease;
}

.product-card.active:hover img {
    transform: scale(1.05);
}

/* Product card button hover */
.product-card .quote-link {
    transition: all 0.3s ease;
}

.product-card:hover .quote-link {
    background-color: var(--brand);
    color: white;
    transform: translateY(-2px);
}

/* Navigation link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Form input focus animation */
.form-row input,
.form-row select,
.form-row textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.1);
}

/* Logo animation */
.brand span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.brand:hover span {
    transform: scale(1.05);
}

/* Filter button animation */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    transform: scale(1.05);
}

/* Metric counter animation */
.metric-list strong {
    display: inline-block;
    transition: transform 0.3s ease;
}

.metric-list div:hover strong {
    transform: scale(1.1);
    color: var(--brand);
}

/* Image lightbox fade */
.image-lightbox {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lightbox:not([hidden]) {
    opacity: 1;
}

/* Legal modal slide */
.legal-modal-container {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.legal-modal:not([hidden]) .legal-modal-container {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile quote bar slide in */
@media (max-width: 768px) {
    .mobile-quote-bar {
        transform: translateY(100%);
        transition: transform 0.4s ease;
    }
    
    .mobile-quote-bar.visible {
        transform: translateY(0);
    }
}

/* Page load progress bar */
.page-loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
    background-size: 200% 100%;
    animation: loadingProgress 1.5s ease-in-out infinite;
    z-index: 9999;
}

@keyframes loadingProgress {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
