.software-dev-page {
    background: radial-gradient(circle at 12% 8%, rgba(76, 195, 255, 0.18), transparent 30%),
        radial-gradient(circle at 88% 20%, rgba(173, 212, 12, 0.15), transparent 32%),
        var(--dark);
}

.sd-smooth-wrapper {
    position: relative;
    overflow: hidden;
}

.software-dev-page main {
    overflow: hidden;
}

.sd-section {
    padding: 110px 0;
    position: relative;
}

.sd-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    color: #91dcff;
    margin-bottom: 14px;
    font-weight: 600;
}

.sd-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 150px 0 90px;
}

.sd-hero .hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at 45% 35%, #000 22%, transparent 72%);
}

.sd-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.sd-hero-orb-one {
    width: 280px;
    height: 280px;
    top: 18%;
    right: 10%;
    background: radial-gradient(circle, rgba(76, 195, 255, 0.38), rgba(76, 195, 255, 0));
}

.sd-hero-orb-two {
    width: 220px;
    height: 220px;
    bottom: 8%;
    left: -40px;
    background: radial-gradient(circle, rgba(173, 212, 12, 0.22), rgba(173, 212, 12, 0));
}

.sd-hero-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 26px;
}

.sd-hero-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.3vw, 3.8rem);
    line-height: 1.08;
    margin-bottom: 20px;
}

.sd-hero-content p {
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 0;
    max-width: 780px;
    font-size: 15px;
}

.sd-hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.sd-link-btn {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--white);
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 600;
}

.sd-link-btn:hover {
    color: var(--white);
    border-color: rgba(173, 212, 12, 0.85);
}

.sd-highlight-card {
    border: 1px solid rgba(76, 195, 255, 0.32);
    border-radius: 18px;
    padding: 26px;
    background: linear-gradient(160deg, rgba(9, 15, 25, 0.95), rgba(16, 27, 45, 0.88));
}

.sd-highlight-card h4 {
    color: var(--white);
    font-size: 23px;
    margin-bottom: 16px;
}

.sd-highlight-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.sd-highlight-card li {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.sd-highlight-card i {
    margin-top: 5px;
    color: var(--color-primary);
}

.sd-metrics {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    position: relative;
    z-index: 2;
}

.sd-metric {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 16px 18px;
    background: rgba(9, 14, 22, 0.75);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sd-metric strong {
    color: var(--color-primary);
    font-size: 26px;
    line-height: 1;
}

.sd-metric span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.sd-section-head {
    margin-bottom: 40px;
}

.sd-section-head h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3.3vw, 2.9rem);
    line-height: 1.15;
    margin-bottom: 0;
}

.sd-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sd-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
    background: rgba(8, 13, 22, 0.86);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.sd-card:hover {
    transform: translateY(-6px);
    border-color: rgba(173, 212, 12, 0.78);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.sd-card i {
    color: var(--color-primary);
    font-size: 20px;
    margin-bottom: 14px;
}

.sd-card h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 8px;
}

.sd-card p {
    color: rgba(255, 255, 255, 0.73);
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 0;
}

.sd-tech-stack {
    background: linear-gradient(180deg, #f5f3f0 0%, #f2eee8 100%);
    border-radius: 36px;
    margin: 40px 24px;
    overflow: hidden;
}

.sd-tech-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: 54px;
    align-items: start;
}

.sd-tech-intro {
    padding: 12px 0;
}

.sd-tech-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    color: #ce4637;
    font-weight: 700;
    margin-bottom: 14px;
}

.sd-tech-intro h2 {
    color: #161514;
    font-size: clamp(2.4rem, 4.9vw, 4.8rem);
    line-height: 1.08;
    margin-bottom: 20px;
    max-width: 520px;
}

.sd-tech-copy {
    color: rgba(22, 21, 20, 0.68);
    font-size: 17px;
    line-height: 1.75;
    max-width: 500px;
}

.sd-tech-cta {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 28px;
    border-radius: 999px;
    overflow: hidden;
    background: #ff3a45;
    box-shadow: 0 18px 35px rgba(255, 58, 69, 0.22);
}

.sd-tech-cta:hover {
    color: #fff;
}

