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

:root {
    --primary: #00F0FF;
    --secondary: #7B2CBF;
    --accent: #FF007A;
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-main: #FFFFFF;
    --text-muted: #CBD5E1; /* Improved contrast */
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-glow: rgba(0, 240, 255, 0.4);
}

* {
    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;
}

/* Ambient Background Blobs */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-dark);
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 240, 255, 0.15);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(123, 44, 191, 0.15);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 0, 122, 0.1);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #FFF 30%, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Card Reusable */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 120px 24px 80px;
    text-align: center;
}

@media (min-width: 992px) {
    .hero {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    html[dir="rtl"] .hero {
        text-align: right;
    }
    .hero-content {
        flex: 1.2;
    }
    .hero-image-wrapper {
        flex: 1;
    }
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #FFFFFF, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeUp 1.2s ease-out;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeUp 1.4s ease-out;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #FF416C);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 0, 122, 0.4);
    animation: fadeUp 1.6s ease-out;
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 0, 122, 0.6);
}

.cta-button:hover::after {
    left: 100%;
}

.hero-image-wrapper {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    animation: fadeUp 1.8s ease-out;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
    border-radius: 50%;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 40px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* Promo Card */
.promo-card {
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    margin: 0 auto 80px;
    backdrop-filter: blur(10px);
}
.promo-card h2 { color: #00FF88; margin-bottom: 16px; }

/* Bento Grid Features */
.features {
    padding: 80px 24px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}

.bento-item {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    overflow: hidden;
    position: relative;
}

.feature-text h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #FFF;
}

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

.feature-img {
    width: 100%;
    max-width: 250px;
    max-height: 400px;
    object-fit: contain;
    border-radius: 20px;
    margin: 30px auto 0;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.4s ease;
}

.bento-item:hover .feature-img {
    transform: translateY(-5px) scale(1.03);
}

/* Bento Sizing */
.feature-large { grid-column: span 12; }
.feature-tall { grid-column: span 12; grid-row: span 2; }
.feature-small { grid-column: span 12; }
.feature-wide { grid-column: span 12; }

@media (min-width: 768px) {
    .feature-large { grid-column: span 8; flex-direction: row; align-items: center; }
    .feature-large .feature-img { margin: 0 0 0 30px; width: 40%; }
    .feature-tall { grid-column: span 4; }
    .feature-small { grid-column: span 6; }
    .feature-wide { grid-column: span 12; flex-direction: row; align-items: center; }
    .feature-wide .feature-img { margin: 0 0 0 30px; width: 30%; }
    
    html[dir="rtl"] .feature-large .feature-img { margin: 0 30px 0 0; }
    html[dir="rtl"] .feature-wide .feature-img { margin: 0 30px 0 0; }
}

@media (min-width: 1024px) {
    .feature-large { grid-column: span 8; }
    .feature-tall { grid-column: span 4; grid-row: span 2; }
    .feature-small { grid-column: span 4; }
    .feature-wide { grid-column: span 8; }
    .privacy-card { grid-column: span 4; display: flex; justify-content: center; }
}

.accent-border {
    border: 1px solid rgba(0, 240, 255, 0.3);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.05) 0%, var(--bg-card) 100%);
}

.privacy-card {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.1), rgba(255, 0, 122, 0.1));
    border: 1px solid rgba(255, 0, 122, 0.2);
}

/* FAQ */
.faq {
    padding: 80px 24px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 30px;
}

.faq-item h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

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

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 24px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FFF;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header & Language Switcher */
.site-header {
    position: relative;
    z-index: 100;
    padding: 24px 0;
    width: 100%;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-svg {
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: 150px;
    transition: transform 0.3s ease;
}

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

.language-switcher {
    position: relative;
}

.lang-btn {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, transform 0.2s, border-color 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.current-lang {
    text-transform: uppercase;
    font-weight: 600;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: 350px;
    overflow-y: auto;
    z-index: 200;
    animation: fadeIn 0.2s ease;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown a {
    color: var(--text-main);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
    text-align: left;
}

html[dir="rtl"] .lang-dropdown a {
    text-align: right;
}

.lang-dropdown a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
}

.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}
.lang-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.lang-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}
.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

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

/* Header and CTA Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.header-cta-wrapper {
    margin-left: 20px;
    margin-right: auto;
}
html[dir="rtl"] .header-cta-wrapper {
    margin-left: auto;
    margin-right: 20px;
}
.header-dl-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    white-space: nowrap;
}
.header-dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}
@media (max-width: 768px) {
    .header-dl-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* How It Works Section Styles */
.how-it-works {
    padding: 60px 0;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.step-card {
    position: relative;
    padding: 40px 30px 30px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.4);
}
.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}
html[dir="rtl"] .step-number {
    left: auto;
    right: 30px;
}
.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}
.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

