:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0ea5e9;
    --dark: #1e293b;
    --light: #f8fafc;
    --accent: #10b981;
    --gray: #64748b;
    --light-gray: #e2e8f0;
}

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

body {
    font-family: "Cairo", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background-color: white;
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background-color: var(--accent);
    opacity: 0.05;
    border-radius: 50%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

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

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
    background-color: white;
}

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

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    border-right: 4px solid var(--primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 24px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background-color: #f0f9ff;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 40px;
    right: 0;
    left: 0;
    height: 3px;
    background-color: var(--light-gray);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    border: 3px solid var(--light-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.step p {
    color: var(--gray);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button.light {
    background-color: white;
    color: var(--primary);
}

.cta-button.light:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-details p {
    color: var(--gray);
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: "Cairo", sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

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

.submit-btn {
    background-color: var(--primary);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-family: "Cairo", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 50px;
    }

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .steps::before {
        display: none;
    }

    .step {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 80px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .feature-card {
        padding: 20px;
    }
}
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.05) 0%,
        rgba(14, 165, 233, 0.05) 50%,
        rgba(16, 185, 129, 0.05) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.1) 0%,
        rgba(37, 99, 235, 0) 70%
    );
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(16, 185, 129, 0) 70%
    );
    border-radius: 50%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 99, 235, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    }
}

