/* ============================================
   save-win11-wallpaper — Refined Landing Page
   ============================================ */

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

:root {
  --font:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  --mono: "SF Mono", "Fira Code", "JetBrains Mono", "Cascadia Code", monospace;
  --bg: #faf9f8;
  --card: #ffffff;
  --text: #1a1a2e;
  --text-soft: #6b7280;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.08);
  --accent-glow: rgba(99, 102, 241, 0.15);
  --border: #e5e7eb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  padding: 64px 0 24px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 600px 400px at 20% 60%,
      rgba(99, 102, 241, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 500px 300px at 90% 30%,
      rgba(236, 72, 153, 0.04) 0%,
      transparent 70%
    );
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
}

.hero-text {
  flex: 1;
}

.badge-small {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(99, 102, 241, 0.2);
  line-height: 1.4;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.badge-small:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #1a1a2e 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 520px;
}

/* Feature items */

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.hf-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hf-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.hf-item > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hf-item strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.hf-item span {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.hf-item code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Buttons */

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-lg {
  padding: 14px 38px;
  font-size: 1.05rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Hero visual — saved file card */

.hero-visual {
  flex-shrink: 0;
}

.card-mock {
  width: 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  transition: transform 0.3s ease;
}

.card-mock:hover {
  transform: rotate(0deg) scale(1.02);
}

.card-mock-dots {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--border);
}

.card-mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-mock-dots span:nth-child(1) {
  background: #f87171;
}
.card-mock-dots span:nth-child(2) {
  background: #fbbf24;
}
.card-mock-dots span:nth-child(3) {
  background: #34d399;
}

.card-mock-body {
  padding: 28px 20px;
  text-align: center;
}

.card-mock-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 10px;
}

.card-mock-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-bottom: 6px;
  word-break: break-all;
}

.card-mock-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
}

/* ===== Sections ===== */

.section {
  padding: 56px 0;
}

.section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 520px;
  line-height: 1.6;
}

/* ===== App Screenshot ===== */

.screenshot-section {
  padding: 8px 0 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  background: var(--bg);
}

.screenshot-section .container {
  max-width: 100%;
  padding: 0 32px;
}

.screenshot-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.app-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Download section ===== */

.download-section {
  text-align: center;
}

.download-section .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ===== How it works ===== */

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

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

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.step-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.step-content code {
  font-family: var(--mono);
  font-size: 0.82em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 4px;
}

.how-note {
  padding: 12px 18px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #059669;
  font-weight: 500;
}

/* ===== Code Blocks ===== */

.code-block {
  background: #0f172a;
  border-radius: 12px;
  padding: 22px 26px;
  overflow-x: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.code-line {
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.8;
  color: #e2e8f0;
  white-space: nowrap;
}

.code-line .cmt {
  color: #64748b;
  font-style: italic;
}

.code-line .prompt {
  color: #38bdf8;
  font-weight: 600;
  margin-right: 6px;
}

.code-line .str {
  color: #a5b4fc;
}

.build-section .section-desc {
  margin-top: 14px;
}

.build-section code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ===== Footer ===== */

footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
}

footer p {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  font-size: 0.8rem;
}

.footer-links a {
  margin: 0 4px;
}

.sep {
  color: var(--border);
  margin: 0 2px;
}

/* ===== Responsive ===== */

@media (max-width: 700px) {
  .hero {
    padding: 40px 0 16px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-features {
    align-items: flex-start;
    text-align: left;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .card-mock {
    transform: none;
    width: 180px;
  }

  .section {
    padding: 40px 0;
  }

  .code-block {
    padding: 18px 20px;
  }

  .code-line {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 9px 20px;
    font-size: 0.88rem;
  }

  .btn-lg {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .step {
    gap: 12px;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .hf-item {
    gap: 10px;
  }

  .hf-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}
