:root {
    --primary-bg: #0f0c29;
    --secondary-bg: #302b63;
    --accent-color: #24243e;
    --text-color: #ffffff;
    --highlight-color: #bfa2db;
    /* Soft purple */
    --button-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: linear-gradient(to right, var(--primary-bg), var(--secondary-bg), var(--accent-color));
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glassmorphism Utilities */
.glass-nav,
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #bfa2db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10%;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #e0c3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: var(--button-gradient);
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

/* Features Section */
.features {
    padding: 100px 10%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

.feature-card {
    padding: 40px;
    text-align: left;
    transition: transform 0.3s ease;
}

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

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
footer {
    padding: 50px 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

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

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 180px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .glass-nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        border-radius: 24px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.9rem;
    }
}

/* Languages Section */
.languages-section {
    padding: 50px 10%;
    text-align: center;
}

.language-card {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.language-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--highlight-color);
}

.language-card p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
}

.language-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
}

.language-grid span {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.language-grid span:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Contact Section */
.contact-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
}

.contact-container {
    width: 100%;
    max-width: 600px;
    padding: 40px;
    text-align: center;
}

.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #e0c3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-container p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

#submit-btn {
    width: 100%;
    margin-top: 10px;
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Nav Links Update */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Privacy Policy Page */
.privacy-section {
    padding: 120px 10% 60px;
}

.privacy-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 50px;
}

.privacy-container h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #e0c3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.policy-content {
    text-align: left;
}

.policy-block {
    margin-bottom: 32px;
}

.policy-block h2 {
    font-size: 1.4rem;
    color: var(--highlight-color);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-block h3 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 16px 0 8px;
}

.policy-block p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-block ul {
    list-style: none;
    padding: 0;
}

.policy-block ul li {
    color: rgba(255, 255, 255, 0.75);
    padding: 6px 0 6px 20px;
    position: relative;
    line-height: 1.7;
}

.policy-block ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--highlight-color);
    font-weight: 700;
}

.policy-block ul li strong {
    color: rgba(255, 255, 255, 0.95);
}

.policy-block a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-block a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-list li {
    padding-left: 0 !important;
}

.contact-list li::before {
    display: none;
}

/* Screenshot Gallery */
.screenshots-section {
    padding: 80px 10% 60px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(118, 75, 162, 0.3);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-empty {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.visible {
    opacity: 1;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Footer links */
footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 30px 20px;
    }

    .privacy-container h1 {
        font-size: 2rem;
    }
}

/* Language Picker */
.lang-picker {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lang-picker.open .lang-dropdown {
    display: block;
}

.lang-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 18px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-main);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-dropdown button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}