/* ============================================================
   ELYPTIC IT — Premium Design System v2.0
   Dark-tech aesthetic · Glassmorphism · Glow effects
   ============================================================ */

/* — Google Fonts — */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* — Design Tokens — */
:root {
  --bg-primary:    #06090f;
  --bg-secondary:  #0a0f1a;
  --bg-card:       rgba(12, 18, 30, 0.65);
  --bg-card-solid: #0c121e;
  --bg-surface:    #0e1424;

  --accent-cyan:   #00d4ff;
  --accent-purple: #7c3aed;
  --accent-blue:   #3b82f6;
  --accent-glow:   rgba(0, 212, 255, 0.15);

  --text-primary:  #e8edf5;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;

  --border-glass:  rgba(255, 255, 255, 0.08);
  --border-glow:   rgba(0, 212, 255, 0.2);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-glow:   0 0 30px rgba(0, 212, 255, 0.08);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.35);
  --shadow-float:  0 20px 60px rgba(0,0,0,0.45);

  --font-body:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading:  'Outfit', 'Inter', sans-serif;

  --nav-height: 72px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* — Light Mode Overrides — */
.light-mode {
  --bg-primary:    #f0f4f8;
  --bg-secondary:  #e2e8f0;
  --bg-card:       rgba(255, 255, 255, 0.75);
  --bg-card-solid: #ffffff;
  --bg-surface:    #f8fafc;

  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-muted:    #94a3b8;

  --border-glass:  rgba(0, 0, 0, 0.08);
  --border-glow:   rgba(59, 130, 246, 0.2);

  --shadow-glow:   0 0 30px rgba(59, 130, 246, 0.08);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.08);
  --shadow-float:  0 20px 60px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

html, body { height: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

/* — Selection — */
::selection {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

/* — Scroll Bar — */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 4px;
}

/* — Links — */
a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent-purple); }

a:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   PARTICLES CANVAS
   ============================================================ */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   NAVBAR — Glassmorphism
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition-smooth);
}

.custom-navbar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border-glass);
  padding: 0 0;
  height: var(--nav-height);
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 100%;
  margin: 0;
  transition: all var(--transition-smooth);
}

.light-mode .custom-navbar {
  background: transparent;
  border-bottom-color: rgba(0,0,0,0.06);
}

header.scrolled .custom-navbar {
  background: rgba(6, 9, 15, 0.85);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3) !important;
}

.light-mode header.scrolled .custom-navbar {
  background: rgba(240, 244, 248, 0.9);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08) !important;
}

.custom-navbar .container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.custom-navbar .site-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary) !important;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}
.custom-navbar .site-name:hover {
  color: var(--accent-cyan) !important;
}

.custom-navbar .nav-logo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.custom-navbar .logo-img {
  height: 58px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.15));
  transition: filter var(--transition-fast);
}
.custom-navbar .logo-img:hover {
  filter: drop-shadow(0 0 20px rgba(0,212,255,0.3));
}

.custom-navbar .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--transition-fast);
}
.custom-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-smooth);
}
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--text-primary) !important;
}
.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
  width: 60%;
}

.custom-navbar .navbar-toggler {
  z-index: 1200;
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.6rem;
}
.custom-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0,212,255,0.2);
}

/* Dark mode toggle button */
#dark-mode-toggle {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}
#dark-mode-toggle:hover {
  background: var(--accent-glow);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotate(15deg);
}

