:root {
    --bg-start: #ffffff;
    --bg-end: #e0e3ec;
    --text-main: #111111;
    --text-sub: #55596b;
    --nav-link: #222222;
    --nav-active: #3fbf63;
    

    --btn-primary-bg: #111111;
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: #6749ff;
    --btn-secondary-text: #ffffff;
    --login-bg: #111111;
    --login-text: #ffffff;

    --radius-pill: 999px;
    --radius-card: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Poppins', 'Noto Sans KR', system-ui, -apple-system,
        BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background: radial-gradient(
        circle at 0% 0%,
        var(--bg-start) 0,
        var(--bg-end) 55%,
        #d7dae5 100%
    );
    -webkit-font-smoothing: antialiased;
}

.page {
    min-height: 100vh;
}


.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2.5rem;
}


.site-header {
    padding-top: 1rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-mark {
    width: 32px;
    height: 26px;
    position: relative;
}

.brand-mark::before,
.brand-mark::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #000000;
    border-radius: 8px;
    transform: rotate(225deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.brand-mark::before {
    left: 0;
    top: 5px;
}

.brand-mark::after {
    right: 0;
    top: 0;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    font-size: 0.92rem;
}

.nav-link {
    color: var(--nav-link);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.15s ease-out;
}

.nav-link:hover {
    color: #000000;
}

.nav-links .nav-link.active {
    color: var(--nav-active);
}


.hero {
    padding: 6rem 0 5rem; 
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}


.hero-stats {
    flex: 0 0 400px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;       
    max-width: 400px;
    margin-left: auto;
}


.stat-card {
    position: relative;
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.28), transparent 55%),
                rgba(7, 8, 16, 0.95);
    border-radius: 1.4rem;
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(129, 140, 248, 0.7);
    box-shadow:
        0 0 18px rgba(129, 140, 248, 0.7),
        0 20px 35px rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #f9fafb;
    transition: transform 0.18s ease-out,
                box-shadow 0.18s ease-out,
                border-color 0.18s ease-out;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 25px rgba(129, 140, 248, 0.9),
        0 26px 45px rgba(15, 23, 42, 0.95);
    border-color: rgba(196, 181, 253, 0.95);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.15rem;
}
html {
    overflow-y: scroll; 
}
.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: radial-gradient(circle, #a855f7 0%, #4f46e5 70%);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.9);
    color: #fff;
    flex-shrink: 0;
}

.stat-title {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #f9fafb;
}

.stat-text {
    font-size: 0.86rem;
    line-height: 1.45;
    color: #e5e7eb;
    opacity: 0.9;
}


@media (max-width: 960px) {
    .hero-stats {
        flex: none;
        width: 100%;
        max-width: none;
    }
}



.hero-copy {
    max-width: 500px;
}

.hero-title {
    font-size: clamp(2.8rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.4rem;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-sub);
    margin-bottom: 2.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
        background 0.12s ease-out, color 0.12s ease-out;
}


.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}


.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    box-shadow: 0 10px 24px rgba(103, 73, 255, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(103, 73, 255, 0.65);
}

.btn-arrow {
    margin-left: 0.35rem;
    font-size: 1.1rem;
}


