/* =============================================
   ORENA — Mine the Markets
   Design System & Global Styles
   ============================================= */

/* --- Google Fonts & CSS Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* Color Palette */
  --clr-bg: #030712;
  --clr-bg-2: #0a0f1e;
  --clr-surface: rgba(255, 255, 255, 0.04);
  --clr-surface-hover: rgba(255, 255, 255, 0.08);
  --clr-border: rgba(255, 255, 255, 0.08);
  --clr-border-hover: rgba(139, 92, 246, 0.4);

  /* Brand Colors */
  --clr-primary: #8b5cf6;
  --clr-primary-light: #a78bfa;
  --clr-secondary: #06b6d4;
  --clr-accent: #f59e0b;
  --clr-gold: #fbbf24;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --grad-gold: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --grad-bg: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 70%);

  /* Typography */
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Text Colors */
  --clr-text: #f1f5f9;
  --clr-text-muted: rgba(241, 245, 249, 0.55);
  --clr-text-dim: rgba(241, 245, 249, 0.35);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.3);
  --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.3);
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* --- Particle Canvas --- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.glass-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-glow-purple);
  transform: translateY(-4px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition-fast);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}

.btn-outline:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition-base), padding var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--clr-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.5);
}

.nav-brand {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
}

.nav-link {
  color: var(--clr-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--clr-text);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: var(--space-sm);
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  transition: color var(--transition-fast);
}

.mobile-link:hover {
  color: var(--clr-text);
}

.cta-mobile {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--space-md) 4rem;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: float-glow 8s ease-in-out infinite;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(139, 92, 246, 0.12);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, 0.1);
  top: 100px;
  right: -150px;
  animation-delay: -3s;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: rgba(245, 158, 11, 0.07);
  bottom: 0;
  left: 30%;
  animation-delay: -6s;
}

@keyframes float-glow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fade-up 0.8s ease both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-primary-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.title-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--clr-text);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: 1rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.stat-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--clr-border);
}

/* Floating Crystals */
.crystals-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.crystal {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: float-crystal 6s ease-in-out infinite;
}

.crystal-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.crystal-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(1.3) brightness(0.8);
}

.crystal-glow {
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-md) + 4px);
  background: var(--grad-primary);
  z-index: -1;
  filter: blur(8px);
  opacity: 0.5;
}

.crystal-1 {
  width: 200px;
  height: 200px;
  top: 15%;
  right: 5%;
  animation-delay: 0s;
  transform: rotate(5deg);
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.crystal-2 {
  width: 160px;
  height: 120px;
  bottom: 25%;
  right: 8%;
  animation-delay: -2s;
  transform: rotate(-3deg);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.crystal-3 {
  width: 120px;
  height: 80px;
  top: 30%;
  left: 3%;
  animation-delay: -4s;
  transform: rotate(2deg);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

@keyframes float-crystal {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.crystal-2 {
  animation-name: float-crystal-2;
}

@keyframes float-crystal-2 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(-3deg); }
}

.crystal-3 {
  animation-name: float-crystal-3;
}

@keyframes float-crystal-3 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
  animation: fade-in-delayed 1.5s ease both;
}

@keyframes fade-in-delayed {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-primary);
  border-radius: 50%;
  animation: scroll-bounce 2s ease infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  position: relative;
  padding: var(--space-2xl) 0;
  z-index: 1;
}

.section-dark {
  background: var(--clr-bg-2);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-tag {
  display: inline-block;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--clr-primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: center;
}

.about-card {
  padding: var(--space-lg);
  height: 100%;
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--clr-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.featured-card {
  grid-column: 2;
  padding: 0;
  overflow: hidden;
}

.about-profile {
  position: relative;
}

.about-banner {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid var(--clr-bg);
  position: absolute;
  top: 150px;
  left: var(--space-md);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.about-profile-info {
  padding: 3rem var(--space-md) var(--space-md);
}

.about-profile-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}

.about-profile-info > p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.about-profile-info blockquote {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.6;
  border-left: 2px solid var(--clr-primary);
  padding-left: 0.75rem;
  margin: 0;
}

.verified-badge {
  color: var(--clr-secondary);
  font-style: normal;
  font-size: 0.9em;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  margin-bottom: var(--space-sm);
}

.feature-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-primary-light);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

.step-card {
  padding: var(--space-lg);
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-content p {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.step-connector {
  position: absolute;
  top: 40px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0.4;
  z-index: 1;
}

/* =============================================
   POSTS SECTION
   ============================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.post-card {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  flex-shrink: 0;
}

.post-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.post-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.post-handle {
  color: var(--clr-text-muted);
  font-size: 0.8rem;
}

.post-x-icon {
  color: var(--clr-text-muted);
  flex-shrink: 0;
}

.post-body {
  flex: 1;
}

.post-body p {
  color: var(--clr-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.post-hashtag {
  color: var(--clr-secondary);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.post-hashtag:hover {
  color: var(--clr-primary-light);
}

.post-image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-base), filter var(--transition-base);
  filter: brightness(0.9) saturate(1.1);
}

.post-image img:hover {
  transform: scale(1.03);
  filter: brightness(1) saturate(1.2);
}

.post-footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: 0.5rem;
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
}

.post-stat {
  color: var(--clr-text-muted);
  font-size: 0.8rem;
}

.post-link {
  margin-left: auto;
  color: var(--clr-primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.post-link:hover {
  color: var(--clr-secondary);
}

.view-more-wrap {
  text-align: center;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
}

.cta-badge {
  display: inline-block;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

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

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(139, 92, 246, 0.4);
}

.footer-name {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
  display: block;
}

.footer-tagline {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  margin-top: 0.15rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text-muted);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--clr-primary-light);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--clr-border);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  color: var(--clr-text-dim);
  font-size: 0.8rem;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-connector {
    display: none;
  }

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

  .featured-card {
    grid-column: 1;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crystal-1 {
    width: 150px;
    height: 150px;
    right: 2%;
  }

  .crystal-2 {
    display: none;
  }

  .crystal-3 {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
  }

  .hero-stats {
    gap: var(--space-md);
    padding: 0.75rem 1.25rem;
    flex-wrap: wrap;
  }

  .stat-divider {
    display: none;
  }

  .crystals-container {
    display: none;
  }

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

  .steps-container {
    grid-template-columns: 1fr;
  }

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

  .cta-content {
    padding: var(--space-xl) var(--space-md);
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

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

  .about-grid {
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

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

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
