/* ============================================
   DoSoft Modern Design System
   Inspired by Microsoft Fluent Design
   ============================================ */

/* CSS Variables */
:root {
  --primary-color: #0078d4;
  --primary-dark: #005a9e;
  --accent-purple: #57068c;
  --accent-pink: #c81d8e;
  --accent-cyan: #00c2ff;
  --bg-dark: #0f1419;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lift: 0 20px 60px rgba(0, 0, 0, 0.3);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-cyan), var(--accent-pink));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s;
}

/* Glass Header */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 20, 25, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.glass-header.scrolled {
  background: rgba(15, 20, 25, 0.95);
  box-shadow: var(--shadow-soft);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
.menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-link.highlight {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  color: white;
}

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

.nav-combo-wrapper {
  position: relative;
}

.nav-combo {
  position: relative;
}

.nav-combo > summary {
  display: inline-flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
}

.nav-combo > summary::-webkit-details-marker {
  display: none;
}

.nav-combo > summary::marker {
  content: '';
}

.nav-combo > summary::before {
  content: '';
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-right: 0.45rem;
  transition: transform 0.2s ease;
}

.nav-combo[open] > summary::before {
  transform: rotate(225deg) translateY(-1px);
}

.nav-combo-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 1000;
}

.nav-combo[open] .nav-combo-menu {
  display: flex;
  animation: comboFadeIn 0.18s ease;
}

.nav-combo-item {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-combo-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

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

/* Language Switch */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3px;
  width: 80px;
  height: 36px;
  cursor: pointer;
  border: 1px solid var(--glass-border);
}

.lang-option {
  flex: 1;
  text-align: center;
  z-index: 2;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  line-height: 30px;
}

.lang-option.active {
  color: white;
}

.switch-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-radius: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.lang-switch[data-active="es"] .switch-slider {
  transform: translateX(38px);
}

.language-selector-switch {
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Profile Section */
.profile-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: radial-gradient(ellipse at top, #1a1f2e 0%, #0f1419 100%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-cyan);
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: var(--accent-pink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-soft);
}

.profile-card {
  text-align: center;
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

.profile-logo img {
  width: 150px;
  height: auto;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.profile-name {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.profile-subtitle {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.profile-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-secondary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #0f1419 0%, #1a1f2e 100%);
  position: relative;
}

.glass-badge {
  display: inline-block;
  padding: 1rem 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  margin-bottom: 2rem;
}

.boton-esencia h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.service-item {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.service-item:hover::before {
  left: 100%;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(87, 6, 140, 0.3);
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-item p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Consulting Section */
.consulting-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1419 100%);
  position: relative;
}

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

.consulting-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1rem;
}

.consulting-card .service-icon {
  margin: 0;
}

.consulting-card h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin: 0;
}

.consulting-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  flex-grow: 1;
}

.consulting-cta {
  margin-top: 0.75rem;
}

/* Oracle Badges Section */
.oracle-badges-section {
  padding: 6rem 2rem;
  background: radial-gradient(120% 120% at 50% 0%, rgba(87, 6, 140, 0.24) 0%, rgba(15, 20, 25, 1) 48%), #0f1419;
  position: relative;
}


.oracle-marquee-wrapper {
  display: flex;
  overflow: hidden;
  gap: 0;
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.oracle-marquee-track {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
  min-width: 100%;
  justify-content: space-around;
  animation: oracleBadgeMarquee 26s linear infinite;
}

.oracle-badge-item {
  text-align: center;
  padding: 0.5rem 0;
  width: min(420px, 42vw);
}

.oracle-badge-item img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.32));
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

.oracle-badge-item:hover img {
  transform: translateY(-10px) scale(1.045);
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.5));
  opacity: 1;
}

.oracle-badge-item h3 {
  color: #e8edf5;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  margin: 0;
  opacity: 0.9;
}

.oracle-marquee-wrapper:hover .oracle-marquee-track {
  animation-play-state: paused;
}

@keyframes oracleBadgeMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.oracle-badges-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* Projects Section */
.projects-section {
  padding: 6rem 2rem;
  background: #0f1419;
}

