/* ============================================================
   RISALTNA IT — ASP.NET Core MVC Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --purple: #6366f1;
    --cyan: #22d3ee;
    --teal: #14b8a6;
    --green: #22c55e;
    --bg: #0a0f1c;
    --bg2: #0d1424;
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.6);
    --text-dim: rgba(255,255,255,0.4);
    --border: rgba(255,255,255,0.1);
    --card-bg: rgba(255,255,255,0.05);
    --card-hover: rgba(255,255,255,0.10);
    --navbar-bg: rgba(10,15,28,0.80);
    --font-arabic: 'Tajawal', sans-serif;
    --font-latin: 'Inter', sans-serif;
}

[data-theme="light"] {
    --bg: #f8fafc;
    --bg2: #f1f5f9;
    --text: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --card-hover: #f8fafc;
    --navbar-bg: rgba(248,250,252,0.85);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-arabic);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
    line-height: 1.6;
}

[lang="en"] body, [lang="en"] { font-family: var(--font-latin); }

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }
svg { display: inline-block; width: 1em; height: 1em; }

/* ---------- Layout ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Background Blobs ---------- */
.bg-blobs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: pulse 6s ease-in-out infinite;
}
.blob-1 { top: 0; left: 25%; width: 600px; height: 600px; background: rgba(99,102,241,.08); }
.blob-2 { bottom: 25%; right: 25%; width: 500px; height: 500px; background: rgba(34,211,238,.08); animation-delay: 1s; }
.blob-3 { top: 50%; left: 50%; width: 400px; height: 400px; background: rgba(20,184,166,.05); animation-delay: 2s; }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.logo-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1.125rem;
    transition: transform 0.3s;
}
.logo:hover .logo-icon { transform: scale(1.1); }
.logo-text-ar, .logo-text-en {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text), rgba(255,255,255,.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="light"] .logo-text-ar,
[data-theme="light"] .logo-text-en {
    background: linear-gradient(135deg, #0f172a, #475569);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--purple); }

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.icon-btn {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.icon-btn:hover { background: var(--card-hover); }
.icon-btn svg { width: 20px; height: 20px; }

/* Sun/moon toggle */
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.lang-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
}
.lang-btn:hover { background: var(--card-hover); }

/* Buttons */
.btn-gradient {
    padding: 0.625rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
}
.btn-gradient:hover {
    box-shadow: 0 10px 30px rgba(99,102,241,.35);
    transform: scale(1.05);
    color: white;
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 14px; }
.btn-ghost {
    padding: 0.625rem 1.25rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: background 0.2s;
}
.btn-ghost:hover { background: var(--card-hover); }
.btn-arrow { width: 20px; height: 20px; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    z-index: 99;
    flex-direction: column;
    gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-link {
    width: 100%;
    text-align: start;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}
.mobile-link:hover { background: var(--card-bg); color: var(--purple); }

/* ---------- Gradient Text ---------- */
.gradient-text {
    background: linear-gradient(135deg, var(--purple), var(--cyan), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
}

/* ---------- Section Base ---------- */
.section {
    position: relative;
    padding: 8rem 0;
    z-index: 1;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-label {
    display: block;
    color: var(--purple);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text);
}
.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- Hero ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    z-index: 1;
}
.hero-container {
    text-align: center;
    padding: 5rem 1.5rem;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.hero-title-main { color: var(--text); }
.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
}
.hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 5rem;
}
.stat-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
    transform: scale(1.05);
    background: var(--card-hover);
    border-color: rgba(99,102,241,.4);
    box-shadow: 0 20px 40px rgba(99,102,241,.1);
}
.stat-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
}
.stat-icon svg { width: 28px; height: 28px; }
.stat-icon-purple { background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.2)); color: var(--purple); }
.stat-icon-cyan { background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.2)); color: var(--cyan); }
.stat-icon-teal { background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.2)); color: var(--teal); }
.stat-value { font-size: 1.875rem; font-weight: 700; }
.stat-label { color: var(--text-muted); margin-top: 0.25rem; font-size: 0.95rem; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-wheel {
    width: 24px; height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6px;
}
.scroll-dot {
    width: 6px; height: 12px;
    background: var(--text-dim);
    border-radius: 3px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.8s ease forwards; }

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-content .section-title { text-align: start; }
.about-content .section-desc { margin: 0 0 2rem; max-width: none; text-align: start; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.95rem;
}
.feature-check {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.2));
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
}
.feature-check svg { width: 16px; height: 16px; }

