:root {
    --primary-color: #1870C8;
    --secondary-color: #F5F7FA;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --container-width: 1100px;
}

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

body {
    font-family: 'Nanum Gothic', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: 40px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-small {
    padding: 8px 15px;
    background: var(--primary-color);
    color: var(--white) !important;
    border-radius: 6px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #145da0;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: var(--secondary-color);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

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

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a202c;
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.app-screenshot {
    width: 100%;
    max-width: 350px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    background: var(--secondary-color);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* How to Section */
.how-to {
    padding: 100px 0;
    background: #f8fafc;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    background: #000;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    min-width: 200px;
    text-align: center;
}

/* Footer */
footer {
    padding: 60px 0;
    background: #1a202c;
    color: #a0aec0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.disclaimer {
    font-size: 0.85rem;
    margin-top: 15px;
    color: #718096;
}

.footer-contact {
    text-align: right;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
    transition: background 0.3s;
    display: inline-block;
    margin-bottom: 10px;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background: var(--white);
        padding: 20px 24px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
        gap: 16px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}
