/*
  =======================================================
   Project Name  : Serein Universe
   Version       : 1.0.0
   Lead Developer: Sahand Sabet
   Website       : https://sahandsabet.ir
   Description   : Core Stylesheet & UI Animations
  =======================================================
*/

@charset "utf-8";

/* ============================================
   --> FONTS & VARIABLES
   ============================================ */

@font-face {
  font-family: 'Lalezar';
  src: url('../fonts/lalezar.ttf') format('truetype');
}

@font-face {
  font-family: 'BMehr';
  src: url('../fonts/bmehr.ttf') format('truetype');
}

@font-face {
  font-family: 'Noxis';
  src: url('../fonts/noxis.otf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #0a0a0a;
  --carbon-dark: #121212;
  --carbon-medium: #1a1a1a;
  --carbon-light: #2a2a2a;
  --metal-dark: #3a3a3a;
  --metal-light: #4a4a4a;
  --accent-red: #ff3333;
  --accent-blue: #00a8ff;
  --accent-green: #00ff88;
  --accent-purple: #9945ff;
  --accent-cyan: #00ffff;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-dim: #808080;
}

@property --border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lalezar', 'BMehr', sans-serif;
  background: var(--primary-black);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  direction: rtl;
  text-align: right;
}

body::before { /* Carbon Fiber Background Pattern */
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px),
    linear-gradient(135deg,
      var(--primary-black) 0%,
      var(--carbon-dark) 25%,
      var(--carbon-medium) 50%,
      var(--carbon-dark) 75%,
      var(--primary-black) 100%);
  z-index: -2;
}

body::after { /* Animated Grid Overlay */
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(24, 146, 183, 0.05) 2px, transparent 2px),
    linear-gradient(90deg, rgba(24, 146, 183, 0.05) 2px, transparent 2px);
  background-size: 150px 150px;
  animation: gridMove 20s linear infinite;
  z-index: -1;
  opacity: 0.5;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(150px, 150px);
  }
}

/* ============================================
   --> LOADING SCREEN
   ============================================ */

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0b0c10;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.loader-logo-container {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-sun {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  animation: loaderSunRotate 3s linear infinite;
}

.loader-drop {
  position: absolute;
  width: 35%;
  height: 35%;
  object-fit: contain;
  z-index: 2;
  margin-bottom: 6px;
  transform-origin: center;
  animation: loaderDropPulse 1.5s ease-in-out infinite alternate;
}

@keyframes loaderSunRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes loaderDropPulse {
  0% {
    transform: scale(0.7);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.8));
  }
}


/* ============================================
   --> HEADER & NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(180deg,
      rgba(18, 18, 18, 0.98) 0%,
      rgba(18, 18, 18, 0.9) 50%,
      rgba(18, 18, 18, 0) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(30px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-container {
  max-width: 1400px;
  direction: ltr;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.custom-logo-container {
  position: relative;
  width: 45px;
  height: 45px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-sun {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  animation: rotateSun 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.logo-drop {
  position: absolute;
  width: 40%;
  height: 40%;
  object-fit: contain;
  z-index: 2;
  transform-origin: center;
  margin-bottom: 3px;
  animation: scaleDrop 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes rotateSun {
  0% { transform: rotate(0deg); }
  30% { transform: rotate(180deg); }
  60%, 100% { transform: rotate(360deg); }
}

@keyframes scaleDrop {
  0% { transform: scale(1); opacity: 1; }
  25% { transform: scale(0.5); opacity: 0.6; }
  55% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.logo-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Noxis', sans-serif;
  direction: ltr;
  display: inline-block;
}

.logo-text .serein {
  background: linear-gradient(135deg, #00ffff 0%, #00a8ff 40%, #9945ff 85%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text .universe {
  color: var(--text-secondary);
  font-weight: 300;
  margin-right: 5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
  direction: rtl;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px 25px;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
  font-size: 15px;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  width: 80%;
}

.nav-menu a.active {
  color: var(--accent-cyan);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ============================================
   --> HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin: auto 0;
}

.hero-text-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #00ffff, #9945ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.typewriter {
  display: inline-block;
  border-left: 3px solid var(--accent-purple);
  padding-left: 8px;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--accent-cyan); }
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-visual-side {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-orb-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease-out;
}

.orb-core {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #00f2fe, #9945ff, #0a0a14);
  box-shadow: 0 0 60px rgba(153, 69, 255, 0.6),
              inset 0 0 30px rgba(0, 242, 254, 0.8);
  animation: floatOrb 4s infinite ease-in-out alternate;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  pointer-events: none;
}

.ring-1 {
  width: 250px;
  height: 250px;
  border-dasharray: 10;
  animation: rotateRing 15s linear infinite;
}

.ring-2 {
  width: 290px;
  height: 290px;
  border-color: rgba(153, 69, 255, 0.3);
  border-style: dashed;
  animation: rotateRing 25s linear infinite reverse;
}

.floating-img {
  position: absolute;
  width: 26px;
  height: 26px;
  object-fit: contain;
  animation: floatParticles 3s infinite ease-in-out alternate;
}

.p1 { top: 8%; right: 8%; animation-delay: 0s; }
.p2 { bottom: 12%; left: 5%; animation-delay: 1s; width: 34px; height: 34px; }
.p3 { top: 68%; right: 4%; animation-delay: 2s; }

@keyframes floatOrb {
  0% { transform: translateY(-10px) scale(0.98); }
  100% { transform: translateY(10px) scale(1.02); }
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes floatParticles {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-15px) scale(1.15); }
}

.hero-center-action {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 40px;
}

.btn-card-style a {
  position: relative;
  padding: 16px 40px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: 
    linear-gradient(#14141c, #14141c) padding-box,
    conic-gradient(
      from var(--border-angle),
      transparent 0deg,
      transparent 280deg,
      var(--accent-cyan) 330deg,
      var(--accent-purple) 360deg
    ) border-box;
  animation: snakeRotate 3s linear infinite;
  transition: box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

@keyframes snakeRotate {
  to {
    --border-angle: 360deg;
  }
}

.btn-card-style span,
.btn-card-style i {
  position: relative;
  z-index: 2;
}

.btn-card-style i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: border-color 0.3s ease;
}

.btn-card-style:hover a {
  box-shadow: 0 0 20px rgba(153, 69, 255, 0.25);
  color: var(--accent-cyan);
  transform: scale(1.05);
}

.btn-card-style:hover i {
  border-color: var(--accent-cyan);
}

/* ============================================
   --> ABOUT US
   ============================================ */