.btn-outline-light {
    border-radius: var(--radius-pill);
    border: 1px solid #000000;
    background: transparent;
    color: #000000;
    padding: 0.7rem 1.7rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.btn-outline-light:hover {
    background: #000000;
    color: #ffffff;
}


.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.triangle {
    position: absolute;
    width: 230px;
    height: 230px;
    background: #000000;
    border-radius: 48px;
    transform: rotate(225deg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.triangle.big {
    right: 18%;
    top: 10%;
}

.triangle.small {
    right: 40%;
    top: 35%;
    width: 190px;
    height: 190px;
}


.section-title-lg {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
}


.panel-section {
    position: relative;
    padding: 3.5rem 0 3.8rem;
    background: #050509; 
    overflow: hidden;
}

.panel-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;

    top: -90px; 
    height: 140px; 

    background: linear-gradient(
        180deg,
        #e0e3ec 0%,  
        #d6dae4 20%,  
        #a8adb9 40%, 
        #6a6f7e 60%,  
        #343743 80%,  
        #050509 100% 
    );

    pointer-events: none;
    z-index: 0;
}


.panel-section > * {
    position: relative;
    z-index: 1;
}

.panel-inner {
    position: relative;
    z-index: 1; 
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
}

.panel-image img {
    width: 100%;
    max-width: 520px;
    display: block;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.panel-copy {
    max-width: 380px;
    color: #ffffff;
}

.panel-feature-list {
    list-style: none;
    font-size: 0.96rem;
    color: #c3c4cf;
}

.panel-feature-list li + li {
    margin-top: 0.4rem;
}


.why-section {
    padding: 4rem 0 4.2rem;
    background: #ffffff;
    color: #111111;
}

.why-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 3.2rem;
    align-items: center;
}

.why-left {
    display: flex;
    justify-content: center;
}

.why-card {
    background: #6749ff;
    border-radius: 18px;
    padding: 1.7rem 1.6rem;
    color: #ffffff;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.why-avatar {
    margin-bottom: 1rem;
    text-align: center;
}

.why-avatar img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.why-quote {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.1rem;
}

.why-meta {
    display: flex;
    justify-content: flex-start;
}

.why-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.why-right .section-title-lg {
    color: #111111;
}

.why-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 1.6rem;
}


.benefits-section {
    padding: 4rem 0 4.5rem;
    background: #000000;
    color: #ffffff;
}

.benefits-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.benefits-title {
    font-size: 1.7rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: #050507;
    border-radius: var(--radius-card);
    padding: 1.6rem 1.4rem 1.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.benefit-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.benefit-text {
    font-size: 0.9rem;
    color: #d0d0d5;
}


@media (max-width: 960px) {
    .container {
        padding: 0 1.6rem;
    }

    .hero-inner {
        flex-direction: column !important;
        align-items: center;
    }
    .hero-copy {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .typing-wrap {
        white-space: normal !important;
        word-break: break-word !important;
        max-width: 100%;
    }

    .hero-actions {
        width: 100%;
        display: flex;
        justify-content: center !important;
        margin-top: 20px;
    }

    .hero-visual {
        min-height: 260px;
    }

    .triangle.big {
        right: 20%;
        top: 5%;
    }

    .triangle.small {
        right: 50%;
        top: 40%;
    }

    .panel-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

    .panel-copy {
        max-width: none;
    }

    .why-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .why-left {
        order: -1;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
    }
    .hero-stats {
        display: none;
    }
    .docs-card {
    margin-left: -1.6rem;
    margin-right: -1.6rem;
    }
    .nav-container {
        padding-top: 0.3rem;
    }
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .text {
    white-space: normal; 
    word-break: break-all;
    }

    .hero {
        padding: 4.5rem 0 3.5rem;
        background: linear-gradient(
            180deg,
            #e3e6f2 0%,
            #e0e3ec 40%,
            #7a7f8f 75%,
            #050509 100%
        );
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: auto; 
        min-width: 220px; 
        justify-content: center; 
    }

    .hero-visual {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.typing-wrap {
    display: inline-flex;
    align-items: baseline;
}

#typing-text {
    white-space: nowrap;
}

.typing-cursor {
    display: inline-block;
    margin-left: 2px;
    font-weight: 400;
    transform: none;
    line-height: 1em;
    animation: cursor-blink 0.8s steps(2, start) infinite;
}


@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}


.docs-body {
    background: #f3f4f6;
    color: #111827;
}

.docs-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}

.docs-main {
    padding: 2.5rem 0 4rem;
}

.docs-hero {
    padding-bottom: 1.5rem;
}

.docs-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.docs-subtitle {
    font-size: 0.96rem;
    color: #6b7280;
    line-height: 1.6;
}

.docs-section {
    padding-top: 1.8rem;
}

.docs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}


.docs-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.6rem 1.5rem 1.8rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.docs-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.docs-card-text {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.docs-block + .docs-block {
    margin-top: 1.2rem;
}

.docs-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.docs-url {
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 0.85rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    overflow-x: auto;
}


.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;


  display: block;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.docs-table th,
.docs-table td {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid #e5e7eb;
}

.docs-table th {
    text-align: left;
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 500;
}

.docs-table tr:last-child td {
    border-bottom: none;
}

.docs-json {
    background: #111827;
    color: #e5e7eb;
    border-radius: 10px;
    border: 1px solid #111827;
    padding: 0.75rem 0.8rem;
    font-size: 0.82rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    overflow-x: auto;
    white-space: pre;
}


.docs-right {
    position: sticky;
    top: 1.5rem;
}

.code-tabs {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 999px;
    background: #f3f4f6;
    border: 2px solid #d1d5db;  
    box-shadow: 0 0 0 1px #ffffff; 
    margin-bottom: 0.9rem;
}

.code-tab {
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 0.45rem 1.1rem;  
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s ease-out, color 0.12s ease-out,
                box-shadow 0.12s ease-out;
}

.code-tab.is-active {
    background: #111827;
    color: #f9fafb;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.2); 
}

.code-panels {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 1rem;
}

.code-panel {
    display: none;
}

.code-panel.is-active {
    display: block;
}

.code-block {
    font-size: 0.82rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    white-space: pre;
}


@media (max-width: 960px) {
    .docs-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .docs-right {
        position: static;
    }
}


.platform-tabs {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 999px;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    box-shadow: 0 0 0 1px #ffffff;
    margin-bottom: 0.9rem;
    gap: 0.2rem;
}

.platform-tab {
    border: none;
    background: transparent;
    color: #6b7280;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s ease-out, color 0.12s ease-out,
                box-shadow 0.12s ease-out;
}

.platform-tab.is-active {
    background: #111827;
    color: #f9fafb;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.2);
}

.platform-panel {
    display: none;
}

.platform-panel.is-active {
    display: block;
}

.hljs {
    background: none !important;
}