:root {
  --primary: #0f2e4a;
  --primary-dark: #051421;
  --accent: #00b8d4;
  --accent-glow: rgba(0, 184, 212, 0.4);
  --bg-white: #ffffff;
  --bg-light: #f0f7fb;
  --text-main: #1a202c;
  --text-muted: #64748b;
  --border-glass: rgba(255, 255, 255, 0.2);
  --border-light: rgba(15, 46, 74, 0.1);
  
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --shadow-glass: 0 8px 32px 0 rgba(15, 46, 74, 0.05);
  --shadow-neon: 0 0 20px var(--accent-glow);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  background-image: radial-gradient(rgba(15, 46, 74, 0.04) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 15%; right: -15vw;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(0, 184, 212, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(100px);
}
body::after {
  content: '';
  position: fixed;
  bottom: 10%; left: -15vw;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(15, 46, 74, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(90px);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.2;
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar (Glassmorphism) */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-glass);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background-color: var(--accent);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.lang-selector select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}
.lang-selector select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

/* Cinematic Hero */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #051421;
}
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 800px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(5, 20, 33, 0.5);
}
.btn {
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}
.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-neon);
}
.btn-primary:hover {
  background-color: #00e5ff;
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--accent-glow);
}
.hero-bg-centered {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1100px;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
  filter: blur(4px);
}

@keyframes float3d {
  0% { transform: translateY(0) rotateX(0) rotateY(0); }
  33% { transform: translateY(-20px) rotateX(5deg) rotateY(5deg); }
  66% { transform: translateY(10px) rotateX(-5deg) rotateY(-5deg); }
  100% { transform: translateY(0) rotateX(0) rotateY(0); }
}

/* Sections */
.subpage-header {
  padding-top: 180px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.subpage-header h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.subpage-header p {
  font-size: 1.35rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}
.section-padding { padding: 120px 0; }
.section-header { margin-bottom: 5rem; }
.section-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  box-shadow: var(--shadow-glass);
  padding: 3rem;
  transition: var(--transition);
}
.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-neon);
}

/* Focus Section */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.focus-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow: var(--shadow-glass);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}
.feature-box:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-neon);
}
.feature-icon {
  font-size: 2rem;
  color: var(--accent);
}
.feature-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

/* Section Tag Tech Badge */
.section-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 184, 212, 0.08);
  border: 1px solid rgba(0, 184, 212, 0.2);
  color: var(--accent);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 184, 212, 0.05);
}
.services-section .section-tag {
  background: rgba(15, 46, 74, 0.05);
  border: 1px solid rgba(15, 46, 74, 0.1);
  color: var(--primary);
}

/* Services / Infrastructure */
.services-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(240, 247, 251, 0.25) 100%);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 1px solid rgba(15, 46, 74, 0.04);
  border-bottom: 1px solid rgba(15, 46, 74, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.services-section::before {
  content: '';
  position: absolute;
  bottom: -15%; left: -5%;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(0, 184, 212, 0.14) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
  filter: blur(90px);
}
.services-section::after {
  content: '';
  position: absolute;
  top: -15%; right: -5%;
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, rgba(15, 46, 74, 0.09) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
  filter: blur(70px);
}
.services-section h2 {
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.services-section h3 { color: var(--primary); }
.services-section .text-muted { color: var(--text-muted); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.services-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.service-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 46, 74, 0.08);
  border-left: 4px solid rgba(15, 46, 74, 0.15);
  padding: 2.2rem;
  border-radius: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(0, 184, 212, 0.04) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.service-card i {
  transition: var(--transition);
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 184, 212, 0.25);
  border-left-color: var(--accent);
  transform: translateY(-5px) translateX(5px);
  box-shadow: 0 15px 35px rgba(0, 184, 212, 0.1), 0 0 15px rgba(0, 184, 212, 0.05);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover i {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
.service-img {
  position: relative;
  border-radius: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 46, 74, 0.08);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}
.service-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid rgba(0, 184, 212, 0.15);
  border-radius: 24px;
  pointer-events: none;
  margin: 4px;
}
.service-img::after {
  content: 'SYSTEM_BRAIN_v1.0';
  position: absolute;
  bottom: 20px; left: 24px;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(5, 20, 33, 0.85);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(0, 184, 212, 0.3);
  box-shadow: 0 0 10px rgba(0, 184, 212, 0.2);
}
.service-img:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 184, 212, 0.15);
}
.service-img img {
  width: 100%;
  border-radius: 16px;
  transition: var(--transition);
}
.service-img:hover img {
  filter: brightness(1.05) contrast(1.02);
}

