/* SignNow landing — 밝은 기업형 SaaS */
:root {
    --sn-blue: #1f6fff;
    --sn-blue-hover: #1858d6;
    --sn-navy: #0f2744;
    --sn-text: #1a2332;
    --sn-muted: #5c6578;
    --sn-border: #e4e9f0;
    --sn-bg: #f6f8fb;
    --sn-white: #ffffff;
    --sn-radius: 12px;
    --sn-shadow: 0 4px 24px rgba(15, 39, 68, 0.06);
    --sn-shadow-lg: 0 20px 50px rgba(15, 39, 68, 0.1);
    --sn-max: 1180px;
    --sn-header-h: 68px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.sn-landing {
    font-family: "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--sn-text);
    background: var(--sn-white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sn-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.sn-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--sn-header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sn-border);
}

.sn-header-inner {
    max-width: var(--sn-max);
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sn-logo img {
    height: 36px;
    width: auto;
}

.sn-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.sn-nav a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sn-muted);
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.sn-nav a:hover {
    color: var(--sn-navy);
    background: var(--sn-bg);
}

.sn-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.sn-link-login {
    font-size: 14px;
    font-weight: 500;
    color: var(--sn-muted);
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.15s;
}

.sn-link-login:hover {
    color: var(--sn-navy);
}

.sn-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6ba3ff 0%, #3b82f6 55%, #5b8def 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.22);
}

.sn-btn-primary:hover {
    background: linear-gradient(135deg, #5b94f5 0%, #2563eb 55%, #4a7de8 100%);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.28);
}

.sn-btn-primary--lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

.sn-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--sn-navy);
    background: var(--sn-white);
    border: 1px solid var(--sn-border);
    border-radius: 12px;
    transition: border-color 0.15s, background 0.15s;
}

.sn-btn-ghost:hover {
    border-color: #c5d0e0;
    background: var(--sn-bg);
}

/* 긴급 수정 안내 (랜딩 팝업) */
.sn-urgent-modal {
    border: none;
    padding: 0;
    max-width: calc(100% - 32px);
    width: 440px;
    background: transparent;
}

.sn-urgent-modal::backdrop {
    background: rgba(15, 39, 68, 0.42);
    backdrop-filter: blur(2px);
}

.sn-urgent-modal-panel {
    position: relative;
    padding: 24px 24px 20px;
    background: linear-gradient(165deg, #fffbf5 0%, #ffffff 48%, #f5f9ff 100%);
    border: 1px solid #e6d4b8;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(15, 39, 68, 0.18);
}

.sn-urgent-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b7280;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.sn-urgent-modal-close:hover {
    background: rgba(15, 39, 68, 0.06);
    color: var(--sn-navy);
}

.sn-urgent-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #9a5b14;
    letter-spacing: -0.02em;
    margin: 0 36px 12px 0;
    padding-left: 14px;
    border-left: 3px solid #e8a838;
}

.sn-urgent-modal-body {
    font-size: 14px;
    line-height: 1.65;
    color: #4a5568;
    font-weight: 500;
    margin: 0 0 20px;
}

.sn-urgent-modal-confirm {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6ba3ff 0%, #3b82f6 55%, #5b8def 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

.sn-urgent-modal-confirm:hover {
    background: linear-gradient(135deg, #5b94f5 0%, #2563eb 55%, #4a7de8 100%);
}

@media (max-width: 640px) {
    .sn-urgent-modal {
        width: 100%;
    }

    .sn-urgent-modal-panel {
        padding: 20px 18px 18px;
    }

    .sn-urgent-modal-body {
        font-size: 13px;
    }
}

/* Hero */
.sn-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafd 0%, #ffffff 55%);
}

.sn-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 55%;
    height: 90%;
    background: url("/static/images/landing/hero-bg-esign.png") center / cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 40%);
}

.sn-hero-inner {
    position: relative;
    max-width: var(--sn-max);
    margin: 0 auto;
    padding: 56px 28px 72px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
}

.sn-hero-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sn-blue);
    background: rgba(31, 111, 255, 0.08);
    border-radius: 100px;
    letter-spacing: -0.02em;
}

.sn-hero h1 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.03em;
    color: var(--sn-navy);
    margin-bottom: 18px;
}

.sn-hero-lead {
    font-size: 17px;
    color: var(--sn-muted);
    line-height: 1.65;
    margin-bottom: 12px;
    max-width: 480px;
}

.sn-hero-desc {
    font-size: 15px;
    color: #7a8496;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 460px;
}

.sn-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.sn-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
}

.sn-hero-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--sn-muted);
    max-width: 200px;
}

