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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    line-height: 1.8;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    text-decoration: none;
}

.logo span {
    color: #4CB050;
}

.app-icon-link {
    margin-left: 8px;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.nav-links a .logo-icon {
    margin-right: 4px;
}

.nav-links .icon-link {
    margin-right: 0;
    padding-right: 4px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #4CB050;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 80px;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    max-width: 800px;
}

.hero h1 span {
    background: linear-gradient(135deg, #4CB050 0%, #2E7D32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Section Common */
.section {
    padding: 100px 40px;
    max-width: 980px;
    margin: 0 auto;
}

.section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section p {
    font-size: 16px;
    color: #444;
    margin-bottom: 16px;
}

.section ul {
    list-style: none;
    margin-bottom: 24px;
}

.section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #444;
}

.section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #4CB050, #2E7D32);
    border-radius: 50%;
}

.highlight {
    color: #4CB050;
    font-weight: 600;
}

.goal {
    font-size: 18px;
    font-weight: 600;
    color: #4CB050;
    margin: 24px 0;
}

/* Features Section */
.features {
    background: #f5faf5;
    padding: 100px 40px;
}

.features-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 40px;
}

.features-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.features-content p {
    font-size: 16px;
    color: #444;
    margin-bottom: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Quote */
blockquote {
    border-left: 4px solid #4CB050;
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: #666;
}

/* Divider */
hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 60px 0;
}

/* Mission Section */
.mission {
    background: linear-gradient(135deg, #4CB050 0%, #2E7D32 100%);
    padding: 80px 40px;
    text-align: center;
    color: #fff;
}

.mission h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 16px;
}

.mission p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content (for sub pages) */
.page-content {
    padding: 140px 40px 100px;
    max-width: 980px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.page-content p {
    font-size: 16px;
    color: #444;
    margin-bottom: 16px;
}

.page-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.page-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #444;
    font-size: 16px;
}

.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #4CB050, #2E7D32);
    border-radius: 50%;
}

.page-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.page-content ol li {
    margin-bottom: 8px;
    color: #444;
    font-size: 16px;
}

.page-content a {
    color: #4CB050;
    text-decoration: none;
    font-weight: 500;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.page-content table th,
.page-content table td {
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    text-align: left;
}

.page-content table th {
    background: #f5faf5;
    font-weight: 600;
    color: #1a1a1a;
}

.page-content table td {
    color: #444;
}

.page-content hr {
    margin: 40px 0;
}

/* Info Box */
.info-box {
    margin: 24px 0;
}

.info-box p {
    margin-bottom: 8px;
}

/* Download Section */
.download-section {
    display: flex;
    align-items: center;
    gap: 48px;
    margin: 24px 0;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

.qr-code p {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

.store-badges {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.store-badge img {
    height: 50px;
    transition: transform 0.2s;
}

.store-badge img[alt*="App Store"] {
    height: 60px;
}

.store-badge img[alt*="Google Play"] {
    height: 70px;
}

.store-badge:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .download-section {
        flex-direction: column;
        gap: 24px;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 16px;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer p {
    color: #666;
    font-size: 13px;
}

.footer-logo {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-logo:hover {
    color: #4CB050;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: #4CB050;
}

.mobile-menu a .logo-icon {
    width: 24px;
    height: 24px;
    margin-right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .section {
        padding: 60px 20px;
    }

    .features {
        padding: 60px 20px;
    }

    .mission {
        padding: 60px 20px;
    }

    .page-content {
        padding: 100px 20px 60px;
    }

    .page-content table {
        font-size: 12px;
    }

    .page-content table th,
    .page-content table td {
        padding: 8px;
    }

    .footer-links a {
        display: block;
        margin: 8px 0;
    }
}
