/* ═══════════════════════════════════════
   DEVIGN - Modern Dark Theme
   ═══════════════════════════════════════ */

/* Dark mode (default) */
:root {
  --bg-base: #06050F;
  --bg-section: #0B0A18;
  --bg-card: #0C0B1A;
  --bg-card-hover: #12112A;
  --bg-glass: rgba(11, 10, 24, 0.75);
  --border: rgba(79, 123, 255, 0.08);
  --border-hover: rgba(79, 123, 255, 0.25);
  --gradient: linear-gradient(135deg, #4F7BFF, #A78BFA);
  --gradient-subtle: linear-gradient(135deg, rgba(79,123,255,0.1), rgba(167,139,250,0.1));
  --text: #F0F2F8;
  --text-secondary: #B4BAD0;
  --text-muted: #5E6687;
  --accent: #4F7BFF;
  --accent-purple: #A78BFA;
  --success: #10B981;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --logo-filter: brightness(0) invert(1);
  --aurora-opacity: 0.15;
}

/* Light mode */
[data-theme="light"] {
  --bg-base: #F5F7FA;
  --bg-section: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F0F2F8;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border: rgba(79, 123, 255, 0.12);
  --border-hover: rgba(79, 123, 255, 0.3);
  --gradient-subtle: linear-gradient(135deg, rgba(79,123,255,0.06), rgba(167,139,250,0.06));
  --text: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #7a7a9a;
  --logo-filter: none;
  --aurora-opacity: 0.08;
}

[data-theme="light"] .card,
[data-theme="light"] .blog-card,
[data-theme="light"] .benefit-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .contact-info-card {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

[data-theme="light"] .faq-question {
  background: var(--bg-card);
}

[data-theme="light"] .footer {
  background: #1a1a2e;
  --text: #F0F2F8;
  --text-secondary: #B4BAD0;
  --text-muted: #5E6687;
  --border: rgba(79, 123, 255, 0.08);
}

[data-theme="light"] .footer .footer-brand img { filter: brightness(0) invert(1); }

[data-theme="light"] .mobile-nav {
  background: rgba(245, 247, 250, 0.97);
}

[data-theme="light"] .mobile-nav a {
  color: #1a1a2e;
}

[data-theme="light"] .header.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

[data-theme="light"] .social-links a {
  background: rgba(79,123,255,0.06);
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 10px;
  font-size: 1rem;
  line-height: 1;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.theme-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-purple); }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Aurora ── */
.aurora {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.aurora::before, .aurora::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: var(--aurora-opacity);
  animation: aurora-drift 12s ease-in-out infinite alternate;
}
.aurora::before { width: 600px; height: 600px; background: #4F7BFF; top: -200px; right: -100px; }
.aurora::after { width: 500px; height: 500px; background: #A78BFA; bottom: -200px; left: -100px; animation-delay: -6s; }
@keyframes aurora-drift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(60px,40px) scale(1.15); } }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all var(--transition);
}
.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.logo img { height: 36px; filter: var(--logo-filter); transition: filter var(--transition); }
.footer-brand img { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  transition: color var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gradient);
  transition: width var(--transition); border-radius: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--gradient) !important; color: #fff !important;
  padding: 10px 24px; border-radius: 8px; font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(79,123,255,0.25);
}
.nav-cta:hover { box-shadow: 0 6px 25px rgba(79,123,255,0.4); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.lang-toggle { display: flex; gap: 8px; font-size: 0.8rem; font-weight: 600; }
.lang-toggle a { color: var(--text-muted); padding: 4px 8px; border-radius: 4px; }
.lang-toggle a.active { color: var(--text); background: rgba(79,123,255,0.15); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px; z-index: 1001;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); transition: all var(--transition); border-radius: 2px; }

