@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
    --orange: #FF6B35;
    --orange-glow: rgba(255, 107, 53, 0.25);
    --dark-bg: #070D19;
    --dark-card: #0D1627;
    --dark-border: rgba(255, 255, 255, 0.06);
    --text-primary: #F0F4FF;
    --text-muted: rgba(200, 215, 255, 0.55);
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ── GLOBAL RESET FOR THIS PAGE ── */
.tp-page * { box-sizing: border-box; }
.tp-page { font-family: var(--font-body); background: var(--dark-bg); color: var(--text-primary); }

/* ── BANNER ── */
.tp-banner {
    position: relative;
    padding: 120px 0;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.tp-banner__bg {
    position: absolute;
    inset: 0;
    background-image: url('/website/assets/img/tech/bannerbg-1.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: bgZoom 18s ease-in-out infinite alternate;
}

@keyframes bgZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}

.tp-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(7,13,25,0.93) 0%,
        rgba(7,13,25,0.78) 50%,
        rgba(7,13,25,0.97) 100%
    );
}

/* Animated grid lines on banner */
.tp-banner__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,107,53,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.tp-banner__content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    padding: 0 24px;
}

.tp-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(255,107,53,0.08);
    border: 1px solid rgba(255,107,53,0.22);
    padding: 8px 22px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeUp 0.8s ease both;
}

.tp-banner__eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.tp-banner__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeUp 0.8s 0.15s ease both;
}

.tp-banner__title .accent { color: var(--orange); position: relative; }
.tp-banner__title .accent::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), transparent);
    border-radius: 2px;
}

.tp-banner__sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 42px;
    line-height: 1.8;
    animation: fadeUp 0.8s 0.3s ease both;
}

.tp-banner__stats {
    display: flex;
    justify-content: center;
    gap: 0;
    animation: fadeUp 0.8s 0.45s ease both;
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(13,22,39,0.7);
    backdrop-filter: blur(12px);
    width: fit-content;
    margin: 0 auto;
}

.tp-banner__stat {
    padding: 18px 36px;
    border-right: 1px solid var(--dark-border);
    text-align: center;
}
.tp-banner__stat:last-child { border-right: none; }
.tp-banner__stat-num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--orange);
    display: block;
    line-height: 1;
}
.tp-banner__stat-label {
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

 /* ── TECH SECTIONS ── */
.tp-section {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.tp-section--alt {
    background: var(--dark-card);
}

/* Decorative bg blobs */
.tp-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.tp-section:nth-child(odd)::before { right: -200px; top: -100px; }
.tp-section:nth-child(even)::before { left: -200px; bottom: -100px; }

/* ── TECH CARD LAYOUT ── */
.tp-tech-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tp-tech-row--reverse { direction: rtl; }
.tp-tech-row--reverse > * { direction: ltr; }

/* Visual Side */
.tp-visual {
    position: relative;
}

.tp-visual__frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--dark-border);
}

.tp-visual__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    filter: brightness(0.75) saturate(0.8);
    transition: filter 0.5s;
}
.tp-visual:hover .tp-visual__img { filter: brightness(0.9) saturate(1); }

/* Gradient overlay on image */
.tp-visual__tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,13,25,0.6) 0%, transparent 60%);
}

/* Floating icon badge */
.tp-visual__badge {
    position: absolute;
    top: -20px;
    left: 28px;
    width: 72px; height: 72px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,107,53,0.1);
    z-index: 2;
    padding: 14px;
    backdrop-filter: blur(10px);
}

.tp-tech-row--reverse .tp-visual__badge { left: auto; right: 28px; }

.tp-visual__badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Stats strip on image */
.tp-visual__strip {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(7,13,25,0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-around;
}
.tp-strip-item { text-align: center; }
.tp-strip-item span:first-child {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--orange);
    display: block;
    line-height: 1;
}
.tp-strip-item span:last-child {
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px;
    display: block;
}

/* Content Side */
.tp-content__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.tp-content__label::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--orange);
}

.tp-content__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tp-content__title .ver {
    color: var(--orange);
    font-size: 0.65em;
    vertical-align: super;
    font-weight: 600;
}

.tp-content__desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 36px;
}

/* Feature Items */
.tp-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tp-feat {
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: border-color 0.3s, background 0.3s;
}

.tp-feat:hover {
    border-color: rgba(255,107,53,0.3);
    background: rgba(255,107,53,0.04);
}

.tp-feat__icon {
    width: 32px; height: 32px;
    background: var(--orange-glow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tp-feat__icon i { color: var(--orange); font-size: 0.9rem; }

.tp-feat__text {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.5;
}

/* CTA button (optional per section) */
.tp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid var(--orange);
    color: var(--orange);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.tp-btn:hover { background: var(--orange); color: #fff; }
.tp-btn i { font-size: 0.8rem; }

/* ── DIVIDER ── */
.tp-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.15), transparent);
}

/* ── BOTTOM CTA SECTION ── */
.tp-cta {
    padding: 100px 0;
    text-align: center;
    background: var(--dark-card);
    position: relative;
    overflow: hidden;
}
.tp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(255,107,53,0.08) 0%, transparent 70%);
}
.tp-cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}
.tp-cta__sub {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 40px;
    position: relative;
}
.tp-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--orange);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    position: relative;
    box-shadow: 0 20px 50px rgba(255,107,53,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.tp-cta__btn:hover { transform: translateY(-3px); box-shadow: 0 28px 60px rgba(255,107,53,0.45); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .tp-tech-row, .tp-tech-row--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .tp-tech-row--reverse > * { direction: ltr; }
    .tp-banner__stats { flex-wrap: wrap; }
    .tp-features { grid-template-columns: 1fr; }
}