/* ============================================
   FutureMind AI — Premium Futuristic Styles
   Owner: Ghulam Mustafa Janjua
   ============================================ */

:root {
  --bg-deep: #050810;
  --bg-dark: #0a0f1c;
  --bg-card: rgba(14, 22, 42, 0.82);
  --bg-card-solid: #0e162a;
  --bg-elevated: #121c34;
  --border: rgba(120, 140, 200, 0.12);
  --border-hover: rgba(99, 130, 255, 0.45);
  --text: #f0f4ff;
  --text-muted: #9aa8c7;
  --text-soft: #6b7a9a;
  --primary: #4f7cff;
  --primary-light: #7aa2ff;
  --primary-dark: #3b5fd9;
  --secondary: #00d4ff;
  --accent: #a855f7;
  --accent-pink: #d946ef;
  --neon-blue: #4f7cff;
  --neon-purple: #a855f7;
  --success: #22c55e;
  --warning: #f59e0b;
  --gradient-main: linear-gradient(135deg, #4f7cff 0%, #a855f7 55%, #00d4ff 100%);
  --gradient-neon: linear-gradient(135deg, #4f7cff, #a855f7);
  --gradient-soft: linear-gradient(135deg, rgba(79, 124, 255, 0.18), rgba(168, 85, 247, 0.12));
  --gradient-hero: radial-gradient(ellipse 80% 55% at 50% -15%, rgba(79, 124, 255, 0.4), transparent),
    radial-gradient(ellipse 55% 40% at 85% 45%, rgba(168, 85, 247, 0.2), transparent),
    radial-gradient(ellipse 45% 35% at 10% 75%, rgba(0, 212, 255, 0.12), transparent);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 36px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 48px rgba(79, 124, 255, 0.28);
  --shadow-neon: 0 0 20px rgba(79, 124, 255, 0.5), 0 0 40px rgba(168, 85, 247, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --header-h: 76px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 24px rgba(79, 124, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 124, 255, 0.55), var(--shadow-neon);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid rgba(79, 124, 255, 0.35);
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.btn-ghost:hover {
  background: rgba(79, 124, 255, 0.12);
  border-color: var(--primary);
}

.btn-full { width: 100%; }

.btn-nav {
  padding: 0.55rem 1.25rem !important;
  font-size: 0.875rem !important;
  background: var(--gradient-main) !important;
  color: #fff !important;
  border-radius: 999px !important;
}

.btn-nav:hover { opacity: 0.92; }

/* ---------- FM Neon Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.15rem;
  z-index: 1001;
}

.logo-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(79, 124, 255, 0.25), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(79, 124, 255, 0.45);
  box-shadow:
    0 0 16px rgba(79, 124, 255, 0.45),
    0 0 32px rgba(168, 85, 247, 0.2),
    inset 0 0 12px rgba(79, 124, 255, 0.15);
  overflow: hidden;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(79, 124, 255, 0.35), transparent 40%);
  animation: logo-spin 6s linear infinite;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 10px;
  background: linear-gradient(160deg, #0c1428, #0a1020);
  z-index: 0;
}

.logo-fm {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #7aa2ff 0%, #c084fc 50%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 6px rgba(79, 124, 255, 0.8));
}

@keyframes logo-spin {
  to { transform: rotate(360deg); }
}

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

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  -webkit-text-fill-color: var(--text-soft);
  margin-top: 1px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(5, 8, 16, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:not(.btn-nav):hover,
.nav-links a.active:not(.btn-nav) {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 140, 200, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 140, 200, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.orb-1 { width: 420px; height: 420px; background: rgba(79, 124, 255, 0.4); top: -12%; left: 8%; }
.orb-2 { width: 320px; height: 320px; background: rgba(168, 85, 247, 0.32); top: 35%; right: 0; animation-delay: -5s; }
.orb-3 { width: 260px; height: 260px; background: rgba(0, 212, 255, 0.22); bottom: 5%; left: 35%; animation-delay: -9s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -28px) scale(1.06); }
  66% { transform: translate(-18px, 16px) scale(0.96); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.05rem;
  background: rgba(79, 124, 255, 0.12);
  border: 1px solid rgba(79, 124, 255, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 24px rgba(79, 124, 255, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.3rem, 5.8vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 600;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.4rem 2rem;
  background: rgba(14, 22, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat span { font-size: 0.8rem; color: var(--text-soft); }

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  text-align: center;
  overflow: hidden;
}

.page-hero .hero-bg { opacity: 0.7; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  position: relative;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
  position: relative;
}

.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------- Premium Cards ---------- */
.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.premium-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity var(--transition);
}

.premium-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

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

/* ---------- Tools ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tool-card .tool-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tool-icon.writing { background: linear-gradient(135deg, rgba(79, 124, 255, 0.25), rgba(79, 124, 255, 0.05)); }
.tool-icon.video { background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(239, 68, 68, 0.05)); }
.tool-icon.voice { background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.05)); }
.tool-icon.image { background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(236, 72, 153, 0.05)); }
.tool-icon.automation { background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(0, 212, 255, 0.05)); }
.tool-icon.social { background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0.05)); }
.tool-icon.earn { background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.05)); }

.tool-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.tool-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(79, 124, 255, 0.15);
  color: var(--primary-light);
}

.tool-free {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}

.tool-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tool-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: gap var(--transition), color var(--transition);
}

.tool-link:hover { gap: 0.6rem; color: #fff; }

.tool-card.highlight {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-chip {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
  background: rgba(79, 124, 255, 0.15);
  border-color: rgba(79, 124, 255, 0.45);
  color: var(--text);
  box-shadow: 0 0 16px rgba(79, 124, 255, 0.2);
}

/* ---------- Categories ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.category-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.category-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.category-tools li {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

/* ---------- How It Works ---------- */
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
}

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.step-connector {
  width: 40px;
  flex-shrink: 0;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.45;
  position: relative;
}

.step-connector::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--accent);
}

