:root {
    --primary: #1e3a8a;
    --primary-light: #032952;
    --primary-dark: #1e3a8a;
    --background: #ffffff;
    --foreground: #1f2937;
    --muted: #e3dbd4;
    --muted-foreground: #64748b;
    --accent: #1e40af;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Tajawal', sans-serif;
            background-color: var(--background);
            color: var(--foreground);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-tap-highlight-color: transparent;
        }

        main {
            min-height: 100vh;
            width: 100%;
        }

        section {
            padding: 5rem 1.5rem;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        h1 {
            font-size: 2.5rem;
        }

        h2 {
            font-size: 2rem;
            position: relative;
            display: inline-block;
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 0;
            width: 60%;
            height: 4px;
            background: linear-gradient(to left, var(--primary), var(--primary-light));
            border-radius: 2px;
        }

        p {
            margin-bottom: 1.5rem;
            color: var(--muted-foreground);
        }

        .btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius);
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            font-family: inherit;
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Section 1: App Introduction */
        .intro-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            padding: 6rem 1.5rem;
        }

        .intro-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 3rem;
            flex-wrap: wrap;
        }

        .intro-text {
            flex: 1;
            min-width: 300px;
        }

        .intro-text h1 {
            color: white;
            margin-bottom: 1.5rem;
        }

        .intro-text p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }

        .intro-buttons {
            display: flex;
            gap: 1rem;
        }

        .intro-store-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 0.6rem 1rem;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .intro-store-btn:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
        }

        .intro-store-icon {
            font-size: 1.2rem;
        }

        .intro-store-text div:first-child {
            font-size: 0.65rem;
            opacity: 0.9;
        }

        .intro-store-text div:last-child {
            font-weight: 700;
            font-size: 0.9rem;
        }

        .intro-image {
            flex: 1;
            min-width: 300px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* iPhone Style Phone - IMPROVED */
        .iphone-mockup {
            width: 320px;
            height: 650px;
            background: #1f2937;
            border-radius: 50px;
            position: relative;
            box-shadow: 
                0 0 0 4px #111827,
                0 30px 60px rgba(0, 0, 0, 0.4),
                inset 0 0 25px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .iphone-mockup:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 
                0 0 0 4px #111827,
                0 40px 80px rgba(0, 0, 0, 0.5),
                inset 0 0 25px rgba(0, 0, 0, 0.3);
        }

        .iphone-notch {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 35px;
            background: #1f2937;
            border-bottom-left-radius: 25px;
            border-bottom-right-radius: 25px;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 70px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .notch-speaker {
            width: 70px;
            height: 8px;
            background: #374151;
            border-radius: 4px;
        }

        .notch-camera {
            width: 16px;
            height: 16px;
            background: #1f2937;
            border: 2px solid #4b5563;
            border-radius: 50%;
            position: relative;
        }

        .notch-camera::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 8px;
            height: 8px;
            background: #1e40af;
            border-radius: 50%;
        }

        .iphone-screen {
            width: calc(100% - 16px);
            height: calc(100% - 16px);
            border-radius: 42px;
            overflow: hidden;
            position: relative;
            background: white;
            margin: 8px;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
        }

        .iphone-screen-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .iphone-mockup:hover .iphone-screen-image {
            transform: scale(1.05);
        }

        /* Section 2: App Showcase Slider - PROFESSIONAL */
        .showcase-section {
            padding: 5rem 1.5rem;
            background-color: var(--muted);
            position: relative;
            overflow: hidden;
        }

        .showcase-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(30, 64, 175, 0.05) 100%);
            z-index: 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            z-index: 1;
        }

        .section-title h2 {
            margin-bottom: 1rem;
        }

        .section-title p {
            max-width: 600px;
            margin: 0 auto;
        }

        .slider-container {
            position: relative;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 60px;
            z-index: 1;
            overflow: hidden;
        }

        .phone-slider {
            display: flex;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: grab;
            gap: 2rem;
            padding: 3rem 0;
            touch-action: pan-y;
            will-change: transform;
        }

        .phone-slider.dragging {
            transition: none;
            cursor: grabbing;
        }

        .phone-slide {
            flex: 0 0 calc(33.333% - 1.33rem);
            min-width: 0;
            display: flex;
            justify-content: center;
            transition: all 0.4s ease;
            opacity: 0.6;
            transform: scale(0.95);
        }

        .phone-slide.active {
            opacity: 1;
            transform: scale(1);
        }

        .phone-frame {
            width: 100%;
            max-width: 320px;
            height: 650px;
            background: #1f2937;
            border-radius: 50px;
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 0 3px #111827;
            overflow: hidden;
            position: relative;
            transition: all 0.4s ease;
        }

        .phone-frame:hover {
            transform: translateY(-15px) scale(1.03);
            box-shadow: 
                0 30px 60px rgba(0, 0, 0, 0.3),
                0 0 0 3px #111827;
        }

        .phone-notch {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 180px;
            height: 32px;
            background: #1f2937;
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 65px;
        }

        .phone-screen-slide {
            width: calc(100% - 14px);
            height: calc(100% - 14px);
            border-radius: 40px;
            overflow: hidden;
            position: relative;
            background: white;
            margin: 7px;
        }

        .app-screen-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .phone-frame:hover .app-screen-image {
            transform: scale(1.08);
        }

        .slider-nav {
            display: flex;
            justify-content: center;
            gap: 0.8rem;
            margin-top: 3rem;
            position: relative;
            z-index: 2;
        }

        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #cbd5e1;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }

        .slider-dot.active {
            background: var(--primary);
            transform: scale(1.3);
            box-shadow: 0 0 10px rgba(30, 64, 175, 0.4);
        }

        .slider-dot:hover {
            transform: scale(1.3);
            background: var(--primary-light);
        }

        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s ease;
            z-index: 10;
            border: none;
            font-size: 1.5rem;
            color: var(--primary);
        }

        .slider-arrow:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 15px 30px rgba(30, 64, 175, 0.4);
        }

        .slider-arrow.prev {
            right: 0;
        }

        .slider-arrow.next {
            left: 0;
        }

        /* Section 3: Download */
        .download-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            padding: 6rem 1.5rem;
            text-align: center;
        }

        .download-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            margin-top: 3rem;
        }

        .store-buttons-vertical {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            width: 100%;
            max-width: 320px;
        }

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.store-icon {
    font-size: 2.2rem;
}

