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

:root {
    --primary-color: #2d5016;
    --primary-light: #4a7c23;
    --secondary-color: #1a1a1a;
    --text-color: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --background-dark: #0a0a0a;
    --background-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --accent-color: #d4a373;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 24px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

.btn-coming-soon {
    background: #e0e0e0;
    color: #999999;
    border-color: #e0e0e0;
    cursor: pointer;
}

.btn-coming-soon:hover {
    background: #d0d0d0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 120px 60px 60px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.8;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Section Title */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--background-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 20px;
}

.screenshots-gallery {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.screenshots-gallery::-webkit-scrollbar {
    height: 8px;
}

.screenshots-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.screenshots-gallery::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.screenshots-gallery::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.screenshot-item {
    flex-shrink: 0;
    text-align: center;
}

.screenshot-item img {
    width: 280px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.screenshot-item img:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--background-dark);
    color: white;
}

.about .section-title {
    color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.85);
}

.about-slogan {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-color);
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-slogan span {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
}

/* Newsletter Section */
.newsletter {
    padding: 100px 20px;
    background: var(--background-gray);
}

.newsletter-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 10px;
}

.form-group input[type="email"] {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus {
    border-color: var(--primary-color);
}

.form-group input[type="email"]::placeholder {
    color: #999;
}

.form-notice {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 15px;
}

.form-message {
    text-align: center;
    font-size: 0.95rem;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 50px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
    border-radius: 24px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 40px 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

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

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 280px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .features {
        padding: 70px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .screenshots {
        padding: 70px 20px;
    }

    .screenshots-gallery {
        gap: 20px;
    }

    .screenshot-item img {
        width: 220px;
    }

    .about {
        padding: 70px 20px;
    }

    .about-content p {
        font-size: 1rem;
    }

    .newsletter {
        padding: 70px 20px;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group input[type="email"],
    .form-group .btn {
        width: 100%;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image,
.feature-card,
.screenshot-item {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.5s;
}
