/* ================================================================
           RESET & BASE
        ================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #07101f;
    color: #e8f0ff;
    line-height: 1.5;
    overflow-x: hidden;
}

:root {
    --accent: #ff520d;
    --accent-glow: rgba(255, 82, 13, 0.35);
    --accent-dim: rgba(255, 82, 13, 0.12);
    --text: #e8f0ff;
    --text-dim: rgba(232, 240, 255, 0.65);
    --glass: rgba(255, 255, 255, 0.03);
    --gb: rgba(255, 255, 255, 0.07);
    --navy: #07101f;
    --navy-2: #0f1e3a;
    --cyan: #ffb347;
    --cyan-dim: rgba(255, 179, 71, 0.12);
    --cyan-glow: rgba(255, 179, 71, 0.3);
    --purple: #ffb347;
    --purple-dim: rgba(255, 179, 71, 0.1);
    --green: #34d399;
    --green-dim: rgba(52, 211, 153, 0.1);
    --gold: #f59e0b;
    --gold-dim: rgba(245, 158, 11, 0.12);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 800;
    line-height: 1.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media(max-width:768px) {
    .container {
        padding: 0 10px;
    }
}

section {
    padding: 100px 0;
    position: relative;
}

/* ================================================================
           SECTION TITLE
        ================================================================ */
.section-title {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.section-title h2 {
    font-size: clamp(28px, 4.5vw, 54px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.05;
    letter-spacing: -0.035em;
    display: inline-block;
    position: relative;
}

.section-title h2 span {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2.5px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--accent-glow);
}

.section-title p {
    font-size: 0.95rem;
    color: var(--text-dim);
    max-width: 640px;
    margin: 28px auto 0;
    line-height: 1.85;
}

/* ================================================================
           HERO
        ================================================================ */
.hero {
    background: linear-gradient(135deg, #07101f 0%, #0f1e3a 100%);
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image:
        radial-gradient(circle at 20% 30%, var(--accent) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 70%, var(--cyan) 1.5px, transparent 1.5px);
    background-size: 56px 56px;
    animation: patternFloat 22s infinite linear;
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 56px 56px;
    }
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 480px;
    height: 480px;
    top: -5%;
    left: -12%;
    background: radial-gradient(circle, rgba(255, 82, 13, 0.07) 0%, transparent 70%);
    animation: orbFloat 20s infinite ease-in-out;
}

.orb-2 {
    width: 360px;
    height: 360px;
    bottom: 0%;
    right: -10%;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.06) 0%, transparent 70%);
    animation: orbFloat 16s infinite ease-in-out reverse;
}

.orb-3 {
    width: 260px;
    height: 260px;
    top: 55%;
    left: 38%;
    background: radial-gradient(circle, rgba(255, 179, 71, 0.05) 0%, transparent 70%);
    animation: orbFloat 24s infinite ease-in-out 8s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.floating-icon {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.1;
    animation: floatIcon 28s infinite ease-in-out;
    font-size: 24px;
    color: var(--accent);
}

.fi-1 {
    top: 12%;
    left: 8%;
    animation-delay: 0s;
}

.fi-2 {
    top: 28%;
    right: 12%;
    animation-delay: -4s;
    color: var(--cyan);
}

.fi-3 {
    bottom: 22%;
    left: 18%;
    animation-delay: -8s;
}

.fi-4 {
    bottom: 12%;
    right: 8%;
    animation-delay: -12s;
    color: var(--purple);
}

.fi-5 {
    top: 55%;
    left: 4%;
    animation-delay: -16s;
}

.fi-6 {
    top: 18%;
    right: 4%;
    animation-delay: -20s;
    color: var(--cyan);
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-38px) rotate(8deg) scale(1.15);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
}

.hero-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #ff520d;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1.5px;
    background: #ff520d;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 900;
    line-height: 0.95;
    color: white;
    margin-bottom: 25px;
    letter-spacing: -0.04em;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title .gradient-text {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
    position: relative;
}

