/* ============================================================
   PixelForge — style.css
   Complete stylesheet for AI Image Enhancer Website
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --bg: #080810;
  --bg2: #0f0f1a;
  --bg3: #141426;
  --surface: rgba(20, 20, 40, 0.8);
  --surface2: rgba(30, 30, 55, 0.6);
  --accent: #6c63ff;
  --accent2: #ff6b9d;
  --accent3: #00d4aa;
  --gold: #ffd166;
  --text: #f0f0ff;
  --muted: #8888aa;
  --border: rgba(108, 99, 255, 0.2);
  --border2: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SHARED SECTION STYLES ---------- */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent3);
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 99px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 52px;
}

.grad-text {
  background: linear-gradient(135deg, #6c63ff 0%, #ff6b9d 50%, #00d4aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8b5cf6, var(--accent2));
  color: white;
  box-shadow: 0 6px 28px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(108, 99, 255, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: #a99fff;
  background: rgba(108, 99, 255, 0.06);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(8, 8, 16, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  padding: 12px 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.logo-icon {
  font-size: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.4);
  color: #a99fff;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgba(108, 99, 255, 0.3);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  text-align: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(108, 99, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 99, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.12), transparent 70%);
  top: -200px;
  right: -200px;
  animation: orbDrift1 10s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.1), transparent 70%);
  bottom: -100px;
  left: -150px;
  animation: orbDrift2 12s ease-in-out infinite alternate;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.08), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes orbDrift1 {
  from { transform: translate(0, 0); }
  to { transform: translate(-50px, 80px); }
}

@keyframes orbDrift2 {
  from { transform: translate(0, 0); }
  to { transform: translate(80px, -50px); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 99px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 500;
  color: #a99fff;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease forwards;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent3);
  animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: fadeUp 0.6s 0.4s ease both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-lbl {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll-hint span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 0.4; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ENHANCE SECTION
   ============================================================ */
.enhance-section {
  padding: 100px 0;
  background: var(--bg2);
}

.enhance-section .section-sub {
  margin-bottom: 40px;
}

.enhance-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
}

/* Drop Zone */
.drop-zone {
  border: 2px dashed rgba(108, 99, 255, 0.3);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(108, 99, 255, 0.03);
  margin-bottom: 24px;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--accent);
  background: rgba(108, 99, 255, 0.07);
  transform: scale(1.01);
}

.dz-icon {
  font-size: 40px;
  margin-bottom: 14px;
  animation: floatAnim 3s ease-in-out infinite;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.drop-zone h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.drop-zone p {
  font-size: 14px;
  color: var(--muted);
}

.link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.dz-formats {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.dz-formats span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 4px 10px;
}

/* Settings */
.settings-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.setting-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setting-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.strength-val {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.opt-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.opt-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.opt-btn:hover {
  border-color: rgba(108, 99, 255, 0.4);
  color: var(--text);
}

.opt-btn.active {
  background: rgba(108, 99, 255, 0.2);
  border-color: var(--accent);
  color: var(--text);
}

/* Strength Slider */
.strength-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
}

.strength-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.2);
  transition: box-shadow 0.2s;
}

.strength-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 8px rgba(108, 99, 255, 0.3);
}

/* Enhance Button */
.enhance-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #8b5cf6, var(--accent2));
  color: white;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.enhance-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(108, 99, 255, 0.5);
}

.enhance-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: skewX(-20deg);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -60%; }
  100% { left: 150%; }
}

.enhance-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  font-size: 18px;
}

/* Preview Box */
.preview-box {
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.preview-placeholder {
  text-align: center;
  padding: 40px 20px;
}

.ph-icon {
  font-size: 48px;
  opacity: 0.15;
  margin-bottom: 12px;
  font-family: 'Syne', sans-serif;
}

.preview-placeholder p {
  font-size: 13px;
  color: var(--muted);
}

#previewImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 300px;
}

/* Progress */
.progress-block {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}

#progressPct {
  font-weight: 600;
  color: var(--accent);
}

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 14px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  background-size: 200% 100%;
  transition: width 0.4s ease;
  animation: gradAnim 2s linear infinite;
}