/* Featured Achievement Highlight */
.achievement-featured {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}
.achievement-featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 184, 212, 0.15);
  border-color: var(--accent);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.featured-img-wrapper {
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 380px;
}
.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.achievement-featured:hover .featured-img {
  transform: scale(1.05);
}
.featured-content {
  padding: 3rem 4rem 3rem 0;
}
.award-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 184, 212, 0.1);
  border: 1px solid rgba(0, 184, 212, 0.25);
  color: var(--accent);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 184, 212, 0.1);
}

[dir="rtl"] .featured-content {
  padding: 3rem 0 3rem 4rem;
}

@media (max-width: 992px) {
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .featured-img-wrapper {
    min-height: 300px;
  }
  .featured-content {
    padding: 2rem;
  }
  [dir="rtl"] .featured-content {
    padding: 2rem;
  }
}

/* About Hero Subpage Banner */
.about-hero-banner {
  background: linear-gradient(135deg, #020c16 0%, #051421 50%, #0a253f 100%);
  position: relative;
  overflow: hidden;
  padding: 190px 0 110px;
  z-index: 1;
  border-bottom: 1px solid rgba(0, 184, 212, 0.15);
}
.about-hero-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(0, 184, 212, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.about-hero-banner::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(0, 184, 212, 0.08) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
  filter: blur(100px);
}
.about-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-banner-text {
  text-align: left;
}
.about-hero-banner h1 {
  font-size: 3.85rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.25;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}
.about-hero-banner p {
  font-size: 1.25rem;
  color: #f1f5f9;
  line-height: 1.8;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}
.about-banner-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.firnas-hologram-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  opacity: 0.35;
  filter: drop-shadow(0 0 25px rgba(0, 184, 212, 0.3)) contrast(1.1);
  animation: floatHologram 6s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes floatHologram {
  0% { transform: translateY(0px) rotate(0deg); filter: drop-shadow(0 0 25px rgba(0, 184, 212, 0.3)) opacity(0.35); }
  50% { transform: translateY(-12px) rotate(1deg); filter: drop-shadow(0 0 40px rgba(0, 184, 212, 0.5)) opacity(0.45); }
  100% { transform: translateY(0px) rotate(0deg); filter: drop-shadow(0 0 25px rgba(0, 184, 212, 0.3)) opacity(0.35); }
}

[dir="rtl"] .about-banner-text {
  text-align: right;
}

@media (max-width: 992px) {
  .about-banner-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .about-banner-text {
    text-align: center;
  }
  .about-hero-banner h1 {
    font-size: 2.75rem;
  }
  .firnas-hologram-img {
    max-width: 250px;
  }
}

/* Partners & Supporters Section */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 46, 74, 0.08);
  border-radius: 24px;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.partner-icon {
  font-size: 3.5rem;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: var(--transition);
  opacity: 0.6;
}
.partner-logo-img {
  max-width: 180px;
  height: 75px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  filter: grayscale(1) opacity(0.6);
  display: block;
}
.partner-card:hover .partner-logo-img {
  filter: grayscale(0) opacity(1) drop-shadow(0 0 15px rgba(0, 184, 212, 0.2));
  transform: scale(1.05);
}
.partner-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.partner-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(15, 46, 74, 0.05);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  transition: var(--transition);
}
.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left center;
}
.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 184, 212, 0.12);
  border-color: rgba(0, 184, 212, 0.3);
  background: rgba(255, 255, 255, 0.9);
}
.partner-card:hover::before {
  transform: scaleX(1);
}
.partner-card:hover .partner-icon {
  color: var(--accent);
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}
.partner-card:hover .partner-tag {
  color: var(--accent);
  background: rgba(0, 184, 212, 0.08);
}

