:root {
    --bg-color: #0d0f15;
    --card-bg: rgba(26, 28, 41, 0.6);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --primary-grad: linear-gradient(135deg, #a855f7, #ec4899);
    --secondary-grad: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --highlight: #ec4899;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

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

/* Background glows for premium neon aesthetic */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.3;
}
.glow-1 {
    top: -100px;
    left: -100px;
    background: var(--primary-grad);
}
.glow-2 {
    bottom: 20%;
    right: -200px;
    background: var(--secondary-grad);
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(13, 15, 21, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.lang-switcher {
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 4px;
    display: flex;
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.lang-btn.active {
    background: var(--primary-grad);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

/* Typography Utilities */
.gradient-text {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    margin-top: -80px;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out forwards;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding: 0 20px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn img {
    height: 55px;
    transition: transform 0.3s ease;
}
.store-btn:hover img {
    transform: translateY(-5px);
}

/* Features Section */
.features {
    padding: 100px 5%;
    text-align: center;
}
.features h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(236, 72, 153, 0.3);
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.feature-card p {
    color: var(--text-muted);
}

/* Before/After Comparisons Section */
.comparisons {
    padding: 80px 5% 120px;
    text-align: center;
}
.comparisons h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.comp-subtitle {
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.comp-wrapper {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.thumbnail-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.thumb {
    width: 60px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb:hover {
    opacity: 1;
}

.thumb.active {
    opacity: 1;
    border-color: var(--highlight);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
    transform: scale(1.05);
}

/* Image Comparison Slider core CSS */
.img-comp-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.img-comp-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-img {
    position: relative;
}

.img-comp-img img {
    display: block;
    height: auto;
    width: 100%;
    max-width: none;
    object-fit: contain;
    object-position: left top;
}

.after-img {
    z-index: 10;
}

.img-comp-slider {
    position: absolute;
    z-index: 20;
    cursor: ew-resize;
    /* Slider visual */
    width: 4px;
    height: 100%;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.img-comp-slider::after {
    content: "↔";
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-grad);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    animation: hintNudge 2s infinite ease-in-out;
}

.interacted .img-comp-slider::after {
    animation: none;
}

@keyframes hintNudge {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
        box-shadow: 0 4px 10px rgba(0,0,0,0.5), 0 0 0 0 rgba(236, 72, 153, 0.7);
    }
    50% {
        transform: translateY(-50%) translateX(8px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.5), 0 0 0 15px rgba(236, 72, 153, 0);
    }
}

.badge {
    position: absolute;
    bottom: 20px;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}
.badge-before { right: 20px; z-index: 5; }
.badge-after { left: 20px; z-index: 15; }


/* Footer */
footer {
    background: rgba(10, 12, 18, 0.9);
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    width: 80px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.f-info {
    text-align: right;
}
.f-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.f-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.contact-info {
    margin-top: 15px;
    font-weight: 600;
}
.contact-info a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info a:hover {
    color: var(--highlight);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    color: #4b5563;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .f-info { text-align: left; }
    .footer-content { flex-direction: column; align-items: flex-start; }
}
