:root {
    --bg-color: #15243A;
    --primary-color: #63C0F7;
    --dark-accent: #3C3C3C;
    --text-main: #FFFFFF;
    --text-muted: #A0B0C0;
    --glass-bg: rgba(60, 60, 60, 0.2);
    --glass-border: rgba(99, 192, 247, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

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

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary-color);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--dark-accent);
    animation-delay: -5s;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(21, 36, 58, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

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

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

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

/* Main Layout */
main {
    padding-top: 100px; /* Space for fixed navbar */
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    gap: 4rem;
    min-height: 80vh;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(99, 192, 247, 0.4);
}

.hero-brief {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-brief strong {
    color: var(--text-main);
    font-size: 1.25rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.app-store-btn {
    display: flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    direction: ltr;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    background-color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-text .small-text {
    font-size: 0.75rem;
    line-height: 1;
    margin-bottom: 2px;
    font-family: 'Tajawal', sans-serif;
    text-align: right;
}

.btn-text .large-text {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(99, 192, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 192, 247, 0.5);
    background-color: #7AD0FF;
}

.btn-secondary {
    background-color: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(60, 60, 60, 0.4);
    border-color: var(--primary-color);
}

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

.glass-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.screenshot-gallery {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.app-screenshot {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    border-radius: 24px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .glass-container {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-brief {
        font-size: 1rem;
    }
    
    .screenshot-gallery {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .app-screenshot {
        max-height: 400px;
    }
    
    .contact-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-container h2 {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 1rem 5%;
    }
}

/* Contact Section */
.contact-section {
    padding: 4rem 5%;
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.contact-container {
    width: 100%;
    max-width: 600px;
    padding: 3rem;
    transform: none; /* Override hover effect */
    transition: border-color 0.3s ease;
}

.contact-container:hover {
    transform: none;
    border-color: var(--primary-color);
}

.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.contact-container p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.form-group label {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.3s ease, outline 0.3s ease, background 0.3s ease;
    font-family: 'Tajawal', 'Inter', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(160, 176, 192, 0.5);
}

.contact-form button {
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 1rem;
    width: 100%;
}