/* Mobile nav */
@media (max-width: 991.98px) {
  .custom-navbar .nav-logo {
    position: static;
    transform: none;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
  .custom-navbar .logo-img { height: 52px; }
  .custom-navbar .navbar-collapse {
    background: rgba(6, 9, 15, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border-glass);
  }
  .light-mode .custom-navbar .navbar-collapse {
    background: rgba(240,244,248,0.95);
  }
}
@media (max-width: 575.98px) {
  .custom-navbar .logo-img { height: 42px; }
  .custom-navbar .site-name { font-size: 1.05rem; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

/* Mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(0,212,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(124,58,237,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 10%, rgba(59,130,246,0.08) 0%, transparent 50%);
  z-index: -1;
  animation: meshFloat 12s ease-in-out infinite alternate;
}

@keyframes meshFloat {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.05) translate(-2%, 3%); }
  100% { transform: scale(1) translate(2%, -2%); }
}

.light-mode .hero::before {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(59,130,246,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(124,58,237,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 10%, rgba(0,212,255,0.06) 0%, transparent 50%);
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge i { font-size: 0.7rem; }

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite alternate;
}

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

#typewriter-text {
  display: inline;
}
#typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent-cyan);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s ease-in-out infinite alternate;
}
@keyframes blink {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 1.2rem auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  text-decoration: none;
  z-index: 1;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,212,255,0.3);
  color: var(--bg-primary);
}
.btn-glow:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}
.light-mode .btn-ghost:hover {
  background: rgba(0,0,0,0.04);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  position: relative;
  padding: 6rem 1.5rem;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.section-label .dot {
  width: 6px; height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.container { max-width: 1140px; }

/* ============================================================
   FEATURES / WHY CHOOSE US
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(124,58,237,0.08));
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  font-size: 1.35rem;
  color: var(--accent-cyan);
  transition: all var(--transition-fast);
}
.feature-card:hover .feature-icon {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   STATS / COUNTERS
   ============================================================ */
.stats-section {
  position: relative;
  padding: 4rem 1.5rem;
  z-index: 1;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,212,255,0.03), transparent);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-weight: 500;
}

/* Divider line between stats */
.stats-grid .stat-item + .stat-item {
  border-left: 1px solid var(--border-glass);
}
@media (max-width: 575.98px) {
  .stats-grid .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border-glass); }
}

/* ============================================================
   SERVICES — GLOW CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: default;
}

/* Glow follow effect placeholder */
.service-card .card-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}
.service-card:hover .card-glow { opacity: 1; }

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.service-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(124,58,237,0.06));
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: var(--radius-md);
  margin-bottom: 1.4rem;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  position: relative;
  z-index: 1;
  transition: all var(--transition-spring);
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 25px rgba(0,212,255,0.2);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}
.service-card li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ============================================================
   ABOUT / NOSOTROS
   ============================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 767.98px) {
  .about-content { grid-template-columns: 1fr; text-align: center; }
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-graphic {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0,212,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(124,58,237,0.1) 0%, transparent 55%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-graphic img {
  height: 160px;
  filter: drop-shadow(0 0 30px rgba(0,212,255,0.2));
}
.about-graphic::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(0,212,255,0.04);
  pointer-events: none;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 767.98px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}
.contact-form-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.form-field {
  margin-bottom: 1.2rem;
}
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}
.light-mode .form-field input,
.light-mode .form-field textarea {
  background: rgba(0,0,0,0.03);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  padding: 2rem 0;
}
.contact-info-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.8rem;
  font-size: 1.3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(124,58,237,0.06));
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text a,
.contact-item-text span {
  font-size: 0.95rem;
  color: var(--text-secondary) !important;
}
.contact-item-text a:hover {
  color: var(--accent-cyan) !important;
}
.contact-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
}
.social-link {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.social-link:hover {
  background: var(--accent-glow);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 3rem 1.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
}
@media (max-width: 767.98px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 479.98px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .site-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.6rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted) !important;
  transition: color var(--transition-fast);
}
.footer-col a:hover {
  color: var(--accent-cyan) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   SCROLL-REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stagger children */
.stagger-children > .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > .reveal:nth-child(2) { transition-delay: 0.12s; }
.stagger-children > .reveal:nth-child(3) { transition-delay: 0.19s; }
.stagger-children > .reveal:nth-child(4) { transition-delay: 0.26s; }
.stagger-children > .reveal:nth-child(5) { transition-delay: 0.33s; }
.stagger-children > .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
body.page-transition {
  transition: opacity 400ms ease-in-out;
}
body.page-transition.preload { opacity: 0; }
body.page-transition.fade-out { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  body.page-transition { transition: none !important; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  @keyframes meshFloat { 0%, 100% { transform: none; } }
  @keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } }
}

/* Mode fader overlay */
.mode-fader {
  position: fixed; inset: 0;
  z-index: 2000; pointer-events: none;
  opacity: 0;
  transition: opacity 360ms ease;
}

