:root {
    --primary-color: #FF7E47; /* Warm Coral */
    --primary-light: #FFB347; /* Warm Peach */
    --primary-dark: #E66A35;
    --secondary-color: #FFF4E6; /* Very Light Orange for BG */
    --accent-color: #6B8E23; /* Olive Green (Natural) */
    --background-color: #FFFBF2; /* Warm Ivory */
    --text-color: #2D241E; /* Dark Chocolate Brown */
    --text-muted: #6B5E51; /* Muted Brown */
    --light-gray: #F0EAD6; /* Cream/Eggshell */
    --white: #FFFFFF;
    --glass: rgba(255, 251, 242, 0.8);
    --container-width: 1200px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --card-shadow: 0 10px 40px rgba(45, 36, 30, 0.06);
    --card-hover-shadow: 0 30px 60px rgba(45, 36, 30, 0.12);
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Header & Nav */
header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 126, 71, 0.1);
    transition: all 0.3s var(--ease);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo img {
    width: 40px;
    height: 40px;
}

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

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

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 126, 71, 0.2);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
}

.hero-content {
    flex: 1;
}

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

.hero-content h1 span {
    color: var(--primary-color);
    background: linear-gradient(120deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 550px;
    line-height: 1.6;
}

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

.hero-image img {
    width: 80%;
    max-width: 400px;
    filter: drop-shadow(0 20px 60px rgba(45, 36, 30, 0.12));
}

/* Download Badges (Shared Layout) */
.download-btns, .download-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.download-badges {
    justify-content: center;
}

.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 150px; /* Uniform width for both store badges */
    background: transparent;
    transition: transform 0.3s var(--ease);
}

.badge img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.badge:hover {
    transform: translateY(-4px);
}

/* Specific adjustment for Google Play badge to look visually balanced */
.badge img[alt*="Google Play"] {
    transform: scale(1.15); /* Compensate for the smaller visual size of the Play Store badge */
}

.badge[href="#"] {
    cursor: default;
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

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

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

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

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

.feature-card {
    padding: 48px;
    background: var(--white);
    border-radius: 40px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.5s var(--ease);
    border: 1px solid rgba(255, 126, 71, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 126, 71, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--card-hover-shadow);
    background: #FFF9F5;
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--primary-color);
    background: var(--secondary-color);
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* Screenshots */
.screenshots {
    background: #f8f9fa;
    padding: 100px 0;
    overflow: hidden;
}

.screenshot-slider {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.screenshot-slider::-webkit-scrollbar {
    height: 6px;
}

.screenshot-slider::-webkit-scrollbar-track {
    background: transparent;
}

.screenshot-slider::-webkit-scrollbar-thumb {
    background: rgba(255, 126, 71, 0.3);
    border-radius: 10px;
}

.screenshot-slider::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.screenshot-item {
    min-width: 250px;
    scroll-snap-align: start;
}

.screenshot-item img {
    width: 250px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Download Section */
.download-section {
    padding: 140px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -300px;
    right: -200px;
}


/* Footer */
footer {
    padding: 100px 0 60px;
    background: #1A1410;
    color: #A39D97;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Family Highlight Section */
.family-highlight {
    padding: 120px 0;
    background: linear-gradient(180deg, #FFF9F5 0%, #FFF1E6 100%);
    text-align: center;
}

.highlight-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.highlight-header .badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(46, 196, 182, 0.3);
}

.highlight-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.highlight-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Family Features Grid */
.family-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.family-card {
    background: var(--white);
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: var(--card-shadow);
    transition: all 0.5s var(--ease);
    border: 1px solid rgba(255, 126, 71, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.family-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(255, 126, 71, 0.2);
    background: #FFFAF8;
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--primary-color);
    transition: all 0.3s var(--ease);
}

.family-card:hover .card-icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.family-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.family-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.05rem;
}

.card-icon-wrapper svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}



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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

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

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
}

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

.copyright {
    color: #666;
    font-size: 0.85rem;
}

.feature-card .icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2.5;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 50px;
    }
    
    .logo span {
        display: none;
    }
    
    .nav-links {
        gap: 15px;
    }

    .download-btns {
        justify-content: center;
    }
}
