/* ═══════════════════════════════════════════════════════════════
   Abdullah Website Agency — Custom Styles
   Exact copy from original globals.css (Tailwind custom layer)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Base Reset ────────────────────────────────────────────── */
* { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; }
::selection { background: rgba(255, 0, 0, 0.3); color: #FFFFFF; }

/* ─── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { background: rgba(255, 0, 0, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 0, 0, 0.6); }

/* ─── Smooth Scroll ────────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ═══════════════════════════════════════════════════════════════
   GLASSMORPHISM BASE
   ═══════════════════════════════════════════════════════════════ */
.glass-card {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.glass-card:hover {
  border-color: rgba(255, 0, 0, 0.5);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-card-red {
  background: rgba(255, 0, 0, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.glass-card-red:hover {
  border-color: rgba(255, 0, 0, 0.7);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
  25% { transform: translateY(-5px) rotateX(1deg) rotateY(0.5deg); }
  50% { transform: translateY(-8px) rotateX(0deg) rotateY(0deg); }
  75% { transform: translateY(-3px) rotateX(-1deg) rotateY(-0.5deg); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes float-delayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.2), 0 0 40px rgba(255, 0, 0, 0.1); }
  50% { box-shadow: 0 0 30px rgba(255, 0, 0, 0.4), 0 0 60px rgba(255, 0, 0, 0.2), 0 0 100px rgba(255, 0, 0, 0.1); }
}
@keyframes rotate-y-slow {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 8s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 7s ease-in-out infinite 1s; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-rotate-y { animation: rotate-y-slow 20s linear infinite; }
.animate-shimmer { background-size: 200% 100%; animation: shimmer 3s ease-in-out infinite; }

/* ═══════════════════════════════════════════════════════════════
   TILT CARDS
   ═══════════════════════════════════════════════════════════════ */
.tilt-card { transform-style: preserve-3d; perspective: 1000px; transition: transform 0.3s ease; }
.tilt-card-inner { transform-style: preserve-3d; transition: transform 0.15s ease-out; }

/* ═══════════════════════════════════════════════════════════════
   PLAN CARDS 3D
   ═══════════════════════════════════════════════════════════════ */
.plan-card-3d {
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.plan-card-3d:hover { transform: translateY(-8px) rotateX(2deg); }

.plan-card-premium {
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.05);
  animation: pulse-glow 4s ease-in-out infinite;
}
.plan-card-premium:hover {
  transform: scale(1.05) translateY(-8px) rotateX(2deg);
  animation: none;
  box-shadow:
    0 16px 64px rgba(0, 0, 0, 0.6),
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(255, 0, 0, 0.3),
    0 0 120px rgba(255, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .plan-card-premium { transform: scale(1); }
  .plan-card-premium:hover { transform: translateY(-4px); }
}

/* ═══════════════════════════════════════════════════════════════
   GRADIENT TEXT
   ═══════════════════════════════════════════════════════════════ */
.text-gradient-red {
  background: linear-gradient(135deg, #FF0000, #FF4444, #FF0000);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════
   RED GLOW BUTTON
   ═══════════════════════════════════════════════════════════════ */
.btn-red-glow {
  background: linear-gradient(135deg, #FF0000, #CC0000);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.btn-red-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-red-glow:hover::before { left: 100%; }
.btn-red-glow:hover {
  box-shadow: 0 6px 30px rgba(255, 0, 0, 0.5), 0 0 60px rgba(255, 0, 0, 0.2);
  transform: translateY(-2px);
}
.btn-red-glow:active { transform: translateY(0px); }

/* ═══════════════════════════════════════════════════════════════
   3D DEVICE
   ═══════════════════════════════════════════════════════════════ */
.device-3d { perspective: 1000px; transform-style: preserve-3d; }
.device-3d-inner { transform-style: preserve-3d; animation: float 8s ease-in-out infinite; }

/* ═══════════════════════════════════════════════════════════════
   SECONDARY MENU BAR
   ═══════════════════════════════════════════════════════════════ */
.secondary-menu-bar {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR GLASS
   ═══════════════════════════════════════════════════════════════ */
.navbar-glass {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 0, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   BACKGROUND EFFECTS
   ═══════════════════════════════════════════════════════════════ */
.bg-grid {
  background-image:
    linear-gradient(rgba(255, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.bg-radial-red { background: radial-gradient(ellipse at center, rgba(255, 0, 0, 0.08) 0%, transparent 70%); }
.bg-radial-red-top { background: radial-gradient(ellipse at top center, rgba(255, 0, 0, 0.1) 0%, transparent 60%); }

/* ═══════════════════════════════════════════════════════════════
   SECTION DIVIDER
   ═══════════════════════════════════════════════════════════════ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
}

/* ═══════════════════════════════════════════════════════════════
   ICON CONTAINER
   ═══════════════════════════════════════════════════════════════ */
.icon-container {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.icon-container:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}
