:root {
    --primary-color: #3B82F6; /* Calming Sky Blue */
    --secondary-color: #93C5FD; /* Soft blue */
    --accent-color: #60A5FA; /* Light accent blue */
    --bg-gradient: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%); /* Clean sky-white gradient */
    --text-main: #1E293B; /* Slate dark text */
    --text-light: #64748B;
    --white-glass: rgba(255, 255, 255, 0.7);
    --white-glass-border: rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'Heebo', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

body[dir="ltr"] {
    text-align: left;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--white-glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo svg {
    stroke: var(--primary-color);
    fill: rgba(59, 130, 246, 0.15);
}

#language-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 14px;
    color: var(--primary-color);
    font-family: inherit;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
}

[dir="rtl"] #language-select {
    background-position: left 12px center;
    padding: 0.5rem 1.2rem 0.5rem 2.2rem; /* text right, arrow space left */
}

[dir="ltr"] #language-select {
    background-position: right 12px center;
    padding: 0.5rem 2.2rem 0.5rem 1.2rem; /* text left, arrow space right */
}

#language-select:hover {
    background-color: white;
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5%;
    flex: 1;
    gap: 3rem;
    animation: fadeIn 1s ease-out;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

h1 {
    font-family: 'Rubik', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p#subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.store-badge img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.store-badge:hover img {
    transform: translateY(-3px) scale(1.02);
}

.coming-soon {
    display: inline-block;
    font-size: 1rem;
    color: #B45309; /* Soft amber/gold text */
    background-color: #FEF3C7; /* Soft amber background */
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 1rem;
    border: 1px solid #FCD34D;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.2) 0%, rgba(147, 197, 253, 0.2) 100%);
    filter: blur(40px);
    border-radius: 50%;
    animation: pulse 6s infinite alternate ease-in-out;
    z-index: -1;
}

.app-mockup {
    max-width: 320px;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 8px solid white;
    animation: float 6s ease-in-out infinite;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 5%;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--white-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--white-glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(108, 92, 231, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Rubik', sans-serif;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: auto;
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    100% { transform: scale(1.05); opacity: 0.8; }
}

/* Media Queries */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
    }
    
    h1 { font-size: 3rem; }
    
    .badges {
        justify-content: center;
    }
    
    .app-mockup {
        max-width: 260px;
    }
}
