:root {
    /* Color Palette - Premium & Modern */
    --primary: #4f46e5;
    /* Indigo */
    --primary-hover: #4338ca;
    --secondary: #ec4899;
    /* Pink/Rose */
    --bg-dark: #0f172a;
    /* Slate 900 */
    --bg-card: rgba(30, 41, 59, 0.7);
    /* Slate 800 with glassmorphism */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #10b981;
    /* Emerald */
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    /* Contrast Colors */
    --nav-bg: rgba(15, 23, 42, 0.8);
    --nav-border: rgba(255, 255, 255, 0.15);
    --active-link: var(--secondary);

    /* Layout */
    --max-width: 1300px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Global Wrapper - Standardized Frame */
#app-root {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 4rem;
    padding-right: 4rem;
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 70, 229, 0.2);
}

/* Navigation - Premium Floating */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    padding: 0.8rem 2rem;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--nav-border);
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

nav.scrolled {
    width: 100%;
    top: 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-left: 1px solid var(--nav-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}

/* Language Selector */
.lang-selector {
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nav-border);
    color: var(--white);
    font-size: 0.8rem;
    cursor: pointer;
    outline: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
}

/* Feature Page Specifics */
.feature-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    margin-bottom: 2rem;
    width: 100%;
}

.feature-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.feature-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Sections - Standardized Spacing */
section {
    width: 100%;
    padding: 60px 0;
}

#features {
    padding-bottom: 20px;
}

#social {
    padding-top: 40px;
    padding-bottom: 40px;
}

#comparison {
    padding-top: 0px;
    /* Bring Value Comparison closer to previous section */
    padding-bottom: 40px;
}

#pricing {
    padding-top: 20px;
    padding-bottom: 60px;
}

#contact {
    padding-top: 80px;
    padding-bottom: 80px;
}

#contact .glass {
    background: linear-gradient(135deg, #1d83d6 0%, #1b74ab 100%);
    /* Bright Blue Gradient */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#contact .glass * {
    color: var(--text-main);
    /* Restore light text color */
}

#contact .contact-form input,
#contact .contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Footer - Custom Gradient */
/* Standardized Premium Footer */
.premium-footer {
    background: linear-gradient(135deg, #6746D9 0%, #D648A4 100%);
    padding: 100px 0 60px;
    color: white;
    margin-top: 60px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    color: white !important;
    font-size: 2rem;
    text-decoration: none;
    font-weight: 800;
    display: block;
    margin-bottom: 1.5rem;
}

.footer-slogan {
    opacity: 0.8;
    line-height: 1.8;
    max-width: 300px;
}

.footer-heading {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.8rem;
}

.footer-list a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s;
}

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

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-social-icon:hover {
    transform: translateY(-5px);
}

.footer-social-icon.x {
    color: #000000;
}

.footer-social-icon.tiktok {
    color: #fe2c55; /* TikTok Brand Color */
}

.footer-social-icon.facebook {
    color: #1877F2;
}

.footer-social-icon.instagram {
    color: #E4405F;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--white);
    outline: none;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-question {
    font-weight: 600;
    color: var(--secondary);
}

.captcha-input {
    width: 80px !important;
}

/* Utils */
.mb-4 {
    margin-bottom: 2rem;
}

/* Reduced from 4rem to bring titles closer to content */
.text-center {
    text-align: center;
}

/* Cost Comparison Section Refined */
.slider-container {
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    background: var(--bg-card);
}

#comp-image {
    transition: transform 0.5s ease;
    max-height: 400px;
    object-fit: cover;
}

.slider-container:hover #comp-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    #comparison-slider {
        flex-direction: column !important;
        text-align: center !important;
        padding: 1.5rem !important;
    }

    .slider-item {
        flex-direction: column !important;
    }

    #comp-title {
        font-size: 1.5rem !important;
    }
}

/* Multilingual Banner */
.multilingual-banner {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 0;
    margin-top: 40px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.multilingual-track {
    display: flex;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

.multilingual-item {
    padding: 0 80px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-title {
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.lang-title i {
    font-size: 1.2rem;
    opacity: 0.9;
}

.lang-slogan {
    font-size: 1.1rem;
    opacity: 0.7;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Download Section - Premium CTAs */
.download-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    width: 100%;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.1), transparent);
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-visual {
    text-align: center;
}

.download-visual img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: floating-mockup 6s ease-in-out infinite;
}

@keyframes floating-mockup {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.download-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

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

.download-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.download-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    transition: all 0.4s ease;
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.download-card i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.download-card.apple i { color: #ffffff; }
.download-card.android i { color: #3DDC84; }

.download-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
}

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

@media (max-width: 992px) {
    .download-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .download-visual {
        order: -1;
    }
    .download-content h2 {
        font-size: 2.8rem;
    }
    .download-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .download-cards {
        grid-template-columns: 1fr;
    }
}