@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #06070b;
    --bg-card: rgba(13, 17, 28, 0.55);
    --bg-card-hover: rgba(20, 27, 43, 0.75);
    --primary: #7c3aed;
    --primary-rgb: 124, 58, 237;
    --primary-glow: rgba(124, 58, 237, 0.25);
    --secondary: #00f2fe;
    --secondary-rgb: 0, 242, 254;
    --secondary-glow: rgba(0, 242, 254, 0.25);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #ff007f;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(124, 58, 237, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

body.light-mode {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    --border-glow: rgba(124, 58, 237, 0.04);
    --primary-glow: rgba(124, 58, 237, 0.1);
    --secondary-glow: rgba(0, 242, 254, 0.1);
}

/* Light/Dark mode general overrides */
body.light-mode .bg-glow-1,
body.light-mode .bg-glow-2 {
    opacity: 0.15;
}

body.light-mode .sidebar {
    background: #ffffff !important;
    border-left: none !important;
    border-right: none !important;
    border-inline-end: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02) !important;
}

body.light-mode .menu-item-btn:hover {
    background: #f1f5f9 !important;
    color: var(--text-main) !important;
}

body.light-mode .menu-item-btn.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%) !important;
    border-color: rgba(0, 242, 254, 0.2) !important;
    color: var(--primary) !important;
}

body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1) !important;
}

body.light-mode .auth-box,
body.light-mode .store-selector-box,
body.light-mode .invoice-box {
    background: #ffffff !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05) !important;
}

body.light-mode table.data-table th {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-bottom: 2px solid #cbd5e1 !important;
}

body.light-mode table.data-table td {
    border-bottom: 1px solid #f1f5f9 !important;
    color: #334155 !important;
}

body.light-mode table.data-table tr:hover td {
    background: #f8fafc !important;
}

body.light-mode .stat-card {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.01) !important;
}

body.light-mode .btn-secondary {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #cbd5e1 !important;
}

body.light-mode .btn-secondary:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

body.light-mode footer {
    background: #f1f5f9 !important;
}

/* i18n Layout directions */
html[dir="ltr"] body {
    direction: ltr;
    font-family: var(--font-en);
}

html[dir="ltr"] .sidebar {
    border-left: none !important;
    border-right: 1px solid var(--border-color);
}

html[dir="ltr"] .menu-item-btn {
    text-align: left;
}

html[dir="ltr"] .menu-item-btn:hover svg {
    transform: translateX(2px);
}


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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-ar);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}

/* Background Glowing Backdrops */
.bg-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(6, 7, 11, 0) 70%);
    top: -250px;
    right: -200px;
    z-index: -1;
    filter: blur(100px);
    animation: pulseGlow 15s ease-in-out infinite alternate;
}

.bg-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary-glow) 0%, rgba(6, 7, 11, 0) 70%);
    top: 500px;
    left: -200px;
    z-index: -1;
    filter: blur(100px);
    animation: pulseGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(30px, 30px); opacity: 1; }
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.6);
}

/* Header & Glassmorphic Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 7, 11, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    letter-spacing: -1px;
}

.logo span.tag {
    font-family: var(--font-ar);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--secondary);
    margin-right: 0.6rem;
    font-weight: 700;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-smooth);
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.btn-secondary {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
    border-color: rgba(0, 242, 254, 0.3);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.05);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.55);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.badge {
    align-self: flex-start;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #c084fc;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.hero-title span.highlight {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

/* Glass Card / Live App Mockup */
.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.mockup-container {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transform: perspective(1000px) rotateY(-8deg) rotateX(6deg);
    transition: var(--transition-smooth);
}

.mockup-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 40px 85px rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.25);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background-color: #ff5f56; }
.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mockup-store-title {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.mockup-product {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.mockup-product:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-glow);
}

.mockup-img-placeholder {
    width: 100%;
    height: 110px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(0, 242, 254, 0.15) 100%);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 700;
}

