/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1F6FEB;
    --primary-dark: #0969DA;
    --primary-light: #58A6FF;
    --secondary-color: #238636;
    --accent-color: #F59E0B;
    --text-primary: #0D1117;
    --text-secondary: #656D76;
    --text-light: #8B949E;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F6F8FA;
    --bg-dark: #0D1117;
    --bg-card: #FFFFFF;
    --border-color: #D1D9E0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #1F6FEB 0%, #0969DA 100%);
    --gradient-secondary: linear-gradient(135deg, #238636 0%, #2EA043 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: font-family 0.3s ease;
}

body.rtl {
    font-family: 'Cairo', 'Inter', sans-serif;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    color: #E6EDF3;
}

.logo-loader {
    margin-bottom: 40px;
}

.circuit-board {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    background: rgba(33, 38, 45, 0.5);
    border-radius: 12px;
    padding: 20px;
}

.circuit-line {
    position: absolute;
    background: var(--primary-color);
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

.line-1 {
    width: 60px;
    height: 2px;
    top: 30px;
    left: 20px;
    animation-delay: 0s;
}

.line-2 {
    width: 2px;
    height: 40px;
    top: 30px;
    right: 30px;
    animation-delay: 0.3s;
}

.line-3 {
    width: 50px;
    height: 2px;
    bottom: 30px;
    left: 20px;
    animation-delay: 0.6s;
}

.circuit-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

.node-1 {
    top: 25px;
    left: 20px;
    animation-delay: 0s;
}

.node-2 {
    top: 25px;
    right: 25px;
    animation-delay: 0.5s;
}

.node-3 {
    bottom: 25px;
    left: 20px;
    animation-delay: 1s;
}

.node-4 {
    bottom: 25px;
    right: 25px;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes blink {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #E6EDF3;
    letter-spacing: 2px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0%; transform: translateX(0); }
    50% { width: 70%; transform: translateX(0); }
    100% { width: 100%; transform: translateX(0); }
}

.loading-text {
    font-size: 14px;
    color: #8B949E;
    animation: fade 1.5s ease-in-out infinite;
}

@keyframes fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.brand-icon {
    font-size: 32px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: 8px;
}

.lang-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(31, 111, 235, 0.1);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-demo {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-demo::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #F6F8FA 0%, #FFFFFF 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
}

.circuit-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, var(--primary-color) 1px, transparent 1px),
        linear-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(31, 111, 235, 0.1);
    border: 1px solid rgba(31, 111, 235, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(31, 111, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 111, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-image {
    animation: fadeInRight 0.8s ease;
    position: relative;
}

.hero-image-note {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    padding: 8px;
    background: rgba(31, 111, 235, 0.05);
    border-radius: 6px;
}

.dashboard-preview {
    position: relative;
    perspective: 1000px;
}

.preview-window {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.preview-window:hover {
    transform: rotateY(0) rotateX(0);
}

.window-header {
    background: #21262D;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #FF5F56; }
.control.yellow { background: #FFBD2E; }
.control.green { background: #27C93F; }

.window-content {
    display: flex;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.hero-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 12px;
}

.preview-sidebar {
    width: 200px;
    background: #161B22;
}

.preview-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #0D1117;
}

.preview-card {
    height: 80px;
    background: rgba(33, 38, 45, 0.5);
    border-radius: 8px;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* AI Assistant Section */
.ai-assistant {
    background: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
    color: #E6EDF3;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.ai-assistant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(31, 111, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ai-assistant .section-header {
    position: relative;
    z-index: 1;
}

.ai-assistant .section-title,
.ai-assistant .section-subtitle {
    color: #E6EDF3;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(31, 111, 235, 0.2);
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #58A6FF;
    margin-bottom: 24px;
}

.ai-icon {
    font-size: 18px;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.ai-features {
    display: grid;
    gap: 24px;
}

.ai-feature-card {
    background: rgba(33, 38, 45, 0.6);
    border: 1px solid rgba(48, 54, 61, 0.6);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.ai-feature-card:hover {
    background: rgba(33, 38, 45, 0.8);
    border-color: rgba(88, 166, 255, 0.5);
    transform: translateX(8px);
}

.ai-feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.ai-feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #E6EDF3;
    margin-bottom: 8px;
}

.ai-feature-card p {
    color: #8B949E;
    line-height: 1.7;
}

.ai-screenshot {
    position: relative;
}

.screenshot-placeholder {
    background: rgba(13, 17, 23, 0.8);
    border: 2px solid rgba(48, 54, 61, 0.6);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.screenshot-label {
    background: rgba(33, 38, 45, 0.8);
    padding: 12px 20px;
    color: #8B949E;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(48, 54, 61, 0.6);
}

.screenshot-content {
    padding: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-mock {
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-header {
    background: rgba(33, 38, 45, 0.6);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.mock-title {
    color: #E6EDF3;
    font-size: 18px;
    font-weight: 700;
}

.mock-steps {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.mock-step {
    flex: 1;
    background: rgba(33, 38, 45, 0.4);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(48, 54, 61, 0.6);
}

.mock-step.active {
    background: rgba(31, 111, 235, 0.2);
    border-color: rgba(88, 166, 255, 0.5);
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.step-text {
    color: #E6EDF3;
    font-size: 13px;
    font-weight: 500;
}

.mock-chat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-message {
    background: rgba(31, 111, 235, 0.2);
    border: 1px solid rgba(88, 166, 255, 0.3);
    color: #E6EDF3;
    align-self: flex-start;
}

.user-message {
    background: rgba(48, 54, 61, 0.6);
    color: #E6EDF3;
    align-self: flex-end;
}

.chat-icon {
    font-size: 20px;
}

/* Screenshots Section */
.screenshots {
    background: white;
    padding: 100px 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.screenshot-item {
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.screenshot-item:hover {
    transform: translateY(-6px);
}

.screenshot-item .screenshot-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.screenshots-grid .screenshot-item .screenshot-content {
    flex: 1;
    min-height: 220px;
    height: 280px;
    padding: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0D1117 0%, #161B22 100%);
}

.screenshots-grid .screenshot-item .screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    border-radius: 8px;
    display: block;
}

.screenshots-grid .screenshot-item .screenshot-label {
    flex-shrink: 0;
}

.screenshot-clickable {
    cursor: pointer;
    position: relative;
}

.screenshot-clickable::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s ease;
    border-radius: 8px;
    pointer-events: none;
}

.screenshot-clickable:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

/* Lightbox captures */
.screenshot-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.screenshot-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.screenshot-lightbox .lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.screenshot-lightbox .lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    z-index: 1;
}

.screenshot-lightbox .lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.screenshot-lightbox .lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 1;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.screenshot-lightbox .lightbox-close:hover {
    color: var(--primary-light);
    background: rgba(255,255,255,0.2);
}

body.rtl .screenshot-lightbox .lightbox-close {
    right: auto;
    left: 0;
}

.screenshot-desc {
    margin-top: 16px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    padding: 0 8px;
}

.dashboard-mock {
    background: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
    display: flex;
    gap: 12px;
}

.dashboard-mock .mock-sidebar {
    width: 80px;
    background: rgba(22, 27, 34, 0.8);
    border-radius: 8px;
}

.dashboard-mock .mock-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-mock .mock-card {
    height: 60px;
    background: rgba(33, 38, 45, 0.6);
    border-radius: 8px;
}

.sales-mock {
    display: flex;
    gap: 12px;
}

.sales-mock .mock-products {
    flex: 2;
    background: rgba(33, 38, 45, 0.4);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
}

.sales-mock .mock-products::before {
    content: '';
    grid-column: 1 / -1;
    height: 30px;
    background: rgba(48, 54, 61, 0.6);
    border-radius: 4px;
}

.sales-mock .mock-cart {
    flex: 1;
    background: rgba(22, 27, 34, 0.8);
    border-radius: 8px;
}

.repairs-mock {
    display: flex;
    gap: 12px;
}

.repairs-mock .mock-form {
    flex: 1;
    background: rgba(33, 38, 45, 0.4);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.repairs-mock .mock-list {
    flex: 1;
    background: rgba(22, 27, 34, 0.8);
    border-radius: 8px;
}

.stock-mock .mock-table {
    background: rgba(33, 38, 45, 0.4);
    border-radius: 8px;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
}

.stock-mock .mock-table::before {
    content: '';
    grid-column: 1 / -1;
    height: 20px;
    background: rgba(48, 54, 61, 0.6);
    border-radius: 4px;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

.feature-card.featured-ai {
    position: relative;
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.05) 0%, rgba(9, 105, 218, 0.05) 100%);
}

.feature-badge-ai {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Demo Download Section */
.demo-download {
    background: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
    padding: 100px 0;
    color: #E6EDF3;
}

.demo-download .section-title,
.demo-download .section-subtitle {
    color: #E6EDF3;
}

.demo-download .section-subtitle {
    opacity: 0.9;
}

.demo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.demo-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.demo-badge-complete {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.demo-badge-standard {
    background: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
}

.demo-card {
    background: rgba(33, 38, 45, 0.8);
    border: 2px solid rgba(88, 166, 255, 0.3);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    max-width: 480px;
    transition: all 0.3s ease;
}

.demo-card:hover {
    border-color: rgba(88, 166, 255, 0.6);
    box-shadow: 0 20px 60px rgba(31, 111, 235, 0.2);
}

.demo-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.demo-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #E6EDF3;
    margin-bottom: 16px;
}

.demo-desc {
    color: #8B949E;
    margin-bottom: 32px;
    line-height: 1.7;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 18px;
}

.demo-note {
    margin-top: 20px;
    font-size: 13px;
    color: #8B949E;
}

/* Pricing Section */
.pricing {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(31, 111, 235, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-price {
    margin-bottom: 12px;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 111, 235, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-item p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item p a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #E6EDF3;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .brand-icon {
    font-size: 32px;
}

.footer-brand .brand-text {
    font-size: 24px;
    font-weight: 700;
    color: #E6EDF3;
}

.footer-description {
    color: #8B949E;
    margin-top: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #E6EDF3;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #8B949E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #30363D;
    color: #8B949E;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RTL Support */
body.rtl .hero .container,
body.rtl .ai-content,
body.rtl .contact-wrapper {
    direction: rtl;
}

body.rtl .ai-feature-card:hover {
    transform: translateX(-8px);
}

body.rtl .mock-step {
    flex-direction: row-reverse;
}

body.rtl .chat-message {
    flex-direction: row-reverse;
}

body.rtl .ai-message {
    align-self: flex-end;
}

body.rtl .user-message {
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    body.rtl .nav-menu {
        left: auto;
        right: -100%;
    }

    body.rtl .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-stats {
        justify-content: center;
    }

    .ai-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .screenshots-grid .screenshot-item .screenshot-content {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .screenshots-grid .screenshot-item .screenshot-content {
        height: 240px;
        min-height: 200px;
    }
}
