/* ==========================================================================
   DKRIPT INC. — HOLDING PAGE DEFINITIVE STYLES (STANDALONE)
   Design System: Dkript Dark-First Futuristic Architecture
   Zero CDN Dependencies | WCAG 2.2 AA Compliant | Pure Vanilla CSS
   ========================================================================== */

:root {
  --color-dk-cyan: #00d1ff;
  --color-dk-blue: #007bff;
  --color-dk-violet: #7a3cff;
  --color-dk-dark: #0a0f1c;
  --color-dk-surface: #111827;
  --color-dk-surface-elevated: #1f2937;
  --color-dk-text: #f8fafc;
  --color-dk-text-body: #cbd5e1;
  --color-dk-text-muted: #94a3b8;
  --color-dk-border: rgba(255, 255, 255, 0.08);
  --color-dk-border-accent: rgba(0, 209, 255, 0.3);
  --color-dk-glow-cyan: rgba(0, 209, 255, 0.15);
  --color-dk-glow-violet: rgba(122, 60, 255, 0.15);

  --gradient-dkript: linear-gradient(135deg, #00d1ff 0%, #007bff 50%, #7a3cff 100%);
  --gradient-border: linear-gradient(135deg, rgba(0, 209, 255, 0.4), rgba(122, 60, 255, 0.4));
  --gradient-glow: radial-gradient(circle at 50% 20%, rgba(0, 209, 255, 0.08) 0%, rgba(122, 60, 255, 0.05) 45%, transparent 70%);

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  background-color: var(--color-dk-dark);
  color: var(--color-dk-text-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: var(--color-dk-dark);
}

/* Background Atmosphere & Interactive Canvas */
.particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.atmosphere-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% -5%, rgba(0, 209, 255, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(122, 60, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(0, 123, 255, 0.07) 0%, transparent 50%);
}

/* Interactive Energy Grid Layer */
.energy-grid-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  contain: layout style paint;
  mask-image: radial-gradient(ellipse at 50% 50%, black 72%, rgba(0, 0, 0, 0.45) 90%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 72%, rgba(0, 0, 0, 0.45) 90%, transparent 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(0, 209, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 209, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: 0 0;
  transition: opacity 0.4s ease;
}

.grid-energy-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Layout Container */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.08s;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  outline-offset: 4px;
}

.brand-link:focus-visible {
  outline: 2px solid var(--color-dk-cyan);
  border-radius: 6px;
}

.brand-logo {
  width: clamp(160px, 18vw, 210px);
  height: auto;
  aspect-ratio: 640 / 239;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0, 209, 255, 0.22));
  transition: var(--transition-smooth);
}

.brand-link:hover .brand-logo {
  filter: drop-shadow(0 0 22px rgba(0, 209, 255, 0.38));
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: rgba(31, 41, 55, 0.65);
  border: 1px solid var(--color-dk-border);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--color-dk-text-body);
  font-family: var(--font-mono);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-dk-cyan);
  box-shadow: 0 0 8px var(--color-dk-cyan);
  animation: pulse-glow 2.5s infinite ease-in-out;
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.75rem 0 1.25rem;
}

.hero-card {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Official Floating Crystal Energy Cube */
.cube-visual-wrapper {
  margin-bottom: 1.25rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 140px;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.18s;
}

.cube-halo-cyan {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.32) 0%, rgba(0, 209, 255, 0.08) 50%, transparent 72%);
  filter: blur(22px);
  z-index: 1;
  animation: halo-pulse-cyan 5s infinite alternate ease-in-out;
}

.cube-halo-violet {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 60, 255, 0.24) 0%, rgba(122, 60, 255, 0.06) 55%, transparent 75%);
  filter: blur(24px);
  z-index: 1;
  animation: halo-pulse-violet 6s infinite alternate ease-in-out;
}

.cube-shadow-base {
  position: absolute;
  bottom: 0px;
  width: 90px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.7) 0%, transparent 75%);
  filter: blur(4px);
  z-index: 1;
  animation: shadow-breath 5s infinite ease-in-out;
}

