*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: "Plus Jakarta Sans", sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.pointer-events-none {
  pointer-events: none;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.z-10 {
  z-index: 10;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-\[-90px\] {
  margin-left: -90px;
}

.mr-\[-90px\] {
  margin-right: -90px;
}

.mt-4 {
  margin-top: 1rem;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.min-h-screen {
  min-height: 100vh;
}

.w-full {
  width: 100%;
}

.max-w-5xl {
  max-width: 64rem;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.rounded-full {
  border-radius: 9999px;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pr-8 {
  padding-right: 2rem;
}

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

/* ============================================
   CSS VARIABLES - ANIMATION STUDIO PALETTE
   ============================================ */

:root {
  --color-bg: #0F0520;
  --color-orange: #FF6B35;
  --color-magenta: #FF2E97;
  --color-blue: #00D9FF;
  --color-yellow: #FFD23F;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-text-muted: rgba(255, 255, 255, 0.5);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-glass-bg: rgba(25, 10, 40, 0.7);
  --color-glass-border: rgba(255, 107, 53, 0.15);
  /* Metallic color variables */
  --color-metal-light: #E8E8E8;
  --color-metal-mid: #B8B8B8;
  --color-metal-dark: #787878;
  --color-metal-darker: #484848;
}

/* ============================================
   BASE STYLES
   ============================================ */

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   GRID PATTERN BACKGROUND
   ============================================ */

.grid-pattern {
  background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 107, 53, 0.08) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 1;
}

/* ============================================
   RADIAL GRADIENT ACCENTS
   ============================================ */

.radial-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
}

.radial-accent-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-orange) 0%, transparent 70%);
  top: -200px;
  left: -100px;
}

.radial-accent-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-magenta) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
}

/* ============================================
   MASSIVE BACKGROUND TEXT
   ============================================ */

.massive-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 18vw, 20rem);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  opacity: 0.03;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  color: var(--color-text-primary);
}

/* ============================================
   PARTICLE SYSTEM
   ============================================ */

.particles-container {
  z-index: 1;
}

.particle {
  position: absolute;
  opacity: 0.4;
  animation: float linear infinite;
}

.particle.square {
  background: linear-gradient(135deg, var(--color-orange), var(--color-magenta));
  border-radius: 2px;
}

.particle.circle {
  background: linear-gradient(135deg, var(--color-blue), var(--color-yellow));
  border-radius: 50%;
}

.particle.triangle {
  width: 0 !important;
  height: 0 !important;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 8px solid var(--color-yellow);
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.4;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Status Badge */

.status-badge {
  background: rgba(25, 10, 40, 0.7);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  animation: fadeIn 1s ease-out 0.3s both;
}

.ping-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--color-yellow);
  border-radius: 50%;
}

.ping-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-yellow);
  border-radius: 50%;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.status-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* Hero Title */

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeIn 1s ease-out 0.5s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-magenta) 40%, var(--color-blue) 70%, var(--color-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1s ease-out 0.7s both;
}

/* ============================================
   ENIGMA COUNTING BLOCK
   ============================================ */

.enigma-counter-container {
  margin-top: 48px;
  padding: 32px;
  background: rgba(15, 5, 32, 0.85);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out 0.9s both, enigmaPulse 4s ease-in-out infinite;
}

.enigma-counter-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.15), transparent);
  animation: enigmaScan 3s linear infinite;
}

@keyframes enigmaScan {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

@keyframes enigmaPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
  }

  50% {
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.5), 0 0 70px rgba(255, 46, 151, 0.3);
  }
}

.enigma-label {
  position: relative;
}

.glitch-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-blue);
  position: relative;
  display: inline-block;
  animation: glitchFlicker 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 var(--color-magenta);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitchAnim1 2.5s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 var(--color-yellow);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitchAnim2 2s infinite linear alternate-reverse;
}

@keyframes glitchFlicker {
  0%, 90%, 92%, 94%, 100% {
    opacity: 1;
  }

  91%, 93% {
    opacity: 0.7;
  }
}

@keyframes glitchAnim1 {
  0% {
    clip: rect(43px, 9999px, 100px, 0);
  }

  20% {
    clip: rect(12px, 9999px, 85px, 0);
  }

  40% {
    clip: rect(65px, 9999px, 23px, 0);
  }

  60% {
    clip: rect(90px, 9999px, 45px, 0);
  }

  80% {
    clip: rect(28px, 9999px, 73px, 0);
  }

  100% {
    clip: rect(50px, 9999px, 18px, 0);
  }
}