/* Achievements Dark Section with Heavy Glows & Dot Matrix */
.achievements-dark-section {
  background: #051421;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 1px solid rgba(0, 184, 212, 0.1);
  border-bottom: 1px solid rgba(0, 184, 212, 0.1);
  background-image: radial-gradient(rgba(0, 184, 212, 0.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.achievements-dark-section::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(0, 184, 212, 0.08) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
  filter: blur(100px);
}
.achievements-dark-section::after {
  content: '';
  position: absolute;
  bottom: -10%; right: -10%;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(15, 46, 74, 0.5) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
  filter: blur(80px);
}
.achievements-dark-section .container {
  position: relative;
  z-index: 2;
}
.achievements-dark-section h2 {
  color: #ffffff !important;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}
.achievements-dark-section .text-muted {
  color: #94a3b8 !important;
}
.achievements-dark-section .achievement-featured {
  background: rgba(5, 20, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.2);
}
.achievements-dark-section .achievement-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 0 35px rgba(0, 184, 212, 0.25);
}
.achievements-dark-section .achievement-featured h3 {
  color: #ffffff;
}
.achievements-dark-section .featured-content p.text-muted {
  color: #cbd5e1 !important;
}
.achievements-dark-section .achievement-card {
  background: rgba(5, 20, 33, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-top: 4px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.2);
}
.achievements-dark-section .achievement-card h3 {
  color: #ffffff;
}
.achievements-dark-section .achievement-card p.text-muted {
  color: #cbd5e1 !important;
}
.achievements-dark-section .achievement-card:hover {
  border-top-color: var(--accent) !important;
  border-color: rgba(0, 184, 212, 0.25) !important;
  box-shadow: var(--shadow-neon) !important;
}

/* Achievements Timeline/Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}
.achievement-card {
  position: relative;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  box-shadow: var(--shadow-glass);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
  overflow: hidden;
}
.achievement-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0, 184, 212, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}
.achievement-card:hover {
  transform: translateY(-10px);
  border-top-color: var(--accent);
  box-shadow: var(--shadow-neon);
}
.achievement-card:hover::before { opacity: 1; }
.achievement-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}
.achievement-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
  position: relative;
}

/* Projects Portföy */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.project-showcase {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}
.project-showcase.reversed {
  grid-template-columns: 1.5fr 1fr;
}
.project-showcase:hover {
  box-shadow: var(--shadow-neon);
}
.project-info {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-info h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.project-info p { font-size: 1.125rem; color: var(--text-muted); }
.project-visual {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}
.team-member {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}
.team-member:hover {
  transform: translateY(-15px);
  border-color: var(--accent);
  box-shadow: var(--shadow-neon);
}
.member-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 4px;
}
.member-avatar img, .member-avatar .icon-ph {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-white);
  border: 4px solid var(--bg-white);
}
.member-avatar .icon-ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--primary);
}
.team-member h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 4rem;
  border-radius: 24px;
  box-shadow: var(--shadow-glass);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.form-control {
  width: 100%;
  padding: 1.25rem;
  border: 2px solid var(--bg-light);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--bg-light);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: var(--transition); font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  color: #64748b;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* RTL Strict Layout */
