/* FacePark Landing - Clean Notepad & Organic Curves Theme */

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

:root {
    --primary: #FF4F00;
    --black: #1A1A1A;
    --text: #2D2D2D;
    --text-sub: #585858;
    --text-muted: #8C8C8C;
    --bg: #ffffff;
    --bg-soft: #FAFAFA;
    --border: #E8E8E8;
    --font: 'Noto Serif JP', 'Noto Serif KR', 'Inter', -apple-system, serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Navigation Bar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 32px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--black);
}
.logo-icon { font-size: 1.5rem; }
.logo-text { color: var(--black); }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px;
}
.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
    display: inline-block;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
    background: var(--black);
    color: #fff;
}

/* Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: var(--font);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #E64500; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* Hero Section */
#hero {
    position: relative;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--bg);
    width: 100%;
}
.hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.hero-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--black);
}
.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--text-sub);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.75;
}
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 56px;
    flex-wrap: wrap;
    margin-top: 48px;
}
.stat { text-align: center; }
.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}
.stat-divider { display: none; }

/* Background organic shapes and curves */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}
.shape-right {
    position: absolute;
    right: -300px;
    top: 80px;
    width: 850px;
    height: 850px;
    background: rgba(255, 202, 40, 0.20);
    border-radius: 50%;
}
.shape-left {
    position: absolute;
    left: -200px;
    bottom: 160px;
    width: 550px;
    height: 550px;
    background: rgba(158, 142, 254, 0.15);
    border-radius: 50%;
}
.shape-bubble-tr {
    position: absolute;
    right: 120px;
    top: 140px;
    width: 32px;
    height: 32px;
    background: #9E8EFE;
    border-radius: 50%;
}
.shape-bubble-ml {
    position: absolute;
    left: 180px;
    bottom: 220px;
    width: 24px;
    height: 24px;
    background: #9E8EFE;
    border-radius: 50%;
}
.shape-bubble-dark {
    position: absolute;
    right: 250px;
    bottom: 280px;
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 26, 0.85);
    border-radius: 50%;
}
.shape-bubble-white1 {
    position: absolute;
    right: 200px;
    top: 380px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
}
.shape-bubble-white2 {
    position: absolute;
    right: 380px;
    top: 120px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
}

/* 6 Gold Gradient Stars Constellation S-Curve */
.gold-star-constellation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.star-wrapper {
    position: absolute;
}
.star-wrapper svg {
    width: 100%;
    height: 100%;
    fill: url(#gold-grad);
    filter: drop-shadow(0px 2px 6px rgba(255, 179, 0, 0.45));
}
.star-1 { left: 80px; top: 360px; width: 32px; height: 32px; }
.star-2 { left: 100px; top: 310px; width: 36px; height: 36px; }
.star-3 { left: 110px; top: 260px; width: 40px; height: 40px; }
.star-4 { left: 95px; top: 210px; width: 44px; height: 44px; }
.star-5 { left: 70px; top: 160px; width: 52px; height: 52px; }
.star-6 { left: 45px; top: 60px; width: 64px; height: 64px; }

/* Panda Logo Card */
.panda-card-container {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    z-index: 10;
    position: relative;
}
.panda-card {
    width: 140px;
    height: 140px;
    background: #ffffff;
    border-radius: 24px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.panda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 200, 0, 0.15);
}
.panda-card img {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    object-fit: cover;
}
.panda-card-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1A1A1A;
    font-family: var(--font);
}

/* 4 MCP Custom Document Cards */
.mcp-document-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 800px;
    margin: 20px auto 36px;
    z-index: 10;
    position: relative;
}
.mcp-doc-card {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.mcp-doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.mcp-card-left {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    text-align: left;
}
.mcp-card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 16px;
    flex-shrink: 0;
}
.mcp-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mcp-card-title {
    font-size: 1.05rem;
    font-weight: 700;
}
.mcp-card-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
}
.mcp-card-divider {
    width: 1px;
    align-self: stretch;
}
.mcp-card-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    cursor: pointer;
    flex-shrink: 0;
}
.youtube-play-icon {
    width: 32px;
    height: 32px;
    fill: #FF0000;
    transition: transform 0.2s ease;
}
.mcp-card-right:hover .youtube-play-icon {
    transform: scale(1.15);
}
.youtube-btn-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: #FF0000;
    margin-top: 4px;
}

