/* Technology page (matches cubig.ai/technology) */

.tech-page { background: #fff; color: rgb(23, 23, 25); }
.tech-page * { box-sizing: border-box; }

.tech-page h1,
.tech-page h2,
.tech-page h3,
.tech-page h4 {
    font-family: 'DM Sans', 'Pretendard', sans-serif;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin: 0;
}

/* ─── HERO ─── */
.tech-hero {
    padding-top: 200px;
    padding-bottom: 0;
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.tech-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}
.tech-hero__title {
    font-family: 'DM Sans', 'Pretendard Variable', 'Pretendard', sans-serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #171719;
    margin: 0;
}
.tech-hero__body {
    font-size: 24px;
    font-weight: 400;
    color: #7b7e85;
    line-height: 1.42;
    letter-spacing: -0.5px;
    max-width: 900px;
    margin: 0;
}
.tech-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 40px;
    background: linear-gradient(130deg, #673AFF 0%, #D932FF 50%, #FF266A 100%);
    color: #fff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.tech-hero__cta:hover { opacity: 0.92; }
.tech-hero__media-wrap {
    position: relative;
    margin: 48px auto 0;
    padding: 40px;
    width: 100%;
    max-width: 1520px;
    background-image: url('../images/technology/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 40px;
    overflow: hidden;
    box-sizing: border-box;
}
.tech-hero__media {
    padding-top: 48px;
    display: flex;
    justify-content: center;
}
.tech-hero__media img {
    width: 100%;
    max-width: 1080px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center top;
}
@media (max-width: 768px) {
    .tech-hero { padding-top: 120px; }
    .tech-hero__title { font-size: 32px; }
    .tech-hero__body { font-size: 16px; }
    .tech-hero__cta { font-size: 18px; padding: 12px 28px; }
    .tech-hero__media-wrap { padding: 16px; border-radius: 24px; margin-top: 32px; }
}

/* ─── PROCESS ─── */
.tech-process {
    padding: 100px 0;
    background: #fbfbfd;
}
.tech-process__inner {
    max-width: 1168px;
    margin: 0 auto;
    padding: 0 24px;
}
.tech-process__title {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.25;
    margin: 0 0 16px;
    max-width: 880px;
}
.tech-process__body {
    font-size: 16px;
    line-height: 1.65;
    color: rgb(90, 90, 95);
    max-width: 760px;
    margin: 0 0 48px;
}
.tech-process__pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
.tech-process__pills li span {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgb(220, 220, 226);
    background: #fff;
    font-size: 14px;
    color: rgb(50, 50, 55);
    font-weight: 500;
}
.tech-process__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.tech-step {
    background: #fff;
    border: 1px solid rgb(232, 232, 236);
    border-radius: 16px;
    padding: 28px;
}
.tech-step__num {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: rgb(155, 155, 160);
    margin-bottom: 12px;
}
.tech-step__title {
    font-size: 22px;
    margin: 0 0 10px;
}
.tech-step__body {
    color: rgb(90, 90, 95);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* ─── DIFFERENTIAL PRIVACY ─── */
.tech-dp {
    padding: 120px 0;
    background: #0e0e10;
    color: #fff;
}
.tech-dp__inner {
    max-width: 1168px;
    margin: 0 auto;
    padding: 0 24px;
}
.tech-dp__title {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.25;
    color: #fff;
    margin: 0 0 16px;
    max-width: 880px;
}
.tech-dp__body {
    font-size: 16px;
    line-height: 1.65;
    color: rgb(170, 170, 180);
    max-width: 760px;
    margin: 0 0 48px;
}
.tech-dp__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.tech-dp__card {
    border-radius: 16px;
    padding: 32px;
}
.tech-dp__card--light {
    background: #1a1a1d;
    border: 1px solid #28282c;
}
.tech-dp__card--dark {
    background: linear-gradient(135deg, #2a1a3a 0%, #1a1a3a 100%);
    border: 1px solid #3a2a4a;
}
.tech-dp__card-title {
    font-size: 18px;
    color: #fff;
    margin: 0 0 24px;
}
.tech-dp__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tech-dp__list li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgb(220, 220, 230);
    font-size: 15px;
    line-height: 1.5;
}
.tech-dp__list li:first-child { border-top: 0; }
.tech-dp__num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: rgb(155, 100, 220);
    flex-shrink: 0;
    width: 32px;
}

/* ─── PERFORMANCE BARS ─── */
.tech-perf {
    background: #1a1a1d;
    border-radius: 16px;
    padding: 32px;
}
.tech-perf__title {
    font-size: 16px;
    color: rgb(170, 170, 180);
    margin: 0 0 24px;
    font-weight: 500;
}
.tech-perf__row {
    display: grid;
    grid-template-columns: 180px 1fr 140px;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.tech-perf__row:first-of-type { border-top: 0; }
.tech-perf__label {
    font-size: 14px;
    color: #fff;
}
.tech-perf__bar {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
}
.tech-perf__fill {
    display: block;
    height: 100%;
    border-radius: 999px;
}
.tech-perf__fill--cubig {
    background: linear-gradient(90deg, #c34dfc 0%, #ff7fd6 100%);
}
.tech-perf__fill--conv {
    background: rgb(110, 110, 115);
}
.tech-perf__value {
    text-align: right;
    font-size: 14px;
    color: rgb(170, 170, 180);
}
.tech-perf__value--hl {
    color: #fff;
    font-weight: 600;
}

/* ─── ARCHITECTURE ─── */
.tech-arch {
    padding: 120px 0;
    background: #fff;
}
.tech-arch__inner {
    max-width: 1168px;
    margin: 0 auto;
    padding: 0 24px;
}
.tech-arch__eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(155, 100, 220);
    margin-bottom: 16px;
}
.tech-arch__title {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.25;
    margin: 0 0 16px;
    max-width: 760px;
}
.tech-arch__body {
    font-size: 16px;
    line-height: 1.65;
    color: rgb(90, 90, 95);
    max-width: 720px;
    margin: 0 0 48px;
}
.tech-arch__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tech-arch__card {
    background: #fbfbfd;
    border: 1px solid rgb(232, 232, 236);
    border-radius: 16px;
    padding: 32px;
}
.tech-arch__num {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: rgb(155, 155, 160);
    margin-bottom: 12px;
}
.tech-arch__card-title {
    font-size: 22px;
    margin: 0 0 12px;
}
.tech-arch__card-body {
    color: rgb(90, 90, 95);
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* ─── CLOSING CTA ─── */
.tech-cta {
    padding: 120px 0;
    background: linear-gradient(180deg, #fbfbfd 0%, #f4ecff 100%);
    text-align: center;
}
.tech-cta__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}
.tech-cta__title {
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.25;
    margin: 0 0 20px;
}
.tech-cta__body {
    font-size: 16px;
    line-height: 1.65;
    color: rgb(90, 90, 95);
    margin: 0 0 32px;
}
.tech-cta__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    background: linear-gradient(90deg, #c34dfc 0%, #ff7fd6 100%);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s;
}
.tech-cta__btn:hover { opacity: 0.88; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .tech-process__steps,
    .tech-dp__cards {
        grid-template-columns: 1fr;
    }
    .tech-arch__grid {
        grid-template-columns: 1fr;
    }
    .tech-perf__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .tech-perf__value {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .tech-hero { padding-top: 100px; padding-bottom: 0; }
    .tech-process,
    .tech-arch { padding: 72px 0; }
    .tech-step,
    .tech-arch__card,
    .tech-perf { padding: 24px; }
}

/* ── New Framer-matched tech sections ── */

/* Sticky sidebar + overlay cards (Process + Arch) */
.tech-sticky {
    background-color: #fff;
    padding: 120px 0;
}
.tech-sticky__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
    box-sizing: border-box;
}
.tech-sticky__header {
    text-align: center;
    margin-bottom: 80px;
}
.tech-sticky__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #171719;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
}
.tech-sticky__subtitle {
    font-size: 20px;
    color: #7b7e85;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin: 0;
}
.tech-sticky__main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}
.tech-sticky__sidebar {
    position: sticky;
    top: 140px;
    align-self: start;
    height: fit-content;
}
.tech-sticky__nav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 20px;
}
.tech-sticky__nav::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 16px;
    bottom: 16px;
    width: 1px;
    background-color: #e6e7e9;
}
.tech-sticky__nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #b3b5ba;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.5px;
    padding: 10px 0;
    transition: color 300ms ease;
}
.tech-sticky__nav-link:hover { color: #171719; }
.tech-sticky__nav-dot {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%) scale(0.6);
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background-color: #e6e7e9;
    opacity: 0;
    transition: opacity 300ms ease, transform 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}