.hero-title-main {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-title-highlight {
    display: block;
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin: 30px 0 40px;
    line-height: 1.8;
}

.hero-description-line {
    display: block;
    margin-bottom: 8px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.cta-button.secondary {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* تصميم لوحة التحكم */
.dashboard-preview {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.dashboard-frame {
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s;
}

.dashboard-preview:hover .dashboard-frame {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.dashboard-header {
    background: linear-gradient(90deg, var(--dark), #2d3748);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
}

.dashboard-logo i {
    color: var(--accent);
}

.dashboard-menu {
    display: flex;
    gap: 30px;
}

.dashboard-menu span {
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.menu-active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.dashboard-content {
    padding: 30px;
}

.stats-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--light);
}

.stat-card.income {
    border-right: 4px solid var(--accent);
}

.stat-card.transactions {
    border-right: 4px solid var(--primary);
}

.stat-icon {
    font-size: 32px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.stat-title {
    font-size: 14px;
    color: var(--gray);
    margin-top: 5px;
}

.transactions-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    position: relative;
}

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.01);
    transition: all 0.3s;
}

.transaction-item:hover {
    background: rgba(37, 99, 235, 0.03);
    transform: translateX(-5px);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-left: 15px;
}

.transaction-details {
    flex: 1;
}

.transaction-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.transaction-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--gray);
}

.amount {
    color: var(--accent);
    font-weight: 600;
}

.transaction-status {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.transaction-status.confirmed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.transaction-status.processing {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.webhook-notification {
    background: linear-gradient(
        90deg,
        rgba(37, 99, 235, 0.05),
        rgba(14, 165, 233, 0.05)
    );
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    animation: slideIn 0.5s;
}

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

.webhook-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.webhook-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.webhook-message {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.webhook-message code {
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    color: var(--dark);
}

.webhook-time {
    font-size: 12px;
    color: var(--gray);
}

.mobile-sync {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sync-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.sync-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    margin-right: auto;
}

.sync-indicator.active {
    color: var(--accent);
}

.sync-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.progress-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    animation: progressAnimation 2s infinite;
}

@keyframes progressAnimation {
    0% {
        width: 85%;
    }
    50% {
        width: 90%;
    }
    100% {
        width: 85%;
    }
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.floating-element.element-1 {
    top: -20px;
    left: -20px;
    animation: float1 6s ease-in-out infinite;
}

.floating-element.element-2 {
    bottom: 30px;
    right: -30px;
    animation: float2 8s ease-in-out infinite;
}

.floating-element.element-3 {
    top: 40%;
    right: -10px;
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float2 {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(15px) rotate(-5deg);
    }
}

@keyframes float3 {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 1200px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title-main,
    .hero-title-highlight {
        font-size: 38px;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero-title-main,
    .hero-title-highlight {
        font-size: 32px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .dashboard-frame {
        transform: none !important;
    }
}
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );
}

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

.section-subtitle {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.section-description {
    color: var(--gray);
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info {
    flex: 1;
}

.contact-map {
    flex: 1;
}

.contact-main-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.contact-main-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.05;
    border-radius: 0 0 0 100%;
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.contact-card-title {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-card-text {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.response-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.channel-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.channel-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(
        135deg,
        transparent 50%,
        rgba(37, 99, 235, 0.05) 50%
    );
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.channel-card.email {
    border-right: 4px solid var(--primary);
}

.channel-card.phone {
    border-right: 4px solid var(--accent);
}

.channel-card.address {
    border-right: 4px solid #8b5cf6;
}

.channel-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.channel-card.email .channel-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.channel-card.phone .channel-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}

.channel-card.address .channel-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.channel-details h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.channel-details p {
    color: var(--gray);
    font-size: 14px;
}

.channel-content {
    margin-bottom: 20px;
}

.email-item,
.phone-item,
.address-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.email-item:last-child,
.phone-item:last-child {
    border-bottom: none;
}

.email-label,
.phone-label {
    min-width: 120px;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
}

.email-value,
.phone-value {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
    direction: ltr;
    display: inline-block;
}

.email-value:hover,
.phone-value:hover {
    color: var(--primary);
}

.phone-value.whatsapp {
    color: #25d366;
    display: flex;
    align-items: center;
    gap: 5px;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.address-item i {
    color: var(--primary);
    margin-top: 3px;
    min-width: 20px;
}

.address-item strong {
    color: var(--dark);
    margin-left: 5px;
}

.channel-action {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    font-family: "Cairo", sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.channel-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.social-contact {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.social-contact h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    min-width: 100px;
    transition: all 0.3s;
}

.social-icon i {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
}

.social-icon span {
    font-size: 12px;
    font-weight: 600;
}

.social-icon.facebook {
    background: rgba(59, 89, 152, 0.05);
}

.social-icon.facebook i {
    background: #3b5998;
}

.social-icon.twitter {
    background: rgba(29, 161, 242, 0.05);
}

.social-icon.twitter i {
    background: #1da1f2;
}

.social-icon.linkedin {
    background: rgba(0, 119, 181, 0.05);
}

.social-icon.linkedin i {
    background: #0077b5;
}

.social-icon.instagram {
    background: rgba(225, 48, 108, 0.05);
}

.social-icon.instagram i {
    background: linear-gradient(
        45deg,
        #405de6,
        #5851db,
        #833ab4,
        #c13584,
        #e1306c,
        #fd1d1d
    );
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* تصميم الخريطة */
.map-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-placeholder {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
    max-width: 250px;
}

.map-pin {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.map-info h5 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.map-info p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.map-directions {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: "Cairo", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.map-directions:hover {
    background: var(--primary);
    color: white;
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.grid-line {
    position: absolute;
    background: rgba(37, 99, 235, 0.05);
}

.grid-line:nth-child(1) {
    top: 25%;
    left: 0;
    right: 0;
    height: 1px;
}

.grid-line:nth-child(2) {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
}

.grid-line:nth-child(3) {
    top: 75%;
    left: 0;
    right: 0;
    height: 1px;
}

.grid-line:nth-child(4) {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
}

.map-roads {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.road {
    position: absolute;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 3px;
}

.road.main {
    top: 40%;
    left: 20%;
    right: 20%;
    height: 8px;
    transform: rotate(-5deg);
}

.road.secondary {
    top: 60%;
    left: 10%;
    right: 10%;
    height: 4px;
    transform: rotate(3deg);
}

.map-location {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.location-pulse {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.location-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.info-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    font-size: 18px;
    flex-shrink: 0;
}

.info-content h5 {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.info-content p {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.4;
}

/* شهادة العميل */
.testimonial-contact {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.testimonial-contact::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(
        135deg,
        transparent 50%,
        rgba(37, 99, 235, 0.02) 50%
    );
}

.testimonial-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    font-size: 40px;
    color: rgba(37, 99, 235, 0.1);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.author-info h6 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.author-info span {
    font-size: 14px;
    color: var(--gray);
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .contact-channels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .social-icons {
        flex-direction: column;
        align-items: center;
    }

    .social-icon {
        width: 100%;
        max-width: 250px;
    }

    .testimonial-contact {
        padding: 30px 20px;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }
}

/* شاشات كبيرة جداً (أكثر من 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content {
        gap: 80px;
    }
    
    .dashboard-preview {
        max-width: 800px;
    }
}

/* شاشات متوسطة (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title-main,
    .hero-title-highlight {
        font-size: 42px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-content {
        gap: 40px;
    }
}

/* شاشات لوحية (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* تحديث القائمة */
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* تحديات الهيرو */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text {
        margin-bottom: 0;
    }
    
    .hero-title-main,
    .hero-title-highlight {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* المميزات */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* الخطوات */
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        width: 100%;
        padding: 0;
    }
    
    /* التواصل */
    .contact-channels {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    /* لوحة التحكم */
    .dashboard-preview {
        max-width: 100%;
    }
    
    .dashboard-frame {
        transform: none !important;
    }
    
    .floating-element {
        display: none;
    }
}

/* شاشات هواتف كبيرة (576px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    /* الهيدر */
    .navbar {
        padding: 15px 0;
    }
    
    .logo {
        font-size: 20px;
    }
    
    /* الهيرو */
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .hero-title-main,
    .hero-title-highlight {
        font-size: 28px;
    }
    
    .hero-description-line {
        display: inline;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .stat-item {
        width: 100%;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* العناوين */
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    /* بطاقات المميزات */
    .feature-card {
        padding: 25px;
    }
    
    .feature-card h3 {
        font-size: 20px;
    }
    
    /* CTA */
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-button.light {
        width: 100%;
        max-width: 300px;
    }
    
    /* التواصل */
    .contact-main-card {
        padding: 25px 20px;
    }
    
    .contact-card-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .channel-card {
        padding: 20px;
    }
    
    .channel-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .channel-icon {
        margin: 0 auto;
    }
    
    .email-item,
    .phone-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .email-label,
    .phone-label {
        min-width: auto;
    }
    
    /* الخريطة */
    .map-overlay {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        margin: 20px;
    }
    
    .quick-info {
        grid-template-columns: 1fr;
    }
    
    /* الشهادة */
    .testimonial-contact {
        padding: 25px 20px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    /* الفوتر */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3 {
        margin-bottom: 15px;
    }
    
    /* لوحة التحكم */
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .dashboard-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .dashboard-menu span {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .dashboard-content {
        padding: 20px;
    }
    
    .stats-cards {
        flex-direction: column;
    }
    
    .transaction-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .transaction-icon {
        margin: 0 auto 10px;
    }
    
    .transaction-details {
        text-align: center;
    }
    
    .transaction-meta {
        justify-content: center;
    }
    
    .webhook-body {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* شاشات هواتف صغيرة (أقل من 576px) */
@media (max-width: 575px) {
    /* تحسينات عامة */
    .container {
        padding: 0 10px;
    }
    
    /* الهيرو */
    .hero-title-main,
    .hero-title-highlight {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    /* المميزات */
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* الخطوات */
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* التواصل */
    .section-title h2 {
        font-size: 24px;
    }
    
    .contact-card-title {
        font-size: 20px;
    }
    
    .channel-details h4 {
        font-size: 16px;
    }
    
    /* الفوتر */
    .copyright {
        font-size: 12px;
        padding-top: 20px;
    }
}

/* تحسينات للأجهزة ذات الشاشات الصغيرة جداً */
@media (max-width: 375px) {
    /* تصغير الخطوط */
    body {
        font-size: 14px;
    }
    
    /* الهيرو */
    .hero-title-main,
    .hero-title-highlight {
        font-size: 22px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    /* العناوين */
    .section-title h2 {
        font-size: 22px;
    }
    
    /* البطاقات */
    .feature-card h3 {
        font-size: 18px;
    }
    
    /* الأزرار */
    .cta-button {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* تحسينات للتوجه الأفقي على الهواتف */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        flex-direction: row;
        text-align: right;
    }
    
    .hero-title-main,
    .hero-title-highlight {
        font-size: 24px;
    }
    
    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .nav-links {
        height: calc(100vh - 60px);
        top: 60px;
    }
}

/* تحسينات للشاشات ذات الكثافة العالية */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* تحسين الحواف الناعمة */
    .hero-badge,
    .cta-button,
    .step-number,
    .contact-card-icon {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
}



/* إصلاح مشاكل التمرير على iOS */
@supports (-webkit-touch-callout: none) {
    .hero,
    .features,
    .how-it-works,
    .cta-section,
    .contact {
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
    }
}

/* تحسينات للأجهزة التي تدعم hover */
@media (hover: hover) and (pointer: fine) {
    .feature-card:hover,
    .channel-card:hover,
    .info-card:hover,
    .transaction-item:hover,
    .social-icon:hover,
    .cta-button:hover {
        transform: translateY(-5px);
    }
}

/* تحسينات للأجهزة التي لا تدعم hover */
@media (hover: none) and (pointer: coarse) {
    .cta-button,
    .channel-action,
    .nav-links a,
    .footer-column ul li a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .feature-card,
    .channel-card,
    .info-card {
        padding: 25px;
    }
}