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

:root {
    --primary-color: #5B7553;
    --primary-dark: #4A5F44;
    --primary-light: #7A9672;
    --secondary-color: #E8F5E9;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --background: #FFFFFF;
    --background-alt: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --gradient-primary: linear-gradient(135deg, #5B7553 0%, #7A9672 100%);
    --gradient-hero: linear-gradient(135deg, rgba(91, 117, 83, 0.05) 0%, rgba(122, 150, 114, 0.05) 100%);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-preview {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-download-btn {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(91, 117, 83, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--secondary-color);
    z-index: -1;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 32px;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.phone-mockup {
    position: relative;
    width: 320px;
    height: auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 12px;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: black;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

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

.feature-card {
    position: relative;
    padding: 40px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-card.featured {
    background: var(--gradient-primary);
    color: white;
}

.feature-card.featured .feature-icon {
    color: white;
}

.feature-card.featured .feature-title {
    color: white;
}

.feature-card.featured .feature-description {
    color: rgba(255, 255, 255, 0.9);
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.feature-icon {
    margin-bottom: 24px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: var(--background-alt);
}

.screenshots-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    padding: 20px;
}

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

.screenshot-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.screenshot-item img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.screenshot-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 32px;
    background: var(--secondary-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 24px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Download CTA Section */
.download-cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 48px;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.download-btn:hover:not(.disabled) {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.download-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.download-btn svg {
    width: 40px;
    height: 40px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-small {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.download-large {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.install-guide {
    max-width: 500px;
    margin: 0 auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    text-align: left;
}

.install-guide-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.install-steps {
    margin: 0;
    padding-left: 24px;
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.install-steps li {
    margin-bottom: 8px;
}

.apk-download {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.apk-download:hover {
    background: linear-gradient(135deg, #45A049 0%, #5CB660 100%);
}

/* Footer */
.footer {
    padding: 60px 0 32px;
    background: var(--text-dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-description {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

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

    .phone-mockup {
        width: 280px;
    }

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

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .navbar .container {
        padding: 12px 16px;
    }

    .nav-download-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .screenshots-carousel {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}
