:root {
    /* Primary Colors */
    --primary-color: #FF4D6D;
    --primary-gradient: linear-gradient(135deg, #FF4D6D 0%, #C77DFF 100%);
    --accent-color: #F59E0B;

    /* Background Colors */
    --bg-light: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-dark: #0F172A;
    --surface-dark: #111827;

    /* Input Fields */
    --field-fill: #F8FAFC;
    --field-border: #E2E8F0;
    --field-focus: #FF4D6D;

    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-on-dark: #FFFFFF;
    --text-on-dark-variant: #9CA3AF;

    /* Fonts */
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

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

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Header */
header {
    padding: 8px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.logo img {
    height: 42px;
    width: auto;
}

.logo-text {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

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

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: radial-gradient(circle at top right, rgba(255, 77, 109, 0.08), transparent 40%),
        radial-gradient(circle at bottom left, rgba(199, 125, 255, 0.08), transparent 40%),
        #fff;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 30px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    padding: 0 20px;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.6;
    padding: 0 30px;
    font-weight: 400;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

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

.feature-card {
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--field-border);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.5rem;
}

/* Store Badges */
.store-badges-container {
    margin-top: 50px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.store-notice {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    display: block;
    opacity: 0.9;
}

.download-btns {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    animation: float 4s ease-in-out infinite;
}

.store-btn:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.store-btn:hover {
    transform: translateY(-12px) scale(1.08);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}

.store-btn img {
    height: 58px;
    width: auto;
}

/* SnackBar Styles */
.snackbar {
    visibility: hidden;
    min-width: 320px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    text-align: center;
    border-radius: 16px;
    padding: 20px 30px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.snackbar i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.snackbar.show {
    visibility: visible;
    animation: slideUpIn 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        slideDownOut 0.5s 2.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideUpIn {
    from {
        bottom: 0;
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        bottom: 50px;
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes slideDownOut {
    from {
        bottom: 50px;
        opacity: 1;
        transform: translate(-50%, 0);
    }

    to {
        bottom: 0;
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* Footer */
footer {
    padding: 60px 0 20px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--field-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--field-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* RTL Support (Arabic) */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .hero h1 {
    font-family: 'Tajawal', sans-serif;
}

/* Steps Section */
.steps {
    padding: 100px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(255, 77, 109, 0.3);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--field-border);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(255, 77, 109, 0.02);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Responsive Updates */
@media (max-width: 768px) {
    header {
        padding: 6px 0;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 1.15rem;
        padding: 0 20px;
    }

    .logo img {
        height: 36px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .store-btn img {
        height: 52px;
    }

    .snackbar {
        min-width: 90%;
        bottom: 30px;
    }

    .nav-links {
        display: none;
    }

    .download-btns {
        flex-direction: column;
        align-items: center;
    }
}

/* Contact Form Section */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--field-border);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--field-border);
    background: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

.success-message {
    display: none;
    background: var(--success);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.5s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}