/* ========================================
   Palmpoko Landing Page - Fun & Cute Style
   ======================================== */

:root {
    --primary: #FF6B9D;
    --primary-dark: #E91E63;
    --secondary: #7C4DFF;
    --accent: #FFD93D;
    --bg-gradient-1: #FFF5F8;
    --bg-gradient-2: #F3E5FF;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(255, 107, 157, 0.2);
    --shadow-hover: 0 20px 60px rgba(255, 107, 157, 0.3);
    --radius: 20px;
    --radius-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    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);
}

.logo-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

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

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

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

.btn-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 2px solid #eee;
    padding: 8px 14px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.lang-dropdown-btn:hover {
    border-color: var(--primary);
}

.lang-flag {
    font-size: 1.1rem;
}

.lang-arrow {
    font-size: 0.6rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: var(--bg-gradient-1);
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(124, 77, 255, 0.1));
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   Hero Section
   ======================================== */

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

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

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

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid #eee;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

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

/* Hero Image */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.mascot-image {
    max-width: 650px;
    width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(255, 107, 157, 0.3));
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 40px;
    padding: 15px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-gradient-1), var(--bg-gradient-2));
    border-radius: 28px;
    overflow: hidden;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    background: var(--white);
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.palm-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

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

.preview-content p {
    font-weight: 600;
    color: var(--text-dark);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 3;
}

.card-1 {
    top: 60px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    left: -30px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 60px;
    right: -10px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* ========================================
   Differentiators Section
   ======================================== */

.differentiators {
    padding: 100px 30px;
    background: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.diff-card {
    background: var(--bg-gradient-1);
    padding: 30px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.diff-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.diff-card.highlight-card {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(124, 77, 255, 0.1));
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.diff-card.highlight-card::before {
    content: '⭐ 핵심';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.diff-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.diff-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.diff-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.diff-card strong {
    color: var(--primary);
    font-weight: 700;
}

.diff-tag {
    display: inline-block;
    margin-top: 15px;
    background: var(--white);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--secondary);
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: 100px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

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

.feature-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
}

/* ========================================
   How It Works Section
   ======================================== */

.how-it-works {
    padding: 100px 30px;
    background: var(--white);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-gradient-1);
    border-radius: var(--radius);
    position: relative;
    flex: 1;
    min-width: 200px;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.step-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

/* ========================================
   Reviews Section
   ======================================== */

.reviews {
    padding: 100px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-mascot {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-top: 20px;
}

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

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.review-stars {
    margin-bottom: 15px;
}

.review-card p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    font-style: italic;
}

.reviewer {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   Download Section
   ======================================== */

.download {
    padding: 100px 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-content {
    position: relative;
    z-index: 2;
}

.download h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.download > .download-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

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

.store-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.store-icon {
    font-size: 2rem;
}

.store-text {
    text-align: left;
    white-space: nowrap;
}

.store-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

.store-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.download-note {
    margin-top: 30px;
    color: var(--white);
    font-weight: 600;
}

.download-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.deco-item {
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.deco-item:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.deco-item:nth-child(2) { top: 20%; right: 15%; animation-delay: 1.5s; }
.deco-item:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 3s; }
.deco-item:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 4.5s; }

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

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

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

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

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

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

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

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

    .hero-image {
        margin-top: 40px;
    }

    .floating-card {
        display: none;
    }

    .step-arrow {
        display: none;
    }

    .steps {
        flex-direction: column;
    }

    .step {
        width: 100%;
        max-width: 350px;
    }

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

    .differentiators {
        padding: 60px 20px;
    }
}

@media (max-width: 600px) {
    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .lang-dropdown {
        order: -1;
    }

    .lang-dropdown-btn {
        padding: 6px 10px;
    }

    .lang-name {
        display: none;
    }

    .lang-dropdown-menu {
        right: auto;
        left: 0;
    }

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

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

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

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

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .store-btn {
        width: auto;
        justify-content: center;
        flex-direction: row !important;
        padding: 12px 20px;
        gap: 8px;
    }

    .store-icon {
        font-size: 1.5rem;
    }

    .store-text .store-label {
        font-size: 0.6rem;
    }

    .store-text .store-name {
        font-size: 0.9rem;
    }

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