/* Card Themes */
.word-card { border-color: rgba(68, 138, 255, 0.4); background: rgba(68, 138, 255, 0.02); }
.word-card:hover { border-color: rgba(68, 138, 255, 0.8); }
.word-card .mcp-card-icon-wrapper { background: rgba(68, 138, 255, 0.1); border: 1px solid rgba(68, 138, 255, 0.2); }
.word-card .mcp-card-title, .word-card .mcp-card-subtitle { color: #448AFF; }
.word-card .mcp-card-divider { background: rgba(68, 138, 255, 0.15); }

.pptx-card { border-color: rgba(255, 171, 64, 0.4); background: rgba(255, 171, 64, 0.02); }
.pptx-card:hover { border-color: rgba(255, 171, 64, 0.8); }
.pptx-card .mcp-card-icon-wrapper { background: rgba(255, 171, 64, 0.1); border: 1px solid rgba(255, 171, 64, 0.2); }
.pptx-card .mcp-card-title, .pptx-card .mcp-card-subtitle { color: #E65100; }
.pptx-card .mcp-card-divider { background: rgba(255, 171, 64, 0.15); }

.xlsx-card { border-color: rgba(76, 175, 80, 0.4); background: rgba(76, 175, 80, 0.02); }
.xlsx-card:hover { border-color: rgba(76, 175, 80, 0.8); }
.xlsx-card .mcp-card-icon-wrapper { background: rgba(76, 175, 80, 0.1); border: 1px solid rgba(76, 175, 80, 0.2); }
.xlsx-card .mcp-card-title, .xlsx-card .mcp-card-subtitle { color: #2E7D32; }
.xlsx-card .mcp-card-divider { background: rgba(76, 175, 80, 0.15); }

.pdf-card { border-color: rgba(255, 82, 82, 0.4); background: rgba(255, 82, 82, 0.02); }
.pdf-card:hover { border-color: rgba(255, 82, 82, 0.8); }
.pdf-card .mcp-card-icon-wrapper { background: rgba(255, 82, 82, 0.1); border: 1px solid rgba(255, 82, 82, 0.2); }
.pdf-card .mcp-card-title, .pdf-card .mcp-card-subtitle { color: #C62828; }
.pdf-card .mcp-card-divider { background: rgba(255, 82, 82, 0.15); }

/* Language Switch CTA Buttons */
.lang-ctas-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 36px 0 48px;
    z-index: 10;
    position: relative;
}
.btn-lang-cta {
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.btn-en {
    background: linear-gradient(135deg, #FFF59D 0%, #FFD54F 50%, #FFB300 100%);
    color: #1A1A1A;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
}
.btn-en:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.45);
}
.btn-ja, .btn-ko {
    background: #ffffff;
    color: #2D2D2D;
    border: 1.5px solid var(--border);
}
.btn-ja:hover, .btn-ko:hover {
    transform: translateY(-2px);
    border-color: #FFB300;
    background: rgba(255, 202, 40, 0.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

/* YouTube Main Player */
.youtube-player-container {
    width: 100%;
    max-width: 480px;
    margin: 24px auto 48px;
    z-index: 10;
    position: relative;
}
.youtube-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}
.youtube-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}
.youtube-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.youtube-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.youtube-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.15);
}
.youtube-play-btn {
    position: absolute;
    width: 68px;
    height: 48px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.youtube-card:hover .youtube-play-btn {
    background: #FF0000;
}
.youtube-play-svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}
.youtube-info-bar {
    padding: 16px 20px;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
}
.youtube-red-circle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.youtube-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2D2D2D;
    text-align: left;
}

/* 4 Custom Bullets */
.custom-bullets-container {
    width: 100%;
    max-width: 580px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    z-index: 10;
    position: relative;
}
.custom-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.custom-bullet-icon {
    font-size: 1.4rem;
    line-height: 1.2;
    flex-shrink: 0;
}
.custom-bullet-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D2D2D;
    line-height: 1.5;
}

/* Footer Section */
#footer {
    border-top: 1px solid var(--border);
    padding: 0 24px;
    background: var(--bg);
    position: relative;
    z-index: 10;
}
.footer-container { max-width: 1060px; margin: 0 auto; }
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0 28px;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .logo-icon { font-size: 1.3rem; }
.footer-brand .logo-text { font-size: 1.1rem; font-weight: 800; color: var(--black); }
.footer-tagline { color: var(--text-muted); font-size: 0.82rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    #navbar { padding: 0 16px; }
    .hero-stats { gap: 32px; }
    .footer-top { flex-direction: column; align-items: center; text-align: center; }
    .nav-right { gap: 10px; }
    .lang-btn { padding: 4px 8px; font-size: 0.72rem; }
}

@media (max-width: 600px) {
    .mcp-doc-card { flex-direction: column; }
    .mcp-card-divider { width: 100%; height: 1px; }
    .mcp-card-right { padding: 12px; flex-direction: row; gap: 8px; }
    .youtube-btn-text { margin-top: 0; }
    
    .star-1 { left: 20px; top: 240px; width: 18px; height: 18px; }
    .star-2 { left: 28px; top: 210px; width: 20px; height: 20px; }
    .star-3 { left: 32px; top: 180px; width: 22px; height: 22px; }
    .star-4 { left: 28px; top: 150px; width: 24px; height: 24px; }
    .star-5 { left: 20px; top: 120px; width: 28px; height: 28px; }
    .star-6 { left: 12px; top: 90px; width: 34px; height: 34px; }
}
