/* ============================================
   BYTE Technologies — Remastered Styles
   Dark mode first design with light mode toggle
   6 languages | RTL support | Animations
   ============================================ */

/* CSS Variables */
:root {
    /* Dark mode (default) */
    --bg-primary: #0B1120;
    --bg-secondary: #0F172A;
    --bg-card: #1E293B;
    --bg-card-hover: #273548;
    --border-subtle: rgba(148, 163, 184, 0.1);
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --accent-blue: #2D9CDB;
    --accent-cyan: #00C9B7;
    --accent-gradient: linear-gradient(135deg, #2d99dc 0%, #2d99dc 100%);
    --glow-blue: rgba(45, 156, 219, 0.3);
    --glow-cyan: rgba(0, 201, 183, 0.3);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 20px rgba(45, 156, 219, 0.3);
    --shadow-glow-cyan: 0 0 20px rgba(0, 201, 183, 0.3);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Container */
    --container-max: 1200px;
    --container-pad: 24px;
}

/* Light mode */
body.light-mode {
    --bg-primary: #F8FAFC;
    --bg-secondary: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    --border-subtle: rgba(148, 163, 184, 0.2);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

body[dir="rtl"] {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(45, 156, 219, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    width: 48px;
    height: 48px;
}

.logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    line-height: 1;
}

.logo-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.logo-big-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.logo-big-cell {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: white;
    font-size: 110px;
    font-weight: 800;
    border-radius: var(--radius-md);
    box-shadow: 0 0 40px var(--glow-blue);
}

.logo-big-label {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.theme-toggle .fa-sun {
    display: none;
    position: absolute;
}

.theme-toggle .fa-moon {
    display: block;
    position: absolute;
}

body.light-mode .theme-toggle .fa-sun {
    display: block;
}

body.light-mode .theme-toggle .fa-moon {
    display: none;
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-base);
}

.lang-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-btn .fa-chevron-down {
    font-size: 10px;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 6px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    width: 100%;
    transition: var(--transition-fast);
}

.lang-option:hover,
.lang-option.active {
    background: rgba(45, 156, 219, 0.1);
    color: var(--accent-blue);
}

.lang-flag {
    font-size: 16px;
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0);
}

body.light-mode .mobile-menu {
    background: rgba(248, 250, 252, 0.98);
}

.mobile-menu-content {
    padding: var(--space-3xl) var(--container-pad);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-nav-links a {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.mobile-nav-links a:hover {
    color: var(--accent-blue);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 156, 219, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 156, 219, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero-title .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: var(--space-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-badges {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 14px;
    color: var(--text-muted);
}

.badge i {
    color: var(--accent-cyan);
    font-size: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 24px;
    animation: bounce 2s infinite;
    z-index: 1;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

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

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.product-image {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(45,156,219,0.1), rgba(0,201,183,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: var(--space-lg);
}

.product-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.product-meta-item {
    display: flex;
    flex-direction: column;
}

.product-meta-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-meta-value {
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 500;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.product-name i {
    font-size: 14px;
    color: var(--accent-blue);
    transition: transform 0.2s ease;
}

.product-card:hover .product-name i {
    transform: translate(2px, -2px);
}

.product-desc {
    color: var(--text-secondary);

}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--bg-primary);
    padding: var(--space-4xl) 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: var(--space-xl);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border-left: 3px solid var(--accent-cyan);
    transition: var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 64px;
    color: var(--accent-cyan);
    opacity: 0.15;
    line-height: 1;
    font-weight: 700;
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--border-subtle);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.testimonial-dot.active {
    background: var(--accent-blue);
    width: 28px;
    border-radius: var(--radius-full);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-us {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.dashboard-mockup {
    position: relative;
}

.dashboard-screen {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
}

.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #22c55e; }

.dashboard-title {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.dashboard-body {
    padding: var(--space-lg);
}

.dashboard-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    margin-bottom: var(--space-lg);
}

.chart-bar {
    flex: 1;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    opacity: 0.8;
    animation: chartGrow 1s ease-out forwards;
    transform-origin: bottom;
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }

.dashboard-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--space-lg);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.dashboard-line svg {
    width: 100%;
    height: 60px;
}

.why-content {
    padding: var(--space-xl) 0;
}

.why-content .section-title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.why-content .section-eyebrow {
    text-align: left;
}

.why-content p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

.review-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--accent-blue);
    font-weight: 500;
    margin-top: var(--space-md);
    transition: var(--transition-fast);
}

.review-link:hover {
    text-decoration: underline;
}

.review-link i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.review-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-primary);
    padding: var(--space-4xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    font-size: 32px;
}

.contact-info .section-eyebrow {
    text-align: left;
}

.contact-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.call-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: var(--space-2xl);
    transition: var(--transition-fast);
}

.call-link:hover {
    color: var(--accent-cyan);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
}

.contact-item > i {
    font-size: 20px;
    color: var(--accent-cyan);
    width: 24px;
    text-align: center;
    margin-top: 2px;
}

.contact-item > div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 15px;
    color: var(--text-primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-md) 0;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition-base);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent-blue);
    box-shadow: 0 1px 0 0 var(--accent-blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-cell {
    font-size: 10px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-base);
}

.social-icon:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.footer-menu h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-menu a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--text-primary);
}

.footer-contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contact-item i {
    color: var(--accent-cyan);
    font-size: 14px;
    width: 16px;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--accent-blue);
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(45, 156, 219, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes chartGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll-triggered animations */
.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   RTL SUPPORT
   ============================================ */
body[dir="rtl"] .hero-container {
    direction: rtl;
}

body[dir="rtl"] .hero-content {
    text-align: right;
}

body[dir="rtl"] .section-header {
    text-align: center;
}

body[dir="rtl"] .why-grid {
    direction: rtl;
}

body[dir="rtl"] .why-content .section-title,
body[dir="rtl"] .why-content .section-eyebrow {
    text-align: right;
}

body[dir="rtl"] .contact-grid {
    direction: rtl;
}

body[dir="rtl"] .contact-info .section-title,
body[dir="rtl"] .contact-info .section-eyebrow {
    text-align: right;
}

body[dir="rtl"] .footer-grid {
    direction: rtl;
}

body[dir="rtl"] .testimonial-card {
    border-left: none;
    border-right: 3px solid var(--accent-cyan);
}

body[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-big-cell {
        width: 90px;
        height: 90px;
        font-size: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        min-width: calc(50% - 12px);
    }

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

    .why-image {
        order: 2;
    }

    .why-content {
        order: 1;
        text-align: center;
    }

    .why-content .section-title,
    .why-content .section-eyebrow {
        text-align: center;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    :root {
        --container-pad: 16px;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: var(--space-3xl);
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .logo-big-cell {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .products,
    .testimonials,
    .why-us,
    .contact {
        padding: var(--space-3xl) 0;
    }

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

    .testimonial-card {
        min-width: 100%;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-hidden {
        opacity: 1;
        transform: none;
    }
}
