* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #f02303;
  --primary-dark: #d01f02;
  --primary-light: #ff4d33;
  --secondary-color: #2c3e50;
  --text-color: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  color: white;
}

.blazer-logo {
  position: relative;
  margin-bottom: 2rem;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-flame {
  display: flex;
  justify-content: center;
  gap: 5px;
  height: 30px;
}

.flame {
  width: 8px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: flicker 1.5s ease-in-out infinite alternate;
}

.flame-1 {
  height: 25px;
  background: linear-gradient(to top, #ff6b35, #f7931e, #ffeb3b);
  animation-delay: 0s;
}

.flame-2 {
  height: 30px;
  background: linear-gradient(to top, #ff4757, #ff6348, #ffa502);
  animation-delay: 0.3s;
}

.flame-3 {
  height: 20px;
  background: linear-gradient(to top, #ff3838, #ff4757, #ff6b35);
  animation-delay: 0.6s;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #fff, #ffeb3b, #fff);
  border-radius: 2px;
  animation: loadingProgress 2s ease-in-out infinite;
}

.loading-text {
  font-size: 1rem;
  opacity: 0.9;
  animation: fadeInOut 2s ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes logoGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
  100% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

@keyframes flicker {
  0% {
    transform: scaleY(1) scaleX(1);
  }
  50% {
    transform: scaleY(1.1) scaleX(0.9);
  }
  100% {
    transform: scaleY(0.9) scaleX(1.1);
  }
}

@keyframes loadingProgress {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Animation Classes */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

.animate-slide-down {
  opacity: 0;
  transform: translateY(-30px);
  animation: slideDown 0.8s ease forwards;
}

.animate-scale-up {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleUp 0.8s ease forwards;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

.animate-bounce-in {
  opacity: 0;
  transform: scale(0.3);
  animation: bounceIn 0.8s ease forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.animate-pulse {
  animation: pulse 3s ease-in-out infinite;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-hover-effect::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-hover-effect:hover::before {
  left: 100%;
}

.btn-hover-effect:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-hover-effect {
  transition: all 0.3s ease;
}

.card-hover-effect:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.social-hover-effect {
  transition: all 0.3s ease;
}

.social-hover-effect:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(240, 35, 3, 0.4);
}

.footer-link-hover {
  position: relative;
  transition: color 0.3s ease;
}

.footer-link-hover::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-link-hover:hover::after {
  width: 100%;
}

.feature-item {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.6s ease forwards;
}

.feature-item:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-item:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-item:nth-child(3) {
  animation-delay: 0.3s;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(5deg);
  }
  66% {
    transform: translateY(-8px) rotate(-3deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

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

/* Navigation - Enhanced Sleek Design */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-bottom: 1px solid rgba(240, 35, 3, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(240, 35, 3, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
  position: relative;
}

/* Enhanced Logo Design */
.nav-logo {
  position: relative;
  z-index: 1001;
}

.nav-logo h1,
.nav-logo h2 {
        background: linear-gradient(135deg, var(--primary-color), #ffff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-logo a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  position: relative;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  background: linear-gradient(to right, #f02303, #ff674f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-logo a::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -10px;
  right: -10px;
  bottom: -5px;
  background: linear-gradient(135deg, rgba(240, 35, 3, 0.1), rgba(255, 77, 51, 0.1));
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: -1;
}

.nav-logo a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-logo a:hover {
  transform: translateY(-2px) scale(1.05);
}

.nav-logo a:hover h1,
.nav-logo a:hover h2 {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(240, 35, 3, 0.3));
}

/* Enhanced Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(248, 249, 250, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 50px;
  border: 1px solid rgba(240, 35, 3, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-link {
  text-decoration: none;
  color: white !important;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  padding: 10px 18px;
  border-radius: 25px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 25px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
  transform: scale(1);
}

.nav-link:hover,
.nav-link:focus {
  color: white;
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(240, 35, 3, 0.3);
}

.nav-link.active {
  color: white;
  font-weight: 600;
}

.nav-link.active::after {
  display: none;
}

/* Special Button Styles */
.login-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  background: var(--primary-color);
}

.login-btn:hover {
  color: white;
  border-color: var(--primary-color);
}

.register-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(240, 35, 3, 0.3);
  position: relative;
  overflow: hidden;
}

.register-btn::before {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.register-btn:hover,
.register-btn:focus {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 35, 3, 0.4);
}

/* Enhanced Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(248, 249, 250, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 35, 3, 0.1);
  position: relative;
  z-index: 1001;
}

.hamburger:hover {
  background: rgba(240, 35, 3, 0.1);
  transform: scale(1.05);
}

.hamburger:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.bar {
  width: 22px;
  height: 2px;
  background: var(--text-color);
  margin: 3px 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

.hamburger:hover .bar {
  background: var(--primary-color);
}

/* Mobile Navigation Styles */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 1.5rem;
    height: 70px;
  }

  .nav-logo h1,
  .nav-logo h2 {
    font-size: 1.8rem;
  }

  .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 0;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 0;
  }

  .nav-link {
    padding: 12px 20px;
    border-radius: 0;
    font-size: 1rem;
    color:black !important;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0 1rem;
    height: 65px;
  }

  .nav-logo h1,
  .nav-logo h2 {
    font-size: 1.6rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 65px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: 100%;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 2rem 0;
    gap: 0;
    border-top: 1px solid rgba(240, 35, 3, 0.1);
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    width: 100%;
    padding: 15px 2rem;
    margin: 0;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
        color:black !important;

  }

  .nav-link::before {
    border-radius: 0;
  }

  .nav-link:hover {
    background: rgba(240, 35, 3, 0.1);
    transform: translateX(10px);
  }

  .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
  }

  .login-btn,
  .register-btn {
    margin: 0.5rem 2rem;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
  }

  .login-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
  }

  .register-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(240, 35, 3, 0.3);
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.8rem;
    height: 60px;
  }

  .nav-logo h1,
  .nav-logo h2 {
    font-size: 1.4rem;
  }

  .nav-menu {
    top: 60px;
    padding: 1.5rem 0;
    max-height: calc(100vh - 60px);
  }

  .nav-link {
    padding: 12px 1.5rem;
    font-size: 1rem;
        color:black !important;

  }

  .login-btn,
  .register-btn {
    margin: 0.3rem 1.5rem;
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .hamburger {
    padding: 6px;
  }

  .bar {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
  .nav-container {
    padding: 0 3rem;
    height: 80px;
  }

  .nav-logo h1,
  .nav-logo h2 {
    font-size: 2.2rem;
  }

  .nav-link {
    padding: 12px 20px;
    font-size: 1rem;
    color:white !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .navbar {
    background: white;
    border-bottom: 2px solid var(--primary-color);
  }

  .nav-menu {
    background: white;
    border: 2px solid var(--primary-color);
  }

  .nav-link {
    border: 1px solid transparent;
  }

  .nav-link:hover,
  .nav-link.active {
    border-color: var(--primary-color);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .navbar,
  .nav-logo a,
  .nav-link,
  .hamburger,
  .bar {
    transition: none !important;
    animation: none !important;
  }

  .nav-logo a:hover,
  .nav-link:hover {
    transform: none !important;
  }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(30, 30, 30, 0.95);
    border-bottom-color: rgba(240, 35, 3, 0.3);
  }

  .nav-menu {
    background: rgba(40, 40, 40, 0.9);
  }

  .nav-link {
    color: ;
  }

  .hamburger {
    background: rgba(40, 40, 40, 0.8);
  }

  .bar {
    background: #e0e0e0;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8f4f8 100%);
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(240,35,3,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.hero-features i {
  color: var(--primary-color);
  width: 20px;
  flex-shrink: 0;
}

/* Hero Visual - Enhanced with Animations */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 400px;
}

.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.server-stack {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 3;
  position: relative;
}

.server-unit {
  width: 220px;
  height: 65px;
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.server-unit:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.server-unit.active {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  box-shadow: 0 10px 30px rgba(240, 35, 3, 0.2), inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(240, 35, 3, 0.1);
}

.server-unit::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 30px;
  background: linear-gradient(to bottom, #28a745, #20c997);
  border-radius: 2px;
}

.server-lights {
  display: flex;
  gap: 10px;
  margin-left: 15px;
}

.light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
  animation: pulse 2s infinite ease-in-out;
}

.light::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.light.green {
  background: radial-gradient(circle, #28a745, #1e7e34);
  box-shadow: 0 0 15px rgba(40, 167, 69, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.light.blue {
  background: radial-gradient(circle, #007bff, #0056b3);
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation-delay: 0.7s;
}

.light.orange {
  background: radial-gradient(circle, #fd7e14, #e55a00);
  box-shadow: 0 0 15px rgba(253, 126, 20, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation-delay: 1.4s;
}

.server-slots {
  display: flex;
  gap: 6px;
}

.slot {
  width: 25px;
  height: 5px;
  background: linear-gradient(to bottom, #dee2e6, #adb5bd);
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Floating Elements - Enhanced */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  animation: float 4s ease-in-out infinite;
  animation-delay: var(--delay);
  box-shadow: 0 8px 25px rgba(240, 35, 3, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.floating-icon::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
  animation: rotate 8s linear infinite;
}

.floating-icon:nth-child(1) {
  top: 15%;
  right: 15%;
  --delay: 0s;
}

.floating-icon:nth-child(2) {
  bottom: 25%;
  left: 10%;
  --delay: 1.3s;
}

.floating-icon:nth-child(3) {
  top: 55%;
  right: 5%;
  --delay: 2.6s;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Desktop Specific Enhancements */
@media (min-width: 1024px) {
  .hero-graphic {
    max-width: 500px;
    height: 500px;
  }

  .server-unit {
    width: 250px;
    height: 70px;
  }

  .floating-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .hero-visual {
    min-height: 500px;
  }
}

/* Tablet Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-container {
    gap: 3rem;
  }

  .hero-graphic {
    max-width: 400px;
    height: 400px;
  }

  .server-unit {
    width: 200px;
    height: 60px;
  }

  .floating-icon {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 300px;
  }

  .hero-graphic {
    max-width: 320px;
    height: 320px;
  }

  .server-stack {
    gap: 1rem;
    transform: scale(0.9);
  }

  .server-unit {
    width: 180px;
    height: 55px;
    padding: 0 15px;
  }

  .floating-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .hero-buttons {
    justify-content: center;
    gap: 1rem;
  }

  .hero-features {
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .hero {
    padding: 90px 0 50px;
  }

  .hero-container {
    gap: 2rem;
    padding: 0 15px;
  }

  .hero-graphic {
    max-width: 280px;
    height: 280px;
  }

  .server-stack {
    transform: scale(0.8);
    gap: 0.8rem;
  }

  .server-unit {
    width: 160px;
    height: 50px;
    padding: 0 12px;
  }

  .server-lights {
    gap: 8px;
    margin-left: 10px;
  }

  .light {
    width: 8px;
    height: 8px;
  }

  .slot {
    width: 20px;
    height: 4px;
  }

  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .btn {
    min-width: 200px;
    padding: 14px 30px;
  }

  .hero-features span {
    font-size: 0.9rem;
  }
}

/* Buttons */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary-color);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 2px solid #ddd;
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Domain Search */
.domain-search {
  padding: 80px 0;
  background: var(--white);
}

.domain-search h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.domain-search p {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.search-container {
  max-width: 800px;
  margin: 0 auto;
}

.search-box {
  display: flex;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-box:hover {
  box-shadow: var(--shadow-hover);
}

.search-box input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  font-size: 1.1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-box input:focus {
  box-shadow: inset 0 0 0 2px var(--primary-color);
}

.search-box select {
  padding: 15px;
  border: none;
  background: var(--bg-light);
  font-size: 1.1rem;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box select:focus {
  box-shadow: inset 0 0 0 2px var(--primary-color);
}

.search-box .btn {
  border-radius: 0;
  padding: 15px 25px;
}

.search-results {
  margin-top: 2rem;
  display: none;
}

.domain-result {
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.domain-result:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.domain-info h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.domain-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Pricing */
.pricing {
  padding: 80px 0;
  background: var(--bg-light);
}

.pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.pricing p {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border: 3px solid var(--primary-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

.plan-header {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.currency {
  font-size: 1.2rem;
  color: var(--text-light);
}

.amount {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
}

.period {
  font-size: 1rem;
  color: var(--text-light);
}

.features {
  list-style: none;
  margin-bottom: 2rem;
}

.features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.features li:hover {
  transform: translateX(5px);
}

.features i {
  color: var(--primary-color);
  width: 20px;
}

/* Features Section - Enhanced */
.features {
  padding: 80px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 35, 3, 0.05) 0%, rgba(240, 35, 3, 0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(240, 35, 3, 0.1);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(240, 35, 3, 0.25);
  transition: all 0.3s ease;
}

.feature-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 50%;
  z-index: 0;
}

.feature-icon i {
  font-size: 2.2rem;
  color: var(--white);
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-right:13px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--bg-light);
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: serif;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-content {
  text-align: center;
}

.stars {
  color: #ffc107;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.6;
}

.testimonial-author strong {
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.3rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section p {
  color: #bbb;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
  color: var(--primary-color);
  outline: none;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
  background: var(--primary-dark);
  outline: none;
  transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #bbb;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box input,
  .search-box select,
  .search-box .btn {
    border-radius: 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card.featured {
    transform: none;
  }

  .domain-result {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .domain-search,
  .pricing,
  .features,
  .testimonials {
    padding: 60px 0;
  }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.4);
  }

  .btn {
    border: 2px solid currentColor;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-image,
  .social-links,
  .btn,
  .preloader {
    display: none;
  }

  .hero-content h2 {
    color: black;
  }

  .pricing-card {
    break-inside: avoid;
  }
}
