
/* ── Custom Font ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'ABite';
  src: url('ABite-DdxE.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.abite { font-family: 'ABite', cursive; font-size: calc(1em - 1rem); }

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #2980b9;
  --blue-dark: #1f6ea0;
  --green:     #27ae60;
  --green-dark:#1e8449;
  --purple:    #8e44ad;
  --dark:      #1a1e2e;
  --mid:       #4a5568;
  --light:     #718096;
  --border:    #e2e8f0;
  --bg-soft:   #f7f9fc;
  --white:     #ffffff;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand span.dot { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: .9rem;
  color: var(--mid);
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); text-decoration: none; }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 7px 18px;
  border-radius: 6px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
section { padding: 88px 6vw; }
section:nth-child(even) { background: var(--bg-soft); }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto 56px;
}

.centered { text-align: center; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
#hero {
  padding: 80px 6vw 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.03em;
  margin-bottom: 18px;
  line-height: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf4fb;
  color: var(--blue);
  border: 1px solid #c3dff0;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 14px;
  margin-bottom: 22px;
}

#hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

#hero h1 .accent { color: var(--blue); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--mid);
  max-width: 560px;
  margin-bottom: 36px;
}

.btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

/* Screenshot */
.screenshot-wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.screenshot-wrap::before {
  content: '';
  display: block;
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, #cce8f8 0%, transparent 70%);
  z-index: 0;
}

.screenshot-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.06);
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 0;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.icon-blue   { background: #eaf4fb; }
.icon-green  { background: #eafaf1; }
.icon-purple { background: #f5eef8; }
.icon-orange { background: #fef9e7; }
.icon-red    { background: #fdf2f8; }
.icon-gray   { background: #f2f4f6; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.feature-card p { font-size: .93rem; color: var(--mid); }

/* ── How it works ─────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 0;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 0 8px;
  text-align: center;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.step p  { font-size: .92rem; color: var(--mid); }

/* Connector line between steps */
.steps > .step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  right: calc(-50% + 26px);
  width: calc(100% - 52px);
  height: 2px;
  background: var(--border);
}

/* ── Categories ───────────────────────────────────────────────────────────── */
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 0;
}

.cat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 130px;
  transition: border-color .2s, box-shadow .2s;
}
.cat-chip:hover { border-color: var(--blue); box-shadow: 0 2px 12px rgba(41,128,185,.12); }

.cat-chip .cat-emoji { font-size: 1.6rem; }
.cat-chip .cat-name  { font-size: .85rem; font-weight: 700; color: var(--dark); }
.cat-chip .cat-exts  { font-size: .74rem; color: var(--light); line-height: 1.4; text-align: center; }

/* ── Settings screenshot ──────────────────────────────────────────────────── */
.settings-screenshot-wrap {
  max-width: 820px;
  margin: 0 auto 48px;
}

.settings-screenshot-wrap img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.06);
}

/* ── Settings callout ─────────────────────────────────────────────────────── */
.callout-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.callout {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.callout h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout ul { list-style: none; }
.callout ul li {
  font-size: .93rem;
  color: var(--mid);
  padding: 7px 0 7px 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
  line-height: 1.6;
}
.callout ul li:last-child { border-bottom: none; }
.callout ul li .bullet {
  color: var(--blue);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 7px;
}

.callout.danger { border-color: #f5b7b1; }
.callout.danger h3 { color: #c0392b; }
.callout.danger .bullet { color: #c0392b; }

/* ── Download ─────────────────────────────────────────────────────────────── */
#download {
  background: linear-gradient(135deg, #1a1e2e 0%, #2c3e50 100%);
  color: var(--white);
  text-align: center;
}

#download h2 { color: var(--white); }
#download .section-sub { color: rgba(255,255,255,.65); margin-bottom: 36px; }

.download-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 28px 32px;
  min-width: 220px;
  text-align: center;
  transition: background .2s, transform .2s;
}
.download-card:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }

.download-card .dc-icon { font-size: 2rem; margin-bottom: 10px; }
.download-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.download-card p  { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 16px; }

.btn-white {
  background: var(--white);
  color: var(--dark);
  font-size: .9rem;
  padding: 10px 22px;
}
.btn-white:hover { background: #e9f0f6; box-shadow: none; }

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.4);
  color: var(--white);
  font-size: .9rem;
  padding: 10px 22px;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* Requirements badge */
.req-note {
  margin-top: 32px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.req-note span { color: rgba(255,255,255,.7); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 28px 6vw;
  font-size: .85rem;
}
footer a { color: rgba(255,255,255,.6); }
footer a:hover { color: var(--white); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .callout-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 4vw; }
  .nav-links { display: none; }
  section { padding: 60px 5vw; }
  #hero { padding: 60px 5vw 0; }
  .steps > .step::after { display: none; }
}
