/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #050608;
    --surface-color: rgba(31, 40, 51, 0.4);
    --surface-solid: #11151c;
    --primary-color: #c5c6c7;
    --accent-color: #66fcf1;
    --accent-dark: #45a29e;
    
    --neon-purple: #b538ff;
    --neon-orange: #ff7324;
    --glass-bg: rgba(20, 25, 35, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --font-family: 'Outfit', sans-serif;
    --text-main: #f8f8f8;
    --text-muted: #a0a0a0;
}

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

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

/* Background elements */
.bg-particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(181, 56, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 115, 36, 0.08), transparent 25%);
}

.bg-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 50%);
    opacity: 0.15;
    filter: blur(120px);
    z-index: -1;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite alternate;
}

.bg-glow.top-left { top: -10%; left: -10%; }
.bg-glow.bottom-right { 
    bottom: -10%; right: -10%; 
    background: radial-gradient(circle, var(--neon-orange) 0%, transparent 50%); 
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.05); }
}

/* Layout & Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.brand-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.lang-switch {
    display: flex;
    gap: 10px;
    background: var(--surface-solid);
    padding: 5px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switch a:hover {
    color: var(--text-main);
}

.lang-switch a.active {
    color: var(--text-main);
    background: linear-gradient(135deg, rgba(181, 56, 255, 0.2), rgba(255, 115, 36, 0.2));
    box-shadow: 0 0 15px rgba(181, 56, 255, 0.2);
    border: 1px solid rgba(181, 56, 255, 0.3);
}

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

.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255,255,255,0.1);
}

.hero-content h2 span {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 550px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.btn-apple {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.btn-apple:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.1);
}

.btn-google {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-orange));
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-google:hover {
    box-shadow: 0 15px 30px rgba(181, 56, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 80px rgba(181, 56, 255, 0.3);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 100px rgba(255, 115, 36, 0.4);
}

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

.features-header {
    text-align: center;
    margin-bottom: 70px;
}

.features-header h2 {
    font-size: 3rem;
    display: inline-block;
    position: relative;
}

.features-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-orange));
    border-radius: 2px;
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 24px;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-orange));
    opacity: 0;
    transition: 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(181, 56, 255, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: inline-block;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Page Layout (Privacy, Terms) */
.page-container {
    padding: 80px 0;
    max-width: 900px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    margin: 50px auto;
    padding: 60px;
}

.page-container h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-content h3 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    color: var(--text-main);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.page-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.page-content ul {
    margin-bottom: 30px;
    padding-left: 25px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.page-content li {
    margin-bottom: 12px;
}

.page-content strong {
    color: #e0e0e0;
}

/* Beautiful Footer */
footer {
    background: var(--surface-solid);
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 100px;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-orange), transparent);
    opacity: 0.5;
}

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

.footer-brand .footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
    transition: transform 0.3s;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-links-group {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--neon-orange);
    transform: translateX(5px);
}

.footer-contact h4 {
    color: var(--text-main);
    margin-bottom: 20px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--neon-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 20px;
    background: rgba(181, 56, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(181, 56, 255, 0.2);
    transition: 0.3s;
}

.contact-email:hover {
    background: rgba(181, 56, 255, 0.2);
    box-shadow: 0 0 20px rgba(181, 56, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .hero-image img {
        transform: none;
        max-width: 300px;
    }
    
    .hero-image:hover img {
        transform: scale(1.05);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .footer-links-group {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-brand .footer-logo {
        margin: 0 auto 20px;
    }
    
    .footer-col a:hover {
        transform: translateX(0) scale(1.05);
    }
}

@media (max-width: 768px) {
    .brand-logo {
        height: 60px; /* slightly smaller on mobile */
    }
    .footer-brand .footer-logo {
        height: 60px;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .features-header h2 {
        font-size: 2.2rem;
    }
    
    .page-container {
        padding: 30px 20px;
        margin: 30px 15px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
}
