/* ========================================
   PrivateStater 랜딩 페이지 공통 스타일
   ======================================== */

:root {
    --bg: #000000;
    --surface: #0a0a0a;
    --border: #222222;
    --text: #ffffff;
    --text-muted: #888888;
    --primary: #ffffff;
    --accent: #3b82f6;
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(12, 1fr);
    padding: 20px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 60px;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 24px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

/* Bento Grid Items */
.bento-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.bento-item:hover {
    border-color: #333;
}

/* Hero Section */
.hero-main {
    grid-column: span 12;
    min-height: 500px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: transparent;
    position: relative;
    overflow: visible;
    border: none;
}

.hero-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, #0088ff40 0%, #000 50%);
    z-index: -1;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-desc {
    font-size: 1.25rem;
    color: #718399;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    background: var(--primary);
    color: #000;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    transition:
        transform 0.2s,
        opacity 0.2s;
    display: inline-block;
    border: 1px solid var(--primary);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
}

.cta-button.secondary:hover {
    border-color: var(--primary);
}

.cta-button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    margin-top: 60px;
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    margin-top: 8px;
    font-size: 0.9rem;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text);
}

.footer-business-info {
    margin-bottom: 30px;
}

.footer-business-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.business-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 16px;
}

.business-info-grid span,
.business-info-grid a {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.business-verify-link {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.2s;
}

.business-verify-link:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--text);
}

/* 언어 안내 배너 스타일 */

:root {
    --language-banner-height: 0px;
}

body.has-language-banner {
    padding-top: var(--language-banner-height);
}

.language-banner {
    background: rgba(5, 15, 30, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 99;
}

.language-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.language-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-banner-btn {
    background-color: var(--text);
    color: var(--bg);
    padding: 6px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}

.language-banner-btn:hover {
    opacity: 0.9;
}

.language-banner-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 4px 8px;
}

.language-banner-close:hover {
    color: var(--text);
}

/* 반응형 */
@media (max-width: 1024px) {
    .grid {
        gap: 14px;
    }

    .bento-item {
        padding: 32px;
    }

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

    .business-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .grid > * {
        grid-column: span 1 !important;
    }

    .bento-item {
        padding: 24px;
        border-radius: 18px;
    }

    .hero-main {
        padding: 60px 16px;
        min-height: auto;
    }

    h1 {
        font-size: clamp(2.4rem, 10vw, 3.2rem);
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .business-info-grid {
        grid-template-columns: 1fr;
    }

    .language-banner-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        height: auto;
        padding: 10px 16px;
        gap: 10px;
    }

    .language-banner-inner > span {
        flex: 0 0 auto;
        font-size: 0.85rem;
    }

    .banner-message-full {
        display: none !important;
    }

    .banner-message-short {
        display: inline !important;
    }

    .banner-btn-full {
        display: none !important;
    }

    .banner-btn-short {
        display: inline !important;
    }

    .language-banner-actions {
        flex: 0 0 auto;
        width: auto;
        justify-content: flex-start;
    }

    .language-banner-btn {
        padding: 5px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-main {
        padding: 50px 12px;
    }

    .bento-item {
        padding: 20px;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 12px 20px;
    }
}