@keyframes gradAnim {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.progress-steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ps {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: all 0.4s;
}

.ps.done {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
  color: var(--accent3);
}

.ps.active {
  background: rgba(108, 99, 255, 0.15);
  border-color: var(--accent);
  color: #a99fff;
  animation: psPulse 1s ease infinite alternate;
}

@keyframes psPulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

/* Compare Block */
/* ============================================================
   COMPARE BLOCK — FIXED
   ============================================================ */
.compare-block { border: 1px solid var(--border2); border-radius: var(--radius); overflow: hidden; }
.compare-labels { display: flex; justify-content: space-between; padding: 10px 16px; background: rgba(0, 0, 0, 0.3); }
.cl { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 6px; }
.cl.before { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.cl.after { background: rgba(108, 99, 255, 0.2); color: #a99fff; }
 
/* ★ KEY FIX: compare-wrap is now flexible height, canvases fill it */
.compare-wrap {
  position: relative;
  cursor: col-resize;
  min-height: 240px;
  user-select: none;
  overflow: hidden;
  background: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
/* Both canvases stack on top of each other, filling the wrap */
.cv-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
 
/* After canvas is clipped to show right portion */
#cvAfter {
  clip-path: inset(0 50% 0 0);
}
 
.compare-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: white; transform: translateX(-50%); z-index: 10; pointer-events: none; box-shadow: 0 0 12px rgba(255, 255, 255, 0.5); }
.cl-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #333; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); }
 
.compare-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border2); }
.cm { display: flex; flex-direction: column; align-items: center; padding: 14px 8px; border-right: 1px solid var(--border2); }
.cm:last-child { border-right: none; }
.cm-val { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; background: linear-gradient(135deg, var(--accent3), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cm-lbl { font-size: 10px; color: var(--muted); letter-spacing: 0.06em; margin-top: 4px; }
 
.download-btn { width: 100%; padding: 14px; border: none; background: linear-gradient(135deg, var(--accent3), var(--accent)); color: white; font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; letter-spacing: 0.04em; transition: all 0.3s; }
.download-btn:hover { opacity: 0.9; }
 
/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.howitworks {
  padding: 100px 0;
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.step-card {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.step-card:hover {
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: rgba(108, 99, 255, 0.4);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.step-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.step-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* Tech Stack Pills */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-pill {
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.tech-pill.purple {
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: #a99fff;
}

.tech-pill.teal {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  color: var(--accent3);
}

.tech-pill.pink {
  background: rgba(255, 107, 157, 0.1);
  border: 1px solid rgba(255, 107, 157, 0.25);
  color: var(--accent2);
}

.tech-pill.gold {
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.25);
  color: var(--gold);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  padding: 100px 0;
  background: var(--bg2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}

.feat-card {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
}

.feat-card.large {
  grid-column: span 1;
}

.feat-card:hover {
  border-color: rgba(108, 99, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feat-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feat-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.feat-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  color: var(--accent3);
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us {
  padding: 100px 0;
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.why-card {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.why-card:hover {
  border-color: rgba(108, 99, 255, 0.25);
  transform: translateY(-4px);
}

.why-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.why-icon-wrap.teal {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.why-icon-wrap.purple {
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.25);
}

.why-icon-wrap.pink {
  background: rgba(255, 107, 157, 0.1);
  border: 1px solid rgba(255, 107, 157, 0.2);
}

.why-icon-wrap.gold {
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.2);
}

.why-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* Comparison Table */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border2);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table thead tr {
  background: rgba(0, 0, 0, 0.4);
}

.compare-table th {
  padding: 16px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--muted);
  border-bottom: 1px solid var(--border2);
}

.compare-table th:first-child {
  text-align: left;
}

.compare-table .highlight-col {
  color: #a99fff;
  background: rgba(108, 99, 255, 0.06);
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  color: var(--muted);
}

.compare-table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.compare-table .check { color: var(--accent3); font-weight: 600; }
.compare-table .cross { color: rgba(255, 100, 100, 0.7); }
.compare-table .partial { color: var(--gold); }

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(0, 212, 170, 0.08));
  border-top: 1px solid rgba(108, 99, 255, 0.15);
  border-bottom: 1px solid rgba(108, 99, 255, 0.15);
  text-align: center;
}

.cta-banner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  padding: 72px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-brand .nav-logo {
  display: inline-flex;
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
  color: var(--muted);
}

.social-links a:hover {
  border-color: rgba(108, 99, 255, 0.4);
  color: #a99fff;
  background: rgba(108, 99, 255, 0.1);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.fl-col h5 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 20px;
}

.fl-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.fl-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET & MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 8, 16, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-size: 24px;
  }

  .nav-links.open li { list-style: none; }
  .nav-links.open a { font-size: 24px; color: var(--text); }
  .hamburger { display: flex; z-index: 1000; }

  .enhance-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid .step-card:last-child {
    grid-column: span 2;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { width: 40px; height: 1px; }

  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid .step-card:last-child { grid-column: span 1; }

  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-btns { flex-direction: column; align-items: center; }

  .section-sub { margin-bottom: 32px; }
}