:root {
    --primary-color: #4ECDC4;      /* Fresh Teal */
    --primary-dark: #3DBDB4;
    --secondary-color: #FF6B6B;    /* Coral Red */
    --accent-color: #FFE66D;       /* Sunny Yellow */
    --text-color: #2D3436;         /* Soft Black */
    --bg-color: #4ECDC4;           /* Teal Background */
    --white: #FFFFFF;
    --border-radius: 30px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
    --font-heading: 'Fredoka', 'Nunito', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    /* Doodle textur pattern */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h10v10H10z' fill='%23ffffff' fill-opacity='0.1'/%3E%3Ccircle cx='50' cy='50' r='5' fill='%23ffffff' fill-opacity='0.1'/%3E%3Cpath d='M80 80l10-10l10 10l-10 10z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    line-height: 1.6;
    font-size: 18px;
    overflow-x: hidden;
}

/* Wavy / Card Layout Wrapper */
.main-wrapper {
    background-color: var(--white);
    margin: 40px 20px;
    border-radius: 40px;
    box-shadow: var(--shadow);
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Add wavy top decoration to wrapper */
.main-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: repeating-linear-gradient(
        45deg,
        var(--secondary-color),
        var(--secondary-color) 10px,
        var(--white) 10px,
        var(--white) 20px
    );
    z-index: 10;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    color: var(--primary-color);
    font-size: 3.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 0px #FFE0E9;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 0 var(--primary-dark);
}

.btn-primary:active {
    transform: translateY(5px);
    box-shadow: 0 0px 0 var(--primary-dark);
}

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

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 5px 0 #73A03F;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #73A03F;
}

.section-padding {
    padding: 80px 0;
}

/* Header */
header {
    background-color: transparent;
    padding: 20px 0;
    position: relative;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center; /* Center items vertically */
    background: rgba(255,255,255,0.95);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s;
    font-size: 0.95rem; /* Better scaling */
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 5px;
    padding-left: 15px;
    border-left: 1px solid #eee;
}

.lang-btn {
    font-size: 1.4rem;
    line-height: 1;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.lang-btn:hover, .lang-btn.active {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    position: relative;
    /* Cute clouds or shapes in background could go here */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}

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

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #666;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.app-store-btn {
    background-color: var(--text-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    transition: transform 0.3s;
}

.app-store-btn:hover {
    transform: scale(1.05);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 3px solid #F0F4F8;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.icon-placeholder {
    width: 100px;
    height: 100px;
    background-color: #FFF4D3; /* Pastel Yellow */
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.feature-card:nth-child(2n) .icon-placeholder {
    background-color: #E6F2FF; /* Pastel Blue */
}
.feature-card:nth-child(3n) .icon-placeholder {
    background-color: #E8F5E9; /* Pastel Green */
}

/* Footer (Childish Style) */
footer {
    background-color: #FFF4D3; /* Light Yellow Footer */
    color: var(--text-color);
    padding: 80px 0 20px;
    margin-top: 0;
    border-top-left-radius: 50% 40px;
    border-top-right-radius: 50% 40px;
}

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

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    transition: 0.3s;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 2px dashed rgba(0,0,0,0.05);
    font-size: 1rem;
    font-weight: bold;
    color: #666;
}

/* Sticky Mobile CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none; /* Show only on mobile via media query */
    justify-content: center;
    z-index: 999;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
}

/* Avatars & Images styling */
.avatar-img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

.screenshot-container {
    background: #000;
    border-radius: 30px;
    border: 8px solid #333;
    overflow: hidden;
    display: inline-block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 9999;
    max-width: 90%;
    width: 600px;
    border: 2px solid var(--primary-color);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translate(-50%, 100px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.cookie-text {
    font-size: 0.9rem;
    color: #666;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.btn-cookie-decline {
    background: #f0f4f8;
    color: #666;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-wrapper {
        margin: 0;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .hero {
        padding: 40px 0;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        align-items: center;
        justify-content: center;
        gap: 40px;
        font-size: 1.5rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 20px;
    }
}