.mockup-btn {
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 8px;
    margin-top: 0.6rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.mockup-payment-badge {
    margin-top: 0.5rem;
    padding: 0.8rem;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: var(--secondary);
    border-radius: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.section-header h2 span {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.08), rgba(124, 58, 237, 0.08));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 25px 50px rgba(0, 242, 254, 0.06);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #c084fc;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.feature-card:nth-child(even) .feature-icon {
    background: rgba(0, 242, 254, 0.1);
    color: var(--secondary);
    border-color: rgba(0, 242, 254, 0.15);
}

.feature-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Steps Section */
.steps {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, rgba(13, 17, 28, 0) 0%, rgba(13, 17, 28, 0.45) 50%, rgba(13, 17, 28, 0) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    position: relative;
}

.step-num {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.35;
    transition: var(--transition-smooth);
}

.step-item:hover .step-num {
    opacity: 0.95;
    transform: scale(1.1);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
}

.step-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 320px;
}

/* CTA Section */
.cta {
    padding: 9rem 2rem;
    position: relative;
}

.cta-box {
    max-width: 1000px;
    margin: 0 auto;
    background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.12), rgba(6, 7, 11, 0.85)), var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 32px;
    padding: 5rem 3rem;
    box-shadow: 0 30px 75px rgba(124, 58, 237, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.cta-box h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    letter-spacing: -1.5px;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Premium Form Card Layout */
.form-card {
    max-width: 580px;
    margin: 140px auto 80px auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    position: relative;
}

.form-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    z-index: -1;
    border-radius: 30px;
    opacity: 0.12;
}

.auth-tab-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0;
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-ar);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    padding: 1rem 0;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
    text-align: center;
}

.auth-tab-btn:hover {
    color: var(--text-main);
}

.auth-tab-btn.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.form-title {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e2e8f0;
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(6, 7, 11, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.4rem;
    color: white;
    font-family: var(--font-ar);
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.25);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.1), inset 0 2px 4px rgba(0,0,0,0.25);
    background: rgba(6, 7, 11, 0.85);
}

.domain-input-group {
    display: flex;
    align-items: center;
    background: rgba(6, 7, 11, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.25);
}

.domain-input-group:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.1);
}

.domain-input-group input {
    border: none;
    background: transparent;
    flex: 1;
    box-shadow: none;
}

.domain-input-group input:focus {
    box-shadow: none;
    background: transparent;
}

.domain-suffix {
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 700;
    direction: ltr;
    font-size: 0.95rem;
}

.form-submit-btn {
    width: 100%;
    margin-top: 2rem;
    padding: 1.1rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 12px;
}

.error-message {
    color: #f87171;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    text-align: right;
    display: none;
    animation: fadeIn 0.4s ease;
}

/* Success Card */
.success-card {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon {
    width: 90px;
    height: 90px;
    background: rgba(39, 201, 63, 0.08);
    color: #27c93f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto 2rem auto;
    border: 2px solid rgba(39, 201, 63, 0.25);
    box-shadow: 0 0 20px rgba(39, 201, 63, 0.15);
}

.success-card h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #27c93f;
    margin-bottom: 1.2rem;
}

.success-details {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    margin: 2.5rem 0;
    text-align: right;
}

.success-details p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.success-details p strong {
    color: var(--text-main);
}

.success-details p a {
    color: var(--secondary);
    text-decoration: none;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 3rem 2rem;
    background: #040508;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 380px;
}

.footer-links-col h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-right: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
        padding-top: 20px;
    }
    .hero-content {
        align-items: center;
    }
    .badge {
        align-self: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .mockup-container {
        transform: none !important;
    }
    .steps-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 8rem 2rem;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3.5rem auto 0 auto;
}

.pricing-card {
    background: rgba(13, 17, 28, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pricing-card.featured {
    border-color: rgba(0, 242, 254, 0.35);
    background: rgba(13, 17, 28, 0.65);
    box-shadow: 0 10px 40px rgba(0, 242, 254, 0.05);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    content: 'الأكثر شعبية';
    position: absolute;
    top: 25px;
    left: -35px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 3rem;
    transform: rotate(-45deg);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.08);
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.12);
}

.pricing-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-family: var(--font-en);
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.pricing-price span.period {
    font-family: var(--font-ar);
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.pricing-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 900;
    margin-left: 0.5rem;
}

.pricing-features li.disabled::before {
    content: '✗';
    color: var(--accent);
    margin-left: 0.5rem;
}
