@import url("../fonts/Paperlogy/Paperlogy.css");

:root {
    --bg-main: #0b0d10;
    --bg-card: #15181d;
    --bg-card-strong: #1f242b;
    --text-main: #f8fafc;
    --text-sub: #cbd5e1;
    --text-muted: #94a3b8;
    --brand: #38bdf8;
    --brand-dark: #0284c7;
    --accent: #f97316;
    --line: rgba(148, 163, 184, 0.18);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    --font: "Paperlogy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--text-main);
    background:
        radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.16), transparent 30%),
        radial-gradient(circle at 8% 72%, rgba(249, 115, 22, 0.12), transparent 28%),
        linear-gradient(135deg, #0b0d10 0%, #111827 52%, #0b0d10 100%);
}

.wrap {
    width: min(860px, 92vw);
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 0;
}

.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(145deg, rgba(21, 24, 29, 0.96), rgba(31, 36, 43, 0.9)),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 36%);
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow);
    padding: clamp(30px, 5vw, 58px);
}

.hero::before {
    position: absolute;
    top: -90px;
    right: -70px;
    width: 240px;
    height: 240px;
    content: "";
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
}

.hero::after {
    position: absolute;
    left: -80px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    content: "";
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.1);
}

.logo-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: min(260px, 68vw);
    min-height: 92px;
    margin: 0 auto 22px;
    padding: 14px 22px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
}

.eyebrow {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: 0 auto 12px;
    padding: 7px 12px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 999px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.brand {
    color: var(--brand-dark);
    white-space: nowrap;
}

.lead {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 18px auto 0;
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.72;
    color: var(--text-sub);
    word-break: keep-all;
}

.url-box {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(56, 189, 248, 0.32);
    background: rgba(11, 13, 16, 0.62);
    color: inherit;
    text-align: center;
    text-decoration: none;
    word-break: break-all;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.url-box span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.url-box em {
    color: var(--brand);
    font-style: normal;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 900;
}

.url-box:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.62);
    box-shadow: 0 16px 34px rgba(56, 189, 248, 0.12);
}

.lead_top {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 16px auto 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    word-break: keep-all;
}

.cta-row {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 16px;
    font-size: 20px;
    /* font-weight: 900; */
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-align: center;
}

.btn-main {
    background: linear-gradient(130deg, var(--brand), var(--brand-dark));
    color: #ffffff;
    padding: 16px 34px;
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.28);
    flex: 1 1 230px;
    max-width: 420px;
}

.btn-sub {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    padding: 14px 18px;
    flex: 1 1 190px;
}

.btn:hover {
    transform: translateY(-2px);
}

.content-box {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    color: #e2e8f0;
    text-align: center;
    line-height: 1.8;
    font-weight: 700;
}

footer {
    margin: 18px 4px 0;
    font-size: 0.83rem;
    text-align: center;
    color: var(--text-muted);
}

/* 두 번째 섹션: 링크모음 안내 */
.guide {
    margin-top: 28px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 3.5vw, 40px) clamp(22px, 3.2vw, 36px) clamp(28px, 3.5vw, 40px);
}

.guide-title {
    margin: 0 0 18px;
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    line-height: 1.4;
    color: var(--text-main);
    padding-bottom: 14px;
    border-bottom: 2px solid #e0e7ff;
}

.guide-lead {
    margin: 0 0 22px;
    font-size: 0.98rem;
    line-height: 1.88;
    color: var(--text-sub);
    text-align: justify;
    word-break: keep-all;
}

.guide-card {
    margin: 0 0 16px;
    padding: 18px 18px 20px 22px;
    border-radius: 14px;
    background: #e1e1e1;
    border: 1px solid #898f97;
    /* border-left: 4px solid var(--brand); */
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.guide-card--last {
    margin-bottom: 0;
}

.guide-card-title {
    margin: 0 0 10px;
    font-size: 1.02rem;
    line-height: 1.45;
    font-weight: 800;
    color: var(--text-main);
}

.guide-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.86;
    color: #4b5563;
    text-align: justify;
    word-break: keep-all;
}

@media (max-width: 760px) {
    .wrap {
        min-height: auto;
        padding: 24px 0;
    }

    .hero {
        border-radius: 18px;
        padding: 26px 18px;
    }

    .btn-main {
        max-width: none;
    }
}
