/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors matching the app */
    --primary-purple: #330066;
    --primary-magenta: #FF00FF;
    --dark-purple: #1a0033;
    --gradient-purple: linear-gradient(135deg, #330066 0%, #660099 50%, #9900CC 100%);
    --gradient-magenta: linear-gradient(135deg, #FF00FF 0%, #CC00CC 100%);
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-padding: 2rem;
    --section-padding: 6rem 0;
    
    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
}

body {
    font-family: var(--font-family);
    background: var(--primary-purple);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: none; /* Hidden since we moved it to header */
    gap: 0.5rem;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
}

.lang-btn:hover {
    border-color: var(--primary-magenta);
    color: var(--white);
}

.lang-btn.active {
    background: var(--primary-magenta);
    border-color: var(--primary-magenta);
    color: var(--white);
}

/* App Container */
.app-container {
    min-height: 100vh;
    background: var(--primary-purple);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(51, 0, 102, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.language-switcher-header {
    display: flex;
    gap: 0.5rem;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon:hover {
    background: var(--primary-magenta);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 12rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0033 0%, #330066 50%, #1a0033 100%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    min-height: 80vh;
}

.hero-text-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-title {
    margin: 0;
    padding: 0;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin: 0;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 2rem 0 3rem 0;
    line-height: 1.4;
}

.hero-cta {
    margin-top: 2rem;
}

.download-btn-large {
    display: inline-block;
    background: var(--gradient-magenta);
    color: var(--white);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 0, 255, 0.3);
}

.download-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 0, 255, 0.4);
}

.hero-phones {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

.phone-container {
    position: relative;
    width: 200px;
    height: 400px;
}

.phone-container:nth-child(1) {
    transform: rotate(-15deg) translateX(30px);
    z-index: 2;
}

.phone-container:nth-child(2) {
    transform: rotate(15deg) translateX(-30px);
    z-index: 1;
}

.phone-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.phone-frame-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjQwMCIgdmlld0JveD0iMCAwIDIwMCA0MDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSIyMDAiIGhlaWdodD0iNDAwIiByeD0iMzAiIGZpbGw9IiMxQTFBMUEiLz4KPHJlY3QgeD0iOCIgeT0iOCIgd2lkdGg9IjE4NCIgaGVpZ2h0PSIzODQiIHJ4PSIyMiIgZmlsbD0iIzAwMDAwMCIvPgo8cmVjdCB4PSI0MCIgeT0iMCIgd2lkdGg9IjEyMCIgaGVpZ2h0PSIyMCIgcng9IjAiIGZpbGw9IiMxQTFBMUEiLz4KPHJlY3QgeD0iNDAiIHk9IjM4MCIgd2lkdGg9IjEyMCIgaGVpZ2h0PSIyMCIgcng9IjAiIGZpbGw9IiMxQTFBMUEiLz4KPC9zdmc+') center/cover no-repeat;
    z-index: 1;
}

.phone-image {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: cover;
    border-radius: 22px;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-magenta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-magenta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-magenta);
}

.btn-secondary:hover {
    background: var(--primary-magenta);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-main-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(255, 0, 255, 0.15));
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-main-image:hover {
    transform: scale(1.05) translateY(-10px);
    filter: drop-shadow(0 35px 70px rgba(255, 0, 255, 0.25));
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--dark-purple);
}

.features-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.features-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.features-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-magenta);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-magenta);
    box-shadow: 0 20px 40px rgba(255, 0, 255, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 0, 255, 0.1);
    border-color: var(--primary-magenta);
    transform: translateY(-5px);
}

.feature-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(100%);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(100%) saturate(7492%) hue-rotate(300deg) brightness(104%) contrast(111%);
    transform: scale(1.1);
}

.feature-info {
    padding: 2rem;
    text-align: center;
}

.feature-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: var(--section-padding);
    background: var(--dark-purple);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-image:hover {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-magenta);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 4rem 0;
    }
    
    .language-switcher {
        top: 1rem;
        right: 1rem;
        padding: 0.375rem;
    }
    
    .lang-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
        min-width: 35px;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .header-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .logo-section {
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .logo {
        height: 60px;
    }
    
    .language-switcher-header {
        padding: 0.25rem;
        gap: 0.25rem;
    }
    
    .header-icons {
        gap: 0.75rem;
        justify-content: center;
    }
    
    .icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text-section {
        order: 2;
    }
    
            .hero-phones {
                order: 1;
                margin-bottom: 2rem;
                gap: 1rem;
            }
            
            .phone-container {
                width: 150px;
                height: 300px;
            }
            
            .phone-container:nth-child(1) {
                transform: rotate(-10deg) translateX(15px);
            }
            
            .phone-container:nth-child(2) {
                transform: rotate(10deg) translateX(-15px);
            }
            
            .phone-mockup {
                box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            }
            
            .phone-image {
                top: 6px;
                left: 6px;
                width: calc(100% - 12px);
                height: calc(100% - 12px);
                border-radius: 18px;
            }
    
    .download-btn-large {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-icon {
        height: 100px;
    }
    
    .feature-icon-img {
        width: 50px;
        height: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
            .footer-links {
                justify-content: center;
            }
            
            .modal-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .modal-btn {
                min-width: 100%;
                max-width: 280px;
            }
        }

@media (max-width: 480px) {
    .header-container {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .logo-section {
        gap: 0.25rem;
    }
    
    .language-switcher-header {
        padding: 0.2rem;
        gap: 0.2rem;
    }
    
    .lang-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
        min-width: 25px;
    }
    
    .header-icons {
        gap: 0.5rem;
    }
    
    .icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .lang-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
        min-width: 25px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-main-image {
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-info {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--dark-purple);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--primary-magenta);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-magenta);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.modal-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.modal-btn-primary {
    background: var(--gradient-magenta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.4);
}

.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-magenta);
    transform: translateY(-2px);
}

.about-content {
    text-align: center;
}

.about-logo {
    margin-bottom: 2rem;
}

.modal-logo-image {
    height: 120px;
    width: auto;
    max-width: 100%;
}

.about-text {
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--primary-magenta);
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
}

.contact-info h4 {
    color: var(--primary-magenta);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-magenta);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--white);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-purple);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-magenta);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #CC00CC;
}