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

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

:root {
  --bg-primary: #0a0a0d;
  --bg-secondary: #0c1220;
  --bg-card: #16161a;
  --bg-surface: #1e293b;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(255,255,255,0.08);
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(10,10,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

.nav-logo span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

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

.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover { color: var(--text-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-600);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}

.btn-primary:hover {
  background: #1d4ed8;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.4);
}

.btn-primary span {
  color: #ffffff !important;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.15);
}

.btn-outline:hover {
  border-color: var(--blue-500);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  top: -200px;
  left: -150px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,179,237,0.08) 0%, transparent 70%);
  bottom: -100px;
  right: 50px;
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 2;
  width: 100%;  
}

.hero-left { flex: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 10px var(--blue-500);
  animation: pulse-dot 2s infinite;
}

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

.hero-badge span {
  font-size: 12px;
  color: var(--blue-300);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 36px;
}

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

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.hero-right {
  width: 380px;
  flex-shrink: 0;
}

/* ========== SECTIONS ========== */
section { padding: 120px 0; position: relative; }

.section-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-400);
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--blue-400);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 60px;
}

.section-title span { color: var(--blue-500); }

/* ========== FEATURES ========== */
.features { background: var(--bg-primary); }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-4px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.feature-card .card-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: rgba(10, 85, 248, 0.727);
  line-height: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(37,99,235,0.1);
  color: var(--blue-400);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
  background: var(--bg-secondary);
}

.gallery-section .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.gallery-left {
  flex: 0 0 400px;
}

.gallery-left .section-label {
  justify-content: flex-start;
  text-align: left;
}

.gallery-left .section-label::after { display: none; }

.gallery-headline {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.gallery-headline span {
  background: linear-gradient(135deg, var(--blue-400), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(96,165,250,0.12);
  border: 1px solid rgba(96,165,250,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-400);
}

.gallery-right { flex: 1; }

.gallery-mockup {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.gallery-topbar {
  height: 52px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 14px;
}

.gallery-body {
  padding: 20px;
  background: #f8fafc;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.g-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}

.g-thumb {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
}

.g-card-body { padding: 10px 12px; }
.g-card-title { font-size: 11px; font-weight: 600; color: #0f172a; margin-bottom: 4px; }
.g-card-tag { background: var(--blue-50); color: var(--blue-600); font-size: 9px; font-weight: 600; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }

/* ========== EDITOR SECTION ========== */
.editor-section { background: var(--bg-primary); }

.editor-mockup {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.editor-topbar {
  height: 48px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}

.editor-canvas {
  height: 400px;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(148,163,184,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

.editor-inner {
  background: #fff;
  border-radius: 10px;
  width: 600px;
  height: 300px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-500);
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 60%, #1a1033 100%);
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(59,130,246,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.2) 0%, transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta .container { position: relative; z-index: 2; }

.cta-icon {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 36px;
  box-shadow: 0 20px 60px rgba(37,99,235,0.4);
}

.cta-icon img { width: 50px; height: 50px; border-radius: 14px; }

.cta-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.cta-title span {
  background: linear-gradient(135deg, var(--blue-400), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 48px;
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  align-self: center;
}

.cta-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-secondary); }

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

/* ========== PAGE LAYOUTS (install, uninstall, privacy) ========== */
.page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 24px;
}

.page-card {
  max-width: 640px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  z-index: 2;
}

.page-card h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-card h1 span { color: var(--blue-400); }

.page-card .subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-400);
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Privacy */
.prose {
  max-width: 700px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.prose h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
}

.prose .updated {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--blue-400);
}

.prose p, .prose li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Feedback form */
.feedback-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feedback-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
  font-size: 14px;
  color: var(--text-secondary);
}

.feedback-option:hover { border-color: rgba(37,99,235,0.3); }

.feedback-option input[type="checkbox"] {
  accent-color: var(--blue-500);
  width: 16px;
  height: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero .container { flex-direction: column; gap: 48px; text-align: center; }
  .hero-title { font-size: 44px; }
  .hero-subtitle { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-pills { justify-content: center; }
  .hero-right { width: 320px; }
  .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .gallery-section .container { flex-direction: column; }
  .gallery-left { flex: none; text-align: center; }
  .gallery-left .section-label { justify-content: center; }
  .gallery-body { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 36px; }
  .cta-title { font-size: 40px; }
  .stats-row { gap: 24px; flex-wrap: wrap; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .nav-links { display: none; }
}