.cube-picture {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube-img {
  width: clamp(110px, 13vw, 135px);
  height: auto;
  aspect-ratio: 560 / 456;
  object-fit: contain;
  animation: cube-levitate 5s infinite ease-in-out;
  filter: drop-shadow(0 8px 24px rgba(0, 209, 255, 0.28));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.cube-visual-wrapper:hover .cube-img {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 12px 32px rgba(0, 209, 255, 0.42));
}

/* Tagline pill */
.tagline-pill {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  color: var(--color-dk-cyan);
  background: rgba(0, 209, 255, 0.08);
  border: 1px solid rgba(0, 209, 255, 0.25);
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.26s;
}

/* Headlines */
.main-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-dk-text);
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  max-width: 780px;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.34s;
}

.main-title .gradient-text {
  background: var(--gradient-dkript);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.description-text {
  font-size: clamp(0.95rem, 1.5vw, 1.075rem);
  color: var(--color-dk-text-body);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.42s;
}

/* HUD Countdown Panel */
.countdown-container {
  width: 100%;
  max-width: 640px;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid var(--color-dk-border);
  border-radius: 14px;
  padding: 1.5rem 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.5), 0 0 24px -4px rgba(0, 209, 255, 0.12);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.5s;
}

.countdown-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-dkript);
}

/* HUD Corner Brackets */
.hud-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-color: var(--color-dk-cyan);
  opacity: 0.65;
}

.hud-corner.top-left {
  top: 6px;
  left: 6px;
  border-top: 2px solid var(--color-dk-cyan);
  border-left: 2px solid var(--color-dk-cyan);
}

.hud-corner.top-right {
  top: 6px;
  right: 6px;
  border-top: 2px solid var(--color-dk-cyan);
  border-right: 2px solid var(--color-dk-cyan);
}

.hud-corner.bottom-left {
  bottom: 6px;
  left: 6px;
  border-bottom: 2px solid var(--color-dk-cyan);
  border-left: 2px solid var(--color-dk-cyan);
}

.hud-corner.bottom-right {
  bottom: 6px;
  right: 6px;
  border-bottom: 2px solid var(--color-dk-cyan);
  border-right: 2px solid var(--color-dk-cyan);
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.countdown-subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dk-text-muted);
}

.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(31, 41, 55, 0.85);
  border: 1px solid rgba(0, 209, 255, 0.3);
  color: var(--color-dk-cyan);
  box-shadow: 0 0 12px rgba(0, 209, 255, 0.1);
}

.state-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-dk-cyan);
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Countdown Grid */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.hud-slot {
  background: rgba(10, 15, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.85rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.hud-slot:hover {
  border-color: rgba(0, 209, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 209, 255, 0.12);
}

.countdown-value {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--color-dk-text);
  line-height: 1;
  margin-bottom: 0.3rem;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(0, 209, 255, 0.28);
}

.countdown-unit {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-dk-text-muted);
  font-weight: 600;
}

/* Notice for Pending Date */
.pending-date-notice {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-dk-border);
  font-size: 0.8125rem;
  color: var(--color-dk-text-muted);
}

/* Action Area */
.actions-area {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.58s;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.65rem;
  background: var(--gradient-dkript);
  color: #040810;
  font-weight: 700;
  font-size: 0.9375rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 209, 255, 0.28);
  outline-offset: 3px;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 209, 255, 0.45);
  filter: brightness(1.08);
}

.btn-contact:active {
  transform: scale(0.98);
}

.btn-contact:focus-visible {
  outline: 2px solid var(--color-dk-cyan);
}

.contact-email-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-dk-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-email-link {
  color: var(--color-dk-cyan);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-email-link:hover {
  color: #33daff;
  text-decoration: underline;
}

.contact-email-link:focus-visible {
  outline: 2px solid var(--color-dk-cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Social Channels Area */
.social-channels {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.62s;
}

.social-channels-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-dk-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.social-channels-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-dk-text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  color: var(--color-dk-cyan);
  border-color: rgba(0, 209, 255, 0.5);
  background: rgba(0, 209, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 209, 255, 0.2);
}

.social-icon-btn:focus-visible {
  outline: 2px solid var(--color-dk-cyan);
  outline-offset: 2px;
}

.social-icon-btn.small {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

/* ==========================================================================
   MODAL DE CONTACTO ACCESIBLE (WAI-ARIA DIALOG PATTERN)
   ========================================================================== */
body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 7, 15, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #0A0F1C;
  border: 1px solid rgba(0, 209, 255, 0.35);
  border-radius: 14px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 209, 255, 0.15);
  position: relative;
  overflow: hidden;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.25rem 1.5rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-dk-cyan);
  margin-bottom: 0.35rem;
  letter-spacing: 0.06em;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dk-text);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 0.8125rem;
  color: var(--color-dk-text-muted);
  line-height: 1.45;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-dk-text-muted);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ff6b6b;
  transform: rotate(90deg);
}

