:root {
    --bg-color: #05070a;
    --text-color: #e0e0e0;
    --accent-color: #4a90e2;
    --secondary-color: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1a2e 0%, #05070a 100%);
}

.stars-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50px 160px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 80px 120px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 110px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 190px 10px, #fff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.3;
    animation: move-stars 100s linear infinite;
}

@keyframes move-stars {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-200px);
    }
}

/* Layout */
header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(45deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

header nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 1.2rem;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.lang-switch {
    border: 1px solid var(--glass-border);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    background: var(--glass-bg);
    margin-left: 0.8rem;
}

nav a:hover {
    opacity: 1;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 0;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 500px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 2rem;
    box-shadow: 0 0 50px rgba(74, 144, 226, 0.2);
    animation: float 6s ease-in-out infinite;
}

/* Demo Widget */
.demo-widget {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 2.5rem;
    width: 100%;
    max-width: 600px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border-left: 6px solid var(--accent-color);
}

#fact-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    transition: opacity 0.5s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#fact-text.fade-out {
    opacity: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.3s, opacity 0.3s;
}

.app-store-badge:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.app-store-badge img {
    height: 48px;
    width: auto;
}

/* Sections */
section {
    padding: 6rem 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.support-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
}

.support-container p {
    margin-bottom: 2rem;
}

footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
}

/* Privacy Page Specific */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.policy-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
        text-align: center;
    }

    header nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    nav a {
        margin: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .lang-switch {
        margin: 0.2rem;
    }

    .logo {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 2rem;
    }

    .hero p {
        margin: 0 auto 2rem;
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .app-store-badge img {
        height: 52px;
    }

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

    .feature-card {
        padding: 1.5rem;
    }
}