/* ============================================================
   Image2 Landing Page - Main Stylesheet
   Modern, minimal design with purple/blue gradient theme
   ============================================================ */

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

:root {
  --c-primary: #7C3AED;
  --c-primary-light: #A855F7;
  --c-secondary: #3B82F6;
  --c-secondary-light: #06B6D4;

  --c-bg: #FFFFFF;
  --c-bg-soft: #FAFAFB;
  --c-bg-card: #FFFFFF;
  --c-surface: #F5F7FA;
  --c-border: #E5E7EB;
  --c-border-soft: #F0F1F3;

  --c-text: #0F172A;
  --c-text-secondary: #475569;
  --c-text-tertiary: #94A3B8;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 48px rgba(124, 58, 237, 0.12);
  --shadow-glow: 0 8px 32px rgba(124, 58, 237, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  --gradient-text: linear-gradient(135deg, #7C3AED 0%, #3B82F6 50%, #06B6D4 100%);

  --container: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

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

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

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 100px;
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--c-text);
}

.section-desc {
  font-size: 17px;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.4);
}

.btn-ghost {
  background: var(--c-surface);
  color: var(--c-text);
  border: 1px solid var(--c-border);
}

.btn-ghost:hover {
  background: white;
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn-outline {
  background: white;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}

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

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 17px; }

/* ============= NAVBAR ============= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--c-border-soft);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
}

.logo-icon { width: 32px; height: 32px; }
.logo-text strong { color: var(--c-primary); font-weight: 800; }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover { color: var(--c-text); }

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  font-size: 14px;
  padding: 10px 18px;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #7C3AED, transparent 70%);
  top: -100px; left: -100px;
  animation: float 14s ease-in-out infinite;
}

.orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #3B82F6, transparent 70%);
  top: 80px; right: -100px;
  animation: float 16s ease-in-out infinite reverse;
}

.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #06B6D4, transparent 70%);
  bottom: -50px; left: 40%;
  animation: float 18s ease-in-out infinite;
}

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

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.05); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: var(--c-text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-subtitle strong {
  color: var(--c-text);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: fit-content;
}

.stat { text-align: center; }
.stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-text);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: var(--c-text-tertiary);
  font-weight: 500;
  margin-top: 2px;
}

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

/* ============= GENERATOR CARD (Hero Visual) ============= */
.hero-visual {
  position: relative;
}

.generator-card {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--c-border-soft);
  overflow: hidden;
  transform: rotate(1deg);
  transition: transform 0.4s ease;
}

.generator-card:hover { transform: rotate(0); }

.generator-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border-soft);
}

.gen-dots { display: flex; gap: 6px; }
.gen-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D1D5DB;
}
.gen-dots span:nth-child(1) { background: #EF4444; }
.gen-dots span:nth-child(2) { background: #F59E0B; }
.gen-dots span:nth-child(3) { background: #10B981; }

.gen-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-secondary);
}

.generator-body {
  padding: 24px;
}

.gen-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--c-surface);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.gen-tab {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-secondary);
  border-radius: 8px;
  transition: var(--transition);
}

.gen-tab.active {
  background: white;
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
}

.gen-prompt {
  margin-bottom: 16px;
}

.gen-prompt textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px 14px;
  background: var(--c-surface);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-text);
  resize: none;
  transition: var(--transition);
}

.gen-prompt textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  background: white;
}

.gen-options { margin-bottom: 20px; }

.opt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.opt-row:last-child { margin-bottom: 0; }

.opt-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-tertiary);
  width: 48px;
  flex-shrink: 0;
}

.opt-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.opt-pill {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-secondary);
  background: var(--c-surface);
  border: 1px solid transparent;
  border-radius: 100px;
  transition: var(--transition);
}

.opt-pill.active {
  background: var(--gradient-soft);
  color: var(--c-primary);
  border-color: rgba(124, 58, 237, 0.25);
}

.gen-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--gradient-primary);
  color: white;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.gen-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}

.gen-preview {
  position: relative;
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
}

.preview-img {
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.preview-img-1 {
  grid-row: span 2;
  height: 180px;
  background: linear-gradient(135deg, #1E3A8A 0%, #7C3AED 50%, #EC4899 100%);
  position: relative;
  overflow: hidden;
}

.preview-img-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(0,255,255,0.2) 0%, transparent 40%);
}

.preview-img-2 {
  height: 86px;
  background: linear-gradient(135deg, #F59E0B 0%, #EC4899 100%);
}
.preview-img-3 {
  height: 86px;
  background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
}

.preview-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Floating Badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: white;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  box-shadow: var(--shadow-lg);
}

.float-badge svg { color: var(--c-primary); }

.float-badge-1 {
  top: 30px;
  left: -30px;
  animation: bob 4s ease-in-out infinite;
}

.float-badge-2 {
  bottom: 60px;
  right: -20px;
  animation: bob 4s ease-in-out infinite 2s;
}

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

/* ============= TRUSTED ============= */
.trusted {
  padding: 40px 0;
  border-top: 1px solid var(--c-border-soft);
  border-bottom: 1px solid var(--c-border-soft);
  background: var(--c-bg-soft);
}

.trusted-text {
  text-align: center;
  font-size: 14px;
  color: var(--c-text-tertiary);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============= FEATURES ============= */
.features { padding: 100px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 32px 28px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-lg);
}

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

.feature-card > * { position: relative; z-index: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
}

.feature-card p {
  font-size: 14.5px;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* ============= HOW ============= */
.how {
  padding: 100px 0;
  background: var(--c-bg-soft);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}

.step {
  position: relative;
  padding: 36px 28px;
  background: white;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 14px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-primary);
  letter-spacing: -0.02em;
}

.step-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-text);
}

