@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    --primary: #2AC1BC;
    --primary-glow: rgba(42, 193, 188, 0.3);
    --secondary: #4f55ff;
    --bg-dark: #0a0b10;
    --bg-surface: #12141d;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --white: #ffffff;
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Base Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: -1px;
}

.nav-logo img {
    height: 32px;
    transition: var(--transition-fast);
}

.nav-logo:hover img {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--white);
}

.nav-btn-login {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition-fast);
}

.nav-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 85, 255, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-wrap {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    animation: fadeInDown 0.8s backwards;
}

.hero-badge.price {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -3px;
    animation: fadeInUp 0.8s backwards 0.2s;
}

.hero-title span {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-bottom: 40px;
    word-break: keep-all;
    animation: fadeInUp 0.8s backwards 0.4s;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s backwards 0.6s;
}

.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Feature Showcase Image */
.hero-mockup {
    margin-top: 60px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s backwards 1s;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-mockup img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Features Grid */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-dim);
}

.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(42, 193, 188, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Screenshot Details */
.showcase {
    padding: 100px 0;
    background: #0d0f17;
}

/* Showcase Rows */
.showcase-row {
    display: flex; align-items: center; gap: 40px; margin-bottom: 60px;
}
.showcase-img { flex: 0.5; max-width: 280px; }
.showcase-text { flex: 1.5; }

.img-preview {
    width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease; border: 1px solid var(--border);
}
.img-preview:hover { transform: scale(1.01); }

.showcase-row:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-img {
    display: flex;
    justify-content: center;
}

.showcase-img img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary);
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 30px;
    word-break: keep-all;
}

.showcase-feature-list {
    list-style: none;
}

.showcase-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 600;
}

