:root {
    --accent: #bc13fe;
    --bg: #080C2A;
    --text: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background: linear-gradient(120deg,#05010d,#1a0b3c,#05010d);
    background-size: 400% 400%;
    animation: bgMove 15s ease infinite;
    color: var(--text);
    overflow-x: hidden;
}

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

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(8,12,42,.9);
    z-index: 999;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo-img { width: 180px; }

.btn-nav {
    padding: 10px 25px;
    border-radius: 8px;
    background: linear-gradient(45deg,#8a2be2,#bc13fe);
    color: #fff;
    text-decoration: none;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem,6vw,4.5rem);
    font-weight: 900;
}

.hero p {
    margin: 20px auto 40px;
    max-width: 700px;
}

.btn-main {
    padding: 15px 45px;
    background: linear-gradient(45deg,#8a2be2,#bc13fe);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(188,19,254,.5);
}

/* Sections */
section { padding: 120px 0; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}

.method-img img {
    width: 100%;
    border-radius: 20px;
    transition: .6s;
}
.method-img:hover img {
    transform: scale(1.08);
    box-shadow: 0 30px 60px rgba(0,0,0,.4);
}

/* Footer */
footer {
    border-top: 1px solid #fff;
    padding: 40px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glow Particles */
.glow-particle {
    position: fixed;
    background: var(--accent);
    border-radius: 50%;
    opacity: .4;
    filter: blur(2px);
    animation: float 20s linear infinite;
    z-index: -1;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-120vh); }
}

@media (max-width:768px){
    .about-grid{grid-template-columns:1fr}
}
* { box-sizing: border-box; }

body.chaos-mode {
  margin: 0;
  height: 100vh;
  background: radial-gradient(circle at 20% 20%, #ff00ff, #000),
              radial-gradient(circle at 80% 80%, #00ffff, #000);
  background-blend-mode: screen;
  overflow: hidden;
  font-family: 'Tajawal', sans-serif;
  animation: bgPulse 6s infinite alternate;
}

@keyframes bgPulse {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(120deg); }
}

/* GLITCH TEXT */
.glitch {
  position: relative;
  font-size: clamp(3rem, 10vw, 8rem);
  color: white;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  overflow: hidden;
}

.glitch::before {
  color: #ff00ff;
  animation: glitchTop 1.2s infinite linear alternate-reverse;
}

.glitch::after {
  color: #00ffff;
  animation: glitchBottom 1.5s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% { clip-path: inset(0 0 80% 0); transform: translate(-5px, -5px); }
  100% { clip-path: inset(0 0 10% 0); transform: translate(5px, 5px); }
}

@keyframes glitchBottom {
  0% { clip-path: inset(80% 0 0 0); transform: translate(5px, 5px); }
  100% { clip-path: inset(10% 0 0 0); transform: translate(-5px, -5px); }
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

/* BUTTON CHAOS */
.btn-chaos {
  margin-top: 40px;
  padding: 18px 60px;
  font-size: 20px;
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  border: none;
  color: black;
  font-weight: 900;
  cursor: pointer;
  border-radius: 50px;
  box-shadow: 0 0 40px rgba(255,0,255,0.6);
  transition: 0.2s;
}

.btn-chaos:hover {
  transform: scale(1.2) rotate(-2deg);
  box-shadow: 0 0 80px rgba(0,255,255,1);
}

/* CURSOR */
.cursor {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: fixed;
  background: radial-gradient(circle, #fff, transparent);
  pointer-events: none;
  mix-blend-mode: difference;
}
