:root {
    --bg: #020616;
    --bg-soft: #071126;
    --panel: rgba(6, 13, 29, 0.9);
    --panel-border: rgba(102, 132, 255, 0.18);
    --text: #f6f8ff;
    --muted: rgba(220, 228, 255, 0.74);
    --blue: #4263ff;
    --blue-soft: #7b8dff;
    --blue-bright: #87a5ff;
    --line: rgba(141, 164, 255, 0.18);
    --shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Manrope", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans KR", "Malgun Gothic", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 10%, rgba(66, 99, 255, 0.18), transparent 22%),
        radial-gradient(circle at 76% 22%, rgba(54, 104, 255, 0.24), transparent 24%),
        linear-gradient(180deg, #030612 0%, #030816 56%, #02040c 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-noise,
.page-glow {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.page-noise {
    inset: 0;
    background-image:
        linear-gradient(rgba(116, 144, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(116, 144, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, #000 12%, transparent 78%);
}

.page-glow-left {
    left: -120px;
    top: 50px;
    width: 340px;
    height: 620px;
    background: radial-gradient(circle, rgba(66, 99, 255, 0.32), transparent 72%);
}

.page-glow-right {
    right: -80px;
    top: 110px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(66, 99, 255, 0.24), transparent 70%);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, 1500px);
    margin: 18px auto;
    padding: 24px 28px 26px;
    border: 1px solid rgba(101, 121, 219, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(9, 16, 34, 0.96), rgba(5, 9, 23, 0.94)),
        linear-gradient(90deg, rgba(66, 99, 255, 0.08), transparent);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 64% 28%, rgba(66, 99, 255, 0.18), transparent 24%);
    pointer-events: none;
}

.site-header,
.hero,
.cases-section,
.market-strip,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(126, 149, 255, 0.12);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-family: "Unbounded", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-mark {
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 800;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 34px;
}

.site-nav a {
    color: rgba(234, 239, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 180ms ease;
}

.site-nav a:hover {
    color: var(--blue-bright);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.02);
}

.lang-btn {
    min-width: 36px;
    min-height: 32px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(223, 231, 255, 0.8);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
}

.lang-btn:hover,
.lang-btn.is-active {
    color: #fff;
    background: rgba(66, 99, 255, 0.26);
}

.header-cta,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, #5574ff, #3654f1);
    color: #fff;
    font-size: 0.96rem;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(66, 99, 255, 0.34);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(66, 99, 255, 0.44);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(460px, 0.94fr);
    gap: 36px;
    padding: 42px 0 34px;
    align-items: center;
}

.hero-copy {
    max-width: 690px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(109, 132, 255, 0.26);
    background: rgba(10, 18, 39, 0.76);
    color: var(--blue-bright);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-badge-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(66, 99, 255, 0.24);
}

.hero h1 {
    margin: 22px 0 0;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.hero h1 span {
    color: var(--blue);
}

.hero-description {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.72;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-top: 24px;
    color: rgba(232, 238, 255, 0.88);
    font-size: 1rem;
}

.hero-services span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-services span::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, #5f7bff, #2947ff);
    box-shadow: 0 0 12px rgba(66, 99, 255, 0.5);
}

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

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    border: 1px solid rgba(125, 147, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(237, 241, 255, 0.92);
    font-weight: 700;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.secondary-button:hover {
    border-color: rgba(125, 147, 255, 0.42);
    background: rgba(255, 255, 255, 0.06);
}

.process-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.process-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(127, 149, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.process-card strong {
    display: inline-block;
    color: var(--blue-bright);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
}

.process-card p {
    margin: 12px 0 0;
    color: rgba(226, 233, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.55;
}

.hero-media {
    position: relative;
    min-height: 560px;
}

.hero-media-glow {
    position: absolute;
    inset: 60px 40px 40px 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 99, 255, 0.48), rgba(66, 99, 255, 0.08) 52%, transparent 72%);
    filter: blur(24px);
}

.device-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding-top: 18px;
    overflow: visible;
}

.laptop-frame {
    position: relative;
    width: min(100%, 720px);
    padding: 22px 22px 30px;
    border-radius: 24px 24px 14px 14px;
    background: linear-gradient(180deg, #0f1324, #040813);
    border: 2px solid rgba(173, 189, 255, 0.18);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.device-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(236, 241, 255, 0.82);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.device-bottomline {
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: calc(100% + 34px);
    height: 12px;
    transform: translateX(-50%);
    border-radius: 0 0 24px 24px;
    background: linear-gradient(180deg, #8d96a9, #626b80);
    box-shadow: 0 24px 30px rgba(0, 0, 0, 0.28);
}

.phone-frame {
    position: absolute;
    right: 18px;
    bottom: -8px;
    width: min(28vw, 196px);
    padding: 14px 10px 12px;
    border-radius: 34px;
    background: linear-gradient(180deg, #0f1527, #050810);
    border: 2px solid rgba(195, 206, 255, 0.18);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5);
}

.phone-speaker {
    width: 82px;
    height: 10px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgba(240, 244, 255, 0.14);
}

.phone-frame img {
    width: 100%;
}

.cases-section {
    padding-top: 14px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.section-kicker {
    margin: 0 0 8px;
    color: rgba(165, 181, 255, 0.84);
    font-size: 0.95rem;
    font-weight: 700;
}

.section-head h2 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-link {
    color: var(--blue-bright);
    font-weight: 700;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.case-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(126, 149, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(17, 23, 42, 0.88), rgba(7, 11, 22, 0.96)),
        linear-gradient(180deg, rgba(66, 99, 255, 0.06), transparent);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.case-card:hover {
    transform: translateY(-3px);
    border-color: rgba(126, 149, 255, 0.34);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.case-tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(96, 76, 255, 0.16);
    color: #b9b0ff;
    font-size: 0.78rem;
    font-weight: 700;
}

.case-tag-green {
    background: rgba(72, 184, 126, 0.16);
    color: #9ff0bd;
}

.case-tag-gold {
    background: rgba(201, 145, 55, 0.16);
    color: #ffd18c;
}

.case-card h3 {
    margin: 0;
    font-size: 1.72rem;
    letter-spacing: -0.04em;
}

.case-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.58;
}

.case-image {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(136, 159, 255, 0.12);
}

.case-image img {
    transition: transform 220ms ease;
}

.case-card:hover .case-image iframe {
    transform: scale(1.03);
}

.live-preview {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(160, 177, 255, 0.12);
    background: linear-gradient(180deg, #0b1225, #060a15);
}

.live-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    transform-origin: top left;
    transition: transform 220ms ease;
}

.live-preview-laptop {
    aspect-ratio: 16 / 10;
}

.live-preview-laptop iframe {
    width: 1600px;
    height: 1000px;
    transform: scale(0.4);
}

.live-preview-phone {
    aspect-ratio: 10 / 18;
    border-radius: 24px;
}

.live-preview-phone iframe {
    width: 390px;
    height: 844px;
    transform: scale(0.42);
}

.live-preview-card {
    aspect-ratio: 16 / 9;
}

.live-preview-card iframe {
    width: 1600px;
    height: 900px;
    transform: scale(0.25);
}

.market-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    padding: 18px 22px;
    border-radius: 20px;
    border: 1px solid rgba(126, 149, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.market-strip p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.market-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.market-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(234, 239, 255, 0.82);
    font-size: 0.84rem;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(126, 149, 255, 0.12);
}

.footer-kicker {
    margin: 0 0 8px;
    color: rgba(165, 181, 255, 0.84);
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-copy h2 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.footer-copy p:last-child {
    margin: 14px 0 0;
    max-width: 720px;
    color: var(--muted);
    line-height: 1.68;
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 12px;
}

.footer-contacts a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(126, 149, 255, 0.16);
    color: rgba(234, 239, 255, 0.9);
}

.footer-contacts a:hover {
    border-color: rgba(126, 149, 255, 0.34);
}

@media (max-width: 1260px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-media {
        min-height: 460px;
    }

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

    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-contacts {
        justify-content: flex-start;
    }
}

@media (max-width: 920px) {
    .page-shell {
        width: min(100% - 20px, 1500px);
        padding: 18px;
    }

    .site-header {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        justify-content: flex-start;
        gap: 10px 18px;
    }

    .header-tools {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .lang-switcher {
        width: 100%;
        justify-content: space-between;
    }

    .header-cta,
    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .process-points,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .section-head,
    .market-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .market-list {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        gap: 24px;
        padding-top: 30px;
    }

    .site-nav {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-nav a {
        font-size: 0.88rem;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-services {
        gap: 12px;
        font-size: 0.92rem;
    }

    .hero-media {
        min-height: 320px;
    }

    .laptop-frame {
        padding: 14px 14px 22px;
        border-radius: 18px 18px 10px 10px;
    }

    .device-bottomline {
        width: calc(100% + 34px);
        height: 10px;
        bottom: -8px;
    }

    .phone-frame {
        width: 112px;
        right: 2px;
        bottom: -2px;
        border-radius: 28px;
    }

    .live-preview-phone iframe {
        transform: scale(0.287);
    }


    .brand-name {
        font-size: 1.2rem;
    }

    .case-card h3 {
        font-size: 1.4rem;
    }
}