.tech-sticky__nav-link.is-active { color: #ad46ff; }
.tech-sticky__nav-link.is-active .tech-sticky__nav-dot {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    background-color: #ad46ff;
    box-shadow: 0 0 12px 0 rgba(173, 70, 255, 0.6);
}
.tech-sticky__content {
    display: flex;
    flex-direction: column;
    gap: 96px;
}
.tech-sticky__step {
    scroll-margin-top: 120px;
}
.tech-sticky__card {
    position: relative;
    border-radius: 32px;
    border: 1px solid #e6e7e9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
    padding: 48px;
    min-height: 540px;
    display: flex;
    align-items: stretch;
}
.tech-sticky__card-overlay {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 32px;
    width: 100%;
    align-items: end;
}
.tech-sticky__card-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: start;
    padding-top: 8px;
}
.tech-sticky__card-num {
    font-family: 'Geist Mono', 'Fragment Mono', monospace;
    font-size: 32px;
    line-height: 1.3;
    color: #171719;
}
.tech-sticky__card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #171719;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin: 0;
}
.tech-sticky__card-body {
    font-size: 20px;
    color: #171719;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin: 0;
}
.tech-sticky__card-fg {
    position: relative;
    aspect-ratio: 1328 / 858;
    width: 100%;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.tech-sticky__card-fg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 1024px) {
    .tech-sticky__main { grid-template-columns: 1fr; gap: 48px; }
    .tech-sticky__sidebar { position: static; }
    .tech-sticky__nav { flex-direction: row; flex-wrap: wrap; gap: 12px; padding-left: 0; }
    .tech-sticky__nav::before { display: none; }
    .tech-sticky__nav-dot { display: none; }
}
@media (max-width: 768px) {
    .tech-sticky { padding: 64px 0; }
    .tech-sticky__container { padding: 0 24px; }
    .tech-sticky__title { font-size: 28px; }
    .tech-sticky__card { padding: 24px; min-height: auto; }
    .tech-sticky__card-overlay { grid-template-columns: 1fr; }
    .tech-sticky__card-title { font-size: 22px; }
    .tech-sticky__card-body { font-size: 16px; }
}

