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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0F0F0F;
  color: #E8E8E8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
   Ad Banners
=========================== */
.ad-banner {
  width: 100%;
  min-height: 0;
  background: transparent;
}

/* ===========================
   Custom Cursor
=========================== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #3B82F6;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(59, 130, 246, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}

.cursor.hovering {
  width: 12px;
  height: 12px;
  background: #8B5CF6;
}

.cursor-ring.hovering {
  width: 44px;
  height: 44px;
  border-color: rgba(139, 92, 246, 0.45);
}

/* ===========================
   Background Blobs
=========================== */
.blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  top: -150px;
  left: -150px;
  animation: drift1 22s ease-in-out infinite;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #3B82F6, transparent 70%);
  top: 40%;
  right: -100px;
  animation: drift2 28s ease-in-out infinite;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #14B8A6, transparent 70%);
  bottom: -100px;
  left: 30%;
  animation: drift3 18s ease-in-out infinite;
}

@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(80px, 60px) scale(1.08); }
  66%  { transform: translate(-40px, 100px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-70px, 80px) scale(1.05); }
  66%  { transform: translate(50px, -60px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -80px) scale(1.1); }
  66%  { transform: translate(-80px, 40px) scale(0.96); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ===========================
   Layout
=========================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #F0F0F0;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto;
}

.label-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.12);
  color: #3B82F6;
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin-bottom: 16px;
}

.label-dim {
  background: rgba(255, 255, 255, 0.05);
  color: #555;
  border-color: rgba(255, 255, 255, 0.08);
}

/* ===========================
   Grids
=========================== */
.grid {
  display: grid;
  gap: 20px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===========================
   Header / Nav
=========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease;
}

.header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: #F0F0F0;
}

.logo-icon { font-size: 1.2rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: #F0F0F0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #666;
  border-radius: 2px;
  transition: all 0.25s ease;
}

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

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: none;
}

.btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
  color: #fff;
  animation: pulse-btn 3s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.45);
  animation: none;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.35); }
  50%       { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
}

.btn-ghost {
  background: transparent;
  color: #666;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  color: #E0E0E0;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ===========================
   Hero
=========================== */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  position: relative;
  z-index: 1;
}

.hero-inner {
  text-align: center;
  width: 100%;
}

/* Floating Badge */
.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #A5B4FC;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.22);
  margin-bottom: 36px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.floating-badge:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.4);
}

.badge-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Hero Title */
.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: #F0F0F0;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.28em;
}

.hero-word { display: inline-block; }

.gradient-text {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 55%, #14B8A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #4A4A4A;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero load animation */
.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   Glass Cards
=========================== */
.card {
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Category Cards */
.category-card {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

.category-card:hover { transform: translateY(-6px); }

.category-card[data-glow="blue"]:hover::after {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.12), inset 0 0 20px rgba(59, 130, 246, 0.04);
}

.category-card[data-glow="purple"]:hover::after {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.12), inset 0 0 20px rgba(139, 92, 246, 0.04);
}

.category-card[data-glow="teal"]:hover::after {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 0 28px rgba(20, 184, 166, 0.12), inset 0 0 20px rgba(20, 184, 166, 0.04);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.category-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #D0D0D0;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.category-card p {
  font-size: 0.83rem;
  color: #4A4A4A;
  line-height: 1.65;
}

/* ===========================
   Featured Card
=========================== */
.featured-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.featured-card {
  display: block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(139, 92, 246, 0.08) 50%,
    rgba(20, 184, 166, 0.06) 100%
  );
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 20px;
  padding: 40px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.38);
}

.featured-card:hover .shimmer {
  animation: shimmer 1.1s ease forwards;
}

.featured-card-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.featured-left { flex: 1; }

.featured-left h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #F0F0F0;
  margin: 12px 0 10px;
}

.featured-left p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 22px;
}

.card-cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: #3B82F6;
  transition: color 0.2s ease;
}

.featured-card:hover .card-cta { color: #93C5FD; }

.featured-right { flex-shrink: 0; }

.featured-visual {
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}

/* Live Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Shimmer */
.shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 38%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 62%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  pointer-events: none;
  z-index: 2;
  border-radius: 20px;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ===========================
   Coming Soon Cards
=========================== */
.soon-card {
  padding: 32px 24px;
  text-align: center;
  opacity: 0.55;
  filter: saturate(0.4);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.25s ease;
}

.soon-card:hover {
  opacity: 0.8;
  filter: saturate(0.7);
  transform: translateY(-4px);
}

.soon-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  color: #444;
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 20px;
}

.soon-card .card-icon {
  font-size: 2rem;
  filter: grayscale(0.7);
}

.soon-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.soon-card p {
  font-size: 0.83rem;
  color: #333;
  line-height: 1.65;
}

/* ===========================
   Footer
=========================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-tagline {
  font-size: 0.83rem;
  color: #2E2E2E;
  margin-top: 4px;
}

.footer-copy {
  font-size: 0.78rem;
  color: #282828;
}

/* ===========================
   Scroll Animations
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.grid .fade-in:nth-child(1) { transition-delay: 0.05s; }
.grid .fade-in:nth-child(2) { transition-delay: 0.13s; }
.grid .fade-in:nth-child(3) { transition-delay: 0.21s; }
.grid .fade-in:nth-child(4) { transition-delay: 0.29s; }

/* ===========================
   Utilities
=========================== */
.hide-mobile { display: inline; }

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

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  .btn { cursor: pointer; }
  .floating-badge { cursor: pointer; }

  .section { padding: 72px 0; }
  .hero { min-height: auto; padding: 72px 0 56px; }

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

  .featured-card-inner { flex-direction: column; text-align: center; }
  .featured-right { display: none; }
  .featured-card { padding: 32px 24px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(12, 12, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 13px 24px; font-size: 0.95rem; cursor: pointer; }
  .nav-toggle { display: flex; }
  .hide-mobile { display: none; }
  .hero-title { gap: 0 0.2em; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
}
