/* Nexus Tools — Polished Design System */
:root {
  --bg-primary: #09090b;
  --bg-secondary: #0f0f14;
  --bg-card: #16161d;
  --bg-elevated: #1e1e28;
  --bg-hover: #252532;
  
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.16);
  
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --accent-glow: rgba(99, 102, 241, 0.35);
  --accent-muted: rgba(99, 102, 241, 0.08);
  
  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 48px var(--accent-glow);
  
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1140px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: white;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ========== UTILITIES ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  letter-spacing: 0.01em;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(180deg, #7c7ff5 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 0 0 0 transparent, inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #8b8ef7 0%, var(--accent-hover) 100%);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: rgba(255,255,255,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(9, 9, 11, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

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

.nav-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.mobile-toggle:hover {
  background: rgba(255,255,255,0.06);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

/* ========== HERO ========== */
.hero {
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

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

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #d4d4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ========== CATEGORIES ========== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-muted) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

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

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

.category-icon {
  width: 46px;
  height: 46px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  position: relative;
}

.category-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  position: relative;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  position: relative;
}

.category-count {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}

/* ========== TOOLS GRID ========== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tool-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.tool-icon {
  width: 38px;
  height: 38px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.tool-card h3 {
  font-size: 0.975rem;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.tool-card .tool-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tool-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 16px;
  line-height: 1.5;
}

.tool-card .btn {
  width: 100%;
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 1.025rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== PRICING ========== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition);
}

.toggle-label.active {
  color: var(--text-primary);
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--bg-elevated);
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  position: relative;
  cursor: pointer;
  transition: all var(--transition);
}

.toggle-switch.active {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.toggle-switch.active::after {
  transform: translateX(22px);
}

.save-badge {
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-hover);
}

.pricing-card.popular {
  border-color: rgba(99, 102, 241, 0.45);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15), var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.pricing-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 2px;
  line-height: 1.1;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card .price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-card .price-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.5;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 26px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 7px 0;
}

.pricing-features li .check {
  color: var(--success);
  flex-shrink: 0;
  font-weight: 600;
}

.pricing-card .btn {
  width: 100%;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  transition: border-color var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
}

.testimonial-text {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.author-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

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

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.cta-box h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.cta-box p {
  font-size: 1.025rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

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

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.025rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== TOOL WORKSPACE ========== */
.tool-workspace {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.tool-workspace h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.tool-workspace .tool-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2371717a' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 3.5L11.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

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

.tool-result {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 18px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.875rem;
  word-break: break-all;
  min-height: 56px;
  line-height: 1.5;
}

.tool-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Checkbox polish */
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: 130px 0 52px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  position: relative;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .header-actions .btn-ghost {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  
  .hero {
    padding: 120px 0 56px;
  }
  
  .hero-stats {
    gap: 28px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .tool-workspace {
    padding: 22px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}
@keyframes shake-soft {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.animate-in {
  animation: fadeUp 0.55s ease forwards;
}

/* ========== URGENCY / FUNNEL ========== */
.urgency-bar {
  background: linear-gradient(90deg, #7c3aed, #6366f1, #a855f7);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.urgency-bar strong { font-weight: 700; }
.urgency-bar .countdown {
  display: inline-flex;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  background: rgba(0,0,0,0.25);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.urgency-bar .countdown span {
  min-width: 1.4em;
  text-align: center;
}
.urgency-bar a {
  background: white;
  color: #4f46e5;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: transform 0.15s;
}
.urgency-bar a:hover { transform: scale(1.04); }

.offer-banner {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.12));
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.offer-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(99,102,241,0.2), transparent 60%);
  pointer-events: none;
}
.offer-banner h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}
.offer-banner p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
  position: relative;
}
.offer-countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}
.offer-countdown .unit {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  min-width: 72px;
  text-align: center;
}
.offer-countdown .unit strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.offer-countdown .unit span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scarcity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #fbbf24;
  font-weight: 500;
  margin-top: 10px;
}
.scarcity::before {
  content: '⚡';
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9,9,11,0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  z-index: 998;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta.show {
  display: flex;
  transform: translateY(0);
}
.sticky-cta p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}
.sticky-cta p strong { color: var(--text-primary); }
.sticky-cta .btn { animation: pulse-glow 2s infinite; }

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  margin-top: 12px;
}

.btn-urgent {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.35) !important;
}
.btn-urgent:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%) !important;
}

body.has-urgency-bar .header { top: 42px; }
body.has-urgency-bar .hero { padding-top: 180px; }
body.has-urgency-bar .page-hero { padding-top: 160px; }
body.has-urgency-bar .mobile-nav { top: 110px; }

@media (max-width: 640px) {
  .urgency-bar { font-size: 0.78rem; padding: 8px 12px; }
  .offer-countdown .unit { min-width: 58px; padding: 10px 10px; }
  .offer-countdown .unit strong { font-size: 1.2rem; }
  body.has-urgency-bar .hero { padding-top: 160px; }
}