﻿:root {
  --bg: #0b1220;
  --bg-2: #0e1a2b;
  --panel: #0f1f33;
  --panel-2: #12243b;
  --text: #e6eef9;
  --muted: #9fb3ce;
  --primary: #2e6bff;
  --primary-2: #1b4ec8;
  --accent: #4bd2ff;
  --border: rgba(120, 150, 190, 0.2);
  --glow: rgba(46, 107, 255, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(2, 8, 20, 0.45);
  --shadow-soft: 0 10px 24px rgba(4, 12, 26, 0.35);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", "Noto Sans Arabic", sans-serif;
  background: radial-gradient(1200px 800px at 90% -10%, rgba(46, 107, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 10% -20%, rgba(75, 210, 255, 0.15), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
}

html, body {
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(8, 15, 28, 0.8);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
}

.brand .logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px var(--glow);
  font-weight: 700;
}

.brand .logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(46, 107, 255, 0.15);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #031228;
  box-shadow: 0 12px 30px rgba(46, 107, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(46, 107, 255, 0.45);
}

.btn-outline {
  border-color: rgba(98, 130, 180, 0.4);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 22px;
}

.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero.compact {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: flex-start;
}

.hero-card {
  background: linear-gradient(140deg, rgba(18, 36, 59, 0.9), rgba(7, 16, 30, 0.9));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 54px);
  margin: 12px 0 16px;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 18px;
}

.hero-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-top: 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(46, 107, 255, 0.12);
  border: 1px solid rgba(75, 210, 255, 0.25);
  color: var(--text);
  font-weight: 700;
}

.hero-question .btn {
  padding: 8px 16px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius-sm);
}

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

.stat .value {
  font-size: 22px;
  font-weight: 700;
}

.section {
  padding: 80px 0;
}

