:root {
    --tech-navy: #07111f;
    --tech-ink: #10212b;
    --tech-cyan: #08b9d4;
    --tech-mint: #36d6b3;
    --tech-pale: #f3f8fa;
    --tech-line: #d9e5e9;
    --tech-muted: #5b6d76;
}

.technology-hub-page,
.technology-detail-page {
    color: var(--tech-ink);
    background: #fff;
}

.tech-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.tech-section {
    padding: 92px 0;
}

.tech-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #07839a;
    font: 700 .75rem/1 "Montserrat", sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.tech-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.tech-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.tech-heading h2,
.tech-copy h2 {
    margin: 15px 0 18px;
    color: var(--tech-navy);
    font: 700 clamp(2rem, 4vw, 3.25rem)/1.08 "Montserrat", sans-serif;
    letter-spacing: -.04em;
}

.tech-heading p,
.tech-copy > p {
    color: var(--tech-muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

.tech-hub-hero,
.tech-detail-hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 75% 28%, rgba(8, 185, 212, .22), transparent 27%),
        radial-gradient(circle at 20% 78%, rgba(54, 214, 179, .14), transparent 28%),
        linear-gradient(135deg, #06101d 0%, #0a2031 55%, #082c38 100%);
}

.tech-hub-hero::before,
.tech-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}

.tech-hub-hero__content,
.tech-detail-hero__content {
    position: relative;
    z-index: 1;
    padding: 150px 0 90px;
}

.tech-hub-hero h1,
.tech-detail-hero h1 {
    max-width: 940px;
    margin: 20px 0 24px;
    color: #fff;
    font: 800 clamp(3rem, 7vw, 6rem)/.98 "Montserrat", sans-serif;
    letter-spacing: -.06em;
}

.tech-detail-hero h1 {
    max-width: 850px;
    font-size: clamp(2.85rem, 6.3vw, 5.5rem);
}

.tech-hub-hero p,
.tech-detail-hero p {
    max-width: 760px;
    color: rgba(255,255,255,.78);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.tech-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tech-hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid rgba(105, 231, 207, .25);
    border-radius: 999px;
    color: rgba(255,255,255,.88);
    background: rgba(2, 10, 18, .34);
    font-size: .82rem;
}

.tech-hero-proof i { color: var(--tech-mint); }

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

.tech-hub-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--tech-line);
    border-radius: 18px;
    color: inherit;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 12px 35px rgba(15, 35, 45, .05);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tech-hub-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 185, 212, .5);
    box-shadow: 0 20px 45px rgba(15, 35, 45, .1);
}

.tech-hub-card__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 14px;
    color: #067f95;
    background: #e8f8fb;
    font-size: 1.65rem;
}

.tech-hub-card small {
    color: #0a8ca3;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tech-hub-card h3 {
    margin: 10px 0;
    color: var(--tech-navy);
    font: 700 1.25rem/1.25 "Montserrat", sans-serif;
}

.tech-hub-card p {
    margin-bottom: 22px;
    color: var(--tech-muted);
    font-size: .92rem;
    line-height: 1.65;
}

.tech-hub-card strong {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: #07849b;
    font-size: .88rem;
}

.tech-selection {
    color: #fff;
    background: var(--tech-navy);
}

.tech-selection .tech-heading h2 { color: #fff; }
.tech-selection .tech-heading p { color: rgba(255,255,255,.66); }

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

.tech-selection-grid article {
    padding: 26px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    background: rgba(255,255,255,.04);
}

.tech-selection-grid i {
    display: block;
    margin-bottom: 18px;
    color: var(--tech-mint);
    font-size: 1.8rem;
}

.tech-selection-grid strong {
    display: block;
    margin-bottom: 9px;
    color: #fff;
}

.tech-selection-grid p {
    color: rgba(255,255,255,.62);
    font-size: .87rem;
    line-height: 1.6;
}

.tech-summary {
    background: #fff;
}

.tech-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 70px;
    align-items: start;
}

.tech-facts {
    display: grid;
    gap: 14px;
}

.tech-fact {
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--tech-line);
    border-radius: 14px;
    background: var(--tech-pale);
}

.tech-fact i {
    flex: 0 0 auto;
    color: #07849b;
    font-size: 1.45rem;
}

.tech-fact strong,
.tech-fact span { display: block; }
.tech-fact strong { margin-bottom: 5px; color: var(--tech-navy); }
.tech-fact span { color: var(--tech-muted); font-size: .88rem; line-height: 1.5; }

.tech-diagram-section {
    background: var(--tech-pale);
}