.about-section {
  padding: 120px 30px 0 30px;
  background: linear-gradient(180deg,
      var(--primary-black) 0%,
      rgba(153, 69, 255, 0.02) 50%,
      var(--primary-black) 100%);
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.seperator-line {
  width: 100%;
  height: 2px;
  margin: 0 auto 60px;
  position: relative;
  overflow: hidden;
  background: var(--carbon-medium);
}

.seperator-line::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg,
      transparent,
      var(--accent-blue) 25%,
      var(--accent-green) 50%,
      var(--accent-purple) 75%,
      transparent);
  animation: lineSweep 4s ease-in-out infinite;
}

@keyframes lineSweep {
  0% { right: -100%; }
  100% { right: 100%; }
}

.rgb-headline {
  font-size: 50px;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.3;
  background: linear-gradient(135deg,
      var(--accent-cyan) 0%,
      var(--accent-purple) 25%,
      var(--accent-blue) 50%,
      var(--accent-green) 75%,
      var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about-subheading {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 80px;
  line-height: 1.8;
  font-weight: 300;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.pillar {
  position: relative;
  padding: 40px 30px;
  background: linear-gradient(135deg,
      rgba(42, 42, 42, 0.2),
      rgba(26, 26, 26, 0.3));
  border: 1px solid var(--metal-dark);
  border-radius: 20px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg,
      var(--accent-purple),
      var(--accent-blue),
      var(--accent-green));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pillar:hover::before {
  transform: scaleX(1);
}

.pillar:hover {
  transform: translateY(-10px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 40px rgba(153, 69, 255, 0.2);
  background: linear-gradient(135deg,
      rgba(153, 69, 255, 0.05),
      rgba(26, 26, 26, 0.3));
}

.pillar-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pillar-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(8px);
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}

.pillar-icon img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.4));
}

.pillar:hover .pillar-icon img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(153, 69, 255, 0.8));
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}

.pillar-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.pillar-description {
  font-size: 15px;
  font-family: 'BMehr', sans-serif;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pillar-description a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.pillar-description a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

.pillar-description a:hover {
  color: var(--accent-purple);
}

.pillar-description a:hover::after {
  width: 100%;
}

.about-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ============================================
   --> SERVICES SECTION
   ============================================ */

.services-section {
  padding: 120px 30px;
  background: linear-gradient(180deg,
      var(--primary-black) 0%,
      var(--carbon-dark) 50%,
      var(--primary-black) 100%);
  position: relative;
  overflow: hidden;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

.service-categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 12px 30px;
  background: var(--carbon-medium);
  border: 1px solid var(--metal-dark);
  border-radius: 30px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.category-tab:hover {
  background: rgba(153, 69, 255, 0.1);
  border-color: var(--accent-purple);
  color: var(--text-primary);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: var(--accent-purple);
  color: var(--text-primary);
  box-shadow: 0 5px 20px rgba(153, 69, 255, 0.3);
}

.services-hexagon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.services-hexagon-grid.switching {
  opacity: 0;
  transform: translateY(10px);
}

.service-hexagon {
  width: 200px;
  height: 230px;
  position: relative;
  margin: 30px 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-hexagon:hover {
  transform: translateY(-10px);
}

.hexagon-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform: rotate(30deg);
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-light));
  border: 2px solid var(--metal-dark);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.service-hexagon:hover .hexagon-inner {
  border-color: var(--accent-purple);
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.12), var(--carbon-light));
  box-shadow: 0 0 25px rgba(153, 69, 255, 0.6), inset 0 0 10px rgba(153, 69, 255, 0.3);
}

