/*==================================
PAGE HERO (no Three.js canvas on this page —
static gradient + ambient particles instead)
==================================*/

.tp-hero {

    position: relative;
    padding: 140px 6% 140px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tp-hero-overlay {

    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(60% 60% at 20% 50%, rgba(5, 7, 11, .55), transparent 70%),
        linear-gradient(180deg, rgba(5, 7, 11, .2) 0%, rgba(5, 7, 11, .1) 60%, var(--bg) 100%);

}


.tp-hero .section-particles {
    z-index: 2;
}

.tp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tp-hero h1 {
    font-size: clamp(38px, 6vw, 74px);
    line-height: 1.05;
    margin-top: 30px;
    letter-spacing: clamp(-1.5px, -0.25vw, -3px);
}

.tp-hero p {
    max-width: 720px;
    margin: 28px auto 0;
    color: #AEBAC8;
    line-height: 1.9;
    font-size: clamp(16px, 1.6vw, 18px);
}

.tp-hero p+p {
    margin-top: 18px;
}

.tp-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.tp-hero-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 70px;
}

.tp-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 26px;
    min-width: 150px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .12);
    backdrop-filter: blur(20px);
}

.tp-chip strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    background: linear-gradient(135deg, #42A5FF, #4FF6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tp-chip span {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #8DA4B8;
    text-transform: uppercase;
    text-align: center;
}

@media(max-width: 700px) {
    .tp-hero {
        padding: 170px 6% 100px;
    }
}

/*==================================
CHALLENGE SECTION
==================================*/

.tp-challenge {
    padding: clamp(90px, 14vw, 160px) 6%;
    background: #05070B;
}

.tp-section-header {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.tp-section-header h2 {
    margin-top: 25px;
    font-size: clamp(32px, 4.5vw, 60px);
    line-height: 1.1;
}

.tp-section-header p {
    margin-top: 28px;
    color: #9FB1C2;
    line-height: 1.9;
    font-size: clamp(15px, 1.6vw, 18px);
}

.tp-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: clamp(50px, 8vw, 80px);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.tp-problem-card {
    padding: 34px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .08);
    text-align: center;
    transition: .4s;
}

.tp-problem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 246, 255, .3);
    box-shadow: 0 20px 50px rgba(66, 165, 255, .12);
}

.tp-problem-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
    margin: 0 auto 22px;
}

.tp-problem-card p {
    color: #C3D1DE;
    line-height: 1.7;
    font-size: 16px;
}

.tp-challenge-statement {
    max-width: 800px;
    margin: clamp(60px, 8vw, 90px) auto 0;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(20px, 3vw, 32px);
    line-height: 1.5;
    color: #FFFFFF;
    letter-spacing: .3px;
}

.tp-challenge-statement span {
    background: linear-gradient(135deg, #42A5FF, #4FF6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media(max-width: 900px) {
    .tp-problem-grid {
        grid-template-columns: 1fr;
    }
}

/*==================================
PLATFORM STACK DIAGRAM
==================================*/

.tp-platform {
    padding: clamp(90px, 14vw, 160px) 6%;
    background: #070B11;
}

.platform-track {
    position: relative;
    max-width: 620px;
    margin: clamp(70px, 10vw, 110px) auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.track-item {
    text-align: center;
    max-width: 440px;
    cursor: default;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.track-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.track-node-wrap {
    position: relative;
    width: 26px;
    height: 26px;
    margin: 0 auto 18px;
}

.track-dot {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(79, 246, 255, .8);
    transition: transform .4s ease, box-shadow .4s ease;
}

.track-node-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(79, 246, 255, .3);
    animation: track-ping 2.6s ease-out infinite;
}

@keyframes track-ping {

    0% {
        transform: scale(.6);
        opacity: .8;
    }

    80%,
    100% {
        transform: scale(1.6);
        opacity: 0;
    }

}

.track-item:hover .track-dot {
    transform: scale(1.35);
    box-shadow: 0 0 24px rgba(79, 246, 255, 1);
}

.track-step {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--cyan);
    margin-bottom: 8px;
}

.track-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #C7D3DE;
    transition: color .35s;
}

.track-item:hover h3 {
    color: #FFFFFF;
}

.track-item p {
    color: #8DA0B2;
    line-height: 1.7;
    font-size: 14.5px;
    max-width: 400px;
    margin: 0 auto;
    transition: color .35s;
}

.track-item:hover p {
    color: #C3D1DE;
}

.track-connector {
    width: 2px;
    height: 46px;
    background: rgba(79, 246, 255, .12);
    position: relative;
    overflow: hidden;
}