[dir="rtl"] {
  text-align: right;
}
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-content h1 { letter-spacing: normal; }
[dir="rtl"] .feature-box { border-left: none; border-right: 4px solid var(--accent); flex-direction: row-reverse; }
[dir="rtl"] .services-grid, [dir="rtl"] .focus-grid, [dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .project-showcase { direction: rtl; }
[dir="rtl"] .feature-icon, [dir="rtl"] .service-card i { transform: scaleX(-1); }

/* Mobile Menu Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  outline: none;
}
.nav-toggle .hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  position: relative;
  transition: background 0.2s ease-in-out;
}
.navbar.navbar-dark .nav-toggle .hamburger {
  background: #ffffff;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  position: absolute;
  left: 0;
  transition: transform 0.2s ease-in-out, top 0.2s ease-in-out;
}
.navbar.navbar-dark .nav-toggle .hamburger::before,
.navbar.navbar-dark .nav-toggle .hamburger::after {
  background: #ffffff;
}
.nav-toggle .hamburger::before { top: -8px; }
.nav-toggle .hamburger::after { top: 8px; }

/* Hamburger Open State Transform */
.nav-toggle.active .hamburger {
  background: transparent !important;
}
.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Responsive Design */
img { max-width: 100%; height: auto; display: block; }

/* Global viewport overflow safety for flawless mobile scrolling */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 992px) {
  .hero-content h1 { font-size: 3.5rem; }
  .section-header h2 { font-size: 2.5rem; }
  .project-showcase, .project-showcase.reversed { grid-template-columns: 1fr; }
  .project-visual { padding: 3rem 1rem; }
  [dir="rtl"] .project-showcase { direction: rtl; }
  
  .fico-hub-wrapper {
    height: auto;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .fico-preorder-container {
    justify-content: center;
    margin-top: 1.5rem;
  }
  .fico-interactive-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .fico-spec-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block; /* Show hamburger button on mobile */
  }
  .nav-links {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 2.5rem !important;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  }
  .navbar-dark .nav-links {
    background: rgba(5, 20, 33, 0.98);
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-container {
    flex-direction: row !important; /* Keep logo and hamburger button side-by-side! */
    height: 90px !important;
    padding: 0 1.5rem !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .nav-links a {
    font-size: 1.25rem !important;
    font-weight: 700;
  }
  .logo-text {
    font-size: 1.35rem !important;
  }
  .logo-text img {
    height: 48px !important;
  }
  
  .hero { padding-top: 160px; text-align: center; }
  .hero-container { grid-template-columns: 1fr; gap: 3rem; }
  
  .focus-grid, .services-grid, .focus-features, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .footer-logo { justify-content: center; }
  
  .contact-form-wrapper { padding: 2rem; }
  
  .project-info { padding: 2rem; }
  
  /* FiCo Hotspots Responsive Scaling */
  .fico-hotspots-container {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .fico-spec-card {
    padding: 2.5rem 1.5rem !important;
  }
  .hotspot {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
    border-width: 1px !important;
  }
  .hotspot-pulse {
    width: 28px !important;
    height: 28px !important;
  }
  
  /* About Page Cards Spacing on Mobile */
  .team-member {
    padding: 2.5rem 1.5rem !important;
  }
  .achievements-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .partner-card {
    padding: 2rem 1.5rem !important;
  }
}

/* Fluid Typography and Content Scaling for Small Smartphones (<576px) */
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
  }
  .hero-content p {
    font-size: 1rem !important;
    margin-bottom: 2.25rem !important;
    padding: 0 0.5rem;
  }
  .btn {
    padding: 1rem 2rem !important;
    font-size: 0.95rem !important;
  }
  
  /* About Page Subbanner Responsive Scaling */
  .about-hero-banner {
    padding: 140px 0 80px !important;
  }
  .about-hero-banner h1 {
    font-size: 2.15rem !important;
    line-height: 1.3 !important;
  }
  .about-hero-banner p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }
  .firnas-hologram-img {
    max-width: 220px !important;
  }
  
  /* Responsive Section Spacings */
  .section-padding {
    padding: 60px 0 !important;
  }
  .section-header {
    margin-bottom: 3rem !important;
  }
  .section-header h2 {
    font-size: 2.15rem !important;
  }
  
  /* Product Showcase Mobile Scaling */
  .project-info {
    padding: 2rem 1.5rem !important;
  }
  .project-info h2 {
    font-size: 1.85rem !important;
  }
  .project-visual {
    padding: 2.5rem 1rem !important;
  }
}

/* Typewriter Cursor */
#hero-cursor {
  display: inline-block;
  margin-left: 4px;
  font-weight: 300;
  -webkit-text-fill-color: var(--accent);
}
@keyframes cursorBlink {
  50% { opacity: 0; }
}
.animate-blink {
  animation: cursorBlink 0.9s step-end infinite;
}

/* Background Gradient Animation Styling */
.grad-anim-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
  background: linear-gradient(40deg, #051421, #0f2e4a);
  pointer-events: none;
}
.gradients-wrapper {
  width: 100%; height: 100%;
  filter: url(#blurMe) blur(40px);
  position: relative;
}
.g-circle {
  position: absolute;
  width: 80%; height: 80%;
  top: calc(50% - 40%);
  left: calc(50% - 40%);
  transform-origin: center center;
  mix-blend-mode: hard-light;
}
.g-first {
  background: radial-gradient(circle at center, rgba(0, 184, 212, 0.45) 0%, rgba(0, 184, 212, 0) 50%) no-repeat;
  animation: moveVertical 30s ease infinite;
}
.g-second {
  background: radial-gradient(circle at center, rgba(15, 46, 74, 0.7) 0%, rgba(15, 46, 74, 0) 50%) no-repeat;
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
}
.g-third {
  background: radial-gradient(circle at center, rgba(5, 20, 33, 0.8) 0%, rgba(5, 20, 33, 0) 50%) no-repeat;
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
}
.g-fourth {
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.4) 0%, rgba(0, 229, 255, 0) 50%) no-repeat;
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}
.g-fifth {
  background: radial-gradient(circle at center, rgba(24, 76, 120, 0.5) 0%, rgba(24, 76, 120, 0) 50%) no-repeat;
  transform-origin: calc(50% - 800px) calc(50% + 800px);
  animation: moveInCircle 20s ease infinite;
}
.g-interactive {
  background: radial-gradient(circle at center, rgba(0, 184, 212, 0.5) 0%, rgba(0, 184, 212, 0) 50%) no-repeat;
  width: 100%; height: 100%;
  top: -50%; left: -50%;
  opacity: 0.75;
  pointer-events: none;
  transform: translate(0px, 0px);
}

