/* Heimdall Studio - Software page v0.4 */

.software-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 44%, rgba(105, 184, 235, 0.13), transparent 30%),
        linear-gradient(180deg, #fbfdff 0%, #f3f8fb 100%);
    border-bottom: 1px solid var(--color-line);
}

.software-hero-grid {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
}

.software-hero-copy {
    z-index: 2;
    padding: 72px 50px 72px 0;
}

.software-hero-copy h1 {
    margin: 0;
    max-width: 760px;
    color: var(--color-ink);
    font-size: clamp(3rem, 5.3vw, 5.2rem);
    font-weight: 520;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.software-hero-copy h1 span {
    display: block;
    margin-top: 10px;
    color: var(--color-ice-strong);
    font-size: 0.82em;
}

.software-hero-copy > p:last-child {
    max-width: 660px;
    margin: 28px 0 0;
    color: var(--color-gray);
    font-size: 1.04rem;
    line-height: 1.8;
}

.software-hero-art {
    position: relative;
    height: 100%;
    min-height: 520px;
}

.software-hero-art img {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 150px;
    opacity: 0.065;
    transform: translate(-50%, -50%) scale(2.5);
}

.software-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 181, 237, 0.22), rgba(94, 181, 237, 0.03) 55%, transparent 72%);
    transform: translate(-50%, -50%);
}

.software-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(73, 169, 231, 0.38), transparent);
    transform-origin: left center;
}

.software-line-one {
    width: 82%;
    top: 32%;
    left: 8%;
    transform: rotate(-18deg);
}

.software-line-two {
    width: 68%;
    top: 51%;
    left: 18%;
    transform: rotate(14deg);
}

.software-line-three {
    width: 74%;
    top: 69%;
    left: 4%;
    transform: rotate(-9deg);
}

.product-section {
    padding: 104px 0 114px;
    background: var(--color-white);
}

.product-kicker {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.product-kicker span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-navy);
    color: white;
    font-size: 0.72rem;
    font-weight: 760;
}

.product-kicker p {
    margin: 0;
    color: var(--color-gray);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    min-height: 620px;
    overflow: hidden;
    border: 1px solid rgba(30, 72, 102, 0.08);
    border-radius: var(--radius-large);
    background:
        linear-gradient(135deg, rgba(243, 249, 252, 0.98), rgba(231, 243, 249, 0.96));
    box-shadow: var(--shadow-card);
}

.product-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px;
}