.section.compact {
  padding: 40px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.section-title {
  font-size: 30px;
  margin: 0;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.steps-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step-card {
  background: linear-gradient(160deg, rgba(16, 33, 55, 0.92), rgba(9, 18, 33, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px 180px at 90% -20%, rgba(46, 107, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(46, 107, 255, 0.15);
  border: 1px solid rgba(75, 210, 255, 0.35);
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 10px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.card {
  background: linear-gradient(160deg, rgba(16, 33, 55, 0.92), rgba(10, 19, 33, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 10% -20%, rgba(75, 210, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.client-showcase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 170px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.client-showcase-card img {
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(5, 12, 24, 0.35));
}

.client-showcase-name {
  font-weight: 700;
  color: var(--text);
}

.client-showcase-link {
  text-decoration: none;
}

.client-showcase-link:hover {
  border-color: rgba(75, 210, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(4, 10, 22, 0.5);
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 18px;
    background: rgba(12, 20, 36, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.35);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(75, 210, 255, 0.5);
    box-shadow: 0 24px 40px rgba(2, 6, 23, 0.45);
}

.services-why {
  margin-top: 50px;
}

.services-why h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.why-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.why-card {
  background: linear-gradient(160deg, rgba(16, 33, 55, 0.9), rgba(10, 19, 33, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  background: rgba(46, 107, 255, 0.2);
  border: 1px solid rgba(75, 210, 255, 0.35);
  color: var(--accent);
  font-size: 22px;
}

.services-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(46, 107, 255, 0.2), rgba(12, 22, 38, 0.9));
  border: 1px solid rgba(75, 210, 255, 0.25);
  box-shadow: var(--shadow-soft);
}

.services-cta h2 {
  margin: 0 0 6px;
}

@media (max-width: 720px) {
  .services-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 4px 0 14px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(75, 210, 255, 0.28), transparent 70%),
    rgba(46, 107, 255, 0.12);
  border: 1px solid rgba(75, 210, 255, 0.45);
  box-shadow: 0 10px 22px rgba(3, 12, 28, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #e6f4ff;
  font-size: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(75, 210, 255, 0.7);
  box-shadow: 0 14px 28px rgba(3, 12, 28, 0.55), 0 0 18px rgba(75, 210, 255, 0.25);
}

.service-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(120, 150, 190, 0.25);
}

.service-card .btn {
  margin-top: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 107, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(46, 107, 255, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.list a {
  color: var(--muted);
}

.list a:hover {
  color: var(--text);
}

.list li span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(75, 210, 255, 0.6);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.portfolio-grid.blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .portfolio-grid.blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .portfolio-grid.blog-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-card .image {
  height: 180px;
  background: linear-gradient(135deg, rgba(46, 107, 255, 0.2), rgba(11, 18, 32, 0.6));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--muted);
}

.portfolio-card img {
  width: 100%;
  object-fit: cover;
}

.home-portfolio .portfolio-media {
  height: 240px !important;
}

@media (max-width: 900px) {
  .home-portfolio .portfolio-media {
    height: 210px !important;
  }
}

@media (max-width: 600px) {
  .home-portfolio .portfolio-media {
    height: 190px !important;
  }
}

.section-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.portfolio-card .body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.portfolio-card .body .btn {
  margin-top: auto;
}

.testimonials {
  display: grid;
  gap: 22px;
}

.testimonial {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(12, 22, 38, 0.9);
}

.testimonial-rating {
  display: inline-flex;
  gap: 4px;
  font-size: 16px;
  color: #f5c542;
  margin-top: 10px;
}

.testimonial-rating .empty {
  color: rgba(170, 190, 220, 0.4);
}

.testimonial .name {
  font-weight: 700;
  margin-top: 12px;
}

.testimonials-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(16, 33, 55, 0.95), rgba(8, 16, 30, 0.95));
  border: 1px solid rgba(120, 150, 190, 0.3);
  border-radius: 22px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(4, 10, 22, 0.45);
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 160px at 90% -20%, rgba(75, 210, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial-mark {
  font-size: 42px;
  line-height: 1;
  color: rgba(75, 210, 255, 0.6);
}

.testimonial-card .testimonial-rating {
  margin-top: 0;
  font-size: 14px;
}

.testimonial-quote {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
}

.testimonial-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(120, 150, 190, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(46, 107, 255, 0.15);
  border: 1px solid rgba(75, 210, 255, 0.35);
  color: var(--accent);
}

.testimonial-name {
  font-weight: 700;
}

.testimonial-role {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--panel);
}

.form-card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
  position: relative;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.star-rating label {
  font-size: 26px;
  color: rgba(170, 190, 220, 0.4);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #f5c542;
}

.star-rating label:active {
  transform: scale(0.95);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(140, 170, 210, 0.3);
  background: rgba(7, 15, 28, 0.7);
  color: var(--text);
  font-family: inherit;
}

textarea {
  min-height: 140px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(170, 190, 220, 0.7);
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.helper {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.alert {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.alert ul {
  margin: 0;
  padding-right: 18px;
}

.alert.success {
  background: rgba(40, 180, 110, 0.15);
  border: 1px solid rgba(40, 180, 110, 0.4);
  color: #bdf2d6;
}

.alert.error {
  background: rgba(220, 70, 70, 0.15);
  border: 1px solid rgba(220, 70, 70, 0.4);
  color: #f6b5b5;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  color: var(--muted);
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(46, 107, 255, 0.2), rgba(12, 22, 38, 0.9));
  border: 1px solid rgba(75, 210, 255, 0.25);
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.footer-cta h2 {
  margin: 0 0 6px;
  color: var(--text);
}

.footer-cta p {
  margin: 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 20px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(46, 107, 255, 0.2), rgba(11, 18, 32, 0.8));
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 150, 190, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 210, 255, 0.6);
  box-shadow: 0 12px 24px rgba(3, 12, 28, 0.45), 0 0 18px rgba(75, 210, 255, 0.2);
}

.socials i {
  font-size: 18px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shapes span {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(46, 107, 255, 0.35), transparent 70%);
  filter: blur(8px);
}

.hero-shapes span:nth-child(1) {
  right: -40px;
  top: 40px;
}

.hero-shapes span:nth-child(2) {
  left: -60px;
  top: 220px;
  width: 180px;
  height: 180px;
}

@media (max-width: 900px) {
  .hero {
    padding: 72px 0 56px;
  }
  .nav-links {
    display: none;
    position: absolute;
    inset: 70px 16px auto 16px;
    flex-direction: column;
    background: rgba(10, 18, 32, 0.98);
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero {
    padding: 64px 0 48px;
  }
}

.trust-bar {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(12, 22, 38, 0.9);
  border: 1px solid rgba(120, 150, 190, 0.25);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  box-shadow: var(--shadow-soft);
}

.trust-item {
  display: grid;
  gap: 6px;
}

.trust-item .label {
  color: var(--muted);
  font-size: 13px;
}

.trust-item .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.hero-stats-block {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.stat-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
  background: rgba(12, 22, 38, 0.9);
  border: 1px solid rgba(120, 150, 190, 0.25);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.process-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.process-card {
  background: linear-gradient(160deg, rgba(16, 33, 55, 0.92), rgba(10, 19, 33, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.case-study {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.case-card {
  background: linear-gradient(150deg, rgba(15, 31, 51, 0.95), rgba(8, 18, 33, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.case-metric {
  background: rgba(46, 107, 255, 0.12);
  border: 1px solid rgba(75, 210, 255, 0.25);
  border-radius: 12px;
  padding: 10px;
}

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

.case-metric .value {
  font-weight: 700;
  color: var(--text);
}

.tech-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tech-card {
  background: linear-gradient(160deg, rgba(16, 33, 55, 0.92), rgba(10, 19, 33, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.tech-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: rgba(46, 107, 255, 0.18);
  border: 1px solid rgba(75, 210, 255, 0.35);
  color: var(--accent);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tech-card h3 {
  margin: 6px 0 8px;
}

.tech-card p {
  margin: 0;
  color: var(--muted);
}

.guarantee-grid,
.deliverables,
.package-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.guarantee-card,
.deliverable-card,
.package-card {
  background: linear-gradient(160deg, rgba(16, 33, 55, 0.92), rgba(10, 19, 33, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package-card h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.package-for {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.package-featured {
  border-color: rgba(75, 210, 255, 0.5);
  box-shadow: 0 20px 40px rgba(4, 12, 26, 0.5);
  position: relative;
}

.package-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(46, 107, 255, 0.2);
  color: var(--accent);
  border: 1px solid rgba(75, 210, 255, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.guarantee-card h3,
.deliverable-card h3,
.package-card h3 {
  margin: 0 0 8px;
}

.guarantee-card p,
.deliverable-card p,
.package-card p {
  margin: 0;
  color: var(--muted);
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  text-align: right;
}

.package-details {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(120, 150, 190, 0.2);
  background: rgba(12, 22, 38, 0.55);
  text-align: right;
}

.package-detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.package-detail .value {
  color: var(--text);
  font-weight: 700;
}

.package-list li {
  position: relative;
  padding-right: 18px;
}

.package-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(75, 210, 255, 0.6);
}

.package-cta {
  margin-top: 16px;
  width: 100%;
  margin-top: auto;
}

.package-compare {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(12, 22, 38, 0.9);
  box-shadow: var(--shadow-soft);
}

.package-compare table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.package-compare th,
.package-compare td {
  padding: 12px;
  border-bottom: 1px solid rgba(120, 150, 190, 0.2);
}

.package-compare th {
  color: var(--accent);
  background: rgba(16, 33, 55, 0.6);
}

.package-compare tr:last-child td {
  border-bottom: 0;
}

.whatsapp-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #22c55e;
  color: #031228;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 25px rgba(2, 6, 23, 0.45);
  z-index: 200;
}

.whatsapp-float i {
  font-size: 24px;
}

@media (max-width: 700px) {
  .hero-question {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
  }
}

.btn-outline {
  border-color: rgba(98, 130, 180, 0.55);
}

.btn-outline:hover {
  box-shadow: 0 0 0 2px rgba(75, 210, 255, 0.25);
}

.grid-3 > * {
  height: 100%;
}

.service-card,
.portfolio-card,
.testimonial-card {
  height: 100%;
}

.testimonial-card {
  border: 1px solid rgba(120, 150, 190, 0.35);
  box-shadow: 0 20px 45px rgba(4, 10, 22, 0.5);
}

.portfolio-images {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portfolio-image-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  min-height: 180px;
  box-shadow: var(--shadow-soft);
}

.portfolio-image-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.mini-contact {
  background: linear-gradient(160deg, rgba(16, 33, 55, 0.92), rgba(10, 19, 33, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.mini-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-form .full {
  grid-column: 1 / -1;
}

.mini-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .mini-form {
    grid-template-columns: 1fr;
  }
}

.faq {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  background: rgba(12, 22, 38, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.faq-item h3 {
  margin: 0 0 8px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.policy-card {
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2,
.policy-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.policy-content h3 {
  margin-top: 22px;
  color: var(--accent);
}

.policy-content p {
  margin: 0 0 12px;
  color: var(--text);
}

.policy-content ul {
  margin: 0 0 12px;
  padding-right: 18px;
  color: var(--text);
}

.policy-content li {
  margin-bottom: 6px;
  color: var(--muted);
}