.modal-close-btn:focus-visible {
  outline: 2px solid var(--color-dk-cyan);
  outline-offset: 2px;
}

.modal-close-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

/* Status Banner */
.status-banner {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.45;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  animation: fadeIn 0.25s ease-out;
}

.status-banner.is-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.status-banner.is-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.status-banner.is-loading {
  background: rgba(0, 209, 255, 0.08);
  border: 1px solid rgba(0, 209, 255, 0.35);
  color: var(--color-dk-cyan);
  padding: 0.85rem 1rem;
}

.loading-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.hud-spinner {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid rgba(0, 209, 255, 0.25);
  border-top-color: var(--color-dk-cyan);
  border-right-color: var(--color-dk-violet);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.loading-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.loading-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F8FAFC;
  margin: 0;
  letter-spacing: 0.01em;
}

.hud-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.hud-progress-fill {
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #00D1FF, #7A3CFF, #00D1FF);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: hudProgressMove 1.4s ease-in-out infinite alternate;
}

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

.status-banner-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.status-banner-text {
  flex: 1;
  word-break: break-word;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label, .form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dk-text);
}

.form-label-tag {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: var(--color-dk-text-muted);
  font-weight: 500;
}

.form-label-tag.required {
  color: var(--color-dk-cyan);
}

.required-star {
  color: var(--color-dk-cyan);
}

.char-counter {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-dk-text-muted);
}

.char-counter.is-warning {
  color: #fbbf24;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--color-dk-text-muted);
  pointer-events: none;
  transition: color 0.2s ease;
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--color-dk-text);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  padding: 0.65rem 0.85rem 0.65rem 2.4rem;
  transition: var(--transition-smooth);
}

.form-textarea {
  padding: 0.75rem 0.85rem;
  resize: vertical;
  min-height: 85px;
  max-height: 160px;
  line-height: 1.5;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-dk-cyan);
  box-shadow: 0 0 12px rgba(0, 209, 255, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

.input-wrapper:focus-within .input-icon {
  color: var(--color-dk-cyan);
}

.form-input.has-error, .form-textarea.has-error {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.2);
}

.form-input:disabled, .form-textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.6);
}

.form-error {
  font-size: 0.75rem;
  color: #f87171;
  min-height: 1rem;
}

.form-actions {
  margin-top: 0.25rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-dkript);
  color: #040810;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(0, 209, 255, 0.28);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 209, 255, 0.42);
  filter: brightness(1.08);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(4, 8, 16, 0.3);
  border-top-color: #040810;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.form-privacy-note {
  font-size: 0.6875rem;
  color: var(--color-dk-text-muted);
  text-align: center;
  margin-top: 0.15rem;
}

.privacy-highlight {
  color: var(--color-dk-cyan);
  font-weight: 600;
}

/* Panel de Éxito Dedicado */
.contact-success-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.5rem 0.5rem;
  gap: 1rem;
  animation: fadeIn 0.3s ease-out;
}

.success-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.25);
}

.success-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
}

.success-desc {
  font-size: 0.875rem;
  color: var(--color-dk-text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 440px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-secondary-action {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-dk-text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary-action:focus-visible {
  outline: 2px solid var(--color-dk-cyan);
  outline-offset: 2px;
}

.modal-footer {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 15, 28, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.modal-footer-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-dk-text-muted);
  text-transform: uppercase;
}

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

/* Footer */
.site-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--color-dk-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--color-dk-text-muted);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.66s;
}

.footer-credo {
  font-style: italic;
  color: var(--color-dk-text-muted);
}

