/* ---------------------------------------------------------------------------
   DeskRec — Marketing website styles
   Light, clean and product-focused (inspired by Screen Studio's site).
   Brand accent derives from the app's purple: #6c5ce7.
--------------------------------------------------------------------------- */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-grad: #eef0ff;
  --ink: #0b0d12;
  --muted: #5a6170;
  --line: #e6e8ef;
  --accent: #6c5ce7;
  --accent-hi: #8f7bff;
  --accent-ink: #4d3cc4;
  --success: #12a15b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -28px rgba(24, 27, 60, 0.28);
  --shadow-sm: 0 10px 30px -18px rgba(24, 27, 60, 0.22);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

.section { padding-block: 96px; }
.section--soft { background: var(--bg-soft); }
.section--grad { background: linear-gradient(180deg, var(--bg-grad), var(--bg-soft)); }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  background: #eceaff;
  border: 1px solid #ddd9ff;
  border-radius: 999px;
  padding: 6px 14px;
}
.section-head { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 750; }
.section-head .lead { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 13px 26px;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #1c1f2b; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(11,13,18,.45); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hi); text-decoration: none; box-shadow: 0 14px 30px -12px rgba(108,92,231,.6); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); text-decoration: none; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }
.btn .badge {
  font-size: 12px; font-weight: 700; color: var(--accent-hi);
  background: #fff; padding: 3px 9px; border-radius: 999px;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-hi));
  color: #fff; font-weight: 800; font-size: 18px;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav-cta { margin-left: 12px; }
.burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 0 20px;
}
.mobile-menu a { color: var(--ink); font-weight: 500; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu.show { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 92px 0 40px; text-align: center; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -40% -10% auto; height: 620px; z-index: -1;
  background: radial-gradient(60% 50% at 50% 30%, #e7e3ff, transparent 70%);
}
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 74px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-inline: auto;
}
.hero h1 .grad { background: linear-gradient(120deg, var(--accent), #8b5cf6, var(--accent-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { max-width: 680px; margin: 26px auto 0; color: var(--muted); font-size: clamp(17px, 2.2vw, 21px); }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; color: var(--success); }

/* Hero product window */
.hero-window {
  margin: 56px auto 0; max-width: 980px;
  background: var(--ink); color: #ecedf5;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
  text-align: left;
}
.window-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #161a23; }
.window-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.window-bar .dot:nth-child(1){ background:#ff5f57; }
.window-bar .dot:nth-child(2){ background:#febc2e; }
.window-bar .dot:nth-child(3){ background:#27c93f; }
.window-bar .title { margin-left: 12px; font-size: 13px; color: #9aa0b0; }
.window-body { position: relative; padding: 22px; min-height: 340px; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid--4, .grid--3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #dfe0ff; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #eef0ff; color: var(--accent); margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Alternate feature rows (image + text) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 48px; }
.feature-row.reverse .feature-media { order: 1; }
@media (max-width: 860px){ .feature-row, .feature-row.reverse { grid-template-columns: 1fr; } .feature-row.reverse .feature-media { order: 0; } }
.feature-media {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
  overflow: hidden; aspect-ratio: 16/10;
  background-image: linear-gradient(135deg,#eef0ff,#f8f7ff);
  display: grid; place-items: center; color: var(--accent);
}
.feature-media svg { width: 64px; height: 64px; }
.feature-text h3 { font-size: 26px; font-weight: 750; margin-bottom: 14px; }
.feature-text .sub { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.feature-text ul { list-style: none; display: grid; gap: 12px; }
.feature-text li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.feature-text li svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 2px; }

/* ---------- Showcase / Gallery ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px){ .showcase-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .showcase-grid { grid-template-columns: 1fr; } }
.shot {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
}
.shot .media { aspect-ratio: 16/9; background-image: linear-gradient(135deg,#eef0ff,#f3f1ff); }
.shot .cap { padding: 16px 18px; font-size: 14px; color: var(--muted); }
.shot .cap b { color: var(--ink); }

/* ---------- Stats / logos ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 700px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat .num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.stat .num span { color: var(--accent); }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px){ .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline:auto; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.plan--featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan--featured .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.plan .name { font-size: 15px; font-weight: 700; color: var(--muted); }
.plan .price { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin-block: 10px 4px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .per { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.plan li { display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.plan li svg { width: 19px; height: 19px; color: var(--success); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq-q .chev { transition: transform .2s ease; color: var(--muted); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA banner ---------- */
.cta {
  background: var(--ink); color: #fff; border-radius: 24px;
  padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: -30%; background:
    radial-gradient(40% 60% at 20% 20%, rgba(143,123,255,.5), transparent 70%),
    radial-gradient(40% 60% at 80% 80%, rgba(108,92,231,.4), transparent 70%);
}
.cta h2 { position: relative; font-size: clamp(28px, 4vw, 42px); font-weight: 750; }
.cta p { position: relative; color: #c3c7d6; margin: 18px auto 30px; max-width: 560px; }
.cta .btn-wrap { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn--primary { background: #fff; color: var(--ink); }
.cta .btn--primary:hover { background: var(--bg-soft); }
.cta .btn--ghost { color: #fff; border-color: #3a3f4d; }
.cta .btn--ghost:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer .brand { margin-bottom: 14px; }
.footer .about { color: var(--muted); font-size: 14px; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: var(--ink); }
.footer .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------- Page hero (subpages) ---------- */
.page-head { text-align: center; padding: 88px 0 40px; position: relative; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.page-head .sub { color: var(--muted); max-width: 640px; margin: 20px auto 0; font-size: 18px; }
.breadcrumb { margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Changelog ---------- */
.timeline { max-width: 760px; margin-inline: auto; }
.release {
  position: relative; padding: 26px 28px; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.release .ver { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--accent-ink); background:#efedff; border:1px solid #e0ddff; padding: 4px 12px; border-radius: 999px; }
.release .date { color: var(--muted); font-size: 13px; margin-top: 8px; }
.release ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.release li { color: var(--muted); font-size: 15px; padding-left: 24px; position: relative; }
.release li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.release li.break { color: var(--ink); }

/* ---------- Download ---------- */
.dl-card { text-align:left; }
.dl { display: flex; gap: 24px; align-items: center; }
@media (max-width:620px){ .dl { flex-direction: column; text-align:center; } }
.dl .os { width: 74px; height: 74px; border-radius: 16px; background:#eef0ff; display:grid; place-items:center; color:var(--accent); flex:none; }
.dl .os svg { width: 36px; height: 36px; }
.dl h3 { font-size: 22px; font-weight: 750; }
.dl p { color: var(--muted); font-size:14px; margin: 6px 0 16px; }
.req { border:1px solid var(--line); border-radius: var(--radius-sm); padding:16px 20px; display:flex; gap:14px; align-items:flex-start; color:var(--muted); font-size:14px; }
.req svg { color:var(--accent); flex:none; width:20px; height:20px; margin-top:2px; }
.platform { display:inline-flex; gap:6px; align-items:center; font-family:var(--mono); font-size:12px; background:var(--bg-soft); border:1px solid var(--line); padding:3px 9px; border-radius:6px; color:var(--muted); }

@media (max-width: 860px){
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
}
