:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --primary-color: #4A90E2;
    /* Fluid Blue */
    --accent-color: #50E3C2;
    /* Fluid Cyan */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --glass-bg: rgba(18, 18, 18, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

.lang-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: var(--font-main);
    cursor: pointer;
    outline: none;
}

.lang-select:focus {
    border-color: var(--primary-color);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Enhanced background glowing */
.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 60%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0 0 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #B0B0B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.cta-button {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: #050505;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(80, 227, 194, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80, 227, 194, 0.4);
}

.hero-image-container {
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.hero-image {
    max-width: 90%;
    /* Increased from 80% */
    width: 600px;
    /* Max width for desktop */
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Feature Grid */
.features {
    padding: 4rem 2rem;
    background: #080808;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 144, 226, 0.3);
}

.feature-card h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Screenshots Carousel / Scroll */
.screenshots-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--bg-color), #080808);
    text-align: center;
    overflow: hidden;
}

.screenshots-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.overflow-wrapper {
    overflow-x: auto;
    padding-bottom: 2rem;
    /* Hide scrollbar for cleaner look */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.overflow-wrapper::-webkit-scrollbar {
    display: none;
}

.screenshots-container {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    width: max-content;
    margin: 0 auto;
    /* Center if content is smaller than screen, though usually it's wider */
}

.screenshots-container img {
    height: 500px;
    /* Fixed height, auto width */
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 1px solid var(--glass-border);
}

.screenshots-container img:hover {
    transform: scale(1.05);
    z-index: 10;
}


/* Content Page (Privacy) */
.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.content-section h2 {
    color: var(--text-primary);
    margin-top: 3rem;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.content-section p,
.content-section ul {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.content-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: #080808;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .screenshots-container img {
        height: 350px;
    }
}