.hero-title .gradient-text::after {
    content: 'Software That Scales';
    position: absolute;
    left: 2px;
    top: 0;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 179, 71, 0.4);
    opacity: 0;
    animation: glitch 4s infinite 0.12s;
}

@keyframes glitch {

    0%,
    100% {
        opacity: 0;
        transform: translateX(0);
    }

    5% {
        opacity: 0.6;
        transform: translateX(-3px);
    }

    9% {
        opacity: 0;
        transform: translateX(2px);
    }

    13% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
    color: var(--text-dim);
    line-height: 1.85;
    font-weight: 400;
    max-width: 460px;
    opacity: 0;
    animation: fadeUp 0.8s 0.55s forwards;
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin: 26px 0;
    opacity: 0;
    animation: fadeUp 0.8s 0.65s forwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: -0.04em;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.hero-stat-sep {
    width: 1px;
    background: var(--gb);
    align-self: stretch;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 22px 0;
    opacity: 0;
    animation: fadeUp 0.8s 0.75s forwards;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--gb);
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    background: var(--accent-dim);
    border-color: rgba(255, 82, 13, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 82, 13, 0.1);
}

.feature-icon {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 7px;
}

.feature-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.88s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 15px 36px;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-primary:hover {
    box-shadow: 0 0 48px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dim);
    padding: 14px 30px;
    border: 1px solid var(--gb);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, .25);
    color: var(--text);
}

/* ================================================================
           3D LAPTOP FLIP CARD
        ================================================================ */
.laptop-display-wrapper {
    position: relative;
    perspective: 1200px;
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
    display: flex;
    justify-content: center;
    align-items: center;
}

.three-d-laptop-container {
    position: relative;
    width: 480px;
    height: 320px;
    transform-style: preserve-3d;
    animation: laptopFlip 11s infinite ease-in-out;
    animation-delay: 2.5s;
}

@keyframes laptopFlip {

    0%,
    22% {
        transform: rotateY(0deg) rotateX(0deg);
    }

    32%,
    54% {
        transform: rotateY(180deg) rotateX(0deg);
    }

    62%,
    78% {
        transform: rotateY(0deg) rotateX(6deg) rotateZ(-2deg);
    }

    88%,
    100% {
        transform: rotateY(0deg) rotateX(0deg);
    }
}

.laptop-front,
.laptop-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

/* ── LAPTOP FRONT: Code Editor ── */
.laptop-front {
    transform: rotateY(0deg);
    z-index: 2;
    background: linear-gradient(150deg, #0d1117 0%, #161b22 100%);
    border: 2px solid rgba(255, 82, 13, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 48px 90px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(255, 82, 13, 0.08),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.laptop-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cyan), var(--purple));
    box-shadow: 0 0 18px var(--accent-glow);
    z-index: 10;
}

/* Editor title bar */
.editor-titlebar {
    height: 34px;
    background: #1c2128;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.editor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f57;
}

.dot-yellow {
    background: #febc2e;
}

.dot-green {
    background: #28c840;
}

.editor-filename {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    margin-left: 8px;
    letter-spacing: 0.04em;
}

.editor-tab {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 82, 13, 0.15);
    border: 1px solid rgba(255, 82, 13, 0.25);
    border-radius: 4px 4px 0 0;
    padding: 3px 12px;
    margin-left: 4px;
}

/* Code content */
.editor-body {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
}