.product-platform {
    margin: 0 0 14px;
    color: var(--color-ice-strong);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-copy h2 {
    margin: 0;
    color: var(--color-navy);
    font-size: clamp(2.6rem, 4.6vw, 4.8rem);
    font-weight: 520;
    letter-spacing: -0.05em;
    line-height: 1;
}

.product-lead {
    max-width: 580px;
    margin: 28px 0 0;
    color: var(--color-navy-soft);
    font-size: 1.28rem;
    line-height: 1.55;
}

.product-body {
    max-width: 610px;
    margin: 22px 0 0;
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.82;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.product-device {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: end center;
    min-height: 620px;
    padding-top: 58px;
    background:
        radial-gradient(circle at 50% 36%, rgba(100, 185, 237, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.2), rgba(211, 232, 244, 0.72));
}

.device-shadow {
    position: absolute;
    bottom: 20px;
    width: 310px;
    height: 70px;
    border-radius: 50%;
    background: rgba(30, 69, 97, 0.16);
    filter: blur(20px);
}

.product-phone {
    position: relative;
    z-index: 2;
    width: 285px;
    height: 590px;
    padding: 9px;
    border-radius: 56px 56px 0 0;
    background: #15191e;
    box-shadow: 0 35px 90px rgba(15, 42, 61, 0.22);
}

.product-phone-island {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 50%;
    width: 92px;
    height: 25px;
    border-radius: 24px;
    background: #06080b;
    transform: translateX(-50%);
}

.product-screen {
    height: 100%;
    padding: 21px 27px 28px;
    border-radius: 47px 47px 0 0;
    background: linear-gradient(180deg, #f9fcfd 0%, #e9f3f8 100%);
}

.product-status {
    display: flex;
    justify-content: space-between;
    color: #687987;
    font-size: 0.65rem;
    font-weight: 700;
}

.product-app-name {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 44px;
    color: var(--color-navy);
    font-size: 0.92rem;
}

.product-app-name span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-ice-strong);
    box-shadow: 0 0 0 5px rgba(73, 169, 231, 0.12);
}

.product-screen > p {
    margin: 44px 0 8px;
    color: var(--color-ice-strong);
    font-size: 0.66rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-screen h3 {
    margin: 0;
    color: var(--color-navy);
    font-size: 2.1rem;
    font-weight: 620;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.product-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 30px;
}

.product-metrics div {
    padding: 16px 13px;
    border-radius: 15px;
    background: rgba(255,255,255,0.92);
    box-shadow: inset 0 0 0 1px rgba(32, 77, 108, 0.07);
}

.product-metrics span,
.product-metrics strong {
    display: block;
}

.product-metrics span {
    color: var(--color-gray-light);
    font-size: 0.6rem;
}

.product-metrics strong {
    margin-top: 4px;
    color: var(--color-navy);
    font-size: 0.78rem;
}

.product-rows {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.product-rows div {
    height: 44px;
    border-radius: 11px;
    background: rgba(255,255,255,0.76);
    box-shadow: inset 0 0 0 1px rgba(32, 77, 108, 0.05);
}

.product-details-section {
    padding: 110px 0;
    background:
        linear-gradient(110deg, #edf6fa 0%, #f8fbfd 62%, #edf5f9 100%);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.details-heading {
    max-width: 820px;
    margin-bottom: 44px;
}

.details-heading h2,
.development-grid h2,
.coming-card h2 {
    margin: 0;
    color: var(--color-navy);
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    font-weight: 510;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.detail-card {
    min-height: 260px;
    padding: 30px;
    border: 1px solid rgba(31, 76, 106, 0.08);
    border-radius: 20px;
    background: rgba(255,255,255,0.66);
}

.detail-number {
    color: var(--color-ice-strong);
    font-size: 0.74rem;
    font-weight: 760;
}

.detail-card h3 {
    margin: 44px 0 12px;
    color: var(--color-navy);
    font-size: 1.35rem;
    font-weight: 600;
}

.detail-card p {
    margin: 0;
    color: var(--color-gray);
    font-size: 0.92rem;
    line-height: 1.72;
}

.development-section {
    padding: 108px 0;
    background: var(--color-white);
}

.development-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 90px;
    align-items: center;
}

.development-copy {
    display: grid;
    gap: 16px;
}

.development-copy p {
    margin: 0;
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.85;
}

.coming-section {
    padding: 0 0 112px;
    background: var(--color-white);
}

.coming-card {
    min-height: 290px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 56px 64px;
    border: 1px solid rgba(31, 76, 106, 0.08);
    border-radius: var(--radius-large);
    background:
        linear-gradient(135deg, rgba(240, 248, 252, 0.98), rgba(248, 252, 254, 0.98));
    box-shadow: var(--shadow-soft);
}

.coming-card > div:first-child {
    max-width: 720px;
}

.coming-card > div:first-child > p:last-child {
    margin: 20px 0 0;
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.75;
}

.coming-mark {
    position: relative;
    flex: 0 0 auto;
    width: 98px;
    height: 142px;
    border: 1px dashed rgba(47, 115, 157, 0.3);
    border-radius: var(--radius-medium);
}

.coming-mark span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--color-ice-strong);
    transform: translate(-50%, -50%);
}

.coming-mark span:last-child {
    transform: translate(-50%, -50%) rotate(90deg);
}

@media (max-width: 1000px) {
    .software-hero-grid,
    .product-showcase,
    .development-grid {
        grid-template-columns: 1fr;
    }

    .software-hero-art {
        min-height: 320px;
    }

    .product-copy {
        padding: 54px;
    }

    .product-device {
        min-height: 520px;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .development-grid {
        gap: 34px;
    }
}

@media (max-width: 680px) {
    .software-hero-grid {
        min-height: auto;
    }

    .software-hero-copy {
        padding: 62px 0 34px;
    }

    .software-hero-copy h1 {
        font-size: clamp(2.7rem, 11vw, 4.4rem);
    }

    .software-hero-copy > p:last-child {
        font-size: 0.98rem;
    }

    .software-hero-art {
        min-height: 210px;
    }

    .software-hero-art img {
        width: 100px;
    }

    .software-glow {
        width: 270px;
        height: 270px;
    }

    .product-section {
        padding: 68px 0 74px;
    }

    .product-showcase {
        border-radius: 24px;
    }

    .product-copy {
        padding: 34px 28px 30px;
    }

    .product-lead {
        font-size: 1.12rem;
    }

    .product-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .product-actions .button {
        width: 100%;
    }

    .product-device {
        order: -1;
        min-height: 420px;
        padding-top: 34px;
    }

    .product-phone {
        width: 225px;
        height: 460px;
        border-radius: 46px 46px 0 0;
    }

    .product-screen {
        border-radius: 38px 38px 0 0;
        padding: 18px 22px 24px;
    }

    .product-screen h3 {
        font-size: 1.7rem;
    }

    .product-details-section,
    .development-section {
        padding: 72px 0;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .detail-card {
        min-height: 0;
        padding: 26px;
    }

    .detail-card h3 {
        margin-top: 28px;
    }

    .coming-section {
        padding-bottom: 76px;
    }

    .coming-card {
        min-height: 0;
        align-items: flex-start;
        padding: 34px 28px;
    }

    .coming-mark {
        width: 70px;
        height: 104px;
    }
}