.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: rgba(6,5,15,0.95); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column; align-items: center;
  justify-content: center; gap: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text); font-size: 1.3rem; font-weight: 600;
  opacity: 0; transform: translateY(20px); transition: all 0.4s ease;
}
.mobile-nav.open a { opacity: 1; transform: translateY(0); }
.mobile-nav a:nth-child(1) { transition-delay: .05s; }
.mobile-nav a:nth-child(2) { transition-delay: .1s; }
.mobile-nav a:nth-child(3) { transition-delay: .15s; }
.mobile-nav a:nth-child(4) { transition-delay: .2s; }
.mobile-nav a:nth-child(5) { transition-delay: .25s; }
.mobile-nav a:nth-child(6) { transition-delay: .3s; }
.mobile-nav a:nth-child(7) { transition-delay: .35s; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 0.95rem; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 15px rgba(79,123,255,0.3); }
.btn-primary:hover { box-shadow: 0 8px 30px rgba(79,123,255,0.5); transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-hover); }
.btn-outline:hover { background: rgba(79,123,255,0.1); border-color: var(--accent); color: var(--text); }
.btn-white { background: rgba(255,255,255,0.1); color: var(--text); border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.btn-white:hover { background: rgba(255,255,255,0.18); color: var(--text); }

/* ── Sections ── */
section { position: relative; z-index: 1; padding: 100px 0; }
.section-label {
  text-align: center; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700;
  text-align: center; margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-desc {
  text-align: center; color: var(--text-secondary); max-width: 600px;
  margin: 0 auto 48px; font-size: 1.05rem; line-height: 1.7;
}
.gradient-text {
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 100px; position: relative; overflow: hidden;
}
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 8px; letter-spacing: -1px; }
.hero .typing-wrapper { display: inline; }
.hero .typing-text { color: var(--accent); }
.hero .subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); margin: 20px auto 36px; max-width: 600px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; justify-content: center; margin-top: 64px; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 800; }
.hero-stat .label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ── Cards ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: all var(--transition);
}
.card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(79,123,255,0.08); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--gradient-subtle);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid .about-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 20px; }
.about-grid .about-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.about-image img { width: 100%; display: block; }

/* ── FAQ ── */
.faq-container { max-width: 700px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: border-color var(--transition); }
.faq-item.active { border-color: var(--border-hover); }
.faq-question {
  width: 100%; padding: 18px 24px; background: var(--bg-card); border: none;
  color: var(--text); font-size: 1rem; font-weight: 600; text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit;
}
.faq-question::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--accent); transition: transform var(--transition); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 18px; color: var(--text-secondary); line-height: 1.7; font-size: 0.92rem; }

/* ── Blog ── */
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card .meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.blog-card .meta .tag { color: var(--accent); font-weight: 600; }
.blog-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--accent); }
a.blog-card { text-decoration: none; color: inherit; display: block; }
a.blog-card:hover { color: inherit; }
.blog-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ── CTA ── */
.cta-section { background: var(--bg-section); text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; font-size: 1rem; }

/* ── Process ── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { text-align: center; }
.process-number {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin: 0 auto 16px;
}
.process-step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.process-step p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-card); margin-bottom: 16px; transition: border-color var(--transition);
}
.contact-info-card:hover { border-color: var(--border-hover); }
.contact-info-card .icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--gradient-subtle);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 0.85rem; color: var(--text-secondary); }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 16px; font-family: inherit; transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,123,255,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235E6687' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Page Hero ── */
.page-hero { padding: 160px 0 80px; text-align: center; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.page-hero p { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ── Service Sections ── */
.service-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.service-section:last-child { border-bottom: none; }
.service-header { margin-bottom: 40px; }
.service-header h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 12px; }
.service-header p { color: var(--text-secondary); max-width: 600px; line-height: 1.7; }

.benefit-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card); transition: all var(--transition); }
.benefit-card:hover { border-color: var(--border-hover); }
.benefit-card .icon { font-size: 1.5rem; margin-bottom: 12px; }
.benefit-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.benefit-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ── Footer ── */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 80px 0 24px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  flex: 0 0 280px;
}

.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }

.footer-nav {
  flex: 1;
  display: flex;
  gap: 48px;
  justify-content: space-between;
}

.footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}

.footer-links { list-style: none; }
.footer-links li {
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(79,123,255,0.06);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem;
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(79,123,255,0.3);
}

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

.footer-bottom a { color: var(--text-muted); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Modal ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(6,5,15,0.8); backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text); }

/* ── WhatsApp ── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px;
  background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 999; transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── Tech Stack Grid ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all var(--transition);
  text-align: center;
}

.tech-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(79, 123, 255, 0.08);
}

.tech-item i {
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── Cookie Consent ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 998;
  backdrop-filter: blur(12px);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner .btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ── Scroll Animations ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stat .number { font-size: 1.5rem; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { flex: unset; }
  .footer-nav { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero { padding: 120px 0 60px; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 48px; height: 48px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .process-grid, .grid-4 { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
}

/* ── RTL ── */
[dir="rtl"] { font-family: 'Tajawal', sans-serif; }
[dir="rtl"] .faq-question { text-align: right; }
[dir="rtl"] .faq-question::after { order: -1; }
[dir="rtl"] .nav-links { direction: rtl; }
[dir="rtl"] .footer-bottom { direction: rtl; }
[dir="rtl"] .contact-info-card { direction: rtl; }