/* ---------- Blog & News cards ---------- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card .post-image {
  height: 160px;
  border-radius: var(--radius-sm);
  margin: -0.25rem -0.25rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.post-card .post-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.15), rgba(168, 85, 247, 0.1));
}

.post-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.post-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.post-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1rem;
}

.news-card .news-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.about-feature span {
  font-size: 1.25rem;
}

.about-feature strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.about-feature small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.about-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-soft);
  border: 2px solid rgba(79, 124, 255, 0.4);
  box-shadow: var(--shadow-neon);
  color: var(--primary-light);
}

.about-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.about-card .role {
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-card .location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.owner-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  margin-top: 1rem;
}

.owner-details a,
.owner-details span {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.owner-details a:hover { color: var(--primary-light); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  padding: 2rem 1.75rem;
}

.pricing-card.featured {
  border-color: rgba(79, 124, 255, 0.5);
  background: linear-gradient(180deg, rgba(79, 124, 255, 0.14), var(--bg-card));
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.plan-price .currency {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.4rem;
  color: var(--text-muted);
}

.plan-price .amount {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-price .period {
  font-size: 0.9rem;
  color: var(--text-soft);
  align-self: flex-end;
  margin-bottom: 0.5rem;
  margin-left: 0.25rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.plan-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

.plan-features li.muted { color: var(--text-soft); }
.plan-features li.muted svg { color: var(--text-soft); }

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

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

.faq-item.active { border-color: rgba(79, 124, 255, 0.4); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.975rem;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

.faq-question:hover { background: rgba(255, 255, 255, 0.03); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(79, 124, 255, 0.15);
  color: var(--primary-light);
  font-size: 1.15rem;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(79, 124, 255, 0.3);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer { max-height: 240px; }

.faq-answer p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

/* ---------- Contact ---------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info .section-title,
.contact-info .section-desc,
.contact-info .section-label {
  text-align: left;
}

.contact-info .section-header {
  margin-left: 0;
  max-width: none;
  text-align: left;
}

.contact-info .section-desc { margin-bottom: 2rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(79, 124, 255, 0.12);
  border: 1px solid rgba(79, 124, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-item a:hover { color: var(--primary-light); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(5, 8, 16, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-soft); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239aa8c7' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-card-solid);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #ef4444; }

.error-msg {
  display: block;
  font-size: 0.8rem;
  color: #f87171;
  margin-top: 0.35rem;
  min-height: 1.1em;
}

.form-success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--primary-light);
  text-decoration: underline;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

/* ---------- AdSense placeholders (policy-friendly) ---------- */
.ad-slot {
  margin: 2rem auto;
  max-width: 728px;
  min-height: 90px;
  border: 1px dashed rgba(120, 140, 200, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.ad-slot.sidebar {
  min-height: 250px;
  max-width: 300px;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-deep));
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1rem 0 1.25rem;
  line-height: 1.65;
  max-width: 300px;
}

.footer-owner {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem !important;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(79, 124, 255, 0.2);
  border-color: rgba(79, 124, 255, 0.45);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(79, 124, 255, 0.25);
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.footer-note {
  margin-top: 0.4rem;
  font-size: 0.75rem !important;
  opacity: 0.75;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 0.85rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-legal a:hover { color: var(--primary-light); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-main);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(79, 124, 255, 0.45);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon);
}

/* ---------- Scroll animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.tools-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.04s; }
.tools-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.tools-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.12s; }
.tools-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.16s; }
.tools-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.2s; }
.tools-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.24s; }
.tools-grid .animate-on-scroll:nth-child(7) { transition-delay: 0.28s; }
.tools-grid .animate-on-scroll:nth-child(8) { transition-delay: 0.32s; }
.tools-grid .animate-on-scroll:nth-child(9) { transition-delay: 0.36s; }

.content-grid .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.content-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.content-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.19s; }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .nav-links a:not(.btn-nav) { padding: 0.5rem 0.55rem; font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    gap: 0.2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav-links .btn-nav { margin-top: 0.75rem; text-align: center; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 2.5rem) 0 3.5rem; }

  .hero-stats { gap: 1rem; padding: 1.25rem 1rem; }
  .stat strong { font-size: 1.25rem; }

  .tools-grid,
  .categories-grid,
  .content-grid { grid-template-columns: 1fr; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .step-card { max-width: 100%; width: 100%; }

  .step-connector {
    width: 2px;
    height: 24px;
  }

  .step-connector::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -6px;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--accent);
    border-left-color: transparent;
  }

  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }

  .contact-info .section-title,
  .contact-info .section-desc,
  .contact-info .section-label { text-align: center; }

  .contact-info .section-header { text-align: center; }
  .contact-details { align-items: center; }

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

  .footer-brand p { max-width: none; margin-left: auto; margin-right: auto; }
  .social-links { justify-content: center; }

  .about-features { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 40px; height: 1px; }

  .contact-form { padding: 1.5rem; }
  .plan-price .amount { font-size: 2.75rem; }
  .logo-text span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .logo-mark::before, .badge-dot { animation: none; }
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
}
