/* ===================================================
   MultioTools — Global Design System
   Brand: Blue #2563EB | Purple #7C3AED
   Fonts: Poppins (headings) | Inter (body)
   =================================================== */

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

/* ==================== CSS VARIABLES ==================== */
:root {
  --primary: #00f2fe;
  --primary-dark: #00c6d2;
  --secondary: #4facfe;
  --secondary-dark: #3b82f6;
  --accent: #ff0844;
  --vivid-purple: #a855f7;
  --vivid-pink: #ec4899;
  --vivid-blue: #3b82f6;
  --vivid-emerald: #10b981;
  --gold-elite: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.3);
  --gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #ff0844 100%);
  --gradient-aurora: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #1e1b4b);
  --gradient-soft: linear-gradient(135deg, rgba(0,242,254,0.12) 0%, rgba(79,172,254,0.12) 100%);
  --gradient-hero: linear-gradient(135deg, #020617, #0f172a, #030712);

  --bg: #030712;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(79,172,254,0.4);

  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #64748b;

  --shadow: 0 4px 24px rgba(0,242,254,0.15);
  --shadow-lg: 0 12px 48px rgba(0,242,254,0.25);
  --shadow-purple: 0 8px 32px rgba(79,172,254,0.25);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s ease;

  --nav-height: 70px;
  --section-pad: 90px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; }

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* ==================== SELECTION ==================== */
::selection { background: rgba(0,242,254,0.3); color: #fff; }

/* ==================== UTILITIES ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: var(--section-pad) 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-hover);
  color: #6df4ff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.badge svg { width: 14px; height: 14px; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

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

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
  background-position: right center;
}

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

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

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ==================== CARDS ==================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 20px rgba(124,58,237,0.15);
}

/* ==================== NAV ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 19, 0.65);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border-bottom: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow: inset 0 -1px 0 rgba(0, 242, 254, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 19, 0.90);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), inset 0 -1px 0 rgba(0, 242, 254, 0.2);
  border-bottom: 1px solid rgba(124, 58, 237, 0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

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

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

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.nav-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
}

.nav-links a.active {
  color: #fff !important;
  font-weight: 700 !important;
  background: rgba(124, 58, 237, 0.15);
  box-shadow: inset 0 0 15px rgba(124, 58, 237, 0.1);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--gradient-aurora);
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.6);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn-primary {
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
  animation: nav-pulse 3s infinite alternate;
}

@keyframes nav-pulse {
  0% { box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4); }
  100% { box-shadow: 0 4px 25px rgba(0, 242, 254, 0.6); }
}

.nav-roadmap-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 99px;
  box-shadow: 0 4px 15px rgba(99,102,241,0.3);
  transition: all 0.3s ease;
  margin-left: 10px;
}
.nav-roadmap-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99,102,241,0.5);
  filter: brightness(1.1);
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 99px;
  transition: var(--transition);
  display: block;
}

.hamburger:hover { background: rgba(255,255,255,0.1); }

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

/* ==================== MOBILE NAV ==================== */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 10, 19, 0.85);
  backdrop-filter: blur(36px) saturate(180%);
  border-bottom: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-fast);
  text-align: center;
}

.mobile-nav a.saved-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: left;
}

.mobile-nav a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav a.active {
  color: #fff !important;
  font-weight: 700 !important;
  background: linear-gradient(90deg, rgba(124,58,237,0.15), rgba(0,242,254,0.15));
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mobile-nav .nav-roadmap-btn {
  margin: 10px 0 0 0;
  justify-content: center;
  font-size: 1.05rem;
  padding: 12px !important;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
}
.mobile-nav .nav-roadmap-btn:hover {
  transform: translateY(-2px);
  color: #fff !important;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.mobile-nav .btn {
  margin-top: 8px;
  justify-content: center;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,242,254,0.2) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
  animation: pulse-glow 6s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,8,68,0.15) 0%, transparent 70%);
  bottom: -100px;
  right: -80px;
  border-radius: 50%;
  animation: pulse-glow 8s ease-in-out infinite reverse;
}

@keyframes panMesh {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(60px) translateX(60px); }
}

