:root {
  --bg: #0B0B0B;
  --white: #FFFFFF;
  --silver: #C9C9C9;
  --silver-2: #9A9A9A;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --max: 1120px;
  --matrix-green: #00ff41;
  --matrix-cyan: #00ffff;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  position: relative;
  min-height: 100vh;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Matrix Background */
.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 0;
  overflow: hidden;
}

.matrix-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 255, 65, 0.03) 2px,
      rgba(0, 255, 65, 0.03) 4px
    );
  animation: scan 8s linear infinite;
}

@keyframes scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(20px); }
}

/* Matrix Rain */
.matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.matrix-column {
  position: absolute;
  top: -100%;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--matrix-green);
  opacity: 0.15;
  line-height: 1.2;
  text-shadow: 0 0 5px var(--matrix-green);
  animation: matrix-fall linear infinite;
}

@keyframes matrix-fall {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Glitch Container */
.glitch-container {
  text-align: center;
  margin-bottom: var(--space-16);
  position: relative;
}

.glitch-title {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  position: relative;
  margin: 0;
  text-transform: uppercase;
  animation: glitch 3s infinite;
}

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

.glitch-title::before {
  left: 2px;
  text-shadow: -2px 0 var(--matrix-cyan);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-title::after {
  left: -2px;
  text-shadow: 2px 0 var(--matrix-green);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 3s infinite linear alternate-reverse;
}

@keyframes glitch {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

@keyframes glitch-anim {
  0% {
    clip: rect(31px, 9999px, 94px, 0);
    transform: skew(0.5deg);
  }
  5% {
    clip: rect(75px, 9999px, 53px, 0);
    transform: skew(0.5deg);
  }
  10% {
    clip: rect(58px, 9999px, 99px, 0);
    transform: skew(0.5deg);
  }
  15% {
    clip: rect(32px, 9999px, 13px, 0);
    transform: skew(0.5deg);
  }
  20% {
    clip: rect(73px, 9999px, 79px, 0);
    transform: skew(0.5deg);
  }
  25% {
    clip: rect(26px, 9999px, 53px, 0);
    transform: skew(0.5deg);
  }
  30% {
    clip: rect(42px, 9999px, 59px, 0);
    transform: skew(0.5deg);
  }
  35% {
    clip: rect(12px, 9999px, 35px, 0);
    transform: skew(0.5deg);
  }
  40% {
    clip: rect(65px, 9999px, 91px, 0);
    transform: skew(0.5deg);
  }
  45% {
    clip: rect(88px, 9999px, 21px, 0);
    transform: skew(0.5deg);
  }
  50% {
    clip: rect(19px, 9999px, 15px, 0);
    transform: skew(0.5deg);
  }
  55% {
    clip: rect(77px, 9999px, 97px, 0);
    transform: skew(0.5deg);
  }
  60% {
    clip: rect(3px, 9999px, 100px, 0);
    transform: skew(0.5deg);
  }
  65% {
    clip: rect(51px, 9999px, 29px, 0);
    transform: skew(0.5deg);
  }
  70% {
    clip: rect(67px, 9999px, 53px, 0);
    transform: skew(0.5deg);
  }
  75% {
    clip: rect(9px, 9999px, 83px, 0);
    transform: skew(0.5deg);
  }
  80% {
    clip: rect(37px, 9999px, 3px, 0);
    transform: skew(0.5deg);
  }
  85% {
    clip: rect(92px, 9999px, 68px, 0);
    transform: skew(0.5deg);
  }
  90% {
    clip: rect(14px, 9999px, 79px, 0);
    transform: skew(0.5deg);
  }
  95% {
    clip: rect(60px, 9999px, 11px, 0);
    transform: skew(0.5deg);
  }
  100% {
    clip: rect(23px, 9999px, 87px, 0);
    transform: skew(0.5deg);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(65px, 9999px, 100px, 0);
    transform: skew(0.5deg);
  }
  5% {
    clip: rect(14px, 9999px, 33px, 0);
    transform: skew(0.5deg);
  }
  10% {
    clip: rect(78px, 9999px, 55px, 0);
    transform: skew(0.5deg);
  }
  15% {
    clip: rect(41px, 9999px, 29px, 0);
    transform: skew(0.5deg);
  }
  20% {
    clip: rect(26px, 9999px, 76px, 0);
    transform: skew(0.5deg);
  }
  25% {
    clip: rect(88px, 9999px, 53px, 0);
    transform: skew(0.5deg);
  }
  30% {
    clip: rect(3px, 9999px, 24px, 0);
    transform: skew(0.5deg);
  }
  35% {
    clip: rect(55px, 9999px, 96px, 0);
    transform: skew(0.5deg);
  }
  40% {
    clip: rect(19px, 9999px, 79px, 0);
    transform: skew(0.5deg);
  }
  45% {
    clip: rect(72px, 9999px, 45px, 0);
    transform: skew(0.5deg);
  }
  50% {
    clip: rect(38px, 9999px, 11px, 0);
    transform: skew(0.5deg);
  }
  55% {
    clip: rect(87px, 9999px, 68px, 0);
    transform: skew(0.5deg);
  }
  60% {
    clip: rect(7px, 9999px, 82px, 0);
    transform: skew(0.5deg);
  }
  65% {
    clip: rect(46px, 9999px, 16px, 0);
    transform: skew(0.5deg);
  }
  70% {
    clip: rect(29px, 9999px, 91px, 0);
    transform: skew(0.5deg);
  }
  75% {
    clip: rect(83px, 9999px, 35px, 0);
    transform: skew(0.5deg);
  }
  80% {
    clip: rect(12px, 9999px, 58px, 0);
    transform: skew(0.5deg);
  }
  85% {
    clip: rect(61px, 9999px, 22px, 0);
    transform: skew(0.5deg);
  }
  90% {
    clip: rect(34px, 9999px, 73px, 0);
    transform: skew(0.5deg);
  }
  95% {
    clip: rect(95px, 9999px, 49px, 0);
    transform: skew(0.5deg);
  }
  100% {
    clip: rect(17px, 9999px, 64px, 0);
    transform: skew(0.5deg);
  }
}

.glitch-subtitle {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--matrix-green);
  margin-top: var(--space-4);
  text-transform: uppercase;
  position: relative;
  animation: pulse 2s ease-in-out infinite;
  text-shadow: 0 0 10px var(--matrix-green), 0 0 20px var(--matrix-green);
}

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

/* Content Wrapper */
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Info Card */
.info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8);
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease-out;
}

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

