/* General Reset & Variables */
:root {
    --primary-blue: #0846ffa3;
    --dark-blue: #1e8a7d;
    --light-blue-bg: #eff6ff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --gradient-hero: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    --gradient-card: linear-gradient(135deg, #60fa6a, #2563eb);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: var(--text-dark);
    overflow-x: hidden;
}


/* عرض السكرول */
::-webkit-scrollbar {
    width: 14px;
}

/* الخلفية */
::-webkit-scrollbar-track {
    background: linear-gradient(to bottom,#03fff7 , #60a5fa);    
    backdrop-filter: blur(10px);
} 

/* المقبض */
::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(63, 255, 146, 0.476), 
        rgba(28, 224, 211, 0.469) 
    );
    border-radius: 20px;
    border: 3px solid rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

/* عند الهوفر */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(104, 255, 202, 0.449), 
        rgba(255,255,255,0.25)
    );
}








.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Header */
header {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    /* Increased z-index */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    color: var(--primary-blue);
}

.logo-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon.white {
    background: var(--primary-blue);
    color: #fff;
}

.menu-btn {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background: #fff;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom, #60a5fa, #03fff7);
    padding-top: 120px;
    padding-bottom: 250px;
    text-align: center;
    color: #fff;
    position: relative;
    border-radius: 0 0 50px 50px;
    overflow: visible;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.badge-pill.small {
    color: var(--text-gray);
    background: #f1f5f9;
    border-color: #e2e8f0;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 700;
}

.logo-text {
    background: #fff;
    color: var(--primary-blue);
    padding: 0 10px;
    border-radius: 50px;
    font-size: 0.8em;
    vertical-align: middle;
    display: inline-block;
}

.hero-input-group {
    background: rgba(255, 255, 255, 0.25);
    display: inline-flex;
    padding: 6px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    width: 450px;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-input-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-input-group input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0 20px;
    flex-grow: 1;
    outline: none;
    font-size: 1rem;
}

.hero-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.btn-primary {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #fff;
    color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Visuals (Floating Cards) */
.hero-visuals {
    position: relative;
    height: 200px;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.visual-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    color: var(--text-dark);
    text-align: left;
    position: absolute;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual-card:hover {
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.center-card {
    width: 320px;
    top: 0;
    z-index: 3;
    text-align: center;
}

.center-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.paypal-icon {
    width: 30px;
    height: 30px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-card h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.center-card .label {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.card-chip-visual {
    background: #f1f5f9;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chip {
    width: 40px;
    height: 25px;
    background: #cbd5e1;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.chip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    animation: shine 3s infinite;
}

.left-card {
    width: 260px;
    left: 0;
    top: 40px;
    z-index: 2;
    /* Rotation handled in animation now */
}

.card-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-info {
    background: var(--primary-blue);
    color: #fff;
    padding: 15px;
    border-radius: 12px;
}

.plan-info span {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.plan-info strong {
    display: block;
    font-size: 1.1rem;
    margin: 5px 0;
}

.plan-info .price {
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 1;
    text-align: right;
}

.right-card {
    width: 260px;
    right: 0;
    top: 50px;
    z-index: 2;
}

.user-welcome {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 50px;
}

.user-welcome img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.user-welcome p {
    font-size: 0.7rem;
    color: var(--text-gray);
    margin: 0;
}

.user-welcome h4 {
    font-size: 0.9rem;
    margin: 0;
}

.mini-balance {
    background: #eff6ff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.mini-balance h3 {
    color: var(--primary-blue);
}

/* Trusted Section */
.trusted-section {
    padding: 150px 0 60px;
    text-align: center;
}

.trusted-section h3 {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.blue-text {
    color: var(--primary-blue);
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.brand:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin: 20px 0 40px;
    color: var(--text-dark);
}

.tabs-control {
    display: inline-flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 50px;
    margin-bottom: 50px;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 10px 25px;
    border-radius: 40px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-blue);
}

.tab-btn.active {
    background: #fff;
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-display-card {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    transition: transform 0.9s ease;
}

.feature-display-card:hover {
    transform: translateY(-5px);
}

.feature-content-box {
    background: var(--gradient-card);
    color: #fff;
    padding: 50px;
    border-radius: 24px;
    position: relative;
    z-index: 5;
    text-align: left;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.icon-box-lg {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feature-content-box:hover .icon-box-lg {
    transform: rotate(10deg) scale(1.1);
}

.feature-content-box h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature-content-box p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.stats-pill {
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 20px;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    width: 100%;
}

.learn-more-btn {
    background: #fff;
    color: var(--primary-blue);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.learn-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-stack {
    position: absolute;
    width: 90%;
    height: 100%;
    border-radius: 24px;
    left: 5%;
    z-index: 1;
    transition: all 0.3s ease;
}

.stack-1 {
    background: #dbeafe;
    bottom: -15px;
    z-index: 4;
    transform: scale(0.95);
}

.stack-2 {
    background: #eff6ff;
    bottom: -30px;
    z-index: 3;
    transform: scale(0.9);
}

.feature-display-card:hover .stack-1 {
    bottom: -20px;
}

.feature-display-card:hover .stack-2 {
    bottom: -40px;
}








/* زر المينيو */
.menu-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 5px;
    transition: all 0.4s ease;
}

/* تحويله لإكس لما يفتح */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


.glass-menu {
    position: absolute;
    top: 80px;
    right: 40px;
    width: 220px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

    opacity: 0;
    transform: translateY(-15px) scale(0.95);
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.4s cubic-bezier(.22, 1, .36, 1);
}

.glass-menu.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.glass-menu a {
    display: block;
    padding: 12px 15px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.glass-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}










/* Rewards Section */
.rewards-section {
    padding: 100px 0;
    text-align: center;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-gray);
}

.invoice-visual-wrapper {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.invoice-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 500px;
    text-align: left;
    transition: transform 0.5s ease;
}

.invoice-card:hover {
    transform: rotateX(5deg);
}

.inv-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.inv-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-circle-blue {
    width: 40px;
    height: 40px;
    background: #0070ba;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inv-right {
    text-align: right;
}

.inv-right h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
}

.inv-right span {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.toggle-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.toggle-row label {
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-row label.active {
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 5px;
}

.input-full {
    position: relative;
    margin-bottom: 15px;
}

.input-full input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--text-dark);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 14px;
    color: var(--text-gray);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.input-row input {
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.pay-btn {
    width: 100%;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    transition: background 0.3s;
}

.pay-btn:hover {
    background: #1d4ed8;
}

/* Security Section */
.security-section {
    padding: 80px 0;
    text-align: center;
}

.security-diagram {
    position: relative;
    height: 350px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec-hub {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 250px;
    z-index: 2;
    position: relative;
}

.sec-hub::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    z-index: -1;
    animation: spin 20s linear infinite;
}

.hub-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.hub-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.hub-balance {
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
}

.hub-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.green {
    background: #22c55e;
}

.blue {
    background: #3b82f6;
}

.red {
    background: #ef4444;
}

.float-user {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.float-user img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.tag.green {
    background: #dcfce7;
    color: #16a34a;
}

.tag.red {
    background: #fee2e2;
    color: #ef4444;
}

.u1 {
    top: 20px;
    left: 20%;
}

.u2 {
    top: 20px;
    right: 20%;
}

.u3 {
    bottom: 20px;
    right: 25%;
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.dash-line {
    stroke-dasharray: 10;
    animation: dash 30s linear infinite;
}

/* Speed Section */
.speed-section {
    padding: 80px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.feature-list-row span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-list-row i {
    color: var(--primary-blue);
}

.phone-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.3s;
}

.phone-card:hover {
    transform: translateY(-10px);
}

.pc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0070ba;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-preview {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 20px;
    border-radius: 12px;
    height: 140px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-preview .chip {
    width: 35px;
    height: 25px;
    background: #cbd5e1;
    border-radius: 4px;
    margin-bottom: 40px;
}

.card-num {
    font-family: monospace;
    letter-spacing: 2px;
    color: #64748b;
    margin-bottom: 10px;
}

.success-toast {
    background: #0f172a;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s backwards;
}

/* Footer CTA */
.footer-cta-section {
    margin-bottom: -100px;
    position: relative;
    z-index: 5;
}

.cta-box {
    background: var(--gradient-hero);
    color: #fff;
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.small-input {
    width: 400px;
    background: rgba(255, 255, 255, 0.2);
}

.btn-dark {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
    transition: transform 0.3s;
}

.btn-dark:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #fff;
    padding-top: 150px;
    color: var(--text-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-gray);
    margin-top: 20px;
    line-height: 1.6;
    max-width: 300px;
}

.logo-icon.white {
    color: #fff;
    background: var(--primary-blue);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.col a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.col a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    background: #f1f5f9;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: rotate(360deg);
}

.copyright {
    border-top: 1px solid #f1f5f9;
    padding: 20px 0;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS & MODAL STYLES (New Additions)
   ========================================= */

/* Keyframes */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-150%) skewX(-15deg);
    }

    100% {
        transform: translateX(150%) skewX(-15deg);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Scroll Reveal Classes */
.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom,
.reveal-down {
    opacity: 0;
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-zoom {
    transform: scale(0.8);
}

.reveal-down {
    transform: translateY(-30px);
    opacity: 0;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active,
.reveal-down.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Floating Animation Utility */
.float-anim-1 {
    animation: float 6s ease-in-out infinite;
}

.float-anim-2 {
    animation: float 7s ease-in-out infinite 1s;
}

.float-anim-3 {
    animation: float 5s ease-in-out infinite 2s;
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header .logo-icon {
    margin: 0 auto 15px;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.modal-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-blue);
}

.full-width {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.modal-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}







.nav-item {
    position: relative;
    display: inline-block;
}

.nav-badge {
    position: absolute;
    top: -6px;
    right: -12px;
    background: #ff3b3b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255,59,59,0.7);
    animation: pulseBadge 1.5s infinite;
    opacity: 0;
    transform: scale(0);
    transition: 0.3s ease;
}

.nav-badge.show {
    opacity: 1;
    transform: scale(1);
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 6px rgba(255,59,59,0.5); }
    50% { box-shadow: 0 0 18px rgba(255,59,59,1); }
    100% { box-shadow: 0 0 6px rgba(255,59,59,0.5); }
}












/* منع السكرول عند فتح مودال */
body.modal-open {
    overflow: hidden;
}

/* Overlay */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* إظهار */
.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* الصندوق */
.success-box {
    background: #fff;
    width: 400px;
    max-width: 90%;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.success-overlay.active .success-box {
    transform: scale(1);
}

/* زر X */
.success-close {
    position: absolute;
    top: 15px;
    right: 20px;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    transition: 0.2s;
}

.success-close:hover {
    color: #ef4444;
}

/* أيقونة الصح */
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
    animation: popSuccess 0.5s ease;
}

@keyframes popSuccess {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* تحميل داخل زر */
.loading {
    pointer-events: none;
    opacity: 0.7;
}




/* Top Glass Notification */
.top-success {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    width: 600px;
    max-width: 95%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.top-success.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.top-success-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.success-left {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.success-check {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.success-left h4 {
    margin: 0;
    font-size: 1rem;
}

.success-left p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.success-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.go-btn {
    background: #0f172a;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.go-btn:hover {
    background: #fff;
    color: var(--primary-blue);
}

.close-top {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}






/* Responsive */
@media (max-width: 900px) {
    .hero-visuals {
        display: none;
    }

    .hero-section {
        padding-bottom: 80px;
    }

    .split-layout,
    .footer-grid,
    .input-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-input-group {
        width: 100%;
    }

    .menu-btn {
        display: none;
    }

    .feature-list-row {
        justify-content: center;
    }
}