.track-connector::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--cyan), rgba(79, 246, 255, .2));
    box-shadow: 0 0 10px rgba(79, 246, 255, .6);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1s ease, box-shadow .4s ease;
}

.track-connector.in-view::after {
    transform: scaleY(1);
}

.track-item:hover+.track-connector::after {
    box-shadow: 0 0 16px rgba(79, 246, 255, 1);
}

@media(max-width: 560px) {

    .track-connector {
        height: 34px;
    }

}

/*==================================
CAPABILITY ROWS (alternating)
==================================*/

.tp-capabilities {
    padding: clamp(90px, 14vw, 160px) 6%;
    background: #05070B;
    overflow-x: clip;
}

.capability-list {
    max-width: 1200px;
    margin: clamp(60px, 8vw, 90px) auto 0;
    display: flex;
    flex-direction: column;
    gap: clamp(70px, 10vw, 110px);
}

.capability-row {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .8s ease, transform .8s ease;
}

.capability-row.reverse {
    transform: translateX(40px);
}

.capability-row.in-view {
    opacity: 1;
    transform: translateX(0);
}

.capability-row.reverse .capability-panel {
    order: 2;
}

.capability-eyebrow {
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 3px;
}

.capability-text h3 {
    font-size: clamp(26px, 3vw, 36px);
    margin: 18px 0 22px;
    line-height: 1.15;
}

.capability-text p {
    color: #AEB8C5;
    line-height: 1.85;
    font-size: 16px;
}

.capability-text p+p {
    margin-top: 14px;
}

.capability-panel {
    padding: 34px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .1);
    backdrop-filter: blur(20px);
}

.capability-panel-title {
    color: #8DA4B8;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
    display: block;
}

.capability-panel ul {
    list-style: none;
    padding: 0;
}

.capability-panel li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: #D2DCE5;
    font-size: 15px;
}

.capability-panel li:last-child {
    border-bottom: none;
}

.capability-panel li::before {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.capability-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.capability-tags span {
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: #C7D3DE;
    background: rgba(79, 246, 255, .05);
    border: 1px solid rgba(79, 246, 255, .15);
}

@media(max-width: 900px) {

    .capability-row,
    .capability-row.reverse .capability-panel {
        grid-template-columns: 1fr;
        order: 0;
    }

    .capability-row {
        display: flex;
        flex-direction: column;
    }

}

/*==================================
ENGINEERING PRINCIPLES
==================================*/

.tp-principles {
    padding: clamp(90px, 14vw, 160px) 6%;
    background: #070B11;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: clamp(50px, 8vw, 90px);
}

.principle-card {
    padding: clamp(28px, 3vw, 38px) 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .08);
    opacity: 0;
    transform: translateY(24px);
    /* Hover only animates transform/border/shadow — the initial
       reveal below uses a separate `animation`, so hovering never
       inherits a staggered delay from the entrance effect. */
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.principle-card.in-view {
    animation: principle-in .6s ease forwards;
}

@keyframes principle-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.principle-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 246, 255, .3);
    box-shadow: 0 25px 60px rgba(79, 246, 255, .12);
}

.principle-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(66, 165, 255, .25), rgba(79, 246, 255, .15));
    margin-bottom: 26px;
    position: relative;
}

.principle-mark::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 4px;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

.principle-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

.principle-card p {
    color: #9FB1C2;
    line-height: 1.75;
    font-size: 14.5px;
}

.principle-card:nth-child(2).in-view {
    animation-delay: .08s;
}

.principle-card:nth-child(3).in-view {
    animation-delay: .16s;
}

.principle-card:nth-child(4).in-view {
    animation-delay: .24s;
}

