:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --text-main: #111827;
    --text-muted: #4b5563;
    --bg-main: #ffffff;
    --bg-accent: #f9fafb;
    --bg-card: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --container-width: 1200px;
}

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

body {
    font-family:
        "Asta Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: keep-all;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

.logo img {
    height: 36px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.15rem;
}

.btn-playstore img {
    height: 54px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background:
        radial-gradient(circle at 10% 10%, rgba(79, 70, 229, 0.08), transparent),
        radial-gradient(circle at 90% 90%, rgba(236, 72, 153, 0.08), transparent);
}

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

.hero-title {
    font-size: 4rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 28px;
}

.sub-title {
    font-size: 2.2rem;
    color: var(--text-muted);
    font-weight: 600;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 24px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.mockup-container {
    width: 320px;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-container:hover {
    transform: rotateY(0) rotateX(0);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 200%; /* Mockup aspect ratio */
}

.app-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 36px;
    box-shadow: 20px 40px 80px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.app-screenshot.active {
    opacity: 1;
    z-index: 2;
}

/* Community Values Section */
.community-values {
    padding: 80px 0;
    background-color: var(--bg-accent);
    text-align: center;
}

.value-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.myeongjo-title {
    font-family: "Nanum Myeongjo", serif;
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 32px;
    color: #333;
}

.value-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.heart-pulse {
    font-size: 2.5rem;
    margin-top: 30px;
    animation: pulse 1.5s infinite;
}

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

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

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 72px;
}

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

.feature-card {
    padding: 48px;
    border-radius: 32px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.1);
}

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

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(236, 72, 153, 0.1));
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 800;
}

.cta p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.bmc-container {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 80px 0;
    background: white;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 40px;
    color: var(--text-muted);
    font-weight: 600;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer .container {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .sub-title {
        font-size: 1.6rem;
    }
    .myeongjo-title {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
}