/* DP — 2-col grid (light card + dark stack with perf bars) */
.tech-dp {
    background-color: #fff;
    padding: 120px 0;
}
.tech-dp__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
    box-sizing: border-box;
}
.tech-dp__header {
    margin-bottom: 48px;
}
.tech-dp__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #171719;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
}
.tech-dp__subtitle {
    font-size: 20px;
    color: #7b7e85;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin: 0;
    max-width: 900px;
}
.tech-dp__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}
.tech-dp__col-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.tech-dp__card {
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #e6e7e9;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.tech-dp__card--light {
    background-color: #fff;
    color: #171719;
}
.tech-dp__card--dark {
    background-color: #171719;
    border-color: transparent;
    color: #f7f7f8;
}
.tech-dp__card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin: 0;
}
.tech-dp__card--dark .tech-dp__card-title { color: #fbfbfb; }
.tech-dp__card-title--lg { font-size: 32px; color: #e6e7e9; }
.tech-dp__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.tech-dp__list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid #e6e7e9;
}
.tech-dp__card--dark .tech-dp__list li { border-top-color: #2a2a2c; }
.tech-dp__list li:first-child { border-top: none; padding-top: 0; }
.tech-dp__num {
    font-family: 'Geist Mono', monospace;
    font-size: 20px;
    color: #171719;
    line-height: 1.4;
}
.tech-dp__card--dark .tech-dp__num { color: #caccCF; }
.tech-dp__item-text {
    font-size: 20px;
    color: #171719;
    line-height: 1.4;
    letter-spacing: -0.5px;
}
.tech-dp__card--dark .tech-dp__item-text { color: #caccCF; }
.tech-dp__card-img {
    margin-top: auto;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
}
.tech-dp__card-img img {
    width: 100%;
    height: auto;
    display: block;
}
.tech-dp__card-img--inline {
    background-color: transparent;
}
.tech-dp__perf {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.tech-dp__perf-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
}
.tech-dp__perf-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #caccCF;
    white-space: nowrap;
}
.tech-dp__perf-bar {
    height: 12px;
    background-color: #2a2a2c;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.tech-dp__perf-fill {
    display: block;
    height: 100%;
    background-color: #6e7e8f;
    border-radius: 999px;
}
.tech-dp__perf-fill--hl {
    background: linear-gradient(90deg, #673AFF 0%, #D932FF 100%);
}
.tech-dp__perf-value {
    font-family: 'Geist Mono', monospace;
    font-size: 18px;
    color: #ececec;
    text-align: right;
    min-width: 130px;
}
.tech-dp__perf-value--hl { color: #f7f7f8; font-weight: 500; }
@media (max-width: 1024px) {
    .tech-dp__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .tech-dp { padding: 64px 0; }
    .tech-dp__container { padding: 0 24px; }
    .tech-dp__title { font-size: 28px; }
    .tech-dp__card { padding: 24px; border-radius: 24px; }
    .tech-dp__card-title { font-size: 22px; }
    .tech-dp__card-title--lg { font-size: 24px; }
    .tech-dp__item-text { font-size: 16px; }
}

/* CTA — prism dark band */
.tech-cta {
    background-color: #fff;
    padding: 80px 0;
}
.tech-cta__container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}
.tech-cta__inner {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background-color: #0a0a0c;
    padding: 96px 48px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    isolation: isolate;
}
.tech-cta__bg {
    position: absolute;
    top: 50%;
    width: 50%;
    max-width: 620px;
    height: auto;
    z-index: 0;
    opacity: 0.85;
    pointer-events: none;
    transform: translateY(-50%);
}
.tech-cta__bg--left { left: 0; }
.tech-cta__bg--right { right: 0; }
.tech-cta__text { position: relative; z-index: 1; max-width: 1000px; width: 100%; }
.tech-cta__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
}
.tech-cta__body {
    font-size: 20px;
    color: #caccCF;
    letter-spacing: -0.5px;
    line-height: 1.4;
    margin: 0;
}
.tech-cta__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 40px;
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(130deg, #673AFF 0%, #D932FF 50%, #FF266A 100%);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 150ms ease;
}
.tech-cta__btn:hover { opacity: 0.92; }
@media (max-width: 768px) {
    .tech-cta__container { padding: 0 24px; }
    .tech-cta__inner { padding: 56px 24px; border-radius: 24px; }
    .tech-cta__bg { width: 70%; opacity: 0.5; }
    .tech-cta__title { font-size: 24px; }
    .tech-cta__body { font-size: 16px; }
    .tech-cta__btn { font-size: 18px; padding: 12px 28px; }
}