/* Gradients X Animations Keyframes */
@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}
@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Adaptive Dark Navbar for Home Page */
.navbar.navbar-dark {
  background: rgba(5, 20, 33, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar.navbar-dark.scrolled {
  background: rgba(5, 20, 33, 0.85);
  box-shadow: 0 8px 32px 0 rgba(5, 20, 33, 0.2);
}
.navbar.navbar-dark .logo-text {
  color: #ffffff;
}
.navbar.navbar-dark .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}
.navbar.navbar-dark .nav-links a:hover,
.navbar.navbar-dark .nav-links a.active {
  color: var(--accent);
}
/* Custom Language Dropdown Styling */
.lang-dropdown {
  position: relative;
  display: inline-block;
}
.lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  outline: none;
}
.navbar:not(.navbar-dark) .lang-dropdown-btn {
  background: rgba(15, 46, 74, 0.05);
  border: 1px solid rgba(15, 46, 74, 0.1);
  color: var(--primary);
}
.lang-dropdown-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.lang-flag {
  width: 20px;
  height: auto;
  border-radius: 2px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  vertical-align: middle;
}
.lang-arrow {
  font-size: 0.75rem;
  transition: var(--transition);
  opacity: 0.7;
}
.lang-dropdown.active .lang-arrow {
  transform: rotate(180deg);
}
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 8px 0;
  list-style: none;
  min-width: 140px;
  box-shadow: var(--shadow-glass);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}
.navbar-dark .lang-dropdown-menu {
  background: rgba(5, 20, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(5, 20, 33, 0.3);
}
.lang-dropdown.active .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown-menu li {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.navbar-dark .lang-dropdown-menu li {
  color: rgba(255, 255, 255, 0.85);
}
.lang-dropdown-menu li:hover {
  background: rgba(15, 46, 74, 0.05);
  color: var(--accent);
}
.navbar-dark .lang-dropdown-menu li:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

/* Text Parallax Scroll Styling */
.parallax-section-container {
  background: #051421;
}
.parallax-wrapper {
  position: relative;
  height: 150vh;
  padding: 0 12px;
  box-sizing: border-box;
}
.sticky-image {
  position: sticky;
  top: 12px;
  height: calc(100vh - 24px);
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  z-index: 0;
  overflow: hidden;
  will-change: transform, opacity;
  transition: transform 0.1s ease-out;
}
.sticky-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 33, 0.75);
  z-index: 1;
}
.parallax-copy {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  z-index: 2;
  pointer-events: none;
  will-change: transform, opacity;
}
.parallax-sub {
  font-size: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--accent);
}
.parallax-head {
  font-size: 5rem;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.parallax-content {
  background: #051421;
  position: relative;
  z-index: 3;
  padding: 120px 0;
}
.parallax-content-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 4rem;
  align-items: flex-start;
}
.parallax-content-left h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}
.parallax-content-right {
  color: rgba(255, 255, 255, 0.75);
}
.parallax-content-right p.lead {
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.parallax-content-right p:not(.lead) {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .parallax-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .parallax-head {
    font-size: 3rem;
  }
  .parallax-sub {
    font-size: 1.125rem;
  }
}

/* Footer Social Icon Links Styling */
.social-icon-link {
  color: #94a3b8;
  font-size: 1.5rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.social-icon-link:hover {
  color: var(--accent);
  transform: translateY(-3px);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

/* FiCo Interactive Showcase Styling */
.fico-interactive-section {
  background: #051421;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.fico-interactive-section::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(0, 184, 212, 0.08) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
  filter: blur(100px);
}
.fico-interactive-section::after {
  content: '';
  position: absolute;
  bottom: -10%; right: -10%;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(15, 46, 74, 0.6) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
  filter: blur(80px);
}
.fico-interactive-section .container {
  position: relative;
  z-index: 1;
}
.fico-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.fico-hub-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible;
  height: auto;
  gap: 3.5rem;
}
.fico-hotspots-container {
  position: relative;
  display: inline-block;
  width: 120%;
  margin-left: -10%;
  margin-right: -10%;
}
.fico-hub-image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 15px 40px rgba(0, 184, 212, 0.25));
  animation: floatHub 6s ease-in-out infinite;
}
@keyframes floatHub {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  box-shadow: 0 0 15px var(--accent-glow);
  border: 2px solid #ffffff;
}
.hotspot-pulse {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  animation: hotspotPulse 2s infinite;
  pointer-events: none;
}
@keyframes hotspotPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
.hotspot.active {
  background: #ffffff;
  color: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}