#projects .projects-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 1360px;
}

#projects .project-item {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

#projects .project-image-wrapper {
  height: 270px;
  border-radius: 22px 22px 0 0;
  background: radial-gradient(80% 90% at 50% 35%, rgba(0, 194, 255, 0.12), rgba(15, 20, 25, 0.86));
}

#projects .project-image-wrapper img {
  object-fit: contain;
  padding: 1.25rem;
}

#projects .project-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

#projects .project-content h3 {
  font-size: 1.45rem;
}

#projects .project-content p {
  margin: 0;
}

#projects .project-description-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 8.5rem;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

#projects .project-description-group.expanded {
  max-height: 36rem;
}

#projects .project-toggle-btn {
  align-self: flex-start;
  margin-top: 0.65rem;
  background: transparent;
  border: 1px solid rgba(0, 194, 255, 0.45);
  color: var(--accent-cyan);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

#projects .project-toggle-btn:hover {
  background: rgba(0, 194, 255, 0.12);
  border-color: rgba(0, 194, 255, 0.8);
  color: #e7f9ff;
}

#projects .project-content .progress-container {
  margin-top: auto;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.project-item {
  overflow: hidden;
  transition: var(--transition-smooth);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  height: 200px;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-item:hover .project-image-wrapper img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.view-project {
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.project-item:hover .view-project {
  transform: translateY(0);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.project-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.text-link {
  color: var(--accent-cyan);
  text-decoration: none;
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-cyan);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: right;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 1rem 0;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: width 1s ease-out;
}

.progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

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

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: gap 0.3s;
}

.project-link:hover {
  gap: 1rem;
}

/* Highlight Banner */
.highlight-banner {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #1e0066, #57068c, #c81d8e);
  background-size: 400% 400%;
  position: relative;
  overflow: hidden;
}

.gradient-shift {
  animation: gradientShift 15s ease infinite;
}

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

.highlight-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.highlight-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.highlight-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  display: block;
}

/* Accessibility Section */
.modern-accessibility {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1419 100%);
}

.accessibility-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
}

.accessibility-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 20px 40px rgba(87, 6, 140, 0.3);
}

.floating-slow {
  animation: floating 8s ease-in-out infinite;
}

.accessibility-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.accessibility-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--primary-color));
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 194, 255, 0.3);
}

.accessibility-image img {
  width: 150px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Clients Section */
.clients-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #0f1419 0%, #131a24 100%);
  overflow: hidden;
}

.clients-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.client-logo-cintillo {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  padding: 1.75rem 1.4rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(14px);
}

.logo-track {
  position: relative;
  height: 146px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: none;
}

.client-logo {
  width: clamp(250px, 34vw, 360px);
  max-height: 126px;
  object-fit: contain;
  opacity: 0;
  filter: grayscale(100%) contrast(1.05);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
}

.client-logo-cintillo:hover .client-logo-slide {
  animation-play-state: paused;
}

.client-logo-cintillo:hover .client-logo {
  border-color: rgba(0, 194, 255, 0.38);
  background: linear-gradient(180deg, rgba(0, 194, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 0 1px rgba(0, 194, 255, 0.18),
              0 0 22px rgba(0, 194, 255, 0.18),
              0 0 40px rgba(87, 6, 140, 0.14);
}

.client-logo:hover {
  filter: grayscale(0%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.client-logo-slide {
  animation: clientLogoFadeCycle 30s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: var(--slide-delay, 0s);
  will-change: opacity, transform, filter;
}

@keyframes clientLogoFadeCycle {
  0% {
    opacity: 0;
    transform: translate(-50%, -47%) scale(0.982);
    filter: grayscale(100%) contrast(1.05) blur(2px);
  }
  3% {
    opacity: 0;
    transform: translate(-50%, -47%) scale(0.982);
    filter: grayscale(100%) contrast(1.05) blur(2px);
  }
  7% {
    opacity: 0.95;
    transform: translate(-50%, -50%);
    filter: grayscale(30%) contrast(1.02) blur(0);
  }
  12.8% {
    opacity: 1;
    transform: translate(-50%, -50%);
    filter: grayscale(0%) contrast(1) blur(0);
  }
  16% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.01);
    filter: grayscale(100%) contrast(1.05) blur(2px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -53%) scale(0.99);
    filter: grayscale(100%) contrast(1.05) blur(2px);
  }
}

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

/* Donations Section */
.donations-section {
  text-align: center;
}

.donations-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: #ff6b6b;
}

.pulse-icon {
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(255, 107, 107, 0); }
}