@keyframes glitchAnim2 {
  0% {
    clip: rect(20px, 9999px, 65px, 0);
  }

  20% {
    clip: rect(78px, 9999px, 32px, 0);
  }

  40% {
    clip: rect(45px, 9999px, 88px, 0);
  }

  60% {
    clip: rect(15px, 9999px, 70px, 0);
  }

  80% {
    clip: rect(92px, 9999px, 28px, 0);
  }

  100% {
    clip: rect(38px, 9999px, 55px, 0);
  }
}

.enigma-counter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  position: relative;
}

.enigma-counter {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.enigma-digit-group {
  position: relative;
  perspective: 1000px;
}

.enigma-digit {
  width: 70px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 107, 53, 0.4);
  border-radius: 16px;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: enigmaFloat 4s ease-in-out infinite;
}

.enigma-digit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.15) 0%, transparent 100%);
  opacity: 0;
  animation: enigmaShimmer 2s ease-in-out infinite;
}

@keyframes enigmaFloat {
  0%, 100% {
    transform: translateY(0) rotateX(0deg);
  }

  50% {
    transform: translateY(-5px) rotateX(2deg);
  }
}

@keyframes enigmaShimmer {
  0%, 100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.digit-value {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(145deg, 
        var(--color-metal-light) 0%, 
        var(--color-metal-mid) 25%, 
        var(--color-metal-dark) 50%, 
        var(--color-metal-mid) 75%, 
        var(--color-metal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  position: relative;
  z-index: 3;
  font-variant-numeric: tabular-nums;
  animation: digitPulse 1.5s ease-in-out infinite, metallicShine 3s ease-in-out infinite;
  text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.4),
        0 2px 0 rgba(255, 255, 255, 0.3),
        0 3px 0 rgba(255, 255, 255, 0.2),
        0 4px 0 rgba(0, 0, 0, 0.1),
        0 5px 10px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 0 8px rgba(232, 232, 232, 0.5));
}

.digit-shadow {
  position: absolute;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-metal-dark);
  opacity: 0.3;
  filter: blur(10px);
  z-index: 1;
  animation: shadowFlicker 2s ease-in-out infinite;
}

.digit-glitch {
  position: absolute;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(145deg, 
        var(--color-metal-light) 0%, 
        var(--color-metal-mid) 50%, 
        var(--color-metal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  z-index: 2;
  animation: glitchReveal 3s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(232, 232, 232, 0.6));
}

@keyframes digitPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 8px rgba(232, 232, 232, 0.5));
  }

  50% {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 12px rgba(232, 232, 232, 0.8));
  }
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes shadowFlicker {
  0%, 100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes glitchReveal {
  0%, 95%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }

  96% {
    opacity: 0.6;
    transform: translate(-3px, 2px);
  }

  97% {
    opacity: 0.4;
    transform: translate(2px, -2px);
  }

  98% {
    opacity: 0.5;
    transform: translate(-2px, -1px);
  }
}

.enigma-separator {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--color-orange);
  animation: separatorBlink 2s ease-in-out infinite;
  text-shadow: 0 0 20px var(--color-orange);
}

@keyframes separatorBlink {
  0%, 49%, 51%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.enigma-description {
  position: relative;
}

.mystery-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  animation: mysteryFade 2s ease-in-out infinite;
}

@keyframes mysteryFade {
  0%, 100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* ============================================
   CONSTRUCTION VISUAL (SVG)
   ============================================ */

.construction-visual {
  width: 100%;
  max-width: 400px;
  height: 400px;
  animation: fadeIn 1s ease-out 0.9s both;
}

.construction-svg {
  width: 100%;
  height: 100%;
}

.ring-outer {
  animation: rotateClockwise 20s linear infinite;
  transform-origin: center;
}

.ring-middle {
  animation: rotateCounterClockwise 15s linear infinite;
  transform-origin: center;
}

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

.shape {
  animation: shapeFloat 4s ease-in-out infinite;
}

.shape-1 {
  animation-delay: 0s;
}

.shape-2 {
  animation-delay: 0.5s;
}

.shape-3 {
  animation-delay: 1s;
}

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

  to {
    transform: rotate(360deg);
  }
}

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

  to {
    transform: rotate(0deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@keyframes shapeFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Rotating Text Circle */

.rotating-text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
}

.rotating-text-svg {
  width: 100%;
  height: 100%;
  animation: rotateClockwise 10s linear infinite;
}

.rotating-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  fill: var(--color-text-muted);
}

