/* JC Unlimited Enterprises - Dark Modern Futuristic Theme */

/* ===== CSS Variables - Dark Futuristic ===== */
:root {
  /* Dark Futuristic Color Scheme */
  --bg: #0a0e1a;
  --bg-secondary: #0f1623;
  --bg-elev: #151b2d;
  --bg-panel: #1a2235;
  --panel: #1a2235;
  --edge: #2a3549;
  --border: #2a3549;

  /* Text Colors */
  --text: #e8edf5;
  --text-secondary: #b8c5d9;
  --text-muted: #7a8ba3;
  --muted: #7a8ba3;

  /* Brand Colors - Cyan/Blue Futuristic */
  --primary: #00d4ff;
  --primary-hover: #00b8e6;
  --primary-light: #33dcff;
  --accent: #00ffcc;
  --secondary: #6366f1;

  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #6366f1 100%);
  --gradient-accent: linear-gradient(135deg, #00ffcc 0%, #00d4ff 100%);
  --gradient-dark: linear-gradient(180deg, #0a0e1a 0%, #0f1623 100%);

  /* Spacing */
  --section-padding: 5rem 0;
  --card-padding: 2rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows - Glow Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3), 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow-strong: 0 0 40px rgba(0, 212, 255, 0.5), 0 12px 48px rgba(0, 0, 0, 0.7);
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6,
.brand {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}
h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
h4 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-light-secondary {
  color: var(--text-secondary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  transition: var(--transition);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
}

/* ===== Navigation ===== */
.navbar {
  background: rgba(15, 22, 35, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--edge);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(10, 14, 26, 0.98);
}

.logo-img {
  max-height: 40px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

.navbar-brand {
  color: var(--text) !important;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--primary) !important;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 600;
  padding: 0.6rem 1.25rem !important;
  transition: var(--transition);
  border-radius: var(--radius-md);
  position: relative;
  letter-spacing: 0.5px;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--primary);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 70%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: rgba(0, 212, 255, 0.08);
}

.navbar-toggler {
  border: 2px solid var(--edge);
  color: var(--text);
  padding: 0.5rem;
  background: rgba(0, 212, 255, 0.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 212, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Buttons ===== */
.btn {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-strong);
  color: var(--text);
}

.btn-outline-light {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.btn-outline-light:hover {
  background: rgba(0, 212, 255, 0.15);
  color: var(--text);
  border-color: var(--primary-hover);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.1rem;
}

/* ===== Hero Section ===== */
.hero {
  background: var(--gradient-dark);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  filter: blur(40px);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
  filter: blur(40px);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.min-vh-75 {
  min-height: 75vh;
}

/* ===== Page Header ===== */
.page-header {
  padding: 6rem 0 4rem;
  background: var(--gradient-dark);
  position: relative;
  border-bottom: 1px solid var(--edge);
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.03) 50%, transparent 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 212, 255, 0.05) 2px,
      rgba(0, 212, 255, 0.05) 4px
    );
  opacity: 0.5;
}

/* ===== Sections ===== */
.section {
  padding: var(--section-padding);
  position: relative;
}

.bg-dark-secondary {
  background: var(--bg-secondary);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

/* ===== Panels & Cards ===== */
.panel {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.panel:hover::before {
  opacity: 1;
}

.feature {
  position: relative;
  padding: var(--card-padding);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.03);
}

.panel-hover {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  padding: var(--spacing-lg);
}

.panel-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.05);
}

.cta-panel {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 2px solid var(--edge);
  position: relative;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
}

.quote-panel {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-left: 4px solid var(--primary);
}

/* ===== Icons ===== */
.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(99, 102, 241, 0.15));
  border: 2px solid rgba(0, 212, 255, 0.3);
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--primary);
}

.feature:hover .icon-circle,
.panel-hover:hover .icon-circle {
  background: var(--gradient-primary);
  border-color: var(--primary);
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
  color: var(--text);
}

/* ===== Badges ===== */
.badge-custom {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.badge-custom:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ===== Stats ===== */
.stat-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.stat-card h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
}

/* ===== Forms ===== */
.form-label {
  color: var(--text);
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  background: var(--bg-elev);
  border: 2px solid var(--edge);
  color: var(--text);
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-size: 1rem;
  width: 100%;
}

.form-control:focus,
.form-select:focus {
  background: var(--bg-secondary);
  border-color: var(--primary);
  color: var(--text);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* ===== Alerts ===== */
.alert {
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  border: 2px solid;
  background: var(--bg-elev);
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--success);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 2px solid var(--edge);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.5;
}

.footer-heading {
  color: var(--text);
  letter-spacing: 1px;
}

.footer-link {
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

/* ===== Images ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.shadow-glow {
  box-shadow: var(--shadow-glow) !important;
}

.rounded-4 {
  border-radius: var(--radius-xl) !important;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out;
}

.animate-fade-in {
  animation: fadeIn 1.4s ease-out;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero {
    padding: 5rem 0 4rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .stat-card h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 3rem 0;
    --card-padding: 1.25rem;
  }
  .hero {
    padding: 4rem 0 3rem;
  }
  .btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1rem;
  }
  .stat-card h2 {
    font-size: 2.2rem;
  }
}

/* ===== Accessibility ===== */
*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

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

  /* ===============================
   Estilos únicos para About Page
================================= */

.1section {
  padding-top: 5rem;
  padding-bottom: 10rem;
}

.2section {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.1quote-panel {
  margin-bottom: 5rem;
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 16px;
  background: rgba(0, 20, 40, 0.5);
}

/* Separador visual para el fondo oscuro */
.1bg-dark-secondary::before {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  margin: 0 auto 4rem;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.25), transparent);
}


}
