/* ============================================================
   DM — Global reset, canvas scaling & shared components
   Shared across marketing pages (index / pricing / about).
   All coordinates are absolute within the fixed 1440 canvas.
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-warm);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
img { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- Fixed 1440 design canvas + proportional scaling ---- */
.stage { position: relative; width: 100%; overflow: hidden; }
.canvas {
  position: absolute;
  top: 0; left: 0;
  width: 1440px;
  transform-origin: top left;
}
/* App (fixed-height) screens: exactly 900 tall */
.canvas.screen { height: 900px; }

/* ---- Shared: warm gradient helpers ---- */
.grad { background: var(--brand-gradient); }

/* =========================================================
   SHARED MARKETING NAV  (design: 72px bar, white, hairline)
   ========================================================= */
.nav {
  position: relative;
  width: 1440px; height: 72px;
  background: #fff;
  border-bottom: 1px solid #F2E2D9;
}
.nav .logo-mark {
  position: absolute; left: 48px; top: 16px;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.nav .logo-mark img { width: 36px; height: auto; display: block; }
.nav .brand {
  position: absolute; left: 90px; top: 24px;
  font-size: 20px; font-weight: 800; color: #1F2937; letter-spacing: -0.3px;
}
.nav .nav-links {
  position: absolute; left: 531px; top: 24px;
  display: flex; gap: 28px;
  font-size: 20px; font-weight: 600; color: #6B7280;
}
.nav .nav-links a:hover { color: var(--brand-orange); }
.nav .nav-links a.active { color: #C2410C; }
/* Language switcher — works inside .nav or .sidebar */
.lang-switcher { z-index: 40; }
.lang-switcher .lang-btn {
  height: 32px; min-width: 84px; border-radius: 16px; cursor: pointer;
  border: 1.5px solid #E8DCD1; background: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 12px;
  font-size: 13px; font-weight: 700; color: #374151; white-space: nowrap;
}
.lang-switcher .lang-btn:hover { border-color: #FDBA74; }
.lang-switcher .lang-btn .caret { font-size: 9px; color: #9CA3AF; }
.lang-switcher .lang-menu {
  position: absolute; top: 38px; right: 0; min-width: 148px;
  background: #fff; border: 1px solid #F0E2D6; border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.12); padding: 6px; z-index: 50;
}
.lang-switcher .lang-menu[hidden] { display: none; }
.lang-switcher .lang-opt {
  display: block; width: 100%; text-align: left; border: none; background: none; cursor: pointer;
  padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #374151;
}
.lang-switcher .lang-opt:hover { background: #FFF3EA; color: #C2410C; }
/* placement */
.nav .lang-switcher { position: absolute; left: 1108px; top: 19px; }
.sidebar .lang-switcher { position: absolute; left: 16px; bottom: 18px; }
.login .lang-switcher { position: absolute; right: 28px; top: 24px; }
.nav .login-link {
  position: absolute; left: 1273px; top: 18px;
  width: 119px; height: 35px; border-radius: 10px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
}
.nav .login-link:hover { opacity: 0.92; }

/* ---- Buttons (shared) ---- */
.btn-primary {
  border-radius: var(--r-lg);
  background: var(--brand-gradient);
  color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-ghost {
  border-radius: var(--r-lg);
  background: #fff; border: 2px solid var(--brand-orange);
  color: var(--brand-orange); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* =========================================================
   SHARED MARKETING FOOTER  (design: light #FFF9F4)
   ========================================================= */
.footer {
  position: relative;
  width: 1440px; height: 227px;
  background: #FFF9F4;
}
.footer .ft-top {
  position: absolute; left: 120px; top: 48px;
  width: 1200px; height: 103px;
}
.footer .ft-brand { position: absolute; left: 0; top: 0; width: 280px; }
.footer .ft-brand .logo-row { display: flex; align-items: center; gap: 8px; }
.footer .ft-brand .sq { width: 26px; height: 26px; border-radius: 7px; background: var(--brand-gradient); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.footer .ft-brand .sq img { width: 23px; height: auto; display: block; }
.footer .ft-brand .dm { font-size: 17px; font-weight: 800; color: #1F2937; }
.footer .ft-brand .tag { margin-top: 10px; width: 260px; font-size: 13px; color: #6B7280; line-height: 1.5; }
.footer .ft-cols { position: absolute; left: 970px; top: 0; width: 230px; display: flex; gap: 56px; }
.footer .ft-col .col-title { font-size: 13px; font-weight: 500; color: #9CA3AF; margin-bottom: 12px; }
.footer .ft-col a { display: block; font-size: 14px; color: #4B5563; margin-bottom: 9px; }
.footer .ft-col a:hover { color: var(--brand-orange); }
.footer .ft-bottom {
  position: absolute; left: 120px; top: 183px;
  width: 1200px; display: flex; justify-content: space-between; align-items: center;
}
.footer .ft-copy { font-size: 13px; color: #9CA3AF; }
.footer .ft-meta { display: flex; gap: 19px; font-size: 13px; color: #6B7280; }
.footer .ft-meta a:hover { color: var(--brand-orange); }

/* ---- Shared full-width purple CTA band (Pricing / About) ---- */
.cta-band-full {
  position: relative;
  width: 1440px; height: 296px;
  background: #6E29D9;
}
.cta-band-full .c-title {
  position: absolute; left: 50%; top: 72px; transform: translateX(-50%);
  width: 600px; text-align: center;
  font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -0.5px;
}
.cta-band-full .c-sub {
  position: absolute; left: 50%; top: 134px; transform: translateX(-50%);
  width: 600px; text-align: center;
  font-size: 17px; color: #FFE3CC;
}
.cta-band-full .c-btn {
  position: absolute; left: 50%; top: 178px; transform: translateX(-50%);
  height: 46px; padding: 0 26px; border-radius: 14px;
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap;
}