.footer-copy {
  font-family: var(--font-mono);
}

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

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px var(--color-dk-cyan);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.9);
    box-shadow: 0 0 3px var(--color-dk-cyan);
  }
}

@keyframes halo-pulse-cyan {
  0% {
    transform: scale(0.92);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes halo-pulse-violet {
  0% {
    transform: scale(1.1);
    opacity: 0.85;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

@keyframes shadow-breath {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(0.82);
    opacity: 0.4;
  }
}

@keyframes cube-levitate {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(1.2deg);
  }
}

/* Reduced Motion Compliance (WCAG 2.2 AA) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cube-img,
  .cube-halo-cyan,
  .cube-halo-violet,
  .cube-shadow-base,
  .status-indicator,
  .state-badge-dot,
  .site-header,
  .cube-visual-wrapper,
  .tagline-pill,
  .main-title,
  .description-text,
  .countdown-container,
  .actions-area,
  .site-footer {
    animation: none !important;
  }
  .particles-canvas,
  .grid-energy-canvas {
    display: none !important;
  }
  .grid-overlay {
    opacity: 1 !important;
  }
  .energy-grid-layer {
    transform: none !important;
  }
}

/* Responsive Viewports */
@media (max-width: 640px) {
  .page-wrapper {
    padding: 1.5rem 1rem 1rem;
  }
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
  .main-content {
    padding: 1.25rem 0;
  }
  .cube-visual-wrapper {
    margin-bottom: 1.5rem;
    height: 150px;
  }
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .countdown-container {
    padding: 1.5rem 1rem;
  }
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .actions-area {
    flex-direction: column;
    width: 100%;
  }
  .btn-contact {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive Viewport Height Adaptation (Desktop & Laptops)
   Ensures footer visibility and zero-scroll fit on desktop screens */
@media (min-width: 641px) and (max-height: 960px) {
  .page-wrapper {
    padding: clamp(0.75rem, 1.8vh, 1.25rem) clamp(1rem, 2vw, 1.5rem) clamp(0.5rem, 1.2vh, 0.85rem);
  }
  .site-header {
    padding-bottom: clamp(0.35rem, 1vh, 0.75rem);
  }
  .brand-logo {
    width: clamp(140px, 15vw, 185px);
  }
  .main-content {
    padding: clamp(0.2rem, 0.6vh, 0.5rem) 0 clamp(0.35rem, 0.8vh, 0.75rem);
  }
  .cube-visual-wrapper {
    margin-bottom: clamp(0.5rem, 1.2vh, 1rem);
    height: clamp(95px, 13vh, 130px);
  }
  .cube-img {
    width: clamp(90px, 11vh, 120px);
  }
  .cube-halo-cyan {
    width: clamp(120px, 16vh, 150px);
    height: clamp(120px, 16vh, 150px);
  }
  .cube-halo-violet {
    width: clamp(130px, 17vh, 160px);
    height: clamp(130px, 17vh, 160px);
  }
  .tagline-pill {
    margin-bottom: clamp(0.35rem, 1vh, 0.75rem);
    padding: 0.2rem 0.75rem;
  }
  .main-title {
    font-size: clamp(1.65rem, 3.2vh, 2.35rem);
    margin-bottom: clamp(0.35rem, 1vh, 0.75rem);
    line-height: 1.15;
  }
  .description-text {
    font-size: clamp(0.875rem, 1.6vh, 1rem);
    line-height: 1.5;
    margin-bottom: clamp(0.6rem, 1.5vh, 1.25rem);
  }
  .countdown-container {
    padding: clamp(0.75rem, 1.5vh, 1.25rem) clamp(1rem, 2vw, 1.35rem);
  }
  .countdown-header {
    margin-bottom: clamp(0.4rem, 0.9vh, 0.75rem);
  }
  .hud-slot {
    padding: clamp(0.45rem, 0.9vh, 0.75rem) 0.4rem;
  }
  .countdown-value {
    font-size: clamp(1.4rem, 2.8vh, 1.95rem);
  }
  .pending-date-notice {
    margin-top: clamp(0.4rem, 0.8vh, 0.65rem);
    padding-top: clamp(0.35rem, 0.8vh, 0.55rem);
    font-size: 0.75rem;
  }
  .actions-area {
    margin-top: clamp(0.6rem, 1.4vh, 1.15rem);
  }
  .btn-contact {
    padding: clamp(0.55rem, 1.1vh, 0.7rem) clamp(1.2rem, 1.8vw, 1.5rem);
    font-size: 0.875rem;
  }
  .social-channels {
    margin-top: clamp(0.35rem, 0.8vh, 0.65rem);
    gap: 0.5rem;
  }
  .social-icon-btn {
    width: 30px;
    height: 30px;
  }
  .site-footer {
    padding-top: clamp(0.6rem, 1.5vh, 1.25rem);
    font-size: 0.75rem;
  }
  .modal-dialog {
    max-height: 92vh;
  }
  .modal-body {
    padding: 1rem 1.25rem;
  }
}

/* Compact Laptop Screens (e.g. 1366x768, 1280x720, 1024x768) */
@media (min-width: 641px) and (max-height: 780px) {
  .page-wrapper {
    padding: 0.5rem 1.25rem 0.4rem;
  }
  .site-header {
    padding-bottom: 0.25rem;
  }
  .brand-logo {
    width: 140px;
  }
  .main-content {
    padding: 0.15rem 0 0.35rem;
  }
  .cube-visual-wrapper {
    margin-bottom: 0.25rem;
    height: 80px;
  }
  .cube-img {
    width: 75px;
  }
  .cube-halo-cyan {
    width: 105px;
    height: 105px;
  }
  .cube-halo-violet {
    width: 115px;
    height: 115px;
  }
  .tagline-pill {
    margin-bottom: 0.25rem;
    padding: 0.15rem 0.65rem;
    font-size: 0.6875rem;
  }
  .main-title {
    font-size: 1.55rem;
    margin-bottom: 0.25rem;
    line-height: 1.12;
  }
  .description-text {
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    max-width: 540px;
  }
  .countdown-container {
    padding: 0.65rem 0.95rem;
    max-width: 580px;
  }
  .countdown-header {
    margin-bottom: 0.4rem;
  }
  .countdown-subtitle {
    font-size: 0.72rem;
  }
  .state-badge {
    padding: 0.15rem 0.45rem;
    font-size: 0.6875rem;
  }
  .countdown-grid {
    gap: 0.5rem;
  }
  .hud-slot {
    padding: 0.4rem 0.25rem;
  }
  .countdown-value {
    font-size: 1.35rem;
  }
  .countdown-unit {
    font-size: 0.58rem;
  }
  .pending-date-notice {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    font-size: 0.7rem;
  }
  .actions-area {
    margin-top: 0.4rem;
    gap: 0.65rem;
  }
  .btn-contact {
    padding: 0.45rem 1.1rem;
    font-size: 0.8125rem;
  }
  .contact-email-text {
    font-size: 0.75rem;
  }
  .social-channels {
    margin-top: 0.25rem;
    gap: 0.4rem;
  }
  .social-channels-label {
    font-size: 0.65rem;
  }
  .social-icon-btn {
    width: 26px;
    height: 26px;
  }
  .site-footer {
    padding-top: 0.4rem;
    font-size: 0.7rem;
    gap: 0.5rem;
  }
  .modal-dialog {
    max-height: 96vh;
  }
  .modal-header {
    padding: 0.75rem 1rem 0.4rem;
  }
  .modal-title {
    font-size: 1.15rem;
  }
  .modal-subtitle {
    font-size: 0.75rem;
  }
  .modal-body {
    padding: 0.65rem 1rem;
  }
  .contact-form {
    gap: 0.65rem;
  }
  .form-group {
    gap: 0.2rem;
  }
  .form-label {
    font-size: 0.75rem;
  }
  .form-input, .form-textarea {
    font-size: 0.8125rem;
    padding: 0.45rem 0.65rem 0.45rem 2.2rem;
  }
  .form-textarea {
    min-height: 65px;
    padding: 0.5rem 0.65rem;
  }
  .btn-submit {
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
  }
  .modal-footer {
    padding: 0.5rem 1rem;
  }
}