.line-numbers {
    width: 34px;
    background: #0d1117;
    flex-shrink: 0;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.ln {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1.65rem;
    font-weight: 500;
}

.code-area {
    flex: 1;
    padding: 14px 16px;
    overflow: hidden;
    position: relative;
}

.code-line {
    font-size: 0.65rem;
    line-height: 1.65rem;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.c-keyword {
    color: #ff79c6;
    font-weight: 700;
}

.c-function {
    color: #50fa7b;
}

.c-string {
    color: #f1fa8c;
}

.c-comment {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.c-variable {
    color: #8be9fd;
}

.c-number {
    color: #bd93f9;
}

.c-operator {
    color: #ff79c6;
}

.c-indent {
    display: inline-block;
    width: 16px;
}

.c-brace {
    color: rgba(255, 255, 255, 0.6);
}

.c-prop {
    color: #66d9e8;
}

/* typing cursor blink */
.cursor {
    display: inline-block;
    width: 2px;
    height: 0.75rem;
    background: var(--accent);
    margin-left: 1px;
    animation: cursorBlink 1.1s infinite;
    vertical-align: middle;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* animated scan line */
.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.65rem;
    background: linear-gradient(to right, transparent, rgba(255, 82, 13, 0.08), transparent);
    animation: scanLine 5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes scanLine {
    0% {
        top: 14px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: calc(100% - 14px);
        opacity: 0;
    }
}

/* Bottom status bar */
.editor-statusbar {
    height: 22px;
    background: #1c2128;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 16px;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.status-item {
    font-size: 0.58rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-dot.green {
    background: #28c840;
    box-shadow: 0 0 6px #28c840;
}

.status-dot.blue {
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}

/* Laptop base / keyboard */
.laptop-base-wrapper {
    position: absolute;
    bottom: -28px;
    left: -18px;
    right: -18px;
    z-index: 1;
    pointer-events: none;
}

.laptop-keyboard {
    background: linear-gradient(160deg, #1a1f2e 0%, #121824 100%);
    height: 24px;
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(255, 82, 13, 0.2);
    border-top: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
}

.laptop-keyboard::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px 4px 0 0;
}

/* ── LAPTOP BACK: Tech Stack ── */
.laptop-back {
    transform: rotateY(180deg);
    background: linear-gradient(150deg, #0f1a2e 0%, #12284c 100%);
    border: 2px solid rgba(255, 179, 71, 0.3);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 48px 90px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(255, 179, 71, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* grid bg */
.laptop-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 179, 71, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 179, 71, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    animation: gridScroll 18s linear infinite;
}

@keyframes gridScroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 24px 24px;
    }
}

.laptop-back::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--accent), var(--cyan));
    box-shadow: 0 0 18px var(--cyan-glow);
}

.pb-code-icon {
    font-size: 2.4rem;
    color: var(--cyan);
    margin-bottom: 12px;
    animation: iconPulse 3s infinite ease-in-out;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 32px var(--cyan-glow);
}

@keyframes iconPulse {

    0%,
    100% {
        text-shadow: 0 0 18px var(--cyan-glow);
    }

    50% {
        text-shadow: 0 0 42px rgba(255, 179, 71, 0.6);
    }
}

.pb-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.pb-title span {
    color: var(--cyan);
}

.pb-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.pb-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.pb-tech-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 179, 71, 0.12);
    border-radius: 9px;
    padding: 9px 6px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
}

.pb-tech-chip:hover {
    background: var(--cyan-dim);
    border-color: rgba(255, 179, 71, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 179, 71, 0.1);
}

.pb-tech-chip i {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
    transition: transform 0.3s;
}

.pb-tech-chip:hover i {
    transform: scale(1.15);
}

.pb-tech-chip span {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text);
}

/* laptop responsive */
@media(max-width:1200px) {
    .laptop-display-wrapper {
        padding: 0 10px;
    }

    .three-d-laptop-container {
        width: 420px;
        height: 280px;
    }
}

@media(max-width:768px) {
    .three-d-laptop-container {
        width: 340px;
        height: 226px;
    }
}

@media(max-width:480px) {
    .three-d-laptop-container {
        width: 300px;
        height: 200px;
    }
}

/* ================================================================
           TICKER
        ================================================================ */
.wd-ticker {
    position: relative;
    z-index: 2;
    padding: 18px 0;
    overflow: hidden;
    border-top: 1px solid var(--gb);
    border-bottom: 1px solid var(--gb);
    background: rgba(255, 82, 13, 0.015);
}

.wd-ticker__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tickerScroll 32s linear infinite;
}

.wd-ticker__item {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transition: color 0.3s;
}

.wd-ticker__item:hover {
    color: var(--accent);
}

.wd-ticker__sep {
    color: var(--cyan);
}

@keyframes tickerScroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ================================================================
           PROCESS SECTION
        ================================================================ */
