:root {
    /* Color Palette - Cyber Architecture */
    --clr-bg: #030304;
    --clr-surface: #0a0a0c;
    --clr-text: #f5f5f7;
    --clr-text-muted: #8e8e93;
    
    --clr-accent: #007aff; /* Apple Blue */
    --clr-accent-glow: rgba(0, 122, 255, 0.4);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: rgba(255, 255, 255, 0.02);
    
    /* Typography */
    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing & Motion */
    --container-width: 1200px;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition-slow: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--clr-bg);
}

body {
    font-family: var(--font-ui);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

[dir="rtl"] {
    font-family: var(--font-ui);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}



/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(3, 3, 4, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--clr-accent);
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
}

.lang-switcher {
    display: flex;
    background: var(--glass-bg);
    padding: 3px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--clr-text-muted);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--clr-accent);
    color: white;
}

/* Hero Section */
.hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('media/hero.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3, 3, 4, 0.2) 0%, var(--clr-bg) 100%);
    z-index: 1;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text-wrap {
    max-width: 900px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 10vw, 92px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--clr-text-muted);
    line-height: 1.4;
    max-width: 600px;
    font-weight: 400;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--clr-accent);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    to { transform: translate(-50%, 15px); opacity: 0; }
}

/* Featured App Section */
.featured-app {
    padding: 40px 0;
    margin-top: -100px;
}

.app-banner {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Carousel Specific Styles */
#spotlight-carousel {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
}

.slides-container {
    position: relative;
    width: 100%;
}

.spotlight-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.spotlight-slide.active {
    display: block;
    opacity: 1;
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--clr-text);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    font-size: 20px;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--clr-accent);
}

.carousel-arrow.prev { left: 40px; }
.carousel-arrow.next { right: 40px; }

[dir="rtl"] .carousel-arrow.prev { left: auto; right: 40px; }
[dir="rtl"] .carousel-arrow.next { right: auto; left: 40px; }

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--clr-accent);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--clr-accent-glow);
}

@media (max-width: 768px) {
    #spotlight-carousel { padding: 80px 24px; min-height: 450px; }
    .carousel-arrow { width: 40px; height: 40px; font-size: 16px; }
    .carousel-arrow.prev { left: 16px; }
    .carousel-arrow.next { right: 16px; }
}

.app-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, var(--clr-accent-glow) 0%, transparent 60%);
    opacity: 0.5;
}

.app-content { position: relative; z-index: 1; }

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.app-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.app-content p {
    font-size: 18px;
    color: var(--clr-text-muted);
    margin-bottom: 32px;
}

/* Glass Cards */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transition: var(--transition-slow);
}

.glass:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* Services */
.services {
    padding: 160px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 20px;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 60px 40px;
    border-radius: var(--radius-lg);
}

.icon-wrap {
    font-size: 48px;
    margin-bottom: 32px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--clr-text);
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Contact */
.contact {
    padding-bottom: 160px;
}

.contact-card {
    padding: 100px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.contact-card h2 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.contact-card p {
    font-size: 20px;
    color: var(--clr-text-muted);
    margin-bottom: 48px;
}

.contact-details {
    margin-bottom: 48px;
}

.detail-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.detail-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--clr-text);
    text-decoration: none;
    transition: var(--transition);
}

.detail-value:hover {
    color: var(--clr-accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--clr-text);
    color: var(--clr-bg);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.btn-glow {
    background: var(--clr-accent);
    color: white;
    box-shadow: 0 0 20px var(--clr-accent-glow);
}

.btn-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px var(--clr-accent-glow);
}

/* Footer */
.site-footer {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--clr-text-muted);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--clr-text-muted);
    text-decoration: none;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .desktop-nav { display: none; }
    .hero { height: auto; padding: 160px 0 80px; }
    .hero h1 { font-size: 52px; }
    .featured-app { margin-top: 0; }
    .contact-card h2 { font-size: 40px; }
    .detail-value { font-size: 24px; }
    .footer-wrap { flex-direction: column; gap: 32px; text-align: center; }
}

[dir="rtl"] .hero-text-wrap { text-align: right; }
@media (max-width: 768px) { [dir="rtl"] .hero-text-wrap { text-align: center; } }