.step p {
  font-size: 14.5px;
  color: var(--c-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-tags {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.step-tags span {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primary);
  background: var(--gradient-soft);
  border-radius: 100px;
}

.step-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primary);
}

.step-loader span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  animation: loadDot 1.4s ease-in-out infinite;
}

.step-loader span:nth-child(2) { animation-delay: 0.2s; }
.step-loader span:nth-child(3) { animation-delay: 0.4s; }
.step-loader em {
  font-style: normal;
  margin-left: 6px;
  color: var(--c-text-tertiary);
}

@keyframes loadDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  opacity: 0.4;
}

.how-cta {
  text-align: center;
  margin-top: 56px;
}

/* ============= SHOWCASE ============= */
.showcase { padding: 100px 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  height: var(--h);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img { transform: scale(1.08); }

.gallery-img-1 {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.2), rgba(124, 58, 237, 0.3)),
    linear-gradient(135deg, #FF006E 0%, #8338EC 50%, #3A86FF 100%);
}
.gallery-img-2 {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.4)),
    linear-gradient(180deg, #FB7185 0%, #FCD34D 50%, #7C3AED 100%);
}
.gallery-img-3 {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3)),
    linear-gradient(135deg, #F59E0B 0%, #DC2626 60%, #7C2D12 100%);
}
.gallery-img-4 {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.4)),
    linear-gradient(180deg, #FBBF24 0%, #EA580C 50%, #991B1B 100%);
}
.gallery-img-5 {
  background:
    linear-gradient(180deg, rgba(6, 182, 212, 0.4), rgba(0,0,0,0.5)),
    linear-gradient(180deg, #06B6D4 0%, #0EA5E9 50%, #1E40AF 100%);
}
.gallery-img-6 {
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(0,0,0,0.3)),
    linear-gradient(135deg, #FBCFE8 0%, #F9A8D4 50%, #DB2777 100%);
}

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  color: white;
  z-index: 1;
}

.gallery-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-info p {
  font-size: 13px;
  opacity: 0.85;
  margin: 0;
}

.showcase-cta { text-align: center; }

/* ============= TOOLS ============= */
.tools { padding: 100px 0; background: var(--c-bg-soft); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.tool-card:hover {
  transform: translateX(4px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-md);
}

.tool-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: white;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.tool-info { flex: 1; min-width: 0; }
.tool-info h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 2px;
}
.tool-info p {
  font-size: 13px;
  color: var(--c-text-tertiary);
  margin: 0;
}

.tool-arrow {
  font-size: 18px;
  color: var(--c-text-tertiary);
  transition: var(--transition);
  flex-shrink: 0;
}

.tool-card:hover .tool-arrow {
  color: var(--c-primary);
  transform: translateX(4px);
}

.tools-more {
  text-align: center;
  padding: 32px;
  background: white;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg);
}

.tools-more p {
  font-size: 15px;
  color: var(--c-text-secondary);
  margin-bottom: 16px;
}

.tools-more strong { color: var(--c-text); font-weight: 700; }

/* ============= FAQ ============= */
.faq { padding: 100px 0; }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item[open] {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--c-primary); }

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--c-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-content {
  padding: 0 24px 22px;
  color: var(--c-text-secondary);
  line-height: 1.7;
  font-size: 14.5px;
  border-top: 1px solid var(--c-border-soft);
  margin-top: 0;
  padding-top: 16px;
}

.faq-content strong { color: var(--c-text); font-weight: 600; }

/* ============= RELATED SEARCHES ============= */
.related { padding: 80px 0; background: var(--c-bg-soft); }

.related-card {
  background: white;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.related-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border-soft);
}

.related-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-soft);
  color: var(--c-primary);
}

.related-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.related-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--c-surface);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text-secondary);
  transition: var(--transition);
}

.related-pill svg { color: var(--c-text-tertiary); flex-shrink: 0; }

.related-pill:hover {
  background: var(--gradient-soft);
  border-color: rgba(124, 58, 237, 0.2);
  color: var(--c-primary);
  transform: translateY(-1px);
}

.related-pill:hover svg { color: var(--c-primary); }

/* ============= CTA ============= */
.cta { padding: 80px 0; }

.cta-card {
  position: relative;
  padding: 64px 32px;
  text-align: center;
  background: linear-gradient(135deg, #1E1B4B 0%, #4C1D95 50%, #1E3A8A 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.cta-card .btn-primary {
  background: white;
  color: var(--c-primary);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.cta-card .btn-primary:hover {
  background: white;
  color: var(--c-primary-light);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

/* ============= FOOTER ============= */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 64px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #94A3B8;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badge {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #94A3B8;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { margin: 0; }
.footer-meta span {
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  font-size: 12px;
}

/* ============= FLOATING CTA ============= */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--gradient-primary);
  color: white;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition);
}

.floating-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.5);
}

/* ============= ANIMATIONS ============= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============= RESPONSIVE ============= */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content { order: 1; }
  .hero-visual { order: 2; max-width: 480px; margin: 0 auto; }

  .hero-cta { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-arrow {
    transform: rotate(90deg);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--c-border-soft);
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: flex; }

  .feature-grid, .tools-grid, .gallery { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { padding: 110px 0 60px; }
  .features, .how, .showcase, .tools, .faq, .related, .cta { padding: 64px 0; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
  }
  .stat-divider { display: none; }

  .float-badge-1 { left: 0; top: 0; }
  .float-badge-2 { right: 0; bottom: 30px; }

  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 36px; }
  .related-grid { grid-template-columns: 1fr; }
  .gen-preview { grid-template-columns: 1fr 1fr; }
  .preview-img-1 { grid-row: span 1; grid-column: span 2; height: 120px; }
  .floating-cta { padding: 12px 18px; font-size: 13px; }
}