.sd-tech-cta-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.sd-tech-cta span:last-child {
    padding: 0 30px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sd-tech-cards {
    position: relative;
    padding-top: 8px;
    padding-bottom: 120px;
}

.sd-tech-card {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(21, 19, 18, 0.08);
    border-radius: 24px;
    padding: 34px 36px;
    margin-bottom: 28px;
    box-shadow: 0 18px 45px rgba(31, 27, 21, 0.08);
    min-height: 280px;
}

.sd-tech-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.sd-tech-index {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #161514;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.sd-tech-card h3 {
    color: #171513;
    font-size: 32px;
    margin: 0;
}

.sd-tech-card p {
    color: rgba(23, 21, 19, 0.68);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 760px;
}

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

.sd-tech-chip-grid span {
    min-height: 58px;
    border-radius: 16px;
    background: #f6f4ef;
    border: 1px solid rgba(23, 21, 19, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    color: #1b1816;
    font-size: 15px;
    font-weight: 600;
}

.sd-tech-chip-grid i {
    color: #ff3a45;
    font-size: 20px;
    width: 22px;
    text-align: center;
}

.sd-process {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.sd-process-board {
    display: flex;
    gap: 12px;
    min-height: 560px;
}

.sd-stage-card {
    position: relative;
    flex: 0.7;
    min-width: 110px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(23, 23, 23, 0.98), rgba(11, 11, 11, 0.98));
    overflow: hidden;
    transition: flex .45s ease, border-color .35s ease, transform .35s ease;
    cursor: pointer;
    isolation: isolate;
}

.sd-stage-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -80px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 195, 255, 0.14), rgba(76, 195, 255, 0));
    pointer-events: none;
}

.sd-stage-card:hover,
.sd-stage-card:focus-visible,
.sd-stage-card.active {
    flex: 3.8;
    border-color: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
}

.sd-stage-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='208' viewBox='0 0 180 208'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1.15'%3E%3Cpath d='M45 0l45 26v52l-45 26L0 78V26z'/%3E%3Cpath d='M135 0l45 26v52l-45 26-45-26V26z'/%3E%3Cpath d='M90 78l45 26v52l-45 26-45-26v-52z'/%3E%3Cpath d='M180 78l45 26v52l-45 26-45-26v-52z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 150px 170px;
    background-position: center;
    pointer-events: none;
}

.sd-stage-collapsed,
.sd-stage-expanded {
    position: relative;
    z-index: 2;
}

.sd-stage-collapsed {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 12px 34px;
}

.sd-stage-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.sd-stage-collapsed h3 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--white);
    font-size: clamp(1.1rem, 1.55vw, 1.8rem);
    line-height: 1.05;
    margin: 0;
    text-align: center;
    letter-spacing: 0.02em;
}

.sd-stage-expanded {
    position: absolute;
    inset: 0;
    padding: 56px 54px 44px;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sd-stage-card.active .sd-stage-expanded {
    opacity: 1;
    visibility: visible;
}

.sd-stage-card.active .sd-stage-collapsed {
    opacity: 0;
}

@media (min-width: 992px) {
    .sd-stage-card:hover .sd-stage-expanded,
    .sd-stage-card:focus-visible .sd-stage-expanded,
    .sd-stage-card:focus-within .sd-stage-expanded {
        opacity: 1;
        visibility: visible;
    }

    .sd-stage-card:hover .sd-stage-collapsed,
    .sd-stage-card:focus-visible .sd-stage-collapsed,
    .sd-stage-card:focus-within .sd-stage-collapsed {
        opacity: 0;
    }
}

.sd-stage-label {
    color: rgba(173, 212, 12, 0.8);
    letter-spacing: 0.18em;
    font-size: 11px;
    margin-bottom: 16px;
    font-weight: 700;
}

.sd-stage-expanded h3 {
    color: var(--white);
    font-size: clamp(2rem, 3vw, 3.4rem);
    margin-bottom: 22px;
    line-height: 1.06;
}

.sd-stage-expanded p {
    max-width: 860px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 34px;
}

.sd-stage-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.sd-stage-columns h4 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 16px;
}

