/* ============================================================
   FUNNGRO — Shared Stylesheet
   Modern SaaS Design | Glassmorphism | Dark/Light Mode
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Poppins:wght@700;800;900&display=swap');

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --fg: #0f172a;
  --fg-muted: #64748b;
  --border: #e2e8f0;
  --primary: #6c3bf7;
  --primary-light: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --gradient: linear-gradient(135deg, #6c3bf7 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-hero: linear-gradient(135deg, #f0edff 0%, #e8f4ff 50%, #e0f9ff 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(108,59,247,.12), 0 4px 16px rgba(0,0,0,.06);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

.dark {
  --bg: #080d1a;
  --bg-subtle: #0f172a;
  --bg-card: #1e293b;
  --fg: #f1f5f9;
  --fg-muted: #94a3b8;
  --border: #1e293b;
  --gradient-hero: linear-gradient(135deg, #1a1040 0%, #0d1b3e 50%, #041524 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.3);
  --shadow-lg: 0 10px 40px rgba(108,59,247,.25), 0 4px 16px rgba(0,0,0,.3);
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── Typography ────────────────────────────────────────────── */
.font-display { font-family: 'Poppins', sans-serif; }

h1, h2, h3 { font-family: 'Poppins', sans-serif; line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }

p { color: var(--fg-muted); line-height: 1.75; }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(108,59,247,.1);
  border: 1px solid rgba(108,59,247,.2);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ─── Layout ───────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-subtle); }
.text-center { text-align: center; }

.section-header { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; }

/* ─── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.dark .navbar.scrolled {
  background: rgba(8,13,26,.85);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}

.nav-logo-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; font-weight: 900;
  box-shadow: 0 4px 12px rgba(108,59,247,.35);
  transition: transform var(--transition);
}

.nav-logo:hover .nav-logo-icon { transform: scale(1.08); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.btn-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted);
  transition: background var(--transition), color var(--transition);
}

.btn-icon:hover { background: var(--bg-subtle); color: var(--fg); }

.btn-ghost {
  padding: .5rem 1.1rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--fg);
  transition: background var(--transition);
}

.btn-ghost:hover { background: var(--bg-subtle); }

.btn-primary {
  padding: .55rem 1.4rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: white;
  background: var(--gradient);
  box-shadow: 0 4px 14px rgba(108,59,247,.35);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,59,247,.45);
}

.btn-outline {
  padding: .55rem 1.4rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--fg);
  background: transparent;
  border: 2px solid var(--border);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}

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

.btn-accent {
  padding: .65rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,.45);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background var(--transition);
}

.nav-hamburger:hover { background: var(--bg-subtle); }

.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.5rem 1.75rem;
  flex-direction: column;
  gap: .75rem;
  z-index: 999;
  animation: slideDown .2s ease;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .75rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--fg);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(108,59,247,.08); color: var(--primary); }
.mobile-menu .mobile-divider { height: 1px; background: var(--border); margin: .5rem 0; }
.mobile-menu .btn-primary, .mobile-menu .btn-outline { width: 100%; justify-content: center; border-radius: 12px; padding: .75rem; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

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

.hero-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #6c3bf7, #3b82f6);
  top: -100px; right: -100px;
}

.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06b6d4, #3b82f6);
  bottom: -80px; left: -80px;
  animation-delay: -4s;
}

.hero-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f59e0b, #f97316);
  top: 40%; right: 30%;
  animation-delay: -2s;
  opacity: .08;
}

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

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: rgba(108,59,247,.1);
  border: 1px solid rgba(108,59,247,.25);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.75rem;
  letter-spacing: .03em;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; }

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-cta .btn-primary, .hero-cta .btn-outline { padding: .75rem 1.75rem; font-size: 1rem; }

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat-item {}

.hero-stat-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--fg);
  line-height: 1;
}

.hero-stat-label {
  font-size: .8rem;
  color: var(--fg-muted);
  margin-top: .2rem;
}

.hero-visual { position: relative; }

/* Dashboard Mockup */
.dashboard-mockup {
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition);
}

.dark .dashboard-mockup { box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(108,59,247,.15); }

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.dashboard-topbar {
  padding: .75rem 1rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.dashboard-body { padding: 1.25rem; }

.profile-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  margin-bottom: .65rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.dark .profile-card { background: rgba(255,255,255,.03); }

.profile-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

.profile-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: white;
  flex-shrink: 0;
}