.info-title {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 var(--space-4);
  color: var(--white);
  letter-spacing: 0.05em;
}

.info-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: var(--silver);
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out;
  animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
  border-color: var(--matrix-green);
  background: rgba(0, 255, 65, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 255, 65, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.5));
}

.feature-card h3 {
  font-family: Orbitron, Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--space-2);
  color: var(--white);
  letter-spacing: 0.02em;
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--silver);
  margin: 0;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--space-12);
  animation: fadeInUp 1s ease-out 0.7s both;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--silver);
  margin: 0 0 var(--space-6);
}

.email-form {
  display: flex;
  gap: var(--space-4);
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.email-input {
  flex: 1;
  min-width: 250px;
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1rem;
  font-family: Inter, sans-serif;
  transition: all 0.3s ease;
}

.email-input:focus {
  outline: none;
  border-color: var(--matrix-green);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.email-input::placeholder {
  color: var(--silver-2);
}

.notify-btn {
  padding: var(--space-4) var(--space-8);
  background: transparent;
  border: 1px solid var(--matrix-green);
  border-radius: var(--radius);
  color: var(--matrix-green);
  font-size: 1rem;
  font-weight: 600;
  font-family: Orbitron, Inter, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.notify-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--matrix-green);
  transition: left 0.3s ease;
  z-index: -1;
}

.notify-btn:hover {
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.notify-btn:hover::before {
  left: 0;
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  color: var(--silver);
}

.footer .brand {
  font-family: Orbitron, Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
}

.footer-text {
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: var(--space-6) var(--space-4);
  }

  .glitch-title {
    font-size: 3rem;
  }

  .info-card,
  .cta-section {
    padding: var(--space-6);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .email-input {
    min-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .glitch-title {
    font-size: 2.5rem;
  }

  .glitch-subtitle {
    font-size: 0.875rem;
  }
}