@media(max-width: 1000px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 560px) {
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

/*==================================
METRICS TABLE
==================================*/

.tp-metrics {
    padding: clamp(90px, 14vw, 160px) 6%;
    background: #05070B;
}

.metrics-panel {
    max-width: 900px;
    margin: clamp(50px, 8vw, 90px) auto 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(79, 246, 255, .12);
    background: rgba(255, 255, 255, .02);
    backdrop-filter: blur(20px);
}

.metrics-table {
    width: 100%;
    border-collapse: collapse;
}

/* Transforms on <tr> aren't reliably supported across browsers, so
   rows fade in on opacity only — safer than animating a transform
   that some rendering engines silently ignore on table rows. */
.metrics-table tbody tr {
    opacity: 0;
    transition: opacity .5s ease;
}

.metrics-table tbody tr.in-view {
    opacity: 1;
}

.metrics-table tbody tr:nth-child(2) {
    transition-delay: .06s;
}

.metrics-table tbody tr:nth-child(3) {
    transition-delay: .12s;
}

.metrics-table tbody tr:nth-child(4) {
    transition-delay: .18s;
}

.metrics-table tbody tr:nth-child(5) {
    transition-delay: .24s;
}

.metrics-table tbody tr:nth-child(6) {
    transition-delay: .3s;
}

.metrics-table th {
    text-align: left;
    padding: 20px 32px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(79, 246, 255, .06);
    border-bottom: 1px solid rgba(79, 246, 255, .15);
}

.metrics-table td {
    padding: 20px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: #D2DCE5;
    font-size: 15px;
}

.metrics-table tr:last-child td {
    border-bottom: none;
}

.metrics-table td:first-child {
    color: #8DA4B8;
}

.metrics-table td:last-child {
    color: #FFFFFF;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    letter-spacing: .5px;
}

@media(max-width: 600px) {

    .metrics-table th,
    .metrics-table td {
        padding: 16px 18px;
        font-size: 13px;
    }

}

/*==================================
FUTURE DEVELOPMENT
==================================*/

.tp-future {
    position: relative;
    overflow: hidden;
    padding: clamp(90px, 14vw, 160px) 6%;
    background: linear-gradient(180deg, #070B11 0%, #05070B 100%);
}

.tp-future .section-particles {
    z-index: 1;
}

.tp-future-inner {
    position: relative;
    z-index: 2;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
    max-width: 1050px;
    margin: clamp(50px, 8vw, 90px) auto 0;
}

.future-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(79, 246, 255, .1);
    opacity: 0;
    transform: translateY(20px);
    transition: transform .4s ease, border-color .4s ease, opacity .6s ease;
}

.future-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.future-item:hover {
    border-color: rgba(255, 59, 59, .35);
    transform: translateY(-6px);
}

.future-marker {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-top: 4px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 0 10px rgba(79, 246, 255, .6);
}

.future-phase {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 6px;
}

.future-item p {
    color: #D2DCE5;
    line-height: 1.7;
    font-size: 15.5px;
}

/*==================================
CONVENTIONAL VS LOHABOUR COMPARISON
==================================*/

.tp-comparison {
    padding: clamp(90px, 14vw, 160px) 6%;
    background: #070B11;
}

.comparison-panel {
    max-width: 900px;
    margin: clamp(50px, 8vw, 90px) auto 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(79, 246, 255, .12);
    background: rgba(255, 255, 255, .02);
    backdrop-filter: blur(20px);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.comparison-row.in-view {
    opacity: 1;
    transform: translateY(0);
}

.comparison-row::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .07);
}

.comparison-row+.comparison-row {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.comparison-row span {
    padding: 20px 28px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-head {
    background: rgba(79, 246, 255, .06);
}

.comparison-head span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    font-weight: 600;
}

.comp-old {
    color: #8DA0B2;
}

.comp-old::before {
    content: "×";
    color: #FF6B6B;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.comp-new {
    color: #E7EEF4;
    font-weight: 500;
}

.comp-new::before {
    content: "✓";
    color: var(--cyan);
    font-weight: 700;
    font-size: 14px;
    text-shadow: 0 0 8px rgba(79, 246, 255, .8);
    flex-shrink: 0;
}

.comparison-row:nth-of-type(2) {
    transition-delay: .05s;
}

.comparison-row:nth-of-type(3) {
    transition-delay: .1s;
}

.comparison-row:nth-of-type(4) {
    transition-delay: .15s;
}

.comparison-row:nth-of-type(5) {
    transition-delay: .2s;
}

.comparison-row:nth-of-type(6) {
    transition-delay: .25s;
}

@media(max-width: 640px) {

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-row::after {
        display: none;
    }

    .comparison-row+.comparison-row {
        border-top: none;
    }

    .comparison-row:not(.comparison-head) span:first-child {
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

}

/*==================================
MEMORABLE STATEMENT BANNER
==================================*/

.tp-statement {
    position: relative;
    overflow: hidden;
    padding: clamp(90px, 14vw, 150px) 6%;
    background:
        radial-gradient(60% 80% at 50% 50%, rgba(79, 246, 255, .08), transparent 70%),
        #05070B;
    text-align: center;
}

.tp-statement .section-particles {
    z-index: 1;
}

.tp-statement-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}

.tp-statement-inner.in-view {
    opacity: 1;
    transform: translateY(0);
}

.tp-statement h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(24px, 4vw, 44px);
    line-height: 1.4;
    font-weight: 600;
}

.tp-statement span {
    background: linear-gradient(135deg, #42A5FF, #4FF6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}