/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --accent-1: #8b5cf6;
  --accent-2: #6366f1;
  --accent-3: #a78bfa;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gradient-main: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --gradient-gold: linear-gradient(135deg, var(--gold), var(--gold-light));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Particles ===== */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-1);
  opacity: 0.08;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.08;
  }

  90% {
    opacity: 0.08;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 24px 80px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  animation: fadeDown 0.8s ease;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeDown 0.8s ease 0.15s both;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeDown 0.8s ease 0.3s both;
}

.hero-subtitle strong {
  color: var(--gold-light);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
  animation: fadeDown 0.8s ease 0.45s both;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.5);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  animation: fadeDown 0.8s ease 0.6s both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* ===== Section ===== */
.business-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* ===== Card ===== */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.35s ease, background 0.35s, border-color 0.35s, box-shadow 0.35s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.12);
}

.card:hover::before {
  opacity: 1;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.card-category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  margin-left: 10px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-meta-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-meta-item .emoji {
  font-size: 0.85rem;
}

/* Category colours */
.cat-tech {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.cat-ecom {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.cat-service {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.cat-content {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
}

.cat-saas {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.cat-ai {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.cat-food {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.cat-finance {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
}

/* ===== Locked cards ===== */
.locked-grid {
  margin-top: 40px;
}

.card.locked {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

/* ===== Gate Section (below cards) ===== */
.gate-section {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.gate-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: fadeUp 0.6s ease 0.3s both;
}

.gate-icon {
  font-size: 3rem;
  margin-bottom: 18px;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.gate-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.gate-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.input-wrapper input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrapper input::placeholder {
  color: var(--text-muted);
}

.input-wrapper input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.gate-btn {
  padding: 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--gradient-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.45);
}

.gate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.gate-error {
  color: #f87171;
  font-size: 0.85rem;
}

.gate-privacy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Success Section ===== */
.success-section {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.success-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.1);
  animation: fadeUp 0.6s ease;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 10px;
}

.success-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.success-description strong {
  color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--glass-border);
}

/* ===== Animations ===== */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeUp 0.6s ease both;
}

.cards-grid .card:nth-child(1) {
  animation-delay: 0.05s;
}

.cards-grid .card:nth-child(2) {
  animation-delay: 0.1s;
}

.cards-grid .card:nth-child(3) {
  animation-delay: 0.15s;
}

.cards-grid .card:nth-child(4) {
  animation-delay: 0.2s;
}

.cards-grid .card:nth-child(5) {
  animation-delay: 0.25s;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 40px 20px 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 18px;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .gate-card,
  .success-card {
    padding: 32px 24px;
    margin: 0 16px;
  }

  .gate-title {
    font-size: 1.25rem;
  }
}