/* About Visual */
.about-visual { position: relative; }
.about-card {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.1), rgba(20,184,166,.2));
    border: 1px solid var(--border);
    padding: 2rem;
    aspect-ratio: 1;
    backdrop-filter: blur(10px);
}
.about-card-inner {
    width: 100%; height: 100%;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--bg2), var(--bg));
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
}
[data-theme="light"] .about-card-inner { background: linear-gradient(135deg, #f1f5f9, #f8fafc); }
.about-bg-img {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=800') center/cover no-repeat;
    opacity: 0.15;
}
.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg), transparent);
}
[data-theme="light"] .about-overlay { background: linear-gradient(to top, #f8fafc, transparent); }
.about-logo-center {
    position: relative;
    z-index: 1;
    text-align: center;
}
.about-logo-box {
    width: 96px; height: 96px;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}
.about-company-name { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.about-company-sub { color: var(--text-muted); margin-top: 0.5rem; }

/* Floating icons */
.float-icon {
    position: absolute;
    width: 72px; height: 72px;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(99,102,241,.4);
    animation: floatBounce 3s ease-in-out infinite;
}
.float-icon svg { width: 36px; height: 36px; }
.float-top-right { top: -1rem; right: -1rem; }
.float-bottom-left { bottom: -1rem; left: -1rem; width: 60px; height: 60px; animation-duration: 4s; }
.float-icon svg { width: 30px; height: 30px; }
.float-teal { background: linear-gradient(135deg, var(--teal), var(--cyan)); box-shadow: 0 10px 30px rgba(20,184,166,.4); }

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

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    padding: 2rem;
    border-radius: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: scale(1.03);
    background: var(--card-hover);
    border-color: rgba(99,102,241,.4);
    box-shadow: 0 25px 50px rgba(99,102,241,.1);
}
.service-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.2));
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    transition: background 0.3s, color 0.3s;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: white;
}
.service-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.service-desc { color: var(--text-muted); line-height: 1.7; }

/* ---------- Products ---------- */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.product-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: border-color 0.3s;
}
.product-purple {
    background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(34,211,238,.05), rgba(20,184,166,.1));
}
.product-purple:hover { border-color: rgba(99,102,241,.4); }
.product-teal {
    background: linear-gradient(135deg, rgba(20,184,166,.1), rgba(34,211,238,.05), rgba(99,102,241,.1));
}
.product-teal:hover { border-color: rgba(20,184,166,.4); }
.product-blur {
    position: absolute;
    width: 256px; height: 256px;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.product-blur-tr { top: 0; right: 0; background: linear-gradient(135deg, rgba(99,102,241,.2), transparent); }
.product-blur-bl { bottom: 0; left: 0; background: linear-gradient(135deg, rgba(20,184,166,.2), transparent); }
.product-body { position: relative; z-index: 1; }
.product-logo {
    width: 64px; height: 64px;
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}
.product-logo svg { width: 32px; height: 32px; }
.product-logo-purple { background: linear-gradient(135deg, var(--purple), var(--cyan)); }
.product-logo-teal { background: linear-gradient(135deg, var(--teal), var(--cyan)); }
.product-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.product-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 0.875rem;
    border: 1px solid var(--border);
}

/* ---------- Why Us ---------- */
.why-section { background: linear-gradient(180deg, transparent, rgba(99,102,241,.04), transparent); }
.why-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.why-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.why-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }
.why-items { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    transition: border-color 0.2s;
}
.why-item:hover { border-color: rgba(99,102,241,.25); }
.why-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.2));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--purple);
}
.why-icon svg { width: 20px; height: 20px; }
.why-icon-cyan { color: var(--cyan); }
.why-icon-teal { color: var(--teal); }
.why-item-title { font-weight: 600; margin-bottom: 0.25rem; color: var(--text); }
.why-item-desc { font-size: 0.875rem; color: var(--text-dim); }