.fico-details-deck {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.dark-glass {
  background: rgba(5, 20, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.2);
  color: #ffffff;
}
.fico-spec-card {
  padding: 3rem 2.5rem;
  border-radius: 24px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
@keyframes cardPulseGlow {
  0% {
    box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow: 0 0 35px rgba(0, 184, 212, 0.4);
    border-color: var(--accent);
  }
  100% {
    box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.08);
  }
}
.fico-spec-card.flash-active {
  animation: cardPulseGlow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fico-spec-content {
  display: none;
}
.fico-spec-content.active {
  display: block;
  animation: specFadeIn 0.5s ease-out forwards;
}
.spec-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
.fico-spec-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  font-family: var(--font-display);
}
.fico-spec-content .text-muted {
  color: #94a3b8 !important;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.spec-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.metric-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.metric-row span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.metric-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #00e5ff 100%);
  border-radius: 100px;
  width: 0;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fico-spec-content.active .metric-fill {
  /* Triggered by JS or inline style widths */
}
.fico-terminal-simulator {
  border-radius: 20px;
  overflow: hidden;
}
.terminal-header {
  background: rgba(5, 20, 33, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-title {
  margin-left: 15px;
  font-family: monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.terminal-body {
  background: rgba(5, 20, 33, 0.9);
  padding: 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  color: #a6e22e;
  line-height: 1.5;
  min-height: 180px;
  max-height: 220px;
  overflow-y: auto;
  text-align: left;
  box-sizing: border-box;
}

@keyframes specFadeIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .fico-hub-wrapper {
    height: auto;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .fico-preorder-container {
    justify-content: center;
    margin-top: 1.5rem;
  }
  .fico-interactive-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .fico-spec-card {
    min-height: auto;
  }
}
@media (max-width: 768px) {
  .fico-spec-card {
    padding: 2rem 1.5rem;
  }
  .hotspot {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    border-width: 1px;
  }
  .hotspot-pulse {
    width: 28px;
    height: 28px;
  }
}

/* Preorder button container */
.fico-preorder-container {
  margin-top: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Premium Pre-Order button with moving cyan glow border */
.premium-glow-btn {
  position: relative;
  width: 270px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #051421; /* Match background */
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  z-index: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-glow-btn::before,
.premium-glow-btn::after {
  content: '';
  position: absolute;
  left: -2px;
  top: -2px;
  border-radius: 16px;
  background: linear-gradient(45deg, #00b8d4, #00e5ff, #0f2e4a, #00b8d4, #00e5ff, #051421, #00b8d4);
  background-size: 400%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  animation: cyanRainbow 8s linear infinite;
}

.premium-glow-btn::after {
  filter: blur(20px);
  opacity: 0.75;
  transition: var(--transition);
}

.premium-glow-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.premium-glow-btn:hover::after {
  filter: blur(28px);
  opacity: 1;
}

@keyframes cyanRainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* About Page Premium Overrides & Quick Navigator */
.about-goal-text {
  font-size: 1.1rem;
  color: #cbd5e1; /* slate-300 */
  line-height: 1.75;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-top: 1.75rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { border-left-color: var(--accent); }
  50% { border-left-color: #00e5ff; }
}

.about-quick-nav {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.quick-nav-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.25rem;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(5, 20, 33, 0.85) 0%, rgba(15, 46, 74, 0.6) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 184, 212, 0.18);
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), inset 0 0 15px rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 4px solid transparent;
  overflow: hidden;
}
.quick-nav-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 184, 212, 0.25), inset 0 0 20px rgba(0, 184, 212, 0.15);
  border-color: rgba(0, 184, 212, 0.45);
  border-bottom-color: var(--accent);
  background: linear-gradient(135deg, rgba(5, 20, 33, 0.95) 0%, rgba(15, 46, 74, 0.75) 100%);
}
.quick-nav-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 184, 212, 0.08);
  border: 1px solid rgba(0, 184, 212, 0.25);
  border-radius: 18px; /* High-end rounded squircle badge */
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 0 10px rgba(0, 184, 212, 0.1);
}
.quick-nav-card:hover .quick-nav-icon {
  transform: scale(1.15) rotate(8deg);
  background: rgba(0, 184, 212, 0.2);
  border-color: #00e5ff;
  color: #00e5ff;
  box-shadow: 0 0 20px rgba(0, 184, 212, 0.4), inset 0 0 8px rgba(0, 184, 212, 0.2);
}
.quick-nav-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  transition: color 0.3s ease;
}
.quick-nav-card:hover h3 {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 184, 212, 0.3);
}
.quick-nav-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
  transition: color 0.3s ease;
}
.quick-nav-card:hover p {
  color: #f1f5f9;
}
.quick-nav-action {
  font-size: 1rem;
  color: var(--accent);
  transition: var(--transition);
  margin-top: auto;
  align-self: flex-end;
}
.quick-nav-card:hover .quick-nav-action {
  transform: translateY(4px);
  color: #00e5ff;
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.5));
}