.avatar-purple { background: linear-gradient(135deg, #6c3bf7, #8b5cf6); }
.avatar-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.avatar-green { background: linear-gradient(135deg, #10b981, #06b6d4); }
.avatar-orange { background: linear-gradient(135deg, #f59e0b, #f97316); }
.avatar-pink { background: linear-gradient(135deg, #ec4899, #8b5cf6); }

.profile-info { flex: 1; }
.profile-name { font-weight: 600; font-size: .9rem; color: var(--fg); }
.profile-role { font-size: .78rem; color: var(--fg-muted); }

.profile-badge {
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
}

.badge-available {
  background: rgba(16,185,129,.12);
  color: #10b981;
}

.badge-hired {
  background: rgba(59,130,246,.12);
  color: #3b82f6;
}

.badge-review {
  background: rgba(245,158,11,.12);
  color: #d97706;
}

/* Phone mockup for teen page */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 260px;
  background: #0f172a;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  position: relative;
}

.phone-screen {
  background: var(--bg-card);
  border-radius: 28px;
  overflow: hidden;
}

.dark .phone-screen { background: #1e293b; }

.phone-notch {
  height: 28px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notch-bar {
  width: 80px; height: 6px;
  background: #1e293b;
  border-radius: 3px;
}

.phone-content { padding: 1rem; }

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.phone-header-title { font-weight: 700; font-size: .85rem; color: var(--fg); }
.phone-balance { text-align: right; }
.phone-balance-label { font-size: .65rem; color: var(--fg-muted); }
.phone-balance-amount {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phone-earnings-chart {
  height: 60px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 1rem;
  padding: .5rem;
  background: var(--bg-subtle);
  border-radius: 10px;
}

.dark .phone-earnings-chart { background: rgba(255,255,255,.04); }

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(108,59,247,.3);
  transition: background var(--transition);
}

.chart-bar.active { background: var(--gradient); }

.phone-job-list { display: flex; flex-direction: column; gap: .5rem; }

.phone-job-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .75rem;
  background: var(--bg-subtle);
  border-radius: 10px;
}

.dark .phone-job-item { background: rgba(255,255,255,.04); }

.phone-job-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}

.phone-job-details { flex: 1; }
.phone-job-title { font-size: .75rem; font-weight: 600; color: var(--fg); }
.phone-job-pay { font-size: .68rem; color: var(--fg-muted); }
.phone-job-status {
  font-size: .68rem;
  font-weight: 600;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(16,185,129,.12);
  color: #10b981;
}

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .6rem 1rem;
  box-shadow: var(--shadow-md);
  font-size: .8rem;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: float 5s ease-in-out infinite;
  white-space: nowrap;
}

.floating-badge-1 {
  top: 20px;
  right: -20px;
  animation-delay: -1s;
}

.floating-badge-2 {
  bottom: 60px;
  left: -30px;
  animation-delay: -3s;
}

.floating-badge .badge-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
}

/* ─── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108,59,247,.25);
}

.glass-card {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.8);
}

.dark .glass-card {
  background: rgba(30,41,59,.65);
  border-color: rgba(255,255,255,.08);
}

/* ─── Icon Boxes ─────────────────────────────────────────────── */
.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.icon-box-purple { background: rgba(108,59,247,.12); }
.icon-box-blue { background: rgba(59,130,246,.12); }
.icon-box-cyan { background: rgba(6,182,212,.12); }
.icon-box-green { background: rgba(16,185,129,.12); }
.icon-box-orange { background: rgba(245,158,11,.12); }
.icon-box-pink { background: rgba(236,72,153,.12); }
.icon-box-gradient { background: var(--gradient); }

/* ─── Grid Layouts ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

/* ─── Benefits / Why Section ───────────────────────────────── */
.benefit-card { position: relative; overflow: hidden; }
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-card h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.benefit-card p { font-size: .9rem; }

/* ─── Stats ─────────────────────────────────────────────────── */
.stats-section {
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 0;
}

.stat-item { color: white; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label { font-size: .95rem; opacity: .85; }

/* ─── How It Works ─────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(108,59,247,.35);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(108,59,247,.2);
}

.step-item h3 { margin-bottom: .5rem; font-size: 1rem; }
.step-item p { font-size: .88rem; }

/* ─── Categories ───────────────────────────────────────────── */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.category-card:hover {
  border-color: rgba(108,59,247,.4);
  background: rgba(108,59,247,.04);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  font-size: 2.25rem;
  margin-bottom: .85rem;
  transition: transform var(--transition);
}

.category-card:hover .category-icon { transform: scale(1.15) rotate(-3deg); }

.category-card h3 { font-size: .9rem; font-weight: 700; color: var(--fg); margin-bottom: .25rem; }
.category-card p { font-size: .78rem; }

/* ─── Testimonials ─────────────────────────────────────────── */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 7rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: .1;
  line-height: 1;
}

.stars { display: flex; gap: 3px; margin-bottom: 1rem; color: var(--accent); font-size: 1rem; }
.testimonial-quote { font-style: italic; margin-bottom: 1.25rem; font-size: .95rem; color: var(--fg); }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: white;
}
.author-name { font-weight: 700; font-size: .9rem; }
.author-title { font-size: .8rem; color: var(--fg-muted); }

/* ─── Opportunities Grid ───────────────────────────────────── */
.opportunity-card {
  position: relative;
  overflow: hidden;
}

.opportunity-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}

.badge-hot { background: rgba(239,68,68,.12); color: #ef4444; }
.badge-new { background: rgba(16,185,129,.12); color: #10b981; }
.badge-popular { background: rgba(108,59,247,.12); color: var(--primary); }

.opp-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.opp-title { font-size: 1rem; font-weight: 700; color: var(--fg); margin-bottom: .35rem; }
.opp-pay {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .5rem;
}
.opp-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.opp-tag {
  padding: .2rem .6rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 500;
  background: var(--bg-subtle);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

/* ─── Success Stories ──────────────────────────────────────── */
.story-card { position: relative; overflow: hidden; }
.story-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), #f97316);
}
.story-earning {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  background: linear-gradient(90deg, var(--accent), #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.story-text { font-style: italic; margin: .75rem 0; font-size: .92rem; }
.story-author { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.story-name { font-weight: 700; font-size: .9rem; }
.story-info { font-size: .78rem; color: var(--fg-muted); }

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: rgba(108,59,247,.3);
  box-shadow: 0 4px 16px rgba(108,59,247,.08);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--fg);
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover { background: rgba(108,59,247,.04); }
.faq-item.open .faq-question { color: var(--primary); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding var(--transition);
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.5rem 1.25rem; }
.faq-answer p { font-size: .9rem; line-height: 1.75; }

/* ─── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.15) 0%, transparent 70%);
}

.cta-section h2 { color: white; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2.25rem; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

.btn-white {
  padding: .75rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  background: white;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.btn-white-outline {
  padding: .75rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}

.btn-white-outline:hover { background: rgba(255,255,255,.12); border-color: white; }

/* ─── App Download ─────────────────────────────────────────── */
.app-download-section {
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.app-download-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-content h2 { color: white; margin-bottom: 1rem; }
.app-content p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; }
.app-content .app-stat { color: rgba(255,255,255,.9); font-size: .9rem; margin-top: 1.5rem; }
.app-content .app-stat strong { color: white; font-family: 'Poppins', sans-serif; font-size: 1.1rem; }

.app-store-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.store-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 14px;
  color: white;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  min-width: 160px;
}

.store-btn:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}

.store-btn-icon { font-size: 1.75rem; flex-shrink: 0; }

.store-btn-text {}
.store-btn-sub { font-size: .65rem; opacity: .8; display: block; line-height: 1; }
.store-btn-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .95rem; line-height: 1.2; display: block; }

.app-visual { display: flex; justify-content: center; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; line-height: 1.75; max-width: 260px; }

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--fg-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108,59,247,.06);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-weight: 700;
  font-size: .9rem;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul li a {
  font-size: .875rem;
  color: var(--fg-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); }

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

.footer-bottom p { font-size: .825rem; }

/* ─── Scroll Animations ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}

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

.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ─── Skill Tags ────────────────────────────────────────────── */
.skill-cloud { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

.skill-tag {
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  cursor: default;
  transition: all var(--transition);
}

.skill-tag-purple { background: rgba(108,59,247,.1); color: var(--primary); border: 1px solid rgba(108,59,247,.2); }
.skill-tag-blue { background: rgba(59,130,246,.1); color: #3b82f6; border: 1px solid rgba(59,130,246,.2); }
.skill-tag-cyan { background: rgba(6,182,212,.1); color: var(--cyan); border: 1px solid rgba(6,182,212,.2); }
.skill-tag-green { background: rgba(16,185,129,.1); color: #10b981; border: 1px solid rgba(16,185,129,.2); }
.skill-tag-orange { background: rgba(245,158,11,.1); color: var(--accent); border: 1px solid rgba(245,158,11,.2); }
.skill-tag-pink { background: rgba(236,72,153,.1); color: #ec4899; border: 1px solid rgba(236,72,153,.2); }

.skill-tag:hover { transform: scale(1.06) translateY(-2px); filter: brightness(1.1); }

/* ─── Animations ────────────────────────────────────────────── */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(.8); }
  to { opacity: 1; transform: scale(1); }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

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

  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { margin: 0 auto 1.75rem; }
  .hero-desc { margin: 0 auto 2.25rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }

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

  .app-download-section .container { grid-template-columns: 1fr; text-align: center; }
  .app-visual { order: -1; }
  .app-store-buttons { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .dashboard-mockup { transform: none !important; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary, .hero-cta .btn-outline { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