.hero-grid {
  position: absolute;
  inset: -120px;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  animation: panMesh 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  background: rgba(10, 10, 19, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,242,254,0.1);
  border: 1px solid rgba(0,242,254,0.35);
  color: #6df4ff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #00f2fe;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: #fff;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 600px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-stat span:first-child {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat span:last-child {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==================== PROBLEM SECTION ==================== */
.problem-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.problem-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.problem-icon.blue { background: rgba(0,242,254,0.12); }
.problem-icon.purple { background: rgba(79,172,254,0.12); }
.problem-icon.green { background: rgba(16,185,129,0.15); }
.problem-icon.orange { background: rgba(255,8,68,0.10); }

.problem-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==================== CATEGORIES ==================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  color: inherit;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.cat-card:hover::before { opacity: 0.06; }

.cat-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 20px rgba(124,58,237,0.15);
}

.cat-emoji {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
}

.cat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.cat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.cat-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.cat-tag.blue { background: rgba(0,242,254,0.12); color: #6df4ff; }
.cat-tag.purple { background: rgba(79,172,254,0.12); color: #7cc8ff; }
.cat-tag.green { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.cat-tag.orange { background: rgba(255,8,68,0.12); color: #ff6b8a; }

/* ==================== FEATURED POSTS ==================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 24px rgba(0,242,254,0.12);
}

.post-img {
  height: 180px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.post-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}

.post-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.post-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6df4ff;
  background: rgba(0,242,254,0.12);
  padding: 3px 10px;
  border-radius: 99px;
}

.post-date {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.post-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  transition: var(--transition-fast);
  flex: 1;
}

.post-card:hover h3 { color: #93c5fd; }

.post-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.post-read {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==================== LEAD MAGNET ==================== */
.lead-magnet {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lead-inner {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.lead-inner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}

.lead-inner::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -100px;
  left: 200px;
}

.lead-text { position: relative; z-index: 1; }

.lead-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 12px;
}

.lead-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 480px;
}

.lead-form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.lead-form input {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 99px;
  padding: 14px 22px;
  color: #fff;
  font-size: 0.95rem;
  width: 260px;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.lead-form input::placeholder { color: rgba(255,255,255,0.6); }
.lead-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.2);
}

.lead-form button {
  background: #fff;
  color: var(--primary);
  border-radius: 99px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.lead-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

/* ==================== TOOLS & SEARCH COMPONENTS ==================== */
.search-bar {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin-bottom: 32px;
}
.search-bar input {
  flex: 1;
  background: rgba(10, 10, 19, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  padding: 14px 24px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.search-bar input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--primary), inset 0 2px 4px rgba(0,0,0,0.2);
}
.search-bar input::placeholder { color: var(--text-muted); }

.search-bar button {
  background: var(--gradient);
  color: #fff;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}
.search-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
}

.tool-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: middle;
}
.badge-new { background: rgba(37,99,235,0.2); color: #93c5fd; }
.badge-pick { background: rgba(245,158,11,0.2); color: #fcd34d; }

.section-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0 4px;
}
.section-divider span {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
  white-space: nowrap;
}
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.no-results {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  display: none;
  grid-column: 1 / -1;
}

.tools-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.tools-count strong { color: var(--text); }

.compare-banner {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.compare-banner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  right: -100px; top: -100px;
}
.compare-banner h3 { font-size: 1.3rem; color: #fff; position: relative; z-index: 1; }
.compare-banner p { font-size: 0.9rem; color: rgba(255,255,255,0.8); position: relative; z-index: 1; }
.compare-banner .btn { position: relative; z-index: 1; background: #fff; color: var(--primary); font-weight: 700; white-space: nowrap; flex-shrink: 0; }

.tools-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(20, 20, 35, 0.6);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.tool-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--glow-color, rgba(124, 58, 237, 0.15)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.tool-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--glow-color, rgba(124, 58, 237, 0.4));
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--glow-color, rgba(124,58,237,0.15));
}

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

/* Dynamic Category Glows */
.tool-card[data-cat="writing"] { --glow-color: rgba(16, 185, 129, 0.25); }
.tool-card[data-cat="video"] { --glow-color: rgba(139, 92, 246, 0.25); }
.tool-card[data-cat="image"] { --glow-color: rgba(59, 130, 246, 0.25); }
.tool-card[data-cat="productivity"] { --glow-color: rgba(245, 158, 11, 0.25); }
.tool-card[data-cat="coding"] { --glow-color: rgba(236, 72, 153, 0.25); }
.tool-card[data-cat="research"] { --glow-color: rgba(20, 184, 166, 0.25); }
.tool-card[data-cat="chatbot"] { --glow-color: rgba(99, 102, 241, 0.25); }
.tool-card[data-cat="study"], .tool-card[data-cat="education"] { --glow-color: rgba(30, 64, 175, 0.25); }
.tool-card[data-cat="social"] { --glow-color: rgba(239, 68, 68, 0.25); }
.tool-card[data-cat="music"] { --glow-color: rgba(168, 85, 247, 0.25); }
.tool-card[data-cat="presentations"] { --glow-color: rgba(14, 165, 233, 0.25); }

.tool-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tool-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tool-card:hover .tool-logo {
  transform: scale(1.15) rotate(-5deg);
}

.tool-info h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.tool-info .tool-category {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.tool-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.stars { color: #f59e0b; font-size: 0.85rem; }
.rating-num { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.tool-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.tool-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.pros, .cons {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px;
}

.pros-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6ee7b7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.cons-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fca5a5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.pros li, .cons li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 2px 0;
}

.pros li::before { content: '✓ '; color: #6ee7b7; }
.cons li::before { content: '✗ '; color: #fca5a5; }

.tool-use-case {
  background: var(--gradient-soft);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #6df4ff;
  margin-bottom: 16px;
}

.tool-use-case strong { color: var(--text); }

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.tool-pricing {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.tool-pricing.free { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.tool-pricing.freemium { background: rgba(245,158,11,0.15); color: #fcd34d; }
.tool-pricing.paid { background: rgba(239,68,68,0.12); color: #fca5a5; }

/* ==================== BLOG ==================== */
.blog-hero {
  padding: 100px 0 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.blog-search {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 32px 0;
}

.blog-search input {
  flex: 1;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 12px 22px;
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.blog-search input:focus {
  outline: none;
  border-color: var(--primary);
}

.blog-search input::placeholder { color: var(--text-dim); }

.blog-search button {
  background: var(--gradient);
  color: #fff;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.blog-search button:hover { filter: brightness(1.1); }

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.blog-tag:hover,
.blog-tag.active {
  background: rgba(0,242,254,0.12);
  border-color: rgba(0,242,254,0.4);
  color: #6df4ff;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 60px 0;
}

.blog-main { min-width: 0; }

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-post-card {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

.blog-post-img {
  width: 200px;
  min-height: 170px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.blog-post-content {
  padding: 24px;
  flex: 1;
}

.blog-post-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.blog-post-card:hover h3 { color: #93c5fd; }

.blog-post-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-card {
  background: rgba(26, 26, 62, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recent-post {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.recent-post:last-child { border-bottom: none; }

.recent-img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.recent-info h5 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
  transition: var(--transition-fast);
}

.recent-post:hover h5 { color: #6df4ff; }

.recent-info span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==================== ABOUT PAGE ==================== */
.about-hero {
  padding: 120px 0 80px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,242,254,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-img-placeholder {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.mission-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.mission-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.mission-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.mission-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==================== CONTACT PAGE ==================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 0;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-item p { font-size: 0.875rem; color: var(--text-muted); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-group textarea { min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==================== FREE CARD ==================== */
.free-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.free-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #059669);
  opacity: 0;
  transition: var(--transition);
}
.free-card:hover {
  border-color: rgba(16,185,129,0.4);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 40px rgba(16,185,129,0.15), 0 0 20px rgba(16,185,129,0.1);
}
.free-card:hover::before { opacity: 1; }
.free-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.free-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.free-card:hover .free-icon {
  transform: scale(1.15) rotate(-5deg);
}
.free-card-title h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.free-card-title .cat-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.free-badge-wrap {
  margin-left: auto;
}
.badge-free-green {
  background: rgba(16,185,129,0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.3);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.free-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.free-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.perk-tag {
  font-size: 0.72rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px 10px;
  color: var(--text-muted);
}
.free-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.limit-note {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 16px 0 24px;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #e2e8f0;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover { color: #93c5fd; }

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

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

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: var(--transition-fast);
}

.footer-legal a:hover { color: var(--text-muted); }

/* ==================== ANNOUNCEMENT BAR ==================== */
.announce-bar {
  background: var(--gradient);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}

.announce-bar a {
  text-decoration: underline;
  color: #fff;
  opacity: 0.85;
}

.announce-bar a:hover { opacity: 1; }

/* ==================== PAGE HERO ==================== */
.page-hero {
  padding: 110px 0 70px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,242,254,0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: #6df4ff; }
.breadcrumb .sep { color: var(--border); }

/* ==================== ELITE SEARCH BAR ==================== */
.elite-search-bar {
  margin: 40px auto 0;
  max-width: 600px;
  background: rgba(0,0,0,0.4) !important;
  display: flex;
  align-items: center;
  border-radius: 99px;
  padding: 6px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5) !important;
}

.elite-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 24px;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
}

.elite-btn {
  background: linear-gradient(135deg, #FFD700, #F59E0B);
  border: none;
  padding: 14px 36px;
  border-radius: 99px;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.elite-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* CRITICAL: On mobile, don't hide content waiting for scroll animations.
   All sections must be visible immediately regardless of JS IntersectionObserver. */
@media (max-width: 1024px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* For users who prefer reduced motion — skip all animations globally */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  bottom: 80px;
  right: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  max-width: 320px;
  overflow: hidden;
}

.toast.show { transform: translateX(0); }

.toast-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--gradient);
  width: 100%;
}

.toast.show .toast-progress {
  animation: toastProgress 3s linear forwards;
}

@keyframes toastProgress {
  0% { width: 100%; }
  100% { width: 0%; }
}

.toast-icon { font-size: 1.3rem; flex-shrink: 0; }

.toast-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.toast-text span { font-size: 0.82rem; color: var(--text-muted); }

/* ==================== LEGACY RESPONSIVE REMOVED ==================== */

/* ==================== LEAD MAGNET PDF PREMIUM ==================== */
.lead-pdf-premium {
  padding: 40px 0;
  position: relative;
}

.lead-card-v2 {
  background: linear-gradient(135deg, rgba(26, 26, 62, 0.4) 0%, rgba(15, 15, 35, 0.6) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 24px;
  padding: 24px 32px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
}

.lead-card-v2 .lead-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.premium-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.premium-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.premium-list li svg {
  width: 20px;
  height: 20px;
  color: #7c3aed;
  flex-shrink: 0;
}

.lead-form-v3 {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.input-container {
  position: relative;
  flex: 1;
}

.lead-form-v3 input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 14px 20px;
  color: #fff;
  transition: all 0.3s ease;
}

.lead-form-v3 input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.lead-visual .pdf-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  filter: blur(40px);
}

.floating-pdf {
  width: 100%;
  max-width: 180px;
  animation: float-pdf 5s infinite ease-in-out;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

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

.trust-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
}

@media (max-width: 992px) {
  .lead-card-v2 .lead-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .lead-card-v2 .lead-visual { order: -1; }
  .premium-list { align-items: center; }
  .lead-form-v3 { flex-direction: column; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* ==================== LEAD MAGNET PREMIUM ==================== */
.lead-premium {
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.lead-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 24px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
}

.lead-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lead-info h2 {
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 800;
}

.lead-info h2 span {
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.lead-form-v2 {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 540px;
}

.input-wrap {
  position: relative;
  flex: 1;
}

.lead-form-v2 input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 24px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.lead-form-v2 input:focus {
  outline: none;
  border-color: #00f2fe;
  background: rgba(255, 255, 255, 0.05);
}

.input-glow {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(90deg, #00f2fe, #7c3aed);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.lead-form-v2 input:focus + .input-glow {
  opacity: 0.3;
}

.lead-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-faces {
  display: flex;
  margin-right: 4px;
}

.face {
  width: 32px;
  height: 32px;
  background: var(--bg-secondary);
  border: 2px solid var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
}

.face:first-child { margin-left: 0; }

.lead-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.toolkit-orb {
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: pulse-orb 4s infinite ease-in-out;
}

.floating-asset {
  width: 100%;
  max-width: 180px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  animation: float-toolkit 6s infinite ease-in-out;
}

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

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

@media (max-width: 992px) {
  .lead-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .lead-info h2 { font-size: 2.5rem; }
  .lead-info p { margin-left: auto; margin-right: auto; }
  .lead-form-v2 { flex-direction: column; margin-left: auto; margin-right: auto; }
  .lead-trust { justify-content: center; }
  .lead-card { padding: 40px; border-radius: 30px; }
}
@keyframes aurora-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.aurora-bg {
  background: var(--gradient-aurora);
  background-size: 400% 400%;
  animation: aurora-flow 15s ease infinite;
}

/* ===================================================
   GLOBAL MOBILE OVERFLOW PREVENTION (CRITICAL FIX)
   =================================================== */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* ===================================================
   CONSOLIDATED RESPONSIVE RULES
   =================================================== */

/* TABLETS & SMALL DESKTOPS (Max Width: 1024px) */
@media (max-width: 1024px) {
  /* Hide desktop links, show hamburger */
  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }
  
  /* Prevent giant glowing orbs from breaking layout */
  .hero-bg::before, .hero-bg::after { display: none !important; }
  .page-hero::before { display: none !important; }
  
  /* Two column fallbacks */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
  
  /* About / Contact pages */
  .about-grid, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* TABLETS (Max Width: 992px) */
@media (max-width: 992px) {
  :root { --section-pad: 60px; }
  
  /* Center hero */
  .hero h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
  .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto; }
  .hero-stats { justify-content: center; }
  
  /* Relax grid sizing */
  .tools-grid, .posts-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .categories-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* LARGE PHONES (Max Width: 768px) */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-container { padding: 0 16px; }
  
  .hero { padding-top: calc(var(--nav-height) + 20px); min-height: auto; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .hero-stats { gap: 16px; justify-content: center; flex-wrap: wrap; }
  
  /* Force fixed-width inputs to scale */
  .search-bar, .blog-search { max-width: 100% !important; flex-direction: column; width: 100%; }
  .search-bar input, .blog-search input { width: 100%; }
  .search-bar button, .blog-search button { width: 100%; }
  
  /* Ensure filter buttons wrap naturally */
  .tools-filter { flex-wrap: wrap; justify-content: center; }

  /* Force 1 Column on Mobile */
  .tools-grid, .free-grid, .posts-grid, .problem-grid, .mission-grid, .tool-pros-cons { grid-template-columns: 1fr !important; }
  
  .blog-post-card { flex-direction: column; }
  .blog-post-img { width: 100%; height: 200px; }
  
  /* Footer 1 column */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand .nav-logo { justify-content: center; }
  .footer-brand p { margin: 16px auto 24px; }
  .footer-socials { justify-content: center; }
  .footer-col ul { align-items: center; }
  
  /* Contact Form tweaks */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.2rem); text-align: center; }
}

/* SMALL PHONES (Max Width: 480px) */
@media (max-width: 480px) {
  .navbar .nav-logo { font-size: 1.05rem; gap: 8px; }
  .nav-logo span { display: inline; }
  /* ::after pseudo-element removed — full brand text now always visible */
  
  .hero-actions { flex-direction: column; width: 100%; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
  
  .search-bar { flex-direction: column; width: 100%; }
  .search-bar button { width: 100%; }
  
  .elite-search-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    background: rgba(0,0,0,0.6) !important;
  }
  .elite-input {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 16px;
  }
  .elite-btn {
    width: 100%;
    border-radius: 12px;
  }
  
  .categories-grid { grid-template-columns: 1fr; }
  
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .social-links { justify-content: center; margin-top: 14px; }
  
  .scroll-top { bottom: 16px; right: 16px; width: 38px; height: 38px; font-size: 0.9rem; }
  .announce-bar { font-size: 0.75rem; padding: 10px 16px; }
  .trust-bar { flex-direction: column; align-items: center; }
}