.process-section {
    background: linear-gradient(180deg, #07101f 0%, #0d1a30 100%);
    border-top: 1px solid var(--gb);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2px;
    margin-top: 16px;
}

.process-step {
    background: var(--glass);
    border: 1px solid var(--gb);
    padding: 48px 28px 40px;
    position: relative;
    overflow: hidden;
    cursor: default;
    text-align: center;
    transition: border-color 0.4s, background 0.4s, transform 0.35s;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 179, 71, 0.4));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    box-shadow: 0 0 12px var(--accent-glow);
}

.process-step:hover {
    border-color: rgba(255, 82, 13, 0.3);
    background: rgba(255, 82, 13, 0.04);
    transform: translateY(-6px);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.step-num-tag {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: #07101f;
    border: 1px solid rgba(255, 82, 13, 0.3);
    border-top: none;
    padding: 4px 14px;
    border-radius: 0 0 8px 8px;
}

.step-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid rgba(255, 82, 13, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.7rem;
    color: var(--accent);
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover .step-icon-circle {
    transform: scale(1.1);
    box-shadow: 0 0 28px var(--accent-glow);
}

.process-step h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.process-step p {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.85;
}

/* ================================================================
           TECH STACK
        ================================================================ */
.tech-stack {
    background: linear-gradient(135deg, #07101f 0%, #0f1e3a 100%);
    border-top: 1px solid var(--gb);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2px;
    margin-top: 16px;
}

.tech-category {
    background: var(--glass);
    border: 1px solid var(--gb);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: border-color 0.4s, background 0.4s, transform 0.35s;
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
    box-shadow: 0 0 12px var(--accent-glow);
}

.tech-category:hover {
    border-color: rgba(255, 82, 13, 0.3);
    background: rgba(255, 82, 13, 0.04);
    transform: translateY(-4px);
}

.tech-category:hover::before {
    transform: scaleY(1);
}

.tc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gb);
}

.tc-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-dim);
    border: 1px solid rgba(255, 82, 13, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tech-category:hover .tc-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.tc-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.tc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tc-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gb);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dim);
    transition: all 0.25s;
    cursor: default;
}

.tc-chip:hover {
    background: var(--accent-dim);
    border-color: rgba(255, 82, 13, 0.3);
    color: var(--text);
}

/* ================================================================
           SERVICES / TYPE CARDS  (3D effect cards)
        ================================================================ */
.app-types {
    background: linear-gradient(180deg, #0d1a30 0%, #07101f 100%);
    border-top: 1px solid var(--gb);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

/* 3D SERVICE CARD */
.type-card {
    background: var(--glass);
    border: 1px solid var(--gb);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: default;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(.23, 1, .32, 1),
        border-color 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

/* glowing top accent strip */
.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--card-accent), rgba(255, 255, 255, 0.1));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
    box-shadow: 0 0 16px var(--card-accent);
}

/* inner glow layer */
.type-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(ellipse at 50% 0%,
            rgba(255, 82, 13, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
    pointer-events: none;
}

.type-card:hover {
    border-color: rgba(255, 82, 13, 0.4);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 82, 13, 0.15),
        0 0 40px rgba(255, 82, 13, 0.08);
    transform: translateY(-12px) rotateX(4deg) rotateY(-2deg) scale(1.01);
}

.type-card:hover::before {
    transform: scaleX(1);
}

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

/* card header image-like gradient band */
.card-header-band {
    height: 160px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card-header-band-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}

.type-card:hover .card-header-band-bg {
    transform: scale(1.06);
}

.card-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(7, 16, 31, 0.97));
    display: flex;
    align-items: flex-end;
    padding: 18px 22px;
}

.card-service-tag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 3D floating icon on card */
.card-3d-icon-wrap {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
    perspective: 400px;
}

