/* === Variables === */
:root {
    --primary: #6C5CE7;
    --primary-dark: #5A4BD1;
    --primary-light: rgba(108, 92, 231, 0.1);
    --secondary: #00E676;
    --accent: #00D4FF;
    --dark: #0B0F1A;
    --dark-2: #111827;
    --dark-3: #1A1F35;
    --gray-900: #1E2236;
    --gray-800: #2D3250;
    --gray-600: #8B92A5;
    --gray-400: #A8B0C5;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #6C5CE7, #00D4FF);
    --gradient-2: linear-gradient(135deg, #6C5CE7, #A855F7, #00D4FF);
    --gradient-3: linear-gradient(135deg, #00E676, #00D4FF);
    --glow-primary: 0 0 30px rgba(108, 92, 231, 0.3);
    --glow-accent: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(108, 92, 231, 0.15);
    --radius: 16px;
    --radius-lg: 24px;
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Tajawal', sans-serif;
}

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-en);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

body.rtl {
    font-family: var(--font-ar);
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

ul { list-style: none; }

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.btn-secondary {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--gradient-1);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-full { width: 100%; }

/* === Top Bar === */
.top-bar {
    background: var(--dark);
    color: var(--gray-400);
    padding: 10px 0;
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left i,
.top-bar-right i {
    margin-right: 6px;
}

body.rtl .top-bar-left i,
body.rtl .top-bar-right i {
    margin-right: 0;
    margin-left: 6px;
}

.top-bar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.lang-switch,
.client-area-link {
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.3s;
    padding: 4px 12px;
    border-radius: 20px;
}

.lang-switch:hover,
.client-area-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* === Navbar === */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

.logo-accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-800);
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s;
}

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

.nav-cta {
    background: var(--gradient-1) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4) !important;
    background: var(--gradient-1) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* === Hero === */
.hero {
    position: relative;
    background: var(--dark);
    color: var(--white);
    padding: 100px 0 120px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.1) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 40%, rgba(255,255,255,0.12) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 60%, rgba(255,255,255,0.08) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.1) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,0.06) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.08) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,0.07) 0%, transparent 100%);
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 48px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat {
    text-align: center;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-top: 4px;
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Section Header === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header h2 .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Features === */
.features {
    padding: 120px 0;
    background: var(--gray-100);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.2), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.12);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.4s;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-1);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--glow-primary);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* === Pricing === */
.pricing {
    padding: 120px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
}

.pricing::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
}

.pricing .section-header h2 {
    color: var(--white);
}

.pricing .section-header p {
    color: var(--gray-400);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 92, 231, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.pricing-card.popular {
    border-color: rgba(108, 92, 231, 0.5);
    background: rgba(108, 92, 231, 0.08);
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(108, 92, 231, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: var(--white);
    padding: 8px 28px;
    border-radius: 0 0 16px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.pricing-desc {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.pricing-price {
    margin-bottom: 36px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-400);
    margin-top: 12px;
}

.price-amount {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--gray-600);
    align-self: flex-end;
    margin-bottom: 10px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 36px;
}

body.rtl .pricing-features {
    text-align: right;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-400);
}

body.rtl .pricing-features li {
    flex-direction: row-reverse;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--secondary);
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    background: rgba(0, 230, 118, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* === About === */
.about {
    padding: 120px 0;
    background: var(--gray-100);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-highlights {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--dark);
    padding: 12px 16px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.highlight:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

body.rtl .highlight {
    flex-direction: row-reverse;
}

body.rtl .highlight:hover {
    transform: translateX(-4px);
}

.highlight i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.about-visual {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.server-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.4);
    animation: float-main 3s ease-in-out infinite;
}

@keyframes float-main {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, calc(-50% - 10px)) rotate(3deg); }
}

.orbit {
    position: absolute;
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    animation: float 3s ease-in-out infinite;
}

.orbit-1 { top: 5%; left: 5%; animation-delay: 0s; }
.orbit-2 { top: 0%; right: 10%; animation-delay: 1s; }
.orbit-3 { bottom: 10%; left: 0%; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* === Technologies === */
.technologies {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    padding: 16px;
    border-radius: 16px;
}

.tech-item i {
    font-size: 2.8rem;
    color: var(--gray-400);
    transition: all 0.4s;
}

.tech-item:hover {
    background: var(--primary-light);
}

.tech-item:hover i {
    color: var(--primary);
    transform: scale(1.15);
}

/* === FAQ === */
.faq {
    padding: 120px 0;
    background: var(--gray-100);
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item.active {
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.08);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    font-family: inherit;
    text-align: left;
    transition: color 0.3s;
}

body.rtl .faq-question {
    text-align: right;
    flex-direction: row-reverse;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.4s;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--gradient-1);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.9;
}

/* === Contact === */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

body.rtl .contact-item {
    flex-direction: row-reverse;
}

body.rtl .contact-item:hover {
    transform: translateX(-4px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--gray-100);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* === Footer === */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    line-height: 1.9;
    font-size: 0.9rem;
}

.footer-links h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

body.rtl .footer-links a:hover {
    transform: translateX(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.85rem;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-payment i {
    font-size: 1.6rem;
    color: var(--gray-600);
    transition: color 0.3s;
}

.footer-payment i:hover {
    color: var(--accent);
}

/* === Scroll Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }
.fade-in:nth-child(7) { transition-delay: 0.6s; }
.fade-in:nth-child(8) { transition-delay: 0.7s; }

/* === Responsive === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        gap: 4px;
        border-radius: 0 0 var(--radius) var(--radius);
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 20px !important;
        border-radius: 12px !important;
    }

    .nav-links a:hover {
        background: var(--primary-light) !important;
    }

    .nav-cta {
        text-align: center;
        margin-top: 8px;
    }

    .hero {
        padding: 60px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 48px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat {
        padding: 16px 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features, .pricing, .about, .faq, .contact {
        padding: 80px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 2rem;
    }

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

    .contact-form {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .price-amount {
        font-size: 3.5rem;
    }
}

/* === Toast Notification === */
.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toast-overlay.show {
    opacity: 1;
    visibility: visible;
}

.toast-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.toast-overlay.show .toast-box {
    transform: scale(1) translateY(0);
}

.toast-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.toast-icon.success {
    background: linear-gradient(135deg, #00E676, #00D4FF);
    color: var(--white);
}

.toast-icon.error {
    background: linear-gradient(135deg, #FF5252, #FF1744);
    color: var(--white);
}

.toast-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.toast-box p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.toast-close {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    padding: 12px 36px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.toast-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}