.store-text {
    text-align: right;
    flex-grow: 1;
}

.store-text div:first-child {
    font-size: 0.85rem;
    opacity: 0.9;
}

.store-text div:last-child {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Section 4: Registration */
.registration-section {
    background-color: var(--muted);
    padding: 5rem 1.5rem;
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.registration-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.logo-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.company-logo {
    width: 300px;
    height: 200px;
    background: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* Hook Section */
.hook-section {
    background: linear-gradient(135deg, var(--accent) 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hook-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.hook-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hook-section p {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .phone-slide {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .slider-container {
        padding: 0 50px;
    }
}

@media (max-width: 992px) {
    .intro-content, .download-content, .registration-content {
        flex-direction: column;
    }
    
    .registration-content {
        grid-template-columns: 1fr;
    }
    
    .intro-text, .store-info {
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .phone-slide {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .intro-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
    }
    
    .phone-slide {
        flex: 0 0 100%;
    }
    
    .phone-frame {
        max-width: 300px;
        height: 600px;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .slider-container {
        padding: 0 40px;
    }
    
    .hook-section {
        padding: 2rem 1.5rem;
    }
    
    .hook-section h3 {
        font-size: 1.5rem;
    }
    
    .hook-section p {
        font-size: 1.1rem;
    }
    
    .store-btn {
        padding: 1rem 1.2rem;
    }
    
    .store-icon {
        font-size: 1.8rem;
    }
    
    .intro-store-btn {
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .phone-frame {
        max-width: 280px;
        height: 560px;
    }
    
    .registration-form {
        padding: 1.5rem;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .slider-container {
        padding: 0 30px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .store-buttons-vertical {
        max-width: 280px;
    }
    
    .intro-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .intro-store-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        max-width: 260px;
        height: 520px;
    }
    
    .slider-arrow {
        display: none;
    }
    
    .store-btn {
        padding: 0.9rem 1rem;
    }
    
    .store-icon {
        font-size: 1.6rem;
    }
    
    .store-text div:first-child {
        font-size: 0.8rem;
    }
    
    .store-text div:last-child {
        font-size: 1.1rem;
    }
    
    .intro-store-btn {
        padding: 0.4rem 0.7rem;
    }
    
    .intro-store-icon {
        font-size: 1rem;
    }
    
    .intro-store-text div:first-child {
        font-size: 0.6rem;
    }
    
    .intro-store-text div:last-child {
        font-size: 0.8rem;
    }
}

/* تحسينات الأداء */
.phone-slider * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}