.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #0070ba, #003087);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 112, 186, 0.3);
}

.btn-donate:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 112, 186, 0.4);
}

.thanks-text {
  margin-top: 1.5rem;
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Games Section */
.games-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
  position: relative;
}

.coming-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 193, 7, 0.9);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.store-badges {
  margin-top: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--accent-cyan);
  color: #0f1419;
}

/* Footer */
.glass-footer {
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-contact {
  margin: 2rem 0;
}

.phone-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.phone-link:hover {
  color: var(--text-primary);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0077b5;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3);
}

/* Reveal on Scroll Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* Responsive Design */
@media (max-width: 968px) {
  .menu-toggle {
    display: flex;
  }
  
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
  }
  
  .menu.active {
    opacity: 1;
    visibility: visible;
  }
  
  .menu ul {
    flex-direction: column;
    gap: 2rem;
  }

  .nav-combo-menu {
    position: static;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.3rem 0 0;
    gap: 0.4rem;
  }

  .nav-combo-item {
    font-size: 1.1rem;
    text-align: center;
  }

  .language-selector-switch {
    margin-top: 1rem;
  }
  
  .nav-link {
    font-size: 1.5rem;
  }
  
  .profile-name {
    font-size: 2rem;
  }
  
  .highlight-content h2 {
    font-size: 2rem;
  }
  
  .accessibility-content {
    flex-direction: column;
    text-align: center;
  }
  
  .stat-number {
    font-size: 2rem;
  }

  #projects .projects-container {
    grid-template-columns: 1fr;
    max-width: 900px;
  }

  #projects .project-image-wrapper {
    height: 250px;
  }
}

@media (max-width: 640px) {
  .services-container,
  .consulting-container,
  .projects-container {
    grid-template-columns: 1fr;
  }

  .oracle-marquee-track {
    gap: 1.5rem;
    animation-duration: 34s;
  }

  .oracle-badge-item {
    width: min(320px, 78vw);
  }

  .oracle-badge-item img {
    max-width: 300px;
  }

  .logo-track {
    height: 124px;
  }

  .client-logo {
    width: clamp(210px, 70vw, 300px);
    max-height: 108px;
  }

  #projects .project-item {
    min-height: auto;
  }
  
  .highlight-stats {
    gap: 2rem;
  }
  
  .glass-card {
    padding: 2rem 1.5rem;
  }

  .consulting-card {
    padding: 2rem 1.5rem;
  }
}

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

  .oracle-marquee-wrapper {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .oracle-marquee-track {
    animation: none;
    min-width: auto;
  }

  .client-logo-slide {
    animation: none;
    opacity: 1;
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .logo-track {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/*
 Cyberpunk Section */
.cyber-section {
  background: linear-gradient(135deg, #0f0f1b, #15152b);
  padding: 80px 20px;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #7f5af0, #2cb67d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 18px;
  margin-bottom: 50px;
  color: #cfcfe0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(127, 90, 240, 0.4);
}

.icon {
  font-size: 35px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card p {
  font-size: 14px;
  color: #b8b8d1;
}

.highlight-banner {
  margin-top: 60px;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(90deg, #7f5af0, #2cb67d);
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 0 20px rgba(127, 90, 240, 0.6);
}

.cta-container {
  margin-top: 40px;
}

.cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  background: linear-gradient(90deg, #7f5af0, #2cb67d);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.cta-button:hover {
  opacity: 0.85;
  box-shadow: 0 0 20px rgba(127, 90, 240, 0.6);
}