.sd-stage-columns ul {
    margin: 0;
    padding-left: 24px;
}

.sd-stage-columns li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.7;
}

.sd-reveal {
    will-change: transform, opacity;
}

.sd-cta-band {
    border: 1px solid rgba(173, 212, 12, 0.42);
    border-radius: 22px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(130deg, rgba(173, 212, 12, 0.08), rgba(76, 195, 255, 0.08));
}

.sd-cta-band h3 {
    color: var(--white);
    margin: 0 0 6px;
    font-size: 30px;
}

.sd-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.sd-faq {
    padding-top: 0;
}

.sd-faq-list {
    display: grid;
    gap: 14px;
}

.sd-faq-item {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(9, 14, 22, 0.8);
}

.sd-faq-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
}

.sd-faq-trigger i {
    color: var(--color-primary);
}

.sd-faq-content {
    display: none;
    padding: 0 20px 18px;
}

.sd-faq-content p {
    color: rgba(255, 255, 255, 0.74);
    margin: 0;
    line-height: 1.7;
    font-size: 14px;
}

.sd-faq-item.active {
    border-color: rgba(173, 212, 12, 0.62);
}

.sd-faq-item.active .sd-faq-trigger i::before {
    content: "\f068";
}

.sd-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 34px 0 30px;
}

.sd-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.sd-footer-top ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
}

.sd-footer-top a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.sd-footer-copy {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
}

@media (max-width: 1199px) {
    .sd-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sd-tech-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .sd-tech-intro h2 {
        max-width: 100%;
    }

    .sd-tech-chip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sd-process-board {
        min-height: 520px;
    }

    .sd-stage-expanded {
        padding: 42px 34px 34px;
    }

    .sd-stage-expanded h3 {
        font-size: 2.5rem;
    }

    .sd-stage-expanded p,
    .sd-stage-columns li {
        font-size: 15px;
    }

    .sd-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sd-hero {
        min-height: auto;
        padding-top: 130px;
    }

    .sd-tech-stack {
        margin: 30px 14px;
        border-radius: 26px;
    }

    .sd-tech-card {
        min-height: auto;
    }

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

    .sd-cta-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .sd-process-board {
        flex-direction: column;
        min-height: auto;
    }

    .sd-stage-card,
    .sd-stage-card:hover,
    .sd-stage-card:focus-visible,
    .sd-stage-card.active {
        flex: none;
        min-width: 100%;
    }

    .sd-stage-collapsed {
        min-height: 110px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        padding: 18px 20px;
    }

    .sd-stage-collapsed h3 {
        writing-mode: initial;
        transform: none;
        font-size: 1.4rem;
        text-align: left;
    }

    .sd-stage-expanded {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        padding-top: 0;
    }

    .sd-stage-card.active .sd-stage-expanded {
        display: block;
    }

    .sd-stage-card.active .sd-stage-collapsed {
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .sd-section {
        padding: 90px 0;
    }

    .sd-card-grid,
    .sd-metrics {
        grid-template-columns: 1fr;
    }

    .sd-hero-content h1 {
        font-size: 36px;
    }

    .sd-tech-intro h2 {
        font-size: 2.7rem;
    }

    .sd-tech-copy {
        font-size: 15px;
    }

    .sd-tech-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .sd-tech-card h3 {
        font-size: 24px;
    }

    .sd-tech-card p {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .sd-tech-chip-grid {
        grid-template-columns: 1fr;
    }

    .sd-tech-cta-icon {
        width: 56px;
        height: 56px;
    }

    .sd-tech-cta span:last-child {
        padding: 0 22px;
        font-size: 14px;
    }

    .sd-cta-band h3 {
        font-size: 24px;
    }

    .sd-faq-trigger {
        font-size: 15px;
        padding: 16px;
    }

    .sd-faq-content {
        padding: 0 16px 16px;
    }

    .sd-stage-expanded {
        padding: 0 20px 22px;
    }

    .sd-stage-expanded h3 {
        font-size: 1.9rem;
    }

    .sd-stage-expanded p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .sd-stage-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sd-stage-columns h4 {
        font-size: 18px;
    }

    .sd-stage-columns li {
        font-size: 14px;
    }
}