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

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --dark: #121214;
    --gray: #a1a1aa;
    --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

/* 언어 전환 */
html[lang="en"] [data-lang="ko"],
html[lang="ko"] [data-lang="en"] { display: none !important; }

/* Navigation */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(18, 18, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--primary), #fbbf24);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--gray); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--white); }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }

.lang-toggle {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
}
.lang-toggle button {
    background: transparent;
    color: var(--gray);
    border: 0;
    padding: 0.5rem 0.7rem;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: rgba(249, 115, 22, 0.25); color: var(--white); }

.contact-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}
.contact-btn:hover { background: var(--primary-dark); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    max-width: 100vw;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #fdba74;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    letter-spacing: -0.02em;
}
.hero h1 span, .stat-number {
    background: linear-gradient(135deg, var(--primary), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-number { background: none; -webkit-text-fill-color: var(--white); }

.hero > p { font-size: 1.2rem; color: var(--gray); max-width: 620px; margin-bottom: 3rem; }

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--white); }

.stats { display: flex; gap: 4rem; margin-top: 5rem; flex-wrap: wrap; justify-content: center; }
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; }
.stat-label { color: var(--gray); font-size: 0.9rem; margin-top: 0.25rem; }

/* Services */
.services { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }

.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.section-title p { color: var(--gray); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}
.service-card:hover { border-color: rgba(249, 115, 22, 0.5); transform: translateY(-4px); }

.service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary), #fbbf24);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
.service-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* Apps */
.apps { padding: 6rem 2rem; background: rgba(255, 255, 255, 0.02); }
.apps-container { max-width: 1200px; margin: 0 auto; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.app-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}
.app-card:hover { border-color: rgba(249, 115, 22, 0.5); transform: translateY(-2px); }

.app-icon { width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0; object-fit: cover; }
.app-icon-text {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), #fbbf24);
    font-weight: 700; font-size: 0.95rem;
}

.app-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.15rem; }
.app-info p { color: var(--gray); font-size: 0.85rem; }

.store-links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.store-links a, .store-links span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    text-decoration: none;
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.3);
}
.store-links a:hover { background: rgba(249, 115, 22, 0.25); }
.store-links span { color: var(--gray); background: transparent; border-color: rgba(255, 255, 255, 0.12); }

/* Featured video */
.featured {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
}
.featured-text .hero-badge { margin-bottom: 1.25rem; }
.featured-text h3 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.featured-text p { color: var(--gray); margin-bottom: 2rem; }

.phone {
    justify-self: center;
    width: min(260px, 70vw);
    aspect-ratio: 886 / 1920;
    border-radius: 36px;
    padding: 9px;
    background: linear-gradient(160deg, #3f3f46, #121214);
    box-shadow: 0 30px 80px rgba(249, 115, 22, 0.25);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; display: block; background: #000; }

/* Contact */
.contact { padding: 6rem 2rem; max-width: 800px; margin: 0 auto; text-align: center; }
.contact h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.contact p { color: var(--gray); font-size: 1.1rem; margin-bottom: 2rem; }
.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    word-break: break-all;
}
.contact-email:hover { background: rgba(249, 115, 22, 0.2); }

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}
.footer-info { margin-bottom: 0.6rem; line-height: 1.7; }

@media (max-width: 768px) {
    nav { padding: 1rem; }
    .nav-links { display: none; }
    .contact-btn { display: none; }
    .stats { gap: 2rem; }
    .stat-number { font-size: 2rem; }
    .featured { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
    .contact-email { padding: 1rem 1.25rem; font-size: 1rem; }
}