.sn-hero-point strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sn-text);
    margin-bottom: 2px;
}

.sn-hero-point svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--sn-blue);
}

/* Hero visual */
.sn-hero-visual {
    position: relative;
    min-height: 380px;
}

.sn-visual-glow {
    position: absolute;
    inset: 10% 5% 5% 15%;
    background: radial-gradient(ellipse at center, rgba(31, 111, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.sn-product-frame {
    position: relative;
    margin-left: auto;
    max-width: 520px;
    background: var(--sn-white);
    border-radius: 16px;
    border: 1px solid var(--sn-border);
    box-shadow: var(--sn-shadow-lg);
    overflow: hidden;
}

.sn-product-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #f0f3f8;
    border-bottom: 1px solid var(--sn-border);
}

.sn-product-chrome span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d8e3;
}

.sn-product-chrome span:first-child { background: #ff6b6b; }
.sn-product-chrome span:nth-child(2) { background: #ffc107; }
.sn-product-chrome span:nth-child(3) { background: #51cf66; }

.sn-product-chrome-title {
    margin-left: auto;
    font-size: 12px;
    color: var(--sn-muted);
    font-weight: 500;
}

.sn-product-frame img {
    width: 100%;
    vertical-align: top;
}

.sn-float-card {
    position: absolute;
    background: var(--sn-white);
    border: 1px solid var(--sn-border);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: var(--sn-shadow);
    font-size: 12px;
}

.sn-float-card--security {
    left: -8px;
    bottom: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
}

.sn-float-card--security svg {
    flex-shrink: 0;
    color: var(--sn-blue);
}

.sn-float-card--security strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--sn-navy);
}

.sn-float-card--status {
    right: -12px;
    top: 72px;
    width: 148px;
}

.sn-float-card--status .sn-status-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--sn-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sn-status-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--sn-muted);
    margin-bottom: 6px;
}

.sn-status-step.done { color: var(--sn-text); }
.sn-status-step.active { color: var(--sn-blue); font-weight: 600; }

.sn-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d8e3;
    flex-shrink: 0;
}

.sn-status-step.done .sn-status-dot { background: #51cf66; }
.sn-status-step.active .sn-status-dot {
    background: var(--sn-blue);
    box-shadow: 0 0 0 3px rgba(31, 111, 255, 0.2);
}

/* Features */
.sn-features {
    background: var(--sn-bg);
    border-top: 1px solid var(--sn-border);
    border-bottom: 1px solid var(--sn-border);
}

.sn-features-inner {
    max-width: var(--sn-max);
    margin: 0 auto;
    padding: 56px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sn-feature-card {
    background: var(--sn-white);
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius);
    padding: 28px 24px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.sn-feature-card:hover {
    border-color: #d0d9e8;
    box-shadow: var(--sn-shadow);
}

.sn-feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 111, 255, 0.08);
    border-radius: 10px;
    color: var(--sn-blue);
    margin-bottom: 16px;
}

.sn-feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--sn-navy);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.sn-feature-card p {
    font-size: 14px;
    color: var(--sn-muted);
    line-height: 1.55;
}

/* Trust bar */
.sn-trust {
    max-width: var(--sn-max);
    margin: 0 auto;
    padding: 40px 28px 56px;
}

.sn-trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 28px 32px;
    background: var(--sn-bg);
    border: 1px solid var(--sn-border);
    border-radius: 16px;
}

.sn-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sn-trust-item svg {
    flex-shrink: 0;
    color: var(--sn-blue);
    opacity: 0.9;
}

.sn-trust-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--sn-navy);
    margin-bottom: 4px;
}

.sn-trust-item span {
    font-size: 13px;
    color: var(--sn-muted);
    line-height: 1.45;
}

/* Footer */
.sn-footer {
    border-top: 1px solid var(--sn-border);
    padding: 24px 28px;
    text-align: center;
    font-size: 13px;
    color: #8b95a5;
}

/* Responsive */
@media (max-width: 1024px) {
    .sn-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }

    .sn-hero-visual {
        order: -1;
        min-height: auto;
        max-width: 520px;
        margin: 0 auto;
    }

    .sn-float-card--security {
        left: 8px;
        bottom: 24px;
    }

    .sn-float-card--status {
        right: 8px;
    }

    .sn-features-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .sn-trust-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sn-nav {
        display: none;
    }

    .sn-header-inner {
        padding: 0 16px;
    }

    .sn-hero-inner,
    .sn-features-inner,
    .sn-trust {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sn-features-inner,
    .sn-trust-inner {
        grid-template-columns: 1fr;
    }

    .sn-float-card--status {
        display: none;
    }
}