@media (max-width: 992px) {
  .about-quick-nav {
    margin-top: -30px;
  }
  .quick-nav-grid {
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .about-quick-nav {
    margin-top: 40px; /* Stack layout resets */
    padding: 0 1.5rem;
  }
  .quick-nav-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .quick-nav-card {
    padding: 1.75rem;
    align-items: center;
    text-align: center;
  }
  .quick-nav-card p {
    text-align: center;
  }
  .quick-nav-action {
    align-self: center;
  }
}

/* Location Map Interactive Card Styling */
.location-map-card {
  position: relative;
  cursor: pointer;
  user-select: none;
  perspective: 1000px;
  margin-bottom: 2rem;
  margin-top: 1rem;
}
.location-map-inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(5, 20, 33, 0.85) 0%, rgba(15, 46, 74, 0.6) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 184, 212, 0.18);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.02);
  width: 240px;
  height: 140px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
.location-map-card:hover .location-map-inner {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 184, 212, 0.45);
  box-shadow: 0 25px 50px rgba(0, 184, 212, 0.25), inset 0 0 20px rgba(0, 184, 212, 0.15);
}
.location-map-card.expanded .location-map-inner {
  width: 360px;
  height: 280px;
  border-color: rgba(0, 184, 212, 0.55);
  box-shadow: 0 30px 60px rgba(0, 184, 212, 0.3), inset 0 0 30px rgba(0, 184, 212, 0.2);
}

.map-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.location-map-card.expanded .map-grid-pattern {
  opacity: 0;
}

/* Expanded Map Overlay Styling - Neon cyber blueprint map! */
.expanded-map-overlay {
  position: absolute;
  inset: 0;
  background: #051421; /* Matches the dark-cyber theme! */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease 0.1s;
}
.location-map-card.expanded .expanded-map-overlay {
  opacity: 1;
}

/* SVG Roads and Buildings animation */
.map-roads-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-roads-svg line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1s ease 0.2s;
}
.location-map-card.expanded .map-roads-svg line {
  stroke-dashoffset: 0;
}
.road-main {
  stroke: rgba(0, 184, 212, 0.25); /* Glowing cyan primary roads */
  stroke-width: 4px;
}
.road-sec {
  stroke: rgba(0, 184, 212, 0.15);
  stroke-width: 3px;
}
.road-minor {
  stroke: rgba(0, 184, 212, 0.08);
  stroke-width: 1.5px;
}

.map-building {
  position: absolute;
  border-radius: 4px;
  background: rgba(0, 184, 212, 0.06);
  border: 1px solid rgba(0, 184, 212, 0.12);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s ease 0.5s;
}
.location-map-card.expanded .map-building {
  transform: scale(1);
  opacity: 1;
}
.map-building.b1 { top: 40%; left: 10%; width: 15%; height: 20%; }
.map-building.b2 { top: 15%; left: 35%; width: 12%; height: 15%; }
.map-building.b3 { top: 70%; left: 75%; width: 18%; height: 18%; }
.map-building.b4 { top: 20%; right: 10%; width: 10%; height: 25%; }