/* ============================================================
   FEEDBACK MESSAGE
   ============================================================ */
#contact-feedback {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent-cyan);
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================================
   TOP GRADIENT LINE
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-blue), var(--accent-cyan));
  background-size: 300% 100%;
  animation: topLineShift 6s linear infinite;
  z-index: 2000;
}
@keyframes topLineShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ============================================================
   SERVICIOS PAGE — Enhanced grid on info page
   ============================================================ */
.servicios-page-header {
  padding: calc(var(--nav-height) + 3rem) 1.5rem 2rem;
  text-align: center;
}
.servicios-page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.servicios-page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   RESPONSIVE FINE-TUNING
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: 7rem 2rem; }
}

@media (max-width: 575.98px) {
  .section { padding: 4rem 1rem; }
  .hero { padding: calc(var(--nav-height) + 2rem) 1rem 3rem; min-height: 90vh; }
  .hero h1 { font-size: 1.9rem; }
  .hero-subtitle { font-size: 1rem; }
  .btn-glow, .btn-ghost { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  .features-grid, .services-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SYNTHETIC SHOWCASE — LOGO SECTION (PREVIOUS)
   ============================================================ */
#synthetic {
  background: radial-gradient(circle at 10% 10%, rgba(124,58,237,0.05) 0%, transparent 50%),
              radial-gradient(circle at 90% 90%, rgba(0,212,255,0.05) 0%, transparent 50%);
  border-bottom: 1px solid var(--border-glass);
}
.synthetic-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.synthetic-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.synthetic-glow-bg {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}
.synthetic-logo {
  max-width: 320px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(0,212,255,0.3));
  transition: transform var(--transition-spring);
}
.synthetic-logo:hover {
  transform: scale(1.05) rotate(2deg);
}
.synthetic-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.synthetic-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.synthetic-cta {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}
.cta-question {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 991.98px) {
  .synthetic-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .synthetic-visual { order: -1; }
  .synthetic-cta { align-items: center; }
  .synthetic-glow-bg { width: 280px; height: 280px; }
}

/* ============================================================
   SYNTHETIC IN ACTION — PREMIUM SPLIT CAROUSEL
   ============================================================ */
.section-synthetic-action {
    background: radial-gradient(circle at 70% 20%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
    padding: 8rem 0;
}

.container-large {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.carousel-main-wrapper {
    position: relative;
    margin-top: 5rem;
}

.carousel-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-float);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
}

.slide-inner {
    display: flex;
    align-items: center;
    min-height: 520px;
    gap: 0;
}

.slide-visual {
    flex: 0 0 60%;
    background: var(--bg-primary);
    line-height: 0;
    overflow: hidden;
    position: relative;
}

.slide-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.carousel-slide:hover .slide-visual img {
    /* No zoom effect */
}

.slide-content {
    flex: 0 0 40%;
    padding: 4rem 3.5rem;
    background: var(--bg-surface);
}

.slide-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 99px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slide-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.slide-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Nav Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
}

.carousel-nav-btn.prev { left: 1.5rem; }
.carousel-nav-btn.next { right: 1.5rem; }

/* Pagination Dots */
.carousel-dots-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-glass);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 32px;
    border-radius: 5px;
    background: var(--accent-cyan);
}

/* Footer Content */
.synthetic-footer-content {
    margin-top: 6rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.legal-note-box {
    background: rgba(245, 158, 11, 0.03);
    border: 1px solid rgba(245, 158, 11, 0.1);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.legal-note-box i {
    color: #f59e0b;
    font-size: 1.5rem;
}

.legal-note-box p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.development-capacity {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 3rem;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .slide-inner { min-height: 450px; }
    .slide-content { padding: 3rem 2.5rem; }
    .slide-content h3 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
    .slide-inner { flex-direction: column; min-height: auto; }
    .slide-visual, .slide-content { flex: 0 0 100%; width: 100%; }
    .slide-content { padding: 2.5rem 1.75rem; text-align: center; }
    .carousel-nav-btn { display: none; }
    .legal-note-box { flex-direction: column; text-align: center; }
}
