/* GLOBAL THEME */
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at center,
      rgba(255,255,255,0.25) 0%,
      rgba(79,140,255,0.20) 10%,
      rgba(20,30,60,0.85) 35%,
      #0b1120 70%,
      #06070d 100%
  );
  background-attachment: fixed;
  color: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

/* STAR FIELD */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(79,140,255,0.15) 1px, transparent 1px);
  background-size: 3px 3px, 2px 2px;
  background-position: 0 0, 50px 50px;
  opacity: 0.15;
  pointer-events: none;
}

/* EYES */
.corner-eyes {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 120px;
  animation: glow 2.4s infinite ease-in-out, blink 4s infinite ease-in-out;
  cursor: pointer;
  z-index: 9999;
}

@keyframes glow {
  0% { opacity: 0.4; filter: drop-shadow(0 0 4px #4f8cff); }
  50% { opacity: 1; filter: drop-shadow(0 0 14px #4f8cff); }
  100% { opacity: 0.4; filter: drop-shadow(0 0 4px #4f8cff); }
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  46%, 55% { opacity: 0; }
  56%, 100% { opacity: 1; }
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
}

.navbar .logo {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255,255,255,0.6);
}


.navbar nav a {
  margin-left: 25px;
  color: #dbe4ff;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: #4f8cff;
  text-shadow: 0 0 8px #4f8cff;
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(79, 140, 255, 0.4);
}

.subtitle {
  font-size: 1.3rem;
  opacity: 0.85;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.primary {
  background: #4f8cff;
  color: #fff;
  box-shadow: 0 0 12px #4f8cff;
}

.primary:hover {
  box-shadow: 0 0 20px #4f8cff;
}

.secondary {
  background: #1e293b;
  color: #fff;
  margin-left: 10px;
}

/* THREE BLOCKS */
.three-blocks {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 20px;
}

.block {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(79, 140, 255, 0.15);
  transition: 0.3s;
}

.block:hover {
  box-shadow: 0 0 20px rgba(79, 140, 255, 0.4);
  transform: translateY(-5px);
}

/* INTEGRATED INTELLIGENCE */
.integrated {
  text-align: center;
  padding: 60px 20px;
  position: relative;
}

.integrated::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
      rgba(255,255,255,0.25) 0%,
      rgba(79,140,255,0.25) 35%,
      rgba(79,140,255,0.08) 70%,
      transparent 100%
  );
  filter: blur(35px);
  border-radius: 50%;
  z-index: -1;
}


/* DOMAINS */
.domains {
  display: flex;
  justify-content: center;
  gap: 120px;
  padding: 40px 20px;
}

.domain-col h3 {
  color: #4f8cff;
  text-shadow: 0 0 10px #4f8cff;
}

.domain-col ul {
  list-style: none;
  padding: 0;
  line-height: 1.8;
  opacity: 0.9;
}

.domain-col ul li:hover {
  color: #4f8cff;
  text-shadow: 0 0 10px #4f8cff;
  cursor: pointer;
}

/* SOLUTIONS */
.solutions {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
}

.solution {
  text-align: center;
  max-width: 260px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(79, 140, 255, 0.15);
  transition: 0.3s;
}

.solution:hover {
  box-shadow: 0 0 20px rgba(79, 140, 255, 0.4);
  transform: translateY(-5px);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  opacity: 0.7;
  font-size: 0.9rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

.logo-icon {
  width: 40px;      /* adjust size if needed */
  height: auto;
}

.intel-image {
  display: block;
  margin: 40px auto;
  max-width: 900px;
  width: 90%;
  border-radius: 20px;
  mask-image: radial-gradient(circle, black 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 70%, transparent 100%);
  filter: drop-shadow(0 0 25px rgba(255,255,255,0.25));
}

.btn.primary {
  background: linear-gradient(135deg, #0a1a33 0%, #0e3a6f 50%, #0a1a33 100%);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 18px rgba(0, 118, 255, 0.35);
  transition: all 0.3s ease;
}

.btn.primary:hover {
  background: linear-gradient(135deg, #0e3a6f 0%, #1472c4 50%, #0e3a6f 100%);
  box-shadow: 0 0 28px rgba(0, 118, 255, 0.55);
  transform: translateY(-2px);
}

.btn.secondary {
  background: linear-gradient(135deg, #330018 0%, #7a0040 50%, #330018 100%);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 18px rgba(255, 0, 122, 0.35);
  transition: all 0.3s ease;
}

.btn.secondary:hover {
  background: linear-gradient(135deg, #7a0040 0%, #ff007a 50%, #7a0040 100%);
  box-shadow: 0 0 28px rgba(255, 0, 122, 0.55);
  transform: translateY(-2px);
}

.block h3 {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 
    0 0 12px rgba(0, 118, 255, 0.55),
    0 0 22px rgba(0, 118, 255, 0.35);
}

.block p {
  color: #dfe9ff;
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 
    0 0 10px rgba(0, 118, 255, 0.45),
    0 0 18px rgba(0, 118, 255, 0.25);
}

.block.personal:hover {
  background: rgba(255, 0, 122, 0.06);
  border: 1px solid rgba(255, 0, 122, 0.25);
  box-shadow: 0 0 8px rgba(255, 0, 122, 0.18);
  transition: 0.25s ease;
}

.mini-chat {
  position: fixed;
  top: 120px;
  left: 20px;
  width: 280px;
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  z-index: 9999;
}

.mini-chat.open {
  display: flex;
}

.mini-header {
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px 12px 0 0;
}

.mini-header span {
  color: #fff;
  font-size: 14px;
}

.mini-close {
  cursor: pointer;
  font-size: 18px;
}

.mini-body {
  padding: 15px;
  color: #fff;
  font-size: 14px;
  max-height: 200px;
  overflow-y: auto;
}

.mini-input {
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mini-input input {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: none;
  outline: none;
}

.mini-input button {
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background: #1472c4;
  color: #fff;
  cursor: pointer;
}




.dual-arc {
  display: flex;
  justify-content: center;
  gap: 260px;
  margin-top: 10px;
  position: relative;
}

/* Each column becomes a positioned container */
.arc {
  position: relative;
  width: 300px;
  height: 600px;
}

/* Base pill style */
.arc .item {
  position: absolute;
  padding: 10px 22px;
  border-radius: 40px;
  background: rgba(87, 115, 151, 0.603);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  color: #fff;
  white-space: nowrap;
  color: #f5f5f5;   /* Off‑White */
  text-decoration: none;
}

/* ENTERPRISE — left arc (diagonal downward-left) */
.enterprise .e1 { top: 0px;   left: 100px; }
.enterprise .e2 { top: 50px;  left: 80px; }
.enterprise .e3 { top: 100px; left: 60px; }
.enterprise .e4 { top: 150px; left: 50px; }
.enterprise .e5 { top: 200px; left: 40px; }
.enterprise .e6 { top: 250px; left: 40px; }
.enterprise .e7 { top: 300px; left: 50px; }
.enterprise .e8 { top: 350px; left: 60px; }
.enterprise .e9 { top: 400px; left: 70px; }

/* PERSONAL — right arc (diagonal downward-right) */
.personal .p1 { top: 0px;   left: 40px; }
.personal .p2 { top: 50px;  left: 60px; }
.personal .p3 { top: 100px; left: 80px; }
.personal .p4 { top: 150px; left: 90px; }
.personal .p5 { top: 200px; left: 100px; }
.personal .p6 { top: 250px; left: 90px; }
.personal .p7 { top: 300px; left: 80px; }
.personal .p8 { top: 350px; left: 40px; }
.personal .p9 { top: 400px; left: 0px; }

.arc .item a,
.arc .item a:visited,
.arc .item a:active,
.arc .item a:focus {
  color: #f5f5f5 !important;   /* Off‑White */
  text-decoration: none;
}

.arc .item a:hover {
  color: #ffffff !important;   /* Pure white on hover */
}


.arc .item:hover {
  background: rgba(0,150,255,0.35);
  border-color: rgba(0,150,255,0.6);
  box-shadow: 0 0 20px rgba(0,150,255,0.6);
  cursor: pointer;
}


.enterprise .item:hover {
  background: rgba(0,150,255,0.35);
  box-shadow: 0 0 20px rgba(0,150,255,0.6);
}

.personal .item:hover {
  background: rgba(255,80,180,0.35);
  box-shadow: 0 0 20px rgba(255,80,180,0.6);
}

.arc-heading.enterprise-heading {
  color: #0096ff; /* RootCausei9Z blue */
}


.mini-links-right {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end; /* pushes to right */
  gap: 10px;
  padding-right: 20px; /* adjust if needed */
}

.mini-btn {
  padding: 6px 14px;
  background: #0ea5e9;
  color: white;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: 0.2s ease;
}

.mini-btn:hover {
  background: #0284c7;
  box-shadow: 0 0 8px rgba(14,165,233,0.6);
}


/* ============================
   MOBILE RESPONSIVE FIXES
   ============================ */
@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .navbar nav a {
    padding: 8px 12px;
    font-size: 14px;
  }

  /* HERO */
  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero .subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  /* THREE BLOCKS */
  .three-blocks {
    flex-direction: column;
    gap: 15px;
  }

  .three-blocks .block {
    width: 100%;
    text-align: center;
  }

  /* INTEGRATED INTELLIGENCE */
  .intel-image {
    width: 100%;
    height: auto;
  }

  /* DUAL ARC SECTION */
  .dual-arc {
    flex-direction: column;
    gap: 30px;
  }

  .arc-block {
    width: 100%;
  }

  .arc {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* SOLUTIONS */
  .solutions {
    flex-direction: column;
    gap: 20px;
  }

  /* MINI CHAT */
  .mini-chat {
    width: 90%;
    right: 5%;
    bottom: 20px;
  }
}




/* ============================
   GLOBAL MOBILE-FIRST RESET
   ============================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* ============================
   RESPONSIVE LAYOUT FIXES
   ============================ */
@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    text-align: center;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
  }

  .navbar nav a {
    font-size: 14px;
    padding: 6px 10px;
  }

  /* HERO */
  .hero {
    padding: 40px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero .subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* MINI LINKS */
  .mini-links-right {
    position: static;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
  }

  /* THREE BLOCKS */
  .three-blocks {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .three-blocks .block {
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  /* INTEGRATED INTELLIGENCE */
  .integrated {
    padding: 20px;
    text-align: center;
  }

  .intel-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* DUAL ARC */
  .dual-arc {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }

  .arc-block {
    width: 100%;
  }

  .arc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .arc .item {
    text-align: center;
    padding: 12px;
  }

  /* SOLUTIONS */
  .solutions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .solution {
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  /* FOOTER */
  footer {
    text-align: center;
    padding: 20px;
  }

  /* MINI CHAT */
  .mini-chat {
    width: 90%;
    right: 5%;
    bottom: 20px;
  }
}
