:root {
    --bg-dark: #050507;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --primary: #6c5ce7;
    --secondary: #00cec9;
    --accent-gradient: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a:hover {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Custom Language Selector */
.lang-selector {
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.selected-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-lang:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.selected-lang span {
    font-size: 0.9rem;
    font-weight: 500;
}

.selected-lang i {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 10px;
    width: 200px;
    display: none;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
}

.lang-dropdown.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
    color: var(--text-muted);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lang-option.active {
    background: var(--primary);
    color: #fff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.btn-primary {
    background: var(--accent-gradient);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(200px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

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

.text-content {
    flex: 1;
}

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

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(to right, #fff, #a29bfe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.btn-store:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-store i {
    font-size: 1.8rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-text span {
    font-size: 0.7rem;
}

.store-text strong {
    font-size: 1.1rem;
}

.phone-mockup {
    position: relative;
    width: 300px;
    border-radius: 40px;
    border: 8px solid #2d2d2d;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 80%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(108, 92, 231, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0a0a0e);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.5;
    padding-top: 5px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.step p {
    color: var(--text-muted);
}

.graphic-placeholder {
    width: 400px;
    height: 400px;
    position: relative;
    background: radial-gradient(circle at center, rgba(108, 92, 231, 0.1), transparent 70%);
}

/* CTA */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), transparent);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.btn-primary.large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    color: var(--text-muted);
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

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

    h1 {
        font-size: 2.5rem;
    }

    .text-content p {
        margin: 0 auto 30px;
    }

    .split-layout {
        flex-direction: column;
    }

    header nav {
        display: none;
        /* Simplification for mobile */
    }
}