/* Pulse Pin - Cyan pulsing pin */
.map-marker-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s;
}
.location-map-card.expanded .map-marker-pin {
  transform: translate(-50%, -50%) scale(1);
}
.map-marker-pin::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent); /* Cyan pulse */
  opacity: 0.6;
  animation: pinPulse 2s infinite;
  z-index: -1;
  transform: scale(1);
}
@keyframes pinPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Content layer */
.map-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  box-sizing: border-box;
}
.map-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.map-icon-svg svg {
  transition: all 0.3s ease;
}
.location-map-card:hover .map-icon-svg svg {
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
.location-map-card.expanded .map-icon-svg {
  opacity: 0;
  pointer-events: none;
}
.map-live-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent); /* Cyan live dot */
  box-shadow: 0 0 8px var(--accent-glow);
}
.live-text {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.map-bottom-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.map-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff; /* White title for high readability */
  margin: 0;
  transition: transform 0.3s ease;
  font-family: var(--font-display);
}
.location-map-card:hover .map-title {
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(0, 184, 212, 0.3);
}
.map-coordinates {
  font-size: 11px;
  font-family: monospace;
  color: #cbd5e1; /* Silver coordinates */
  margin: 0;
  opacity: 0;
  height: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}
.location-map-card.expanded .map-coordinates {
  opacity: 1;
  height: auto;
  transform: translateY(0);
}
.map-underline {
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, #00e5ff 100%);
  width: 30%;
  transition: width 0.4s ease;
}
.location-map-card:hover .map-underline,
.location-map-card.expanded .map-underline {
  width: 100%;
}

.map-click-hint {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translate(-50%, 5px);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
}
.location-map-card:hover .map-click-hint {
  opacity: 1;
  transform: translate(-50%, 0);
  color: var(--accent);
}
.location-map-card.expanded:hover .map-click-hint {
  opacity: 1;
}

@media (max-width: 576px) {
  .location-map-card.expanded .location-map-inner {
    width: 300px;
    height: 250px;
  }
}

/* Clickable Team Member Hover Overlay & Hints */
.clickable-member {
  position: relative;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: var(--shadow-glass) !important;
  color: var(--text-main) !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.clickable-member h3 {
  color: var(--primary) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  margin-bottom: 0.5rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.clickable-member p.text-muted {
  color: var(--text-muted) !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.clickable-member .member-avatar {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.clickable-member:hover {
  transform: translateY(-15px) scale(1.02) !important;
  background: linear-gradient(135deg, rgba(5, 20, 33, 0.85) 0%, rgba(15, 46, 74, 0.6) 100%) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-color: rgba(0, 184, 212, 0.25) !important;
  box-shadow: 0 25px 50px rgba(0, 184, 212, 0.25), inset 0 0 20px rgba(0, 184, 212, 0.15) !important;
  color: #ffffff !important;
}

.clickable-member:hover h3 {
  color: #ffffff !important;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.clickable-member:hover p.text-muted {
  color: #cbd5e1 !important;
}

.clickable-member:hover .member-avatar {
  border-color: var(--accent);
  box-shadow: 0 0 25px var(--accent-glow);
}

.member-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(5, 20, 33, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.overlay-text {
  color: #00e5ff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

.clickable-member:hover .member-overlay {
  opacity: 1;
}

.clickable-member:hover .overlay-text {
  transform: translateY(0);
}

/* Social Icon Badges for Team Card (Expands on Hover) */
.member-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.clickable-member:hover .member-socials,
.team-member:hover .member-socials {
  margin-top: 1.25rem;
  max-height: 50px;
  opacity: 1;
  transform: translateY(0);
}

.member-socials .social-icon-link {
  color: #94a3b8;
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-socials .social-icon-link:hover {
  color: #00e5ff;
  background: rgba(0, 184, 212, 0.15);
  border-color: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 184, 212, 0.4), inset 0 0 8px rgba(0, 184, 212, 0.1);
  transform: translateY(-3px) scale(1.1);
}

/* Click Detail Hint (Expands on Hover) */
.click-detail-hint {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #00e5ff;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  text-transform: uppercase;
}

.clickable-member:hover .click-detail-hint {
  margin-top: 1.25rem;
  max-height: 30px;
  opacity: 0.9;
  transform: translateY(0);
}


