/* ─────────────────────────────────────────────
   FIX Studio – Landing Page
   Dracula-inspired color palette
   ───────────────────────────────────────────── */

:root {
  --bg:         #282a36;
  --bg-darker:  #21222c;
  --bg-card:    #2d2f3d;
  --surface:    #44475a;
  --border:     #44475a;
  --text:       #f8f8f2;
  --text-muted: #6272a4;
  --purple:     #bd93f9;
  --pink:       #ff79c6;
  --green:      #50fa7b;
  --cyan:       #8be9fd;
  --orange:     #ffb86c;
  --yellow:     #f1fa8c;
  --red:        #ff5555;
  --radius:     10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout helpers ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-primary {
  background: var(--purple);
  color: var(--bg);
}
.btn-primary:hover { background: #d0afff; text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--surface);
}
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple);
}
.btn-outline:hover { background: var(--purple); color: var(--bg); text-decoration: none; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(40, 42, 54, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.logo:hover { text-decoration: none; color: var(--purple); }
.logo-icon { width: 24px; height: 24px; vertical-align: middle; margin-right: 6px; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ── */
.hero {
  padding: 160px 24px 100px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(189,147,249,0.08) 0%, transparent 60%);
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  background: rgba(189,147,249,0.1);
  border: 1px solid rgba(189,147,249,0.2);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; }

/* ── Features ── */
.features { padding: 100px 0; }
.features h2, .preview h2, .download h2, .tech h2 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 48px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--purple); transform: translateY(-2px); }
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Preview ── */
.preview { padding: 80px 0 100px; }
.preview-window {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-darker);
  margin-top: 12px;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: var(--red); }
.dot-yellow { background: var(--yellow); }
.dot-green { background: var(--green); }
.window-title { margin-left: 12px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.window-content { padding: 0; overflow: hidden; }
.screenshot {
  width: 100%;
  display: block;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* ── Download ── */
.download { padding: 100px 0; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  transition: border-color 0.2s, transform 0.2s;
  color: var(--text);
}
.download-card:hover { border-color: var(--purple); transform: translateY(-2px); text-decoration: none; }
.download-icon { font-size: 44px; margin-bottom: 16px; }
.download-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.download-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.download-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Tech ── */
.tech { padding: 80px 0; }
.tech-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
}
.tech-item {
  text-align: center;
  max-width: 200px;
}
.tech-item strong {
  font-size: 18px;
  color: var(--cyan);
  display: block;
  margin-bottom: 6px;
}
.tech-item p { font-size: 14px; color: var(--text-muted); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
.footer p { font-size: 14px; color: var(--text-muted); }
.footer p + p { margin-top: 6px; }
.footer-muted { color: var(--text-muted); font-size: 13px; }
.footer a { color: var(--purple); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .tech-row { flex-direction: column; align-items: center; gap: 28px; }
  .nav-links a:not(.btn) { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 120px 16px 60px; }
  .hero h1 { font-size: 28px; }
  .features h2, .preview h2, .download h2, .tech h2 { font-size: 26px; }
}
