/* =========================================
   BlockZen - Main Stylesheet
   ========================================= */

/* ----- CSS Variables ----- */
:root {
  --primary-color: #6c63ff;
  --secondary-color: #00d4aa;
  --dark-bg: #0d0d1a;
  --dark-card: #13132b;
  --text-light: #ffffff;
  --text-muted: #a0a0c0;
  --border-color: rgba(255, 255, 255, 0.08);
  --gradient-primary: linear-gradient(135deg, #6c63ff 0%, #00d4aa 100%);
  --font-primary: 'Inter', 'Segoe UI', sans-serif;
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --box-shadow: 0 8px 32px rgba(108, 99, 255, 0.15);
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ----- Utility Classes ----- */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}

.bg-dark-card {
  background-color: var(--dark-card);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
}

.border-glow {
  border: 1px solid var(--border-color);
  box-shadow: var(--box-shadow);
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3rem);
}

/* ----- Floating Elements ----- */
.floating-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

/* ----- Marquee ----- */
.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 40px;
  padding: 20px 0;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: 40px;
  min-width: 100%;
  animation: scroll-marquee 20s linear infinite;
}

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ----- Timeline ----- */
.timeline-vertical {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-vertical::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--primary-color);
  border: 4px solid var(--dark-bg);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 10px var(--primary-color);
}

.timeline-left { left: 0; text-align: right; }
.timeline-right { left: 50%; }
.timeline-right::after { left: -8px; }

@media screen and (max-width: 600px) {
  .timeline-vertical::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
  .timeline-item::after { left: 23px; }
  .timeline-right { left: 0%; }
}

/* ----- Buttons ----- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(108, 99, 255, 0.4);
  color: #fff;
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

/* ----- Cards ----- */
.card-custom {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px;
  transition: var(--transition);
}

.card-custom:hover {
  border-color: var(--primary-color);
  transform: translateY(-6px);
  box-shadow: var(--box-shadow);
}

/* ----- Navbar ----- */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(13, 13, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

/* ----- Hero Section ----- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(108, 99, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ----- Stats / Counter ----- */
.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- Footer ----- */
.footer-custom {
  background: var(--dark-card);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 24px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 40px;
  text-align: center;
}

/* ----- Scrollbar ----- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}
