/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  background-color: #000;
  color: white;
  scroll-behavior: smooth;
}

/* VIDEO BACKGROUND */
.video-background iframe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* HERO SECTION */
.site-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* GLASS OVERLAY */
.hero-overlay {
  --x: 50%;
  --y: 50%;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 70%;
  max-width: 900px;
  padding: 3rem;
  border-radius: 20px;
  color: #fff;
  background: radial-gradient(
      circle at var(--x) var(--y),
      rgba(255, 255, 255, 0.12),
      rgba(5, 5, 5, 0.4) 70%
    );
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  animation: breatheGlass 6s ease-in-out infinite alternate;
}

/* GLASS BREATH EFFECT */
@keyframes breatheGlass {
  0% {
    background: radial-gradient(
      circle at var(--x) var(--y),
      rgba(255, 255, 255, 0.1),
      rgba(10, 10, 10, 0.35) 70%
    );
  }
  100% {
    background: radial-gradient(
      circle at var(--x) var(--y),
      rgba(255, 255, 255, 0.18),
      rgba(5, 5, 5, 0.45) 70%
    );
  }
}

.hero-overlay h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.hero-overlay p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #ff0077, #00e0ff);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 25px rgba(0, 224, 255, 0.4);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 224, 255, 0.6);
}

.btn.alt {
  background: linear-gradient(135deg, #00e0ff, #ff0077);
}

/* PLATFORM HUB SECTION */
.platform-hub {
  background: rgba(0, 0, 0, 0.95);
  padding: 4rem 2rem;
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #00fff0, #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 4rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.platform-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #00fff0, #ff0055);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 255, 240, 0.2);
  border-color: rgba(0, 255, 240, 0.3);
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.platform-header i {
  font-size: 2rem;
  color: #00fff0;
}

.platform-header h3 {
  font-size: 1.5rem;
  color: #fff;
}

.platform-card p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.platform-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: rgba(0, 255, 240, 0.2);
  color: #00fff0;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.platform-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #00fff0, #ff0055);
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
}

.platform-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 240, 0.4);
}

.ministry-btn {
  background: linear-gradient(135deg, #00d4aa, #3454d1);
}

.dev-btn {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.service-links, .crm-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-link, .crm-link {
  display: block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.service-link:hover, .crm-link:hover {
  background: rgba(0, 255, 240, 0.1);
  color: #00fff0;
  transform: translateX(5px);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.quick-link {
  display: block;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.quick-link:hover {
  background: rgba(0, 255, 240, 0.2);
  color: #00fff0;
}

.hero-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-overlay {
    width: 90%;
    padding: 2rem;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .platform-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}
