/* ================= ROOT VARIABLES ================= */

:root {
  --bg-dark: #050618;
  --bg-mid: #0f1235;
  --accent: #5c6cff;
  --accent-soft: #9f6bff;
  --text-main: #f7f8ff;
  --text-subtle: #b8c0ff;
  --card-bg: rgba(20, 24, 70, 0.6);
  --border-soft: rgba(140, 160, 255, 0.25);
}

/* ================= GLOBAL ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background: linear-gradient(
    120deg,
    #050618,
    #0b0f2a,
    #1a1f5a,
    #0b0f2a,
    #050618
  );
  background-size: 300% 300%;
  animation: gradientShift 18s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================= LAYOUT ================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

section {
  scroll-margin-top: 100px;
}

/* ================= HEADER ================= */

.main-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 25, 0.75);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.logo {
  font-family: "Poppins";
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92,108,255,0.6) 0%, rgba(92,108,255,0) 70%);
  animation: pulseGlow 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* ================= VIDEO HERO ================= */

.video-hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35; /* Adjust between 0.18–0.35 */
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 25, 0.7),
    rgba(5, 8, 25, 0.85)
  );
  z-index: 1;
}

.video-hero .particles {
  z-index: 2;
}

.video-hero .container {
  position: relative;
  z-index: 3;
}

/* ===== Brand Block ===== */

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff, #b0c4ff 18%, #283a86 65%, #040518);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.brand-name {
  font-family: "Poppins";
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 16px;
}

.brand-tagline {
  font-size: 10px;
  color: var(--text-subtle);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  text-align: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero h1 {
  font-family: "Poppins";
  font-size: 40px;
  max-width: 900px;
  margin: auto;
  line-height: 1.3;
}

.hero p {
  margin-top: 20px;
  color: var(--text-subtle);
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary, .btn-secondary {
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  margin: 10px;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(92,108,255,0.4);
}

.btn-secondary {
  border: 1px solid var(--border-soft);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
}

/* ================= PILLAR CARDS ================= */

.pillar-card {
  position: relative;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 18px;
  margin-bottom: 30px;
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: 0.3s;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 18px;
  background: linear-gradient(120deg, #5c6cff, #9f6bff, #5c6cff);
  background-size: 300% 300%;
  animation: borderMove 6s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes borderMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.pillar-card:hover {
  transform: translateY(-6px);
}

.pillar-card h3 {
  font-family: "Poppins";
  margin-bottom: 15px;
  color: var(--accent);
}

.pillar-card ul {
  margin-top: 15px;
  padding-left: 18px;
}

.pillar-card li {
  margin-bottom: 8px;
  color: var(--text-subtle);
  font-size: 14px;
}

/* ================= INDUSTRY GRID ================= */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}

.industry-grid div {
  position: relative;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: 0.3s;
  overflow: hidden;
}

.industry-grid div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(92,108,255,0.4), transparent 70%);
  opacity: 0;
  transition: 0.4s;
}

.industry-grid div:hover::before {
  opacity: 1;
}

.industry-grid div:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
  color: var(--text-subtle);
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){
  .hero h1 { font-size: 28px; }
  .nav-links { display:none; }
}