:root {
  --bg-dark: #07090e;
  --bg-card: rgba(18, 25, 42, 0.65);
  --accent-cyan: #00f0ff;
  --accent-blue: #0072ff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  line-height: 1.6;
}

/* RTL / Multi-Language Fonts */
[lang="ar"],
[lang="ku"] {
  font-family: 'Noto Kufi Arabic', 'Plus Jakarta Sans', sans-serif;
  direction: rtl;
  text-align: right;
}

[lang="ar"] .text-center,
[lang="ku"] .text-center {
  text-align: center;
}

.lang-switch-container {
  display: flex;
  align-items: center;
}

.lang-select {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.15);
}

.lang-select option {
  background: #0d111a;
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Animated Glow Mesh */
.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(0, 240, 255, 0.12) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(0, 114, 255, 0.12) 0%,
      transparent 45%
    );
  z-index: -2;
  animation: pulseMesh 10s ease-in-out infinite alternate;
}

@keyframes pulseMesh {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Floating Particles Canvas */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Mouse Spotlight Effect */
#spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.08) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* Typography & Helpers */
h1,
h2,
h3,
h4 {
  color: #fff;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-blue)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.sub-heading {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* SVG Helpers */
.icon-svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.icon-large {
  width: 48px;
  height: 48px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.icon-check {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.icon-x {
  width: 16px;
  height: 16px;
  color: #ff5555;
  flex-shrink: 0;
  margin-top: 3px;
}

/* =========================
   Navigation
========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
}

.logo span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn:hover {
  color: var(--accent-cyan);
}

/* Buttons */
.btn-primary,
.btn-primary-sm,
.btn-primary-card,
.btn-secondary,
.btn-card {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary,
.btn-primary-sm,
.btn-primary-card {
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-blue)
  );
  color: #000;
  border: none;
}

.glow-btn:hover {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.btn-secondary,
.btn-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
}

.btn-secondary:hover,
.btn-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  text-align: center;
}

.glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 3.5rem;
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 36px;
  white-space: pre-line;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Layout & 3D Tilt Cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-section,
.services-section,
.pricing-section,
.contact-section {
  padding: 100px 0;
}

.tilt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  transition:
    transform 0.1s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  transform-style: preserve-3d;
}

.tilt-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}

.stats-grid {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.stat-card {
  padding: 20px;
  flex: 1;
}

.glass-card {
  padding: 40px;
  text-align: center;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  );
  gap: 24px;
}

.service-card {
  padding: 32px;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  );
  gap: 32px;
}

.pricing-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-cyan);
  background: linear-gradient(
    180deg,
    rgba(0, 240, 255, 0.08) 0%,
    rgba(18, 25, 42, 0.8) 100%
  );
}

.popular-tag {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--accent-cyan);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

[lang="ar"] .popular-tag,
[lang="ku"] .popular-tag {
  right: auto;
  left: 20px;
}

.plan-header {
  margin-bottom: 24px;
}

.plan-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 8px;
}

.price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.features-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
}

.features-list li.not-included {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Addons */
.addons-section {
  margin-top: 60px;
}

.addons-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 32px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  );
  gap: 24px;
}

.addon-card {
  padding: 24px;
}

.addon-price {
  color: var(--accent-cyan);
  font-weight: 700;
  margin: 8px 0;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-icon.wa {
  background: rgba(35, 211, 102, 0.15);
  color: #25d366;
}

.channel-icon.call {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
}

.channel-icon.mail {
  background: rgba(0, 114, 255, 0.15);
  color: var(--accent-blue);
}

.channel-icon svg {
  width: 22px;
  height: 22px;
}

.glass-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  background: #000;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =========================
   Mobile Responsive
========================= */

@media (max-width: 900px) {

  .grid-2,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Mobile Navigation */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 25px 20px;
    background: rgba(7, 9, 14, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
  }

  /* THIS FIXES THE HAMBURGER MENU */
  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links li {
    width: auto;
  }

  .nav-links a {
    display: block;
  }

  .nav-links .btn-primary-sm {
    padding: 10px 20px;
  }

  .lang-switch-container {
    justify-content: center;
  }

  .lang-select {
    padding: 7px 12px;
  }
}

/* Smaller Phones */
@media (max-width: 600px) {

  .container {
    padding: 0 18px;
  }

  .navbar {
    padding: 14px 0;
  }

  .logo {
    font-size: 1.4rem;
  }

  .hero-section {
    padding: 150px 0 80px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta a {
    width: 100%;
    max-width: 300px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-section,
  .services-section,
  .pricing-section,
  .contact-section {
    padding: 70px 0;
  }

  .stats-grid {
    flex-direction: column;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .addons-grid {
    grid-template-columns: 1fr;
  }

  .glass-card {
    padding: 28px 20px;
  }

  .glass-form-card {
    padding: 24px 18px;
  }
}

/* Very Small Phones */
@media (max-width: 400px) {

  .container {
    padding: 0 15px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .mobile-menu-btn {
    padding: 4px;
  }

  .nav-links {
    gap: 16px;
    padding: 22px 15px;
  }
}

/* About Image */
.about-img {
  width: 100%;
  max-width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}