.card-3d-icon {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transform-style: preserve-3d;
    animation: iconFloat3d 6s infinite ease-in-out;
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

@keyframes iconFloat3d {

    0%,
    100% {
        transform: rotateY(0deg) rotateX(0deg) translateY(0);
    }

    25% {
        transform: rotateY(12deg) rotateX(-6deg) translateY(-5px);
    }

    75% {
        transform: rotateY(-8deg) rotateX(4deg) translateY(-3px);
    }
}

/* pseudo shadow under icon */
.card-3d-icon::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    filter: blur(4px);
    animation: iconShadow 6s infinite ease-in-out;
}

@keyframes iconShadow {

    0%,
    100% {
        opacity: 0.6;
        width: 34px;
    }

    25% {
        opacity: 0.35;
        width: 28px;
    }

    75% {
        opacity: 0.4;
        width: 30px;
    }
}

/* card body */
.type-content {
    padding: 24px 26px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.type-card h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.type-card p {
    color: var(--text-dim);
    font-size: 0.83rem;
    line-height: 1.85;
    flex: 1;
    margin-bottom: 18px;
}

.type-features {
    list-style: none;
}

.type-features li {
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 1px solid var(--gb);
}

.type-features li:last-child {
    border: none;
}

.type-features li i {
    font-size: 0.7rem;
}

/* card bottom bar */
.card-bottom {
    padding: 14px 26px;
    border-top: 1px solid var(--gb);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.card-bottom-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-bottom-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.3s;
}

.type-card:hover .card-bottom-arrow {
    transform: translateX(4px);
}

/* individual card themes */
.card-web {
    --card-accent: #ff520d;
}

.card-mobile {
    --card-accent: #ffb347;
}

.card-cloud {
    --card-accent: #ff520d;
}

.card-api {
    --card-accent: #f59e0b;
}

.card-ai {
    --card-accent: #ffb347;
}

.card-ux {
    --card-accent: #ff520d;
}


/* ================================================================
           RESULTS
        ================================================================ */
.results-section {
    background: linear-gradient(180deg, #07101f 0%, #0d1a30 100%);
    border-top: 1px solid var(--gb);
}

.results-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.results-stats-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 10px;
    gap: 2px;
}

.result-stat-box {
    background: var(--glass);
    border: 1px solid var(--gb);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: border-color 0.4s, background 0.4s, transform 0.35s;
}

.result-stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.result-stat-box:hover {
    border-color: rgba(255, 82, 13, 0.35);
    background: var(--accent-dim);
    transform: translateY(-4px);
}

.result-stat-box:hover::before {
    transform: scaleY(1);
}

.rsb-num {
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
}

.rsb-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.results-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ri-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: var(--accent-dim);
    border: 1px solid rgba(255, 82, 13, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    transition: transform 0.3s, box-shadow 0.3s;
}

.results-item:hover .ri-icon {
    transform: scale(1.08);
    box-shadow: 0 0 18px var(--accent-glow);
}

.results-item h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.results-item p {
    color: var(--text-dim);
    font-size: 0.83rem;
    line-height: 1.85;
}

/* ================================================================
           CTA
        ================================================================ */
.cta {
    background: linear-gradient(135deg, #07101f, #0f1e3a);
    text-align: center;
    border-top: 1px solid var(--gb);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 300px;
    background: radial-gradient(ellipse, rgba(255, 82, 13, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.cta-label::before,
.cta-label::after {
    content: '';
    width: 40px;
    height: 1.5px;
    background: var(--accent);
}

.cta h2 {
    font-size: clamp(28px, 4vw, 52px);
    color: #fff;
    margin-bottom: 22px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.cta h2 .ghost {
    color: transparent;
    -webkit-text-stroke: 1px rgba(232, 240, 255, 0.4);
}

.cta p {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 44px;
    line-height: 1.85;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================================
           KEYFRAMES
        ================================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

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

/* ================================================================
           RESPONSIVE
        ================================================================ */
@media(max-width:1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .laptop-display-wrapper {
        justify-content: center;
    }

    .results-layout {
        grid-template-columns: 1fr;
    }
}

@media(max-width:992px) {
    .results-stats-panel {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 5px;
    }
}

@media(max-width:768px) {
    section {
        padding: 72px 0;
    }

    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-cta,
    .hero-stats {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:480px) {
    .hero-title {
        font-size: 2rem;
    }
}