/* Vision/Mission */
.vm-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.vm-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.vm-card-purple { background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(34,211,238,.1)); }
.vm-card-teal { background: linear-gradient(135deg, rgba(20,184,166,.1), rgba(34,211,238,.1)); }
.vm-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    color: white;
}
.vm-icon svg { width: 24px; height: 24px; }
.vm-icon-purple { background: linear-gradient(135deg, var(--purple), var(--cyan)); }
.vm-icon-teal { background: linear-gradient(135deg, var(--teal), var(--cyan)); }
.vm-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.vm-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info .section-title { text-align: start; }
.contact-info .section-desc { margin: 0 0 2rem; max-width: none; text-align: start; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}
.contact-item:hover { border-color: rgba(99,102,241,.25); }
.contact-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.2));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--purple);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-icon-cyan { color: var(--cyan); }
.contact-icon-teal { color: var(--teal); }
.contact-item-label { font-size: 0.875rem; color: var(--text-dim); }
.contact-item-value { font-weight: 500; color: var(--text); }

/* Form */
.form-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
.form-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.875rem; color: var(--text-muted); }
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus {
    border-color: rgba(99,102,241,.5);
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.form-textarea { resize: none; }
.field-error { font-size: 0.8rem; color: #f87171; }
.btn-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }
.alert-success {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.3);
    color: var(--green);
    margin-bottom: 1.5rem;
}
.alert-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-company-name { font-size: 1rem; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 28rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-btn {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-btn:hover { background: var(--card-hover); color: var(--text); border-color: rgba(99,102,241,.4); }
.social-btn svg { width: 20px; height: 20px; }
.footer-col-title { font-weight: 600; margin-bottom: 1rem; color: var(--text); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-link:hover { color: var(--purple); }
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-copy { font-size: 0.875rem; color: var(--text-dim); }
.footer-sub { font-size: 0.75rem; color: var(--text-dim); opacity: 0.7; }

/* ---------- Privacy Page ---------- */
.privacy-hero {
    padding-top: 8rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
}
.privacy-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.privacy-subtitle { color: var(--text-muted); margin-top: 0.5rem; }
.privacy-body { position: relative; z-index: 1; padding-bottom: 6rem; }
.privacy-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}
.privacy-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 8px 8px 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    position: relative;
    bottom: -1px;
    border: 1px solid transparent;
}
.privacy-tab.active {
    color: var(--purple);
    border-color: var(--border);
    border-bottom-color: var(--bg);
    background: var(--bg);
}
[data-theme="light"] .privacy-tab.active { border-bottom-color: var(--bg); background: var(--bg); }
.privacy-content { max-width: 800px; }
.privacy-section { margin-bottom: 2.5rem; }
.privacy-section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.privacy-section p { color: var(--text-muted); line-height: 1.8; }

.back-btn { font-size: 0.875rem; }

/* ---------- Text Center helper ---------- */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .vm-stack { flex-direction: row; }
}

@media (max-width: 768px) {
    .nav-links, .nav-privacy-link { display: none; }
    .hamburger { display: flex; }
    .stats-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; max-width: 400px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .vm-stack { flex-direction: column; }
    .why-items { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .privacy-tabs { flex-direction: column; border-bottom: none; }
    .privacy-tab { border-radius: 8px; border: 1px solid var(--border); }
    .privacy-tab.active { border-color: var(--purple); }
}

@media (max-width: 480px) {
    .section { padding: 5rem 0; }
    .hero-title { font-size: 2rem; }
    .about-card { aspect-ratio: auto; padding: 1.5rem; }
    .about-card-inner { min-height: 250px; }
}

/* RTL/LTR arrow direction */
[dir="rtl"] .btn-arrow { transform: rotate(180deg); }
[dir="ltr"] .btn-arrow { transform: none; }

/* ---------- Product Image & Visit Button ---------- */
.product-featured { border-color: rgba(99,102,241,.2); }
.product-img-wrap {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #000;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(99,102,241,.25);
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}
.product-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: box-shadow 0.3s, transform 0.3s;
}
.product-visit-btn:hover {
    box-shadow: 0 10px 30px rgba(99,102,241,.4);
    transform: translateY(-2px);
}
.product-visit-btn svg { width: 18px; height: 18px; }

/* ============================================================
   END OF FILE
   ============================================================ */
