/* explore.css */
:root {
  --metallic-primary: #e2e8f0;
  --metallic-secondary: #94a3b8;
  --metallic-gold: #cfa86e;
  --dark-bg: #030303;
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
}

body {
  background-color: var(--dark-bg);
  overflow-x: hidden;
  position: relative;
}

/* Parallax Background */
.parallax-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.layer-1 {
  background: radial-gradient(circle at 15% 50%, rgba(207, 168, 110, 0.03), transparent 25%),
              radial-gradient(circle at 85% 30%, rgba(226, 232, 240, 0.03), transparent 25%);
  z-index: 1;
}

.layer-2 {
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  transform: translateZ(-100px) scale(1.5);
  z-index: 0;
  opacity: 0.5;
}

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

.explore-main {
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ex-section {
  width: 100%;
  max-width: 900px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Observer states */
.ex-section.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) !important;
}

.obs-fade-up { transform: translateY(60px); }
.obs-zoom-in { transform: scale(0.95); opacity: 0; }

/* Typography */
.metallic-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, var(--metallic-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.title-large {
  font-size: 4.5rem;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ex-section h2 {
  font-size: 2.5rem;
}

.small-heading {
  font-size: 1.8rem !important;
  color: var(--metallic-secondary);
}

.subtitle {
  font-size: 1.25rem;
  color: var(--metallic-secondary);
  max-width: 650px;
  line-height: 1.6;
  font-weight: 300;
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  max-width: 760px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  text-align: left;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.glass-card p {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}
.glass-card p:last-child { margin-bottom: 0; }
.glass-card strong { color: var(--metallic-primary); font-weight: 600; }

/* Subtle Terminal (For GitHub) */
.github-section {
  min-height: 50vh;
}
.subtle-terminal {
  padding: 24px;
  border-radius: 12px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  max-width: 600px;
  width: 100%;
}
.subtle-terminal .terminal-body {
  font-family: 'Fira Code', 'Menlo', monospace;
  font-size: 0.9rem;
  color: #888;
}
.subtle-terminal p {
  margin: 0 0 10px 0;
  color: #a3a3a3;
  font-size: 0.9rem;
}
.subtle-terminal .prompt { color: #555; margin-right: 12px; }
.subtle-terminal .comment { color: #444; font-style: italic; }

.subtle-btn {
  display: inline-block;
  margin-top: 24px;
  color: var(--metallic-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.subtle-btn:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

/* Primary CTA */
.ex-cta {
  display: inline-block;
  margin-top: 40px;
  padding: 18px 48px;
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d8 100%);
  color: #000;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}
.ex-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255,255,255,0.2);
  background: #fff;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.scroll-indicator:hover { opacity: 0.8; }
.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--metallic-secondary);
}
.line-down {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--metallic-secondary), transparent);
  animation: pulse-line 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
  .title-large { font-size: 3rem; }
  .ex-section h2 { font-size: 2rem; }
  .glass-card { padding: 32px; }
}