.hexagon-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: rotate(-30deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-icon-hex {
  width: 70px;
  height: 70px;
  margin-bottom: 5px;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.service-name-hex {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.service-desc-hex {
  font-size: 12px;
  font-family: 'BMehr', sans-serif;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.4;
  margin: 0;
  font-weight: 300;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   --> REALMS SECTION
   ============================================ */

.realms-section {
  padding: 120px 30px;
  background: var(--carbon-dark);
  position: relative;
}

.realms-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.realm-card {
  background: linear-gradient(135deg,
      rgba(42, 42, 42, 0.5),
      rgba(26, 26, 26, 0.8));
  border: 1px solid var(--metal-dark);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.realm-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg,
      transparent,
      var(--accent-purple),
      transparent);
  animation: none;
}

.realm-card:hover::before {
  animation: slideLeft 0.5s ease forwards;
}

@keyframes slideLeft {
  0% { right: -100%; }
  100% { right: 100%; }
}

.realm-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-purple);
  box-shadow: 0 15px 35px rgba(153, 69, 255, 0.2);
}

.realm-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(153, 69, 255, 0.3);
}

.realm-icon i {
  font-size: 34px;
  color: var(--text-primary);
  transition: transform 0.3s ease;
}

.realm-card:hover .realm-icon i {
  transform: scale(1.15);
}

.realm-card h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.realm-label {
	font-size: 14px;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 15px;
}

.realm-description {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 0 10px;
}

/* ============================================
   --> CONTACT SECTION
   ============================================ */

.contact-section {
  padding: 120px 30px;
  background: linear-gradient(180deg,
      var(--carbon-dark) 0%,
      var(--primary-black) 100%);
  position: relative;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info, .contact-form {
  padding: 40px;
  background: linear-gradient(135deg,
      rgba(42, 42, 42, 0.3),
      rgba(26, 26, 26, 0.5));
  border: 1px solid var(--metal-dark);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  color: inherit;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg,
      transparent,
      rgba(153, 69, 255, 0.1),
      transparent);
  transition: right 0.5s ease;
}

.info-item:hover::before {
  right: 100%;
}

.info-item:hover {
  transform: translateX(-10px);
  background: rgba(153, 69, 255, 0.1);
  box-shadow: 0 5px 20px rgba(153, 69, 255, 0.2);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  color: var(--text-primary);
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-item:hover .info-icon {
  transform: scale(1.1) rotate(-10deg);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

.info-text h4 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.info-item:hover .info-text h4 {
  color: var(--accent-cyan);
}

.info-text p {
  direction: ltr;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.info-item:hover .info-text p {
  color: var(--text-primary);
}

.info-item[target="_blank"] .info-text p::before {
  content: '↖ ';
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-item[target="_blank"]:hover .info-text p::before {
  opacity: 1;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 13px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--carbon-dark);
  border: 1px solid var(--metal-dark);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.2);
}

.form-group textarea {
  resize: none;
  min-height: 100px;
  max-height: 180px;
  overflow-y: auto;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
  font-family: inherit;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.5);
}

/* ============================================
   --> FOOTER SECTION
   ============================================ */

.footer {
  padding: 60px 30px 30px;
  background: var(--primary-black);
  border-top: 1px solid var(--metal-dark);
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--carbon-medium);
  border: 1px solid var(--metal-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-color: var(--accent-purple);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent-purple);
  padding-right: 10px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--metal-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr;
  max-width: 1200px;
  margin: 0 auto;
}

.copyright, .footer-credits {
  color: var(--text-dim);
  font-size: 14px;
}

.footer-credits a {
  color: var(--accent-purple);
  text-decoration: none;
}

.footer-credits a:hover {
  text-decoration: underline;
}

/* ============================================
   --> MEDIA QUERIES (RESPONSIVE DESIGN)
   ============================================ */

@media (max-width: 1024px) {
  .about-pillars {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text-side {
    text-align: center;
    align-items: center;
  }

  .hero-subtitle {
    margin: 0 auto 30px;
  }

  .hero-center-action {
    margin-top: 35px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    right: -100%;
    left: auto;
    top: 85px;
    flex-direction: column;
    background: rgba(18, 18, 18, 0.98);
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: 0.3s;
    padding: 40px 0;
    border-bottom: 1px solid var(--metal-dark);
    gap: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .nav-menu a {
    display: block;
    padding: 15px 30px;
    font-size: 16px;
  }

  .nav-menu.active {
    right: 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .rgb-headline {
    font-size: 32px;
  }

  .section-title {
    font-size: 30px;
  }

  .realms-grid {
    grid-template-columns: 1fr;
  }

  .service-hexagon {
    width: 150px;
    height: 170px;
    margin: 20px 5px;
  }

  .service-name-hex {
    font-size: 14px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 14px;
  }
}