.tech-diagram-wrap {
    overflow-x: auto;
    padding: 28px;
    border: 1px solid var(--tech-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(15, 35, 45, .06);
}

.tech-diagram-wrap svg {
    width: 100%;
    min-width: 720px;
    height: auto;
    display: block;
}

.tech-diagram-note {
    max-width: 820px;
    margin: 18px auto 0;
    color: var(--tech-muted);
    font-size: .83rem;
    line-height: 1.55;
    text-align: center;
}

.tech-scroll-hint { display: none; }

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

.tech-benefit,
.tech-consideration {
    padding: 28px;
    border: 1px solid var(--tech-line);
    border-radius: 16px;
    background: #fff;
}

.tech-benefit i,
.tech-consideration i {
    display: block;
    margin-bottom: 17px;
    color: #07849b;
    font-size: 1.7rem;
}

.tech-benefit h3,
.tech-consideration h3,
.tech-application h3 {
    margin-bottom: 9px;
    color: var(--tech-navy);
    font: 700 1.05rem/1.3 "Montserrat", sans-serif;
}

.tech-benefit p,
.tech-consideration p,
.tech-application p {
    color: var(--tech-muted);
    font-size: .9rem;
    line-height: 1.65;
}

.tech-applications {
    color: #fff;
    background: var(--tech-navy);
}

.tech-applications .tech-heading h2 { color: #fff; }
.tech-applications .tech-heading p { color: rgba(255,255,255,.64); }

.tech-application {
    padding: 27px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 15px;
    background: rgba(255,255,255,.04);
}

.tech-application i {
    display: block;
    margin-bottom: 17px;
    color: var(--tech-mint);
    font-size: 1.65rem;
}

.tech-application h3 { color: #fff; }
.tech-application p { color: rgba(255,255,255,.64); }

.tech-boundary {
    margin-top: 28px;
    padding: 22px 24px;
    border-left: 4px solid var(--tech-cyan);
    color: #314751;
    background: #eaf7f9;
    line-height: 1.65;
}

.tech-filter-types {
    background: #fff;
}

.tech-filter-types .tech-heading p {
    max-width: 820px;
}

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

.tech-filter-type {
    position: relative;
    padding: 26px;
    border: 1px solid var(--tech-line);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #f7fafb);
}

.tech-filter-type__family {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin-bottom: 17px;
    padding: 0 10px;
    border-radius: 999px;
    color: #086f82;
    background: #e5f7fa;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tech-filter-type h3 {
    margin-bottom: 11px;
    color: var(--tech-navy);
    font: 700 1.05rem/1.35 "Montserrat", sans-serif;
}

.tech-filter-type p {
    margin-bottom: 14px;
    color: var(--tech-muted);
    font-size: .88rem;
    line-height: 1.65;
}

.tech-filter-type p:last-child {
    margin-bottom: 0;
}

.tech-filter-type strong {
    color: #173944;
}

.tech-filter-type__limit {
    padding-top: 13px;
    border-top: 1px solid #e3ecef;
    font-size: .8rem !important;
}

.tech-faq {
    background: #07111f;
}

.tech-faq .tech-heading h2 { color: #fff; }
.tech-faq .tech-heading p { color: rgba(255,255,255,.62); }

.tech-faq-list {
    display: grid;
    gap: 12px;
}

.tech-faq-list details {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    background: rgba(255,255,255,.04);
}

.tech-faq-list summary {
    padding: 20px 22px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.tech-faq-list details p {
    padding: 0 22px 22px;
    color: rgba(255,255,255,.66);
    line-height: 1.7;
}

.tech-cta {
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(54,214,179,.16), transparent 30%),
        linear-gradient(135deg, #073b49, #07111f);
}

.tech-cta h2 {
    margin-bottom: 16px;
    color: #fff;
    font: 700 clamp(2rem, 4vw, 3.2rem)/1.1 "Montserrat", sans-serif;
}

.tech-cta p {
    max-width: 680px;
    margin: 0 auto 28px;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
}

.tech-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 9px;
    color: #04111c;
    background: linear-gradient(135deg, var(--tech-mint), var(--tech-cyan));
    font-weight: 800;
    text-decoration: none;
}

.tech-related {
    padding: 50px 0;
    background: #f6f9fa;
}

.tech-related h2 {
    margin-bottom: 16px;
    color: var(--tech-navy);
    font: 700 1.25rem/1.3 "Montserrat", sans-serif;
}

.tech-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-related-links a {
    padding: 9px 13px;
    border: 1px solid var(--tech-line);
    border-radius: 999px;
    color: #176376;
    background: #fff;
    font-size: .84rem;
    text-decoration: none;
}

.tech-source {
    margin-top: 28px;
    color: #71828a;
    font-size: .77rem;
    line-height: 1.55;
}

.tech-source a { color: #087f96; }

@media (max-width: 980px) {
    .tech-hub-grid,
    .tech-benefit-grid,
    .tech-application-grid,
    .tech-consideration-grid,
    .tech-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tech-selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tech-summary-grid { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 640px) {
    .tech-shell { width: min(100% - 28px, 1180px); }
    .tech-section { padding: 66px 0; }
    .tech-hub-hero,
    .tech-detail-hero { min-height: 650px; }
    .tech-hub-hero__content,
    .tech-detail-hero__content { padding: 115px 0 70px; }
    .tech-hub-hero h1,
    .tech-detail-hero h1 { font-size: clamp(2.5rem, 13vw, 3.65rem); }
    .tech-hub-grid,
    .tech-benefit-grid,
    .tech-application-grid,
    .tech-consideration-grid,
    .tech-filter-grid,
    .tech-selection-grid { grid-template-columns: 1fr; }
    .tech-hub-card { min-height: 0; padding: 25px; }
    .tech-diagram-wrap { padding: 18px 12px; }
    .tech-scroll-hint {
        display: block;
        margin: -20px 0 16px;
        color: var(--tech-muted);
        font-size: .8rem;
        text-align: center;
    }
}
