@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&display=swap');

:root {
    --primary: #FFB700;
    --secondary: #FF4D91;
    --accent: #4FC3F7;
    --background: #FFF9FE;
    --text: #2D3436;
    --white: #FFFFFF;
    --soft-shadow: 0 10px 30px rgba(0,0,0,0.05);
    --hover-shadow: 0 20px 40px rgba(255, 77, 145, 0.15);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
header {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
}

.hero::before {
    content: '🎨';
    position: absolute;
    top: -20px;
    left: 10%;
    font-size: 60px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '🌈';
    position: absolute;
    bottom: 20px;
    right: 10%;
    font-size: 60px;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite reverse;
}

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

h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text);
}

.subtitle {
    font-size: 20px;
    color: #636E72;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FF9100, #FF3D00);
    border-radius: 30px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 20px 40px rgba(255, 145, 0, 0.3);
    border: 4px solid var(--white);
}

/* Screenshots Section */
.screenshots {
    padding: 40px 0 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 183, 0, 0.05));
}

.screenshot-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.screenshot-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.screenshot-item {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screenshot-item:hover {
    transform: scale(1.03);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--soft-shadow);
    border: 8px solid var(--white);
}

/* Feature Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 40px;
    box-shadow: var(--soft-shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 183, 0, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 24px;
}

.feature-card h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text);
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #636E72;
}

.badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--secondary);
    color: var(--white);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 800;
    transform: rotate(45deg);
    text-transform: uppercase;
}

/* Content Sections */
.section {
    padding: 80px 0;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 183, 0, 0.1);
}

h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text);
}

p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #444;
}

.policy-list {
    list-style: none;
}

.policy-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-weight: 500;
}

.policy-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 2px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 2px solid rgba(0,0,0,0.03);
    text-align: center;
}

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

.footer-links a {
    text-decoration: none;
    color: #B2BEC3;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.copyright {
    margin-top: 40px;
    font-size: 14px;
    color: #B2BEC3;
}

/* Utility */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 77, 145, 0.2);
}

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

/* Language Selector */
.lang-selector {
    position: relative;
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--white);
    border: 2px solid rgba(255, 183, 0, 0.3);
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 183, 0, 0.2);
}

.lang-globe {
    font-size: 16px;
}

.lang-caret {
    font-size: 10px;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.lang-selector.open .lang-caret {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 2px solid rgba(255, 183, 0, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    min-width: 190px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.lang-dropdown::-webkit-scrollbar {
    width: 4px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.lang-selector.open .lang-dropdown {
    display: block;
    animation: dropIn 0.15s ease;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s ease;
    cursor: pointer;
}

.lang-option:hover {
    background: rgba(255, 183, 0, 0.1);
    color: var(--text);
}

.lang-option.active {
    background: rgba(255, 183, 0, 0.15);
    color: var(--secondary);
}

.lang-option-name {
    flex: 1;
}

.lang-option-code {
    font-size: 11px;
    font-weight: 800;
    color: #B2BEC3;
    margin-left: 8px;
    letter-spacing: 0.05em;
}

.lang-option.active .lang-option-code {
    color: var(--secondary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 40px; }
    .hero { padding: 40px 0; }
    .card { padding: 24px; }

    .lang-btn {
        padding: 6px 10px;
        font-size: 13px;
    }

    .lang-dropdown {
        right: -8px;
    }
}
