@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Sans+JP:wght@400;700&family=Noto+Sans+KR:wght@400;700&display=swap');

:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --accent-color: #FF9800;
    --text-color: #444;
    --bg-color: #FDF9F3;
    --card-bg: #FFFFFF;
    --footer-bg: #2E3440;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Inter', 'Noto Sans KR', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 249, 243, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.logo-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-weight: 500;
    font-size: 0.7rem;
    color: #888;
    letter-spacing: -0.01em;
}

.logo img {
    height: 32px;
    border-radius: 8px;
}

.lang-switch {
    display: flex;
    gap: 15px;
}

.lang-switch a {
    text-decoration: none;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 5px;
    transition: background var(--transition-speed);
}

.lang-switch a:hover {
    background: rgba(76, 175, 80, 0.1);
}

/* Sections */
section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    gap: 50px;
    margin-top: 80px;
    background: url('../images/home_background.png') no-repeat center;
    background-size: cover;
    border-radius: 30px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 249, 243, 0.4);
    z-index: 1;
}

.hero-content {
    flex: 1;
    z-index: 2;
    animation: fadeInL 1s ease-out;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
    animation: fadeInR 1s ease-out;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #555;
    max-width: 500px;
}

@keyframes fadeInL {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInR {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px;
}

.btn i {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.btn-gp {
    background: #000;
    color: #fff;
}

.btn-as {
    background: #000;
    color: #fff;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn small {
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
}

.btn span {
    font-size: 1.1rem;
    line-height: 1;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-speed);
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.feature-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    transition: transform 0.5s ease;
}

.feature-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

/* About Section */
.about-box {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #FFF;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.03);
}

.about-text {
    flex: 1.5;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Screenshot Gallery */
.screenshots {
    background: var(--bg-color);
    padding: 80px 0;
    text-align: center;
}

.screenshots h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-dark);
}

.screenshot-container {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 20px 5%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.screenshot-container::after {
    content: '';
    flex: 0 0 5%; /* Matches the left padding */
}

.screenshot-container::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 280px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
    border: 6px solid #FFF;
    background: #FFF;
    scroll-snap-align: center;
}

.screenshot-item:hover {
    transform: translateY(-10px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 60px 5% 30px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.footer-links a {
    color: #AAA;
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 5%;
        min-height: auto;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero p { margin: 0 auto 2.5rem; }
    .cta-buttons { justify-content: center; }
    .about-box { flex-direction: column; padding: 40px; }
}

@media (max-width: 600px) {
    .btn { width: 100%; }
}