.showcase-feature-list li i, .showcase-feature-list li svg {
    color: var(--primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Service Status Table */
.service-status {
    padding: 100px 0;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.status-card {
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.status-card.active {
    border-color: var(--primary);
}

.status-card.active::before {
    content: 'AVAILABLE';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.7rem;
    font-weight: 900;
    padding: 5px 40px;
    transform: rotate(45deg);
}

.status-card.pending {
    opacity: 0.7;
}

.status-card h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.status-badge.active {
    background: rgba(42, 193, 188, 0.2);
    color: var(--primary);
}

.status-badge.pending {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px 0;
    background: var(--bg-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    color: var(--text-dim);
    max-width: 300px;
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-dim);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

/* Platform Showcase Tabs */
.platform-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.tab-btn { 
    padding: 12px 24px; border-radius: 50px; border: 1px solid var(--border); 
    background: var(--bg-surface); color: var(--text-dim); font-weight: 700; font-size: 1rem;
    cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all 0.3s ease;
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 15px rgba(0, 98, 255, 0.3); }
.tab-btn.active img { filter: grayscale(0) brightness(5) !important; opacity: 1 !important; }

.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }

.platform-tag { font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; display: inline-block; text-transform: uppercase; }
.platform-tag.bm { background: rgba(42, 193, 188, 0.1); color: #2ac1bc; }
.platform-tag.cp { background: rgba(0, 98, 255, 0.1); color: #0062ff; }

/* Pending Showcase */
.pending-showcase { text-align: center; padding: 60px 20px; background: var(--bg-surface); border-radius: 30px; border: 2px dashed var(--border); }
.pending-icon-wrap { margin-bottom: 24px; }
.construction-icon { width: 60px; height: 60px; color: var(--primary); opacity: 0.5; }
.pending-steps { display: flex; flex-direction: column; gap: 12px; max-width: 300px; margin: 30px auto 0; text-align: left; }
.step-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--text-dim); }
.step-item.done { color: var(--primary); }
.step-item i { width: 18px; height: 18px; }
.spin { animation: spin 2s linear infinite; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Showcase Row Inverse */
.showcase-row.inverse { flex-direction: row-reverse; }

@media (max-width: 768px) {
    .showcase-row.inverse { flex-direction: column; }
    .platform-tabs { flex-wrap: wrap; }
}

/* Gateway Overlay - Perfect Centering */
.gateway-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #ffffff; z-index: 10000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
.gateway-overlay.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }

.gateway-content {
    width: 100%; max-width: 900px; padding: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-logo {
    display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.gateway-logo img { width: 36px; height: 36px; }
.gateway-logo h2 { font-size: 1.6rem; font-weight: 900; color: #111; letter-spacing: -0.5px; margin: 0; }

.gateway-intro { text-align: center; margin-bottom: 30px; }
.gateway-intro h1 { font-size: 2.2rem; font-weight: 900; color: #111; margin-bottom: 10px; line-height: 1.25; }
.gateway-intro p { font-size: 1.1rem; color: #666; font-weight: 500; line-height: 1.5; }

.gateway-q {
    font-size: 1.4rem; font-weight: 700; color: #555; margin-bottom: 30px;
    letter-spacing: -0.5px; opacity: 0.8;
}

/* Gateway Overlay Redesign - Ultra Simple Cards */
.gateway-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%; max-width: 700px;
}
.gateway-card {
    border-radius: 20px; padding: 40px 20px; cursor: pointer; border: none;
    transition: all 0.4s ease; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.gateway-card span { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; word-break: keep-all; text-align: center; }

.gateway-card.bm { background: #2ac1bc; }
.gateway-card.bm:hover { background: #25aeaa; transform: scale(1.02); box-shadow: 0 20px 40px rgba(42,193,188,0.25); }

.gateway-card.cp { background: #e71d36; }
.gateway-card.cp:hover { background: #d01a30; transform: scale(1.02); box-shadow: 0 20px 40px rgba(231,29,54,0.25); }

.gateway-card.both { 
    background: #111; grid-column: span 2; padding: 45px 20px; 
    border: 1.5px solid #222; transform-origin: center;
}
.gateway-card.both:hover { background: #000; border-color: #0062ff; transform: scale(1.015); box-shadow: 0 20px 50px rgba(0,98,255,0.2); }
.gateway-card.both span { font-size: 1.4rem; color: #fff; }

@media (max-width: 650px) {
    .gateway-q { font-size: 1.7rem; margin-bottom: 35px; }
    .gateway-grid { grid-template-columns: 1fr; gap: 15px; padding: 0 10px; }
    .gateway-card { padding: 40px 20px; }
    .gateway-card.both { grid-column: span 1; padding: 35px 20px; }
    .gateway-card span { font-size: 1.2rem; }
}

/* Global Section Title Dark Context */
.pricing .section-title h2, .pricing .section-title p { color: #111 !important; }
.pricing .plan-badge { color: #fff !important; }

/* Pricing Section - Absolute Dark Text Guarantee */
.pricing { background: #fdfdfd; padding: 100px 0; color: #1a1b1e !important; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.pricing-card { 
    background: #fff; border-radius: 24px; padding: 50px 40px; position: relative;
    border: 1.5px solid var(--border); transition: all 0.4s ease; text-align: center;
    color: #1a1b1e !important; 
}
.pricing-card.bm { border-color: rgba(42,193,188,0.3); }
.pricing-card.cp { border-color: rgba(231,29,54,0.3); }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }

.plan-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: #111; color: #fff !important; padding: 6px 16px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 800; white-space: nowrap;
}
.plan-badge.shine { background: #0062ff; animation: pulse 2s infinite; }

.plan-header h3 { font-size: 1.25rem; font-weight: 700; color: #444 !important; margin-bottom: 20px; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 4px; color: #111 !important; }
.currency { font-size: 1.5rem; font-weight: 700; color: #111 !important; }
.amount { font-size: 3.5rem; font-weight: 900; color: #111 !important; }
.period { font-size: 1.1rem; color: #666 !important; font-weight: 600; }

.free-trial-banner {
    margin-top: 60px; background: rgba(0,98,255,0.05); border-radius: 20px;
    padding: 30px; display: flex; align-items: center; justify-content: center; gap: 15px;
    border: 1.5px dashed #0062ff; color: #111 !important;
}
.free-trial-banner i { width: 32px; height: 32px; color: #0062ff; }
.free-trial-banner p { font-size: 1.1rem; color: #333 !important; font-weight: 600; margin: 0; }
.free-trial-banner strong { color: #0062ff !important; font-weight: 800; }

/* Gateway Text Guarantee */
.gateway-logo h2, .gateway-intro h1, .gateway-intro p, .gateway-q, .gateway-footer p { color: #111 !important; }
.gateway-footer { opacity: 0.8 !important; }

.free-trial-banner {
    margin-top: 60px; background: rgba(0,98,255,0.05); border-radius: 20px;
    padding: 30px; display: flex; align-items: center; justify-content: center; gap: 15px;
    border: 1.5px dashed #0062ff;
}
.free-trial-banner i { width: 32px; height: 32px; color: #0062ff; }
.free-trial-banner p { font-size: 1.1rem; color: var(--text-main); font-weight: 600; margin: 0; }
.free-trial-banner strong { color: #0062ff; font-weight: 800; }

@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(0,98,255,0.4); } to { box-shadow: 0 0 0 15px rgba(0,98,255,0); } }

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; padding: 0 20px; }
    .amount { font-size: 2.8rem; }
    .free-trial-banner { flex-direction: column; text-align: center; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .showcase-row {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-actions {
        flex-direction: column;
        padding: 0 20px;
    }
}