/* ============================================
   GLASS CARD
   ============================================ */

.glass-card {
  background: var(--color-glass-bg);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(35, 15, 50, 0.85);
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-2px);
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */

.countdown-container {
  animation: fadeIn 1s ease-out 1.1s both;
}

.countdown-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
}

/* Bug Counter Styles */

.bug-counter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  overflow: hidden;
}

.bug-counter {
  display: flex;
  gap: 8px;
  align-items: center;
}

.digit-column {
  width: 60px;
  height: 80px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 107, 53, 0.05);
  border: 1px solid rgba(255, 107, 53, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.digit-scroller {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  will-change: transform;
  transition: transform 1000ms linear;
}

.digit {
  width: 60px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-orange), var(--color-magenta), var(--color-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.countdown-grid {
  display: grid;
}

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

.countdown-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-orange), var(--color-magenta), var(--color-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.countdown-unit {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-top: 8px;
  letter-spacing: 0.1em;
}

/* Progress Bar */

.progress-container {
  width: 100%;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-magenta) 40%, var(--color-blue) 70%, var(--color-yellow) 100%);
  border-radius: 999px;
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
  0%, 100% {
    box-shadow: 0 0 15px var(--color-orange);
  }

  50% {
    box-shadow: 0 0 25px var(--color-magenta);
  }
}

.progress-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ============================================
   EMAIL SIGNUP
   ============================================ */

.email-signup-container {
  animation: fadeIn 1s ease-out 1.3s both;
}

.signup-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-align: center;
}

.signup-form {
  display: flex;
}

.email-input {
  flex: 1;
  height: 56px;
  padding: 0 24px;
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  color: var(--color-text-primary);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.email-input::-moz-placeholder {
  color: var(--color-text-muted);
}

.email-input::placeholder {
  color: var(--color-text-muted);
}

.email-input:focus {
  outline: none;
  border-color: var(--color-orange);
  background: rgba(255, 107, 53, 0.12);
}

.submit-button {
  height: 56px;
  padding: 0 32px;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-magenta) 50%, var(--color-blue) 100%);
  border: none;
  border-radius: 16px;
  color: var(--color-text-primary);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.button-arrow {
  transition: transform 0.3s ease;
}

.submit-button:hover .button-arrow {
  transform: translateX(4px);
}

.signup-note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  position: relative;
}

.section-header {
  animation: fadeIn 1s ease-out;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.services-grid {
  display: grid;
}

.service-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.service-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ============================================
   PROGRESS INDICATORS SECTION
   ============================================ */

.progress-section {
  position: relative;
}

.progress-badges {
  display: grid;
}

.progress-badge {
  text-align: center;
  transition: all 0.3s ease;
}

.progress-badge:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.4);
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
}

.badge-number {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-orange), var(--color-magenta), var(--color-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 12px;
  margin-bottom: 8px;
}

.badge-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  position: relative;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.brand-icon {
  transition: transform 0.3s ease;
}

.footer-brand:hover .brand-icon {
  transform: rotate(180deg);
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-social {
  display: flex;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
  border-radius: 12px;
}

.social-link:hover {
  color: var(--color-text-primary);
  background: rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .massive-text {
    font-size: clamp(3rem, 12vw, 8rem);
  }

  .construction-visual {
    max-width: 300px;
    height: 300px;
  }

  .countdown-grid {
    gap: 12px;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .digit-column {
    width: 45px;
    height: 65px;
  }

  .digit {
    width: 45px;
    height: 65px;
    font-size: 2rem;
  }

  .bug-counter {
    gap: 6px;
  }

  .signup-form {
    flex-direction: column;
  }

  .services-grid {
    gap: 16px;
  }

  .enigma-counter-container {
    padding: 24px 16px;
    margin-top: 32px;
  }

  .enigma-counter {
    gap: 8px;
  }

  .enigma-digit {
    width: 50px;
    height: 75px;
  }

  .digit-value,
    .digit-shadow,
    .digit-glitch {
    font-size: 2.5rem;
  }

  .enigma-separator {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .radial-accent {
    width: 300px;
    height: 300px;
  }

  .footer {
    text-align: center;
  }

  .footer-brand,
    .footer-social {
    justify-content: center;
  }

  .enigma-digit {
    width: 40px;
    height: 65px;
  }

  .digit-value,
    .digit-shadow,
    .digit-glitch {
    font-size: 2rem;
  }
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

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

/* Focus visible for keyboard navigation */

*:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}