/* ========== Base & Reset ========== */
:root {
  --primary: #0e75a1;
  --primary-dark: #0a5a7c;
  --primary-light: #e8f4f9;
  --secondary: #1a1a2e;
  --accent: #00d4aa;
  --background: #ffffff;
  --foreground: #171717;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
  direction: rtl;
  text-align: right;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ========== Utilities ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section-padding { padding: 80px 0; }
.ltr { direction: ltr; text-align: left; }

.gradient-primary { background: linear-gradient(135deg, #0e75a1 0%, #0a5a7c 50%, #1a1a2e 100%); }
.gradient-accent { background: linear-gradient(135deg, #0e75a1 0%, #00d4aa 100%); }

.glass {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(14,117,161,0.15);
}

.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-900 { color: var(--gray-900); }

.bg-white { background: #fff; }
.bg-gray-50 { background: var(--gray-50); }
.bg-primary { background: var(--primary); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.border { border: 1px solid var(--gray-200); }
.border-2 { border-width: 2px; border-style: solid; }
.border-gray-100 { border-color: #f3f4f6; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }

.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s, background-color 0.2s; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* ========== Animations ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14,117,161,0.4); }
  50% { box-shadow: 0 0 0 15px rgba(14,117,161,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.pulse-glow { animation: pulseGlow 2s infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 2s infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }

/* ========== Header ========== */
header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  transition: all 0.3s ease;
}
header.transparent { background: transparent; padding: 1rem 0; }
header.scrolled { background: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); padding: 0.5rem 0; }
header.transparent .logo-text,
header.transparent .nav-link { color: #fff; }
header.scrolled .logo-text,
header.scrolled .nav-link { color: var(--gray-700); }
header.scrolled .logo-sub { color: var(--gray-500); }

.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.125rem;
  background: linear-gradient(135deg, #0e75a1 0%, #0a5a7c 50%, #1a1a2e 100%);
}
.logo-text { font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
.logo-sub { font-size: 0.75rem; }

.desktop-nav { display: none; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  background: var(--primary);
  color: #fff !important;
}

.header-actions { display: none; align-items: center; gap: 0.75rem; }
.header-phone { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; }
.btn-whatsapp {
  background: #22c55e;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-whatsapp:hover { background: #16a34a; }

.mobile-toggle { display: block; padding: 0.5rem; border-radius: 0.5rem; }
header.transparent .mobile-toggle { color: #fff; }
header.scrolled .mobile-toggle { color: var(--gray-700); }

.mobile-menu {
  display: none;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  border-top: 1px solid var(--gray-100);
  padding: 1rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link {
  display: block;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}
.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
}
.mobile-menu .btn-whatsapp { display: block; text-align: center; margin-top: 0.5rem; }

@media (min-width: 1024px) {
  .desktop-nav, .header-actions { display: flex; }
  .mobile-toggle { display: none; }
}

/* ========== Footer ========== */
footer.main-footer { background: var(--secondary); color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}
.footer-brand p { color: var(--gray-400); font-size: 0.875rem; line-height: 1.625; margin: 1.25rem 0 1.5rem; }
.social-links { display: flex; align-items: center; gap: 0.75rem; }
.social-links a {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.75rem; font-weight: 700;
  transition: background 0.2s;
}
.social-links a:hover { background: var(--primary); }
.social-links a.whatsapp:hover { background: #22c55e; }

.footer-col h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col li a {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-col li a:hover { color: var(--accent); }
.footer-col li a .dot {
  width: 0.25rem; height: 0.25rem; border-radius: 9999px; background: var(--primary); display: inline-block;
}

.footer-contact li a,
.footer-contact li > div { display: flex; align-items: center; gap: 0.75rem; color: var(--gray-400); font-size: 0.875rem; }
.footer-contact .icon-box {
  width: 2rem; height: 2rem; border-radius: 0.5rem;
  background: rgba(14,117,161,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-contact .icon-box svg { width: 0.875rem; height: 0.875rem; color: var(--primary); }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-bar p { color: var(--gray-500); font-size: 0.875rem; }
.footer-bar .links { display: flex; align-items: center; gap: 1.5rem; }
.footer-bar .links a { color: var(--gray-500); font-size: 0.875rem; transition: color 0.2s; }
.footer-bar .links a:hover { color: #d1d5db; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bar { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.whatsapp-panel {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  padding: 1rem;
  width: 18rem;
  border: 1px solid var(--gray-100);
  animation: fadeIn 0.3s ease-out;
  display: none;
}
.whatsapp-panel.open { display: block; }
.whatsapp-panel-header {
  background: linear-gradient(135deg, #0e75a1 0%, #0a5a7c 50%, #1a1a2e 100%);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.whatsapp-panel-header .brand {
  display: flex; align-items: center; gap: 0.75rem;
}
.whatsapp-panel-header .brand-icon {
  width: 2.5rem; height: 2.5rem;
  background: #fff; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-weight: 700;
}
.whatsapp-panel-header .brand-title { color: #fff; font-weight: 700; font-size: 0.875rem; }
.whatsapp-panel-header .brand-status { color: #bfdbfe; font-size: 0.75rem; }
.whatsapp-panel-header p { color: #fff; font-size: 0.875rem; margin-top: 0.75rem; }

.whatsapp-options { display: flex; flex-direction: column; gap: 0.5rem; }
.whatsapp-options a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
}
.whatsapp-options a.opt-wa { background: #f0fdf4; color: #15803d; }
.whatsapp-options a.opt-wa:hover { background: #dcfce7; }
.whatsapp-options a.opt-phone { background: #eff6ff; color: #1d4ed8; }
.whatsapp-options a.opt-phone:hover { background: #dbeafe; }
.whatsapp-options a.opt-email { background: #faf5ff; color: #7e22ce; }
.whatsapp-options a.opt-email:hover { background: #f3e8ff; }
.whatsapp-options .opt-icon { width: 1.25rem; height: 1.25rem; }
.whatsapp-options .opt-title { font-weight: 700; font-size: 0.875rem; }
.whatsapp-options .opt-sub { font-size: 0.75rem; color: var(--gray-500); }

.whatsapp-float-btn {
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transition: all 0.3s;
}
.whatsapp-float-btn:hover { transform: scale(1.1); }
.whatsapp-float-btn.open { background: #4b5563; }
.whatsapp-float-btn.closed { background: #22c55e; animation: pulseGlow 2s infinite; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-bg .blur-1 {
  position: absolute; top: -10rem; right: -10rem;
  width: 20rem; height: 20rem;
  background: rgba(255,255,255,0.05); border-radius: 9999px; filter: blur(64px);
}
.hero-bg .blur-2 {
  position: absolute; bottom: -10rem; left: -10rem;
  width: 24rem; height: 24rem;
  background: rgba(0,212,170,0.1); border-radius: 9999px; filter: blur(64px);
}
.hero-bg .blur-3 {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  background: rgba(255,255,255,0.03); border-radius: 9999px; filter: blur(64px);
}
.hero-bg .grid-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-inner { position: relative; padding: 8rem 0 4rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.hero-badge .pulse-dot {
  width: 0.5rem; height: 0.5rem;
  background: var(--accent); border-radius: 9999px;
}
.hero h1 { font-size: 2.25rem; font-weight: 900; line-height: 1.25; margin-bottom: 1.5rem; }
.hero h1 span { display: block; margin-top: 0.5rem; }
.hero p { color: #bfdbfe; font-size: 1.125rem; line-height: 1.625; margin-bottom: 2rem; max-width: 36rem; }

.hero-highlights { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-highlights .highlight { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.hero-highlights .highlight svg { width: 1rem; height: 1rem; color: var(--accent); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-primary-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--primary);
  padding: 1rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-primary-white:hover { background: #eff6ff; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: translateY(-4px); }
.btn-whatsapp-lg {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #22c55e; color: #fff;
  padding: 1rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-whatsapp-lg:hover { background: #4ade80; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: translateY(-4px); }

.hero-visual { display: none; position: relative; }
.hero-visual .glass-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 24rem;
  margin: 0 auto;
}
.hero-visual .stat-num { font-size: 3rem; font-weight: 900; color: var(--accent); }
.hero-visual .stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.hero-visual .stat-grid .stat-item { background: rgba(255,255,255,0.1); border-radius: 0.75rem; padding: 1rem; text-align: center; }
.hero-visual .stat-grid .stat-item .val { font-size: 1.5rem; font-weight: 900; color: #fff; }
.hero-visual .stat-grid .stat-item .lbl { font-size: 0.75rem; color: #bfdbfe; margin-top: 0.25rem; }

.hero-visual .tech-tags { margin-top: 1.5rem; }
.hero-visual .tech-tags .lbl { color: #bfdbfe; font-size: 0.75rem; margin-bottom: 0.75rem; }
.hero-visual .tech-tags .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-visual .tech-tags .tag { font-size: 0.75rem; background: rgba(255,255,255,0.15); color: #fff; padding: 0.25rem 0.75rem; border-radius: 9999px; }

.hero-visual .float-badge {
  position: absolute;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.hero-visual .float-badge.b1 { top: -1rem; right: -1rem; background: #22c55e; color: #fff; }
.hero-visual .float-badge.b2 { bottom: -1rem; left: -1rem; background: #fff; color: var(--primary); }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); animation: bounce 2s infinite;
}
.scroll-indicator .mouse { width: 1.5rem; height: 2.5rem; border: 2px solid rgba(255,255,255,0.3); border-radius: 9999px; display: flex; justify-content: center; padding-top: 0.5rem; }
.scroll-indicator .mouse .wheel { width: 0.25rem; height: 0.75rem; background: rgba(255,255,255,0.5); border-radius: 9999px; }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: block; }
  .hero h1 { font-size: 3.75rem; }
}
@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
}

/* ========== Stats ========== */
.stats-section { padding: 4rem 0; background: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stats-grid .stat-item {
  text-align: center;
  padding: 2rem;
  border-left: 1px solid var(--gray-100);
}
.stats-grid .stat-item:nth-child(2n) { border-left: none; }
.stats-grid .stat-item .icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.stats-grid .stat-item .num { font-size: 3rem; font-weight: 900; color: var(--primary); margin-bottom: 0.5rem; }
.stats-grid .stat-item .lbl { color: var(--gray-600); font-weight: 500; }

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid .stat-item { border-left: 1px solid var(--gray-100); }
  .stats-grid .stat-item:nth-child(2n) { border-left: 1px solid var(--gray-100); }
  .stats-grid .stat-item:last-child { border-left: none; }
}

/* ========== Services Home ========== */
.services-home { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.section-title { font-size: 2.25rem; font-weight: 900; color: var(--gray-900); margin-bottom: 1rem; }
.section-subtitle { color: var(--gray-500); max-width: 42rem; margin: 0 auto; font-size: 1.125rem; }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.service-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--gray-100);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(14,117,161,0.15); }
.service-card .icon-box {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 1.5rem;
}
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.75rem; }
.service-card p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.625; margin-bottom: 1.5rem; }
.service-card ul { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.service-card li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-600); }
.service-card li .dot { width: 0.375rem; height: 0.375rem; border-radius: 9999px; flex-shrink: 0; }
.service-card .link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 700;
  transition: gap 0.2s;
}
.service-card .link:hover { gap: 0.75rem; }

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== Products Home ========== */
.products-home { background: #fff; }
.products-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.product-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: 1.5rem;
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(14,117,161,0.15); border-color: var(--primary); }
.product-card .badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--primary); color: #fff;
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
}
.product-card .icon-box {
  width: 3rem; height: 3rem;
  background: var(--primary-light);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin-bottom: 1.25rem;
}
.product-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.product-card p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.625; margin-bottom: 1.25rem; }
.product-card ul { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.product-card li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-600); }
.product-card li .dot { width: 0.375rem; height: 0.375rem; background: var(--primary); border-radius: 9999px; flex-shrink: 0; }
.product-card .link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; color: var(--primary); transition: gap 0.2s; }
.product-card .link:hover { gap: 0.75rem; }

@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== Testimonials ========== */
.testimonials { position: relative; overflow: hidden; }
.testimonials-bg .blur-1 {
  position: absolute; top: 0; right: 0;
  width: 24rem; height: 24rem;
  background: rgba(255,255,255,0.05); border-radius: 9999px; filter: blur(64px);
}
.testimonials-bg .blur-2 {
  position: absolute; bottom: 0; left: 0;
  width: 16rem; height: 16rem;
  background: rgba(0,212,170,0.1); border-radius: 9999px; filter: blur(64px);
}

.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1rem;
  padding: 1.75rem;
}
.testimonial-card .stars { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; }
.testimonial-card .stars svg { width: 1rem; height: 1rem; fill: #fbbf24; }
.testimonial-card p { color: #dbeafe; line-height: 1.625; margin-bottom: 1.5rem; font-size: 0.875rem; }
.testimonial-card .author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card .author-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: linear-gradient(135deg, #0e75a1 0%, #00d4aa 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
}
.testimonial-card .author-name { font-weight: 700; font-size: 0.875rem; color: #fff; }

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== CTA ========== */
.cta-section { padding: 6rem 0; background: #fff; }
.cta-box {
  background: linear-gradient(135deg, #0e75a1 0%, #1a1a2e 100%);
  border-radius: 1.5rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-box .dec-1 {
  position: absolute; top: 0; right: 0;
  width: 16rem; height: 16rem;
  background: rgba(255,255,255,0.05); border-radius: 9999px;
  transform: translate(50%,-50%);
}
.cta-box .dec-2 {
  position: absolute; bottom: 0; left: 0;
  width: 12rem; height: 12rem;
  background: rgba(0,212,170,0.1); border-radius: 9999px;
  transform: translate(-50%,50%);
}
.cta-box .content { position: relative; }
.cta-box h2 { font-size: 1.875rem; font-weight: 900; color: #fff; margin-bottom: 1rem; }
.cta-box p { color: #bfdbfe; font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta-phone { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: #93c5fd; font-size: 0.875rem; margin-top: 2rem; }

@media (min-width: 768px) {
  .cta-box { padding: 4rem; }
  .cta-box h2 { font-size: 2.25rem; }
}

/* ========== Page Hero ========== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  color: #fff;
}
.page-hero .grid-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero h1 { font-size: 2.25rem; font-weight: 900; margin-bottom: 1rem; }
.page-hero p { color: #bfdbfe; font-size: 1.125rem; max-width: 42rem; margin: 0 auto; }
.page-hero .hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 700; font-size: 0.875rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .page-hero h1 { font-size: 3rem; }
}

/* ========== About Page ========== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-hero-grid .stats-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-hero-grid .stats-box .stat {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}
.about-hero-grid .stats-box .stat .val { font-size: 2.25rem; font-weight: 900; color: var(--accent); }
.about-hero-grid .stats-box .stat .lbl { color: #bfdbfe; font-size: 0.875rem; margin-top: 0.25rem; }

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.about-story-grid .timeline {
  background: linear-gradient(to bottom right, var(--primary-light), #fff);
  border-radius: 1.5rem;
  padding: 2.5rem;
}
.about-story-grid .timeline-item { display: flex; gap: 1rem; }
.about-story-grid .timeline-item .dot { width: 0.75rem; height: 0.75rem; background: var(--primary); border-radius: 9999px; margin-top: 0.5rem; flex-shrink: 0; }
.about-story-grid .timeline-item .year { font-weight: 700; color: var(--gray-900); }
.about-story-grid .timeline-item .desc { color: var(--gray-500); font-size: 0.875rem; }

.vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}
.vision-card {
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.vision-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(14,117,161,0.15); }
.vision-card .icon-box {
  width: 3.5rem; height: 3.5rem;
  background: var(--primary-light);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin: 0 auto 1.25rem;
}
.vision-card h3 { font-size: 1.25rem; font-weight: 900; color: var(--gray-900); margin-bottom: 0.75rem; }
.vision-card p { color: var(--gray-500); line-height: 1.625; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.value-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 1rem;
  transition: background 0.2s;
}
.value-item:hover { background: var(--primary-light); }
.value-item .icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.value-item h4 { font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.value-item p { color: var(--gray-500); font-size: 0.875rem; }

.tech-stack {
  background: var(--gray-50);
  border-radius: 1.5rem;
  padding: 2.5rem;
}
.tech-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.tech-tags .tag {
  background: #fff;
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: default;
}
.tech-tags .tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

@media (min-width: 768px) {
  .about-hero-grid { grid-template-columns: 1fr 1fr; }
  .about-story-grid { grid-template-columns: 1fr 1fr; }
  .vision-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== Services Page ========== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.service-detail.reverse .text-col { order: 2; }
.service-detail.reverse .visual-col { order: 1; }
.service-detail .icon-box {
  width: 4rem; height: 4rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 1.5rem;
}
.service-detail h2 { font-size: 1.875rem; font-weight: 900; color: var(--gray-900); margin-bottom: 1rem; }
.service-detail p { color: var(--gray-600); font-size: 1.125rem; line-height: 1.625; margin-bottom: 2rem; }
.service-detail .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 2rem; }
.service-detail .features-grid .feat { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-700); font-size: 0.875rem; }
.service-detail .features-grid .feat svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.service-detail .visual-card {
  border-radius: 1.5rem;
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.service-detail .visual-card .dec {
  position: absolute; top: 0; right: 0;
  width: 10rem; height: 10rem;
  background: rgba(255,255,255,0.1); border-radius: 9999px;
  transform: translate(50%,-50%);
}
.service-detail .visual-card .big-icon { font-size: 3.75rem; opacity: 0.2; margin-bottom: 1.5rem; }
.service-detail .visual-card h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 1rem; }
.service-detail .visual-card ul { display: flex; flex-direction: column; gap: 0.75rem; }
.service-detail .visual-card li { display: flex; align-items: center; gap: 0.5rem; }
.service-detail .visual-card li svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.service-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-service {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #fff; padding: 0.75rem 1.5rem;
  border-radius: 0.75rem; font-weight: 700;
  transition: all 0.3s;
}
.btn-service:hover { opacity: 0.9; transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

@media (min-width: 1024px) {
  .service-detail { grid-template-columns: 1fr 1fr; }
}

/* ========== Products Page ========== */
.product-card-page { position: relative; }
.product-card-page .actions { display: flex; gap: 0.75rem; margin-top: auto; }
.product-card-page .actions .btn-demo {
  flex: 1;
  background: var(--primary); color: #fff;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-weight: 700; font-size: 0.875rem;
  text-align: center;
  transition: background 0.2s;
}
.product-card-page .actions .btn-demo:hover { background: var(--primary-dark); }
.product-card-page .actions .btn-wa {
  width: 3rem; height: 3rem;
  background: #22c55e; color: #fff;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.product-card-page .actions .btn-wa:hover { background: #16a34a; }

.integration-note { background: var(--primary-light); padding: 4rem 0; }

/* ========== Portfolio Page ========== */
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 5rem; }
.project-card {
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(14,117,161,0.15); border-color: var(--primary); }
.project-card .visual {
  position: relative;
  height: 12rem;
  display: flex; align-items: center; justify-content: center;
}
.project-card .visual .grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 20px 20px;
}
.project-card .visual-content { position: relative; text-align: center; color: #fff; }
.project-card .visual-content .num { font-size: 3.75rem; font-weight: 900; opacity: 0.2; }
.project-card .visual-content .cat { font-size: 1.125rem; font-weight: 700; margin-top: 0.5rem; }
.project-card .info { padding: 1.75rem; }
.project-card .info-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.project-card .info-header h3 { font-size: 1.25rem; font-weight: 900; color: var(--gray-900); }
.project-card .info-header .tag {
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  color: #fff; flex-shrink: 0;
}
.project-card .info p { color: var(--gray-500); font-size: 0.875rem; margin-bottom: 1.25rem; }
.project-card .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.project-card .tags span { font-size: 0.75rem; background: var(--gray-100); color: var(--gray-600); padding: 0.25rem 0.75rem; border-radius: 9999px; }

@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Contact Page ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.contact-info h2 { font-size: 1.5rem; font-weight: 900; color: var(--gray-900); margin-bottom: 2rem; }
.contact-info .info-cards { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-info .info-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: 1rem;
  transition: background 0.2s;
}
.contact-info .info-card:hover { background: var(--primary-light); }
.contact-info .info-card .icon-box {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.contact-info .info-card .icon-box svg { width: 1.375rem; height: 1.375rem; }
.contact-info .info-card h4 { font-weight: 700; color: var(--gray-900); margin-bottom: 0.25rem; }
.contact-info .info-card .val { color: var(--primary); font-weight: 500; }
.contact-info .info-card .val-gray { color: var(--gray-600); }

.contact-info .btn-wa-full {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  background: #22c55e; color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 700;
  transition: all 0.2s;
  width: 100%;
}
.contact-info .btn-wa-full:hover { background: #16a34a; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

.work-hours {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--primary-light);
  border-radius: 1rem;
}
.work-hours h4 { font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.work-hours .row { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--gray-600); margin-bottom: 0.25rem; }
.work-hours .row .closed { color: #ef4444; }

.contact-form-wrapper {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.contact-form-wrapper h2 { font-size: 1.5rem; font-weight: 900; color: var(--gray-900); margin-bottom: 0.5rem; }
.contact-form-wrapper .sub { color: var(--gray-500); margin-bottom: 2rem; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 700; color: var(--gray-700); margin-bottom: 0.5rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group select { appearance: none; background: #fff; }
.form-group textarea { resize: none; }

.btn-submit {
  width: 100%;
  background: var(--primary); color: #fff;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 700; font-size: 1rem;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-submit:hover { background: var(--primary-dark); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.success-box { text-align: center; padding: 4rem 0; }
.success-box .icon-circle {
  width: 5rem; height: 5rem;
  background: #dcfce7;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-box .icon-circle svg { width: 2.5rem; height: 2.5rem; color: #22c55e; }
.success-box h3 { font-size: 1.5rem; font-weight: 900; color: var(--gray-900); margin-bottom: 0.75rem; }
.success-box p { color: var(--gray-500); margin-bottom: 1.5rem; }

.alert-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}

.spinner {
  width: 1.25rem; height: 1.25rem;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 9999px;
  animation: spin 1s linear infinite;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 2fr; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
}

/* ========== Responsive Helpers ========== */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:p-16 { padding: 4rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:col-span-1 { grid-column: span 1; }
  .lg\:col-span-2 { grid-column: span 2; }
  .lg\:flex-row-reverse { flex-direction: row-reverse; }
}
