:root {
  --purple: #4a2d73;
  --purple-light: #6b42a1;
  --cream: #f2ede4;
  --cream-dark: #e8e0d4;
  --cream-light: #f7f3ec;
  --text-muted: #8a7d9a;
}

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

body {
  background: var(--cream);
  color: var(--purple);
  font-family: 'Space Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
}

/* Subtle horizontal scan lines */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(74, 45, 115, 0.008) 2px,
    rgba(74, 45, 115, 0.008) 4px
  );
  pointer-events: none;
  z-index: 99;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top decorative line */
.top-line {
  height: 3px;
  background: var(--purple);
  opacity: 0;
  animation: lineReveal 1s ease-out 0.2s forwards;
}

/* Main hero section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
  position: relative;
}

/* Subtle gradient wash */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(232, 195, 170, 0.15));
  pointer-events: none;
}

/* Side decorative lines */
.side-lines {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--cream-dark), transparent);
}
.side-lines.left { left: 40px; }
.side-lines.right { right: 40px; }

/* Title */
.title {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.5s forwards;
  position: relative;
}

.title .cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--purple);
  margin-left: 4px;
  vertical-align: baseline;
  animation: blink 1s step-end infinite;
}

/* Logo Image */
.logo-container {
  margin-bottom: 45px;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.8s forwards;
  position: relative;
}

.logo-container img {
  width: clamp(192px, 38vw, 365px);
  height: auto;
  display: block;
}

/* Tagline */
.tagline {
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.1s forwards;
  color: var(--purple);
}

/* CTA Button */
.cta-btn {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 16px 52px;
  background: var(--purple);
  color: var(--cream);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.4s forwards;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 45, 115, 0.25);
}

.cta-btn:active {
  transform: translateY(0);
}

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

.cta-btn:hover::before {
  left: 100%;
}

/* Bottom bar */
.bottom-bar {
  height: 48px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: lineReveal 1s ease-out 1.6s forwards;
}

.bottom-bar span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: rgba(242, 237, 228, 0.4);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Floating decorative elements */
.deco {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  color: var(--cream-dark);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  user-select: none;
  opacity: 0;
  animation: fadeIn 2s ease-out 2s forwards;
}

.deco-1 { top: 15%; left: 8%; transform: rotate(-90deg); }
.deco-2 { top: 70%; right: 6%; transform: rotate(90deg); }
.deco-3 { bottom: 18%; left: 12%; }
.deco-4 { top: 25%; right: 10%; }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.5; }
}

@keyframes lineReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Responsive */
@media (max-width: 600px) {
  .side-lines { display: none; }
  .deco { display: none; }
  .hero { padding: 40px 16px 30px; }
  .ascii-art { font-size: 4.5px; }
  .info-section { flex-direction: column; padding: 60px 24px; }
  .info-text { max-width: 100%; }
  .info-image { max-width: 100%; }
}

/* Info Section */
.info-section {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 80px;
}

.info-text {
  max-width: 480px;
  flex: 1;
}

.info-text h2 {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.info-text p {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.info-text .info-highlight {
  color: var(--purple);
  font-weight: 700;
}

.info-image {
  flex: 1;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mid Section */
.mid-section {
  background: #e9e8ed;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 80px;
  padding-bottom: 0;
  overflow: hidden;
}

.mid-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.mid-image img {
  display: block;
  max-width: 50%;
  height: auto;
  vertical-align: bottom;
}

/* Detail Section */
.detail-section {
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 80px;
}

.detail-image {
  flex: 1;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-text {
  max-width: 480px;
  flex: 1;
}

.detail-text h2 {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.detail-text p {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(242, 237, 228, 0.7);
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .detail-section { flex-direction: column; padding: 60px 24px; }
  .detail-image { max-width: 100%; }
  .detail-text { max-width: